const __vite__fileDeps=["./c4Diagram-c0b17d02-BbabBQ0b.js","./svgDrawCommon-42e92da3-C6U370Ki.js","./flowDiagram-d6f8fe3a-7u7sIj1R.js","./flowDb-ff651a22-BhvlhwYW.js","./layout-DtdJliGi.js","./styles-1b0c237a-DEBp4bhg.js","./index-f58d48f9-CLIR902B.js","./edges-0005682e-uu5Q-DT8.js","./createText-3b1f58a4-B660LV3z.js","./svgDraw-70101091-Dh3U16Ho.js","./line-DZ-Aqgz-.js","./array-BKyUJesY.js","./flowDiagram-v2-58f49b84-Uh8t1wXl.js","./erDiagram-dedf2781-UypcrLiV.js","./ganttDiagram-088dbd90-CCT2OGMU.js","./linear-DUiwtY7t.js","./init-Gi6I4Gst.js","./pieDiagram-3fca7ce7-BHW_2pxx.js","./ordinal-BENe2yWM.js","./quadrantDiagram-0ca4be02-CgS2VYwn.js","./requirementDiagram-e13af0f0-A36FzTFs.js","./sequenceDiagram-84aa38e3-cRYkMtox.js","./classDiagram-a8cc8886-Cb1pwH4D.js","./styles-622362e4-D0xMTP1a.js","./classDiagram-v2-802a48d3-B2afvXL5.js","./stateDiagram-9a586ac6-F5S0TN6m.js","./styles-a1a6e33f-6K82cYVq.js","./stateDiagram-v2-96f2b9df-sN1qYj9L.js","./journeyDiagram-adaa34f8-DJehzvup.js","./flowchart-elk-definition-56584a6c-N1aEE1b6.js","./mindmap-definition-57868176-BtpU4SME.js","./sankeyDiagram-a7f8e230-BqJxOJ7I.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); var Ft=Object.defineProperty;var Bt=(e,t,r)=>t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ie=(e,t,r)=>(Bt(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&a(d)}).observe(document,{childList:!0,subtree:!0});function r(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function a(o){if(o.ep)return;o.ep=!0;const u=r(o);fetch(o.href,u)}})();function flatHooks(e,t={},r){for(const a in e){const o=e[a],u=r?`${r}:${a}`:a;typeof o=="object"&&o!==null?flatHooks(o,t,u):typeof o=="function"&&(t[u]=o)}return t}const defaultTask={run:e=>e()},_createTask=()=>defaultTask,createTask=typeof console.createTask<"u"?console.createTask:_createTask;function serialTaskCaller(e,t){const r=t.shift(),a=createTask(r);return e.reduce((o,u)=>o.then(()=>a.run(()=>u(...t))),Promise.resolve())}function parallelTaskCaller(e,t){const r=t.shift(),a=createTask(r);return Promise.all(e.map(o=>a.run(()=>o(...t))))}function callEachWith(e,t){for(const r of[...e])r(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,a={}){if(!t||typeof r!="function")return()=>{};const o=t;let u;for(;this._deprecatedHooks[t];)u=this._deprecatedHooks[t],t=u.to;if(u&&!a.allowDeprecated){let d=u.message;d||(d=`${o} hook has been deprecated`+(u.to?`, please use ${u.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(d)||(console.warn(d),this._deprecatedMessages.add(d))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let a,o=(...u)=>(typeof a=="function"&&a(),a=void 0,o=void 0,r(...u));return a=this.hook(t,o),a}removeHook(t,r){if(this._hooks[t]){const a=this._hooks[t].indexOf(r);a!==-1&&this._hooks[t].splice(a,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const a=this._hooks[t]||[];delete this._hooks[t];for(const o of a)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=flatHooks(t),a=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of a.splice(0,a.length))o()}}removeHooks(t){const r=flatHooks(t);for(const a in r)this.removeHook(a,r[a])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(serialTaskCaller,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(parallelTaskCaller,t,...r)}callHookWith(t,r,...a){const o=this._before||this._after?{name:r,args:a,context:{}}:void 0;this._before&&callEachWith(this._before,o);const u=t(r in this._hooks?[...this._hooks[r]]:[],a);return u instanceof Promise?u.finally(()=>{this._after&&o&&callEachWith(this._after,o)}):(this._after&&o&&callEachWith(this._after,o),u)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function createHooks(){return new Hookable}function asArray$1(e){return Array.isArray(e)?e:[e]}const TagsWithInnerContent=["title","titleTemplate","script","style","noscript"],HasElementTags=["base","meta","link","style","script","noscript"],ValidHeadTags=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],UniqueTags=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],TagConfigKeys=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],IsBrowser=typeof window<"u";function defineHeadPlugin(e){return e}function hashCode(e){let t=9;for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}function hashTag(e){return e._h||hashCode(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,r])=>`${t}:${String(r)}`).join(",")}`)}function tagDedupeKey(e,t){const{props:r,tag:a}=e;if(UniqueTags.includes(a))return a;if(a==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";const o=["id"];a==="meta"&&o.push("name","property","http-equiv");for(const u of o)if(typeof r[u]<"u"){const d=String(r[u]);return t&&!t(d)?!1:`${a}:${u}:${d}`}return!1}function resolveTitleTemplate(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function normaliseTag(e,t,r){const a={tag:e,props:await normaliseProps(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return TagConfigKeys.forEach(o=>{const u=typeof a.props[o]<"u"?a.props[o]:r[o];typeof u<"u"&&((!["innerHTML","textContent"].includes(o)||TagsWithInnerContent.includes(a.tag))&&(a[o]=u),delete a.props[o])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/({...a,props:{...a.props,content:o}})):a}function normaliseClassProp(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function normaliseProps(e,t){for(const r of Object.keys(e)){if(r==="class"){e[r]=normaliseClassProp(e[r]);continue}if(e[r]instanceof Promise&&(e[r]=await e[r]),!t&&!TagConfigKeys.includes(r)){const a=String(e[r]),o=r.startsWith("data-");a==="true"||a===""?e[r]=o?"true":!0:e[r]||(o&&a==="false"?e[r]="false":delete e[r])}}return e}const TagEntityBits=10;async function normaliseEntryTags(e){const t=[];return Object.entries(e.resolvedInput).filter(([r,a])=>typeof a<"u"&&ValidHeadTags.includes(r)).forEach(([r,a])=>{const o=asArray$1(a);t.push(...o.map(u=>normaliseTag(r,u,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((r,a)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<g&&g[_]||void 0,t):f=t[d],typeof f<"u"?(f||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(d=>{const f=a(d.slice(1));typeof f=="string"&&(e=e.replace(new RegExp(`\\${d}(\\W|$)`,"g"),(g,_)=>`${f}${_}`).trim())}),e.includes(sepSub)&&(e.endsWith(sepSub)&&(e=e.slice(0,-sepSub.length).trim()),e.startsWith(sepSub)&&(e=e.slice(sepSub.length).trim()),e=e.replace(new RegExp(`\\${sepSub}\\s*\\${sepSub}`,"g"),sepSub),e=processTemplateParams(e,{separator:r},r)),e}async function elementToTag(e){const t={tag:e.tagName.toLowerCase(),props:await normaliseProps(e.getAttributeNames().reduce((r,a)=>({...r,[a]:e.getAttribute(a)}),{})),innerHTML:e.innerHTML};return t._d=tagDedupeKey(t),t}async function renderDOMHead(e,t={}){var S;const r=t.document||e.resolvedOptions.document;if(!r)return;const a={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const o=(await e.resolveTags()).map(E=>({tag:E,id:HasElementTags.includes(E.tag)?hashTag(E):E.tag,shouldRender:!0}));let u=e._dom;if(!u){u={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};for(const E of["body","head"]){const v=(S=r==null?void 0:r[E])==null?void 0:S.children;for(const b of[...v].filter(y=>HasElementTags.includes(y.tagName.toLowerCase())))u.elMap[b.getAttribute("data-hid")||hashTag(await elementToTag(b))]=b}}u.pendingSideEffects={...u.sideEffects||{}},u.sideEffects={};function d(E,v,b){const y=`${E}:${v}`;u.sideEffects[y]=b,delete u.pendingSideEffects[y]}function f({id:E,$el:v,tag:b}){const y=b.tag.endsWith("Attrs");u.elMap[E]=v,y||(["textContent","innerHTML"].forEach(T=>{b[T]&&b[T]!==v[T]&&(v[T]=b[T])}),d(E,"el",()=>{u.elMap[E].remove(),delete u.elMap[E]})),Object.entries(b.props).forEach(([T,C])=>{const R=`attr:${T}`;if(T==="class")for(const A of(C||"").split(" ").filter(Boolean))y&&d(E,`${R}:${A}`,()=>v.classList.remove(A)),!v.classList.contains(A)&&v.classList.add(A);else v.getAttribute(T)!==C&&v.setAttribute(T,C===!0?"":String(C)),y&&d(E,R,()=>v.removeAttribute(T))})}const g=[],_={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const E of o){const{tag:v,shouldRender:b,id:y}=E;if(b){if(v.tag==="title"){r.title=v.textContent;continue}E.$el=E.$el||u.elMap[y],E.$el?f(E):HasElementTags.includes(v.tag)&&g.push(E)}}for(const E of g){const v=E.tag.tagPosition||"head";E.$el=r.createElement(E.tag.tag),f(E),_[v]=_[v]||r.createDocumentFragment(),_[v].appendChild(E.$el)}for(const E of o)await e.hooks.callHook("dom:renderTag",E,r,d);_.head&&r.head.appendChild(_.head),_.bodyOpen&&r.body.insertBefore(_.bodyOpen,r.body.firstChild),_.bodyClose&&r.body.appendChild(_.bodyClose),Object.values(u.pendingSideEffects).forEach(E=>E()),e._dom=u,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function debouncedRenderDOMHead(e,t={}){const r=t.delayFn||(a=>setTimeout(a,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(a=>r(async()=>{await renderDOMHead(e,t),delete e._domUpdatePromise,a()}))}function DomPlugin(e){return t=>{var a,o;const r=((o=(a=t.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return r&&t.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":function(u){debouncedRenderDOMHead(u,e)}}}}}const UsesMergeStrategy=["templateParams","htmlAttrs","bodyAttrs"],DedupePlugin={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(a=>{e.props[a]&&(e.key=e.props[a],delete e.props[a])});const r=tagDedupeKey(e)||(e.key?`${e.tag}:${e.key}`:!1);r&&(e._d=r)},"tags:resolve":function(e){const t={};e.tags.forEach(a=>{const o=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,u=t[o];if(u){let f=a==null?void 0:a.tagDuplicateStrategy;if(!f&&UsesMergeStrategy.includes(a.tag)&&(f="merge"),f==="merge"){const g=u.props;["class","style"].forEach(_=>{a.props[_]&&g[_]&&(_==="style"&&!g[_].endsWith(";")&&(g[_]+=";"),a.props[_]=`${g[_]} ${a.props[_]}`)}),t[o].props={...g,...a.props};return}else if(a._e===u._e){u._duped=u._duped||[],a._d=`${u._d}:${u._duped.length+1}`,u._duped.push(a);return}else if(tagWeight(a)>tagWeight(u))return}const d=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(HasElementTags.includes(a.tag)&&d===0){delete t[o];return}t[o]=a});const r=[];Object.values(t).forEach(a=>{const o=a._duped;delete a._duped,r.push(a),o&&r.push(...o)}),e.tags=r,e.tags=e.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},PayloadPlugin={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(r=>["titleTemplate","templateParams","title"].includes(r.tag)&&r._m==="server").forEach(r=>{t[r.tag]=r.tag.startsWith("title")?r.textContent:r.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},ValidEventTags=["script","link","bodyAttrs"];function stripEventHandlers(e){const t={},r={};return Object.entries(e.props).forEach(([a,o])=>{a.startsWith("on")&&typeof o=="function"?r[a]=o:t[a]=o}),{props:t,eventHandlers:r}}const EventHandlersPlugin={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!ValidEventTags.includes(t.tag)||!Object.entries(t.props).find(([r,a])=>r.startsWith("on")&&typeof a=="function")||(t.props=stripEventHandlers(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!ValidEventTags.includes(t.tag))return t;const{props:r,eventHandlers:a}=stripEventHandlers(t);return Object.keys(a).length&&(t.props=r,t._eventHandlers=a),t})},"dom:renderTag":function(e,t,r){if(!e.tag._eventHandlers)return;const a=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,u])=>{const d=`${e.tag._d||e.tag._p}:${o}`,f=o.slice(2).toLowerCase(),g=`data-h-${f}`;if(r(e.id,d,()=>{}),e.$el.hasAttribute(g))return;const _=u;e.$el.setAttribute(g,""),a.addEventListener(f,_),e.entry&&r(e.id,d,()=>{a.removeEventListener(f,_),e.$el.removeAttribute(g)})})}}},DupeableTags=["link","style","script","noscript"],HashKeyedPlugin={hooks:{"tag:normalise":({tag:e})=>{e.key&&DupeableTags.includes(e.tag)&&(e.props["data-hid"]=e._h=hashCode(e.key))}}},SortPlugin={hooks:{"tags:resolve":e=>{const t=r=>{var a;return(a=e.tags.find(o=>o._d===r))==null?void 0:a._p};for(const{prefix:r,offset:a}of SortModifiers)for(const o of e.tags.filter(u=>typeof u.tagPriority=="string"&&u.tagPriority.startsWith(r))){const u=t(o.tagPriority.replace(r,""));typeof u<"u"&&(o._p=u+a)}e.tags.sort((r,a)=>r._p-a._p).sort((r,a)=>tagWeight(r)-tagWeight(a))}}},TemplateParamsPlugin={hooks:{"tags:resolve":e=>{var d;const{tags:t}=e,r=(d=t.find(f=>f.tag==="title"))==null?void 0:d.textContent,a=t.findIndex(f=>f.tag==="templateParams"),o=a!==-1?t[a].props:{},u=o.separator||"|";delete o.separator,o.pageTitle=processTemplateParams(o.pageTitle||r||"",o,u);for(const f of t)f.processTemplateParams!==!1&&(["titleTemplate","title"].includes(f.tag)&&typeof f.textContent=="string"?f.textContent=processTemplateParams(f.textContent,o,u):f.tag==="meta"&&typeof f.props.content=="string"?f.props.content=processTemplateParams(f.props.content,o,u):f.tag==="link"&&typeof f.props.href=="string"?f.props.href=processTemplateParams(f.props.href,o,u):f.processTemplateParams===!0&&(f.innerHTML?f.innerHTML=processTemplateParams(f.innerHTML,o,u):f.textContent&&(f.textContent=processTemplateParams(f.textContent,o,u))));e.tags=t.filter(f=>f.tag!=="templateParams")}}},TitleTemplatePlugin={hooks:{"tags:resolve":e=>{const{tags:t}=e;let r=t.findIndex(o=>o.tag==="titleTemplate");const a=t.findIndex(o=>o.tag==="title");if(a!==-1&&r!==-1){const o=resolveTitleTemplate(t[r].textContent,t[a].textContent);o!==null?t[a].textContent=o||t[a].textContent:delete t[a]}else if(r!==-1){const o=resolveTitleTemplate(t[r].textContent);o!==null&&(t[r].textContent=o,t[r].tag="title",r=-1)}r!==-1&&delete t[r],e.tags=t.filter(Boolean)}}};let activeHead;function createHead$1(e={}){const t=createHeadCore(e);return t.use(DomPlugin()),activeHead=t}function filterMode(e,t){return!e||e==="server"&&t||e==="client"&&!t}function createHeadCore(e={}){const t=createHooks();t.addHooks(e.hooks||{}),e.document=e.document||(IsBrowser?document:void 0);const r=!e.document;e.plugins=[DedupePlugin,PayloadPlugin,EventHandlersPlugin,HashKeyedPlugin,SortPlugin,TemplateParamsPlugin,TitleTemplatePlugin,...(e==null?void 0:e.plugins)||[]];const a=()=>{d.dirty=!0,t.callHook("entries:updated",d)};let o=0,u=[];const d={dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return u},use(f){const g=typeof f=="function"?f(d):f;filterMode(g.mode,r)&&t.addHooks(g.hooks||{})},push(f,g){g==null||delete g.head;const _={_i:o++,input:f,...g};return filterMode(_.mode,r)&&(u.push(_),a()),{dispose(){u=u.filter(S=>S._i!==_._i),t.callHook("entries:updated",d),a()},patch(S){u=u.map(E=>(E._i===_._i&&(E.input=_.input=S),E)),a()}}},async resolveTags(){const f={tags:[],entries:[...u]};await t.callHook("entries:resolve",f);for(const g of f.entries){const _=g.resolvedInput||g.input;if(g.resolvedInput=await(g.transform?g.transform(_):_),g.resolvedInput)for(const S of await normaliseEntryTags(g)){const E={tag:S,entry:g,resolvedOptions:d.resolvedOptions};await t.callHook("tag:normalise",E),f.tags.push(E.tag)}}return await t.callHook("tags:beforeResolve",f),await t.callHook("tags:resolve",f),f.tags},ssr:r};return e.plugins.forEach(f=>d.use(f)),d.hooks.callHook("init",d),d}function getActiveHead(){return activeHead}/** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function makeMap(e,t){const r=new Set(e.split(","));return t?a=>r.has(a.toLowerCase()):a=>r.has(a)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn$1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend$2=Object.assign,remove$1=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},hasOwnProperty$e=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$e.call(e,t),isArray$4=Array.isArray,isMap=e=>toTypeString(e)==="[object Map]",isSet=e=>toTypeString(e)==="[object Set]",isDate$1=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isFunction$2=e=>typeof e=="function",isString$1=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject$6=e=>e!==null&&typeof e=="object",isPromise$1=e=>(isObject$6(e)||isFunction$2(e))&&isFunction$2(e.then)&&isFunction$2(e.catch),objectToString$1=Object.prototype.toString,toTypeString=e=>objectToString$1.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$1=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString$1(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),isBuiltInDirective=makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),cacheStringFunction=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,r)=>r?r.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString$1(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<"u"?global:{}),GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle(e){if(isArray$4(e)){const t={};for(let r=0;r{if(r){const a=r.split(propertyDelimiterRE);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$1(e))t=e;else if(isArray$4(e))for(let r=0;rlooseEqual(r,t))}const toDisplayString=e=>isString$1(e)?e:e==null?"":isArray$4(e)||isObject$6(e)&&(e.toString===objectToString$1||!isFunction$2(e.toString))?JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>t&&t.__v_isRef?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[a,o],u)=>(r[stringifySymbol(a,u)+" =>"]=o,r),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>stringifySymbol(r))}:isSymbol(t)?stringifySymbol(t):isObject$6(t)&&!isArray$4(t)&&!isPlainObject$1(t)?String(t):t,stringifySymbol=(e,t="")=>{var r;return isSymbol(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** * @vue/reactivity v3.4.21 * (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 r=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=r}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){let r,a;for(r=0,a=this.effects.length;r=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,r=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=r,shouldTrack=t}}stop(){var t;this.active&&(preCleanupEffect(this),postCleanupEffect(this),(t=this.onStop)==null||t.call(this),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{r.dirty&&r.run()});t&&(extend$2(r,t),t.scope&&recordEffectScope(r,t.scope)),(!t||!t.lazy)&&r.run();const a=r.run.bind(r);return a.effect=r,a}function stop(e){e.effect.stop()}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,r){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const a=e.deps[e._depsLength];a!==t?(a&&cleanupDepEffect(a,e),e.deps[e._depsLength++]=t):e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(e,t,r){pauseScheduling();for(const a of e.keys()){let o;a._dirtyLevel{const r=new Map;return r.cleanup=e,r.computed=t,r},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(e,t,r){if(shouldTrack&&activeEffect){let a=targetMap.get(e);a||targetMap.set(e,a=new Map);let o=a.get(r);o||a.set(r,o=createDep(()=>a.delete(r))),trackEffect(activeEffect,o)}}function trigger(e,t,r,a,o,u){const d=targetMap.get(e);if(!d)return;let f=[];if(t==="clear")f=[...d.values()];else if(r==="length"&&isArray$4(e)){const g=Number(a);d.forEach((_,S)=>{(S==="length"||!isSymbol(S)&&S>=g)&&f.push(_)})}else switch(r!==void 0&&f.push(d.get(r)),t){case"add":isArray$4(e)?isIntegerKey(r)&&f.push(d.get("length")):(f.push(d.get(ITERATE_KEY)),isMap(e)&&f.push(d.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$4(e)||(f.push(d.get(ITERATE_KEY)),isMap(e)&&f.push(d.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&f.push(d.get(ITERATE_KEY));break}pauseScheduling();for(const g of f)g&&triggerEffects(g,4);resetScheduling()}function getDepFromReactive(e,t){var r;return(r=targetMap.get(e))==null?void 0:r.get(t)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const a=toRaw(this);for(let u=0,d=this.length;u{e[t]=function(...r){pauseTracking(),pauseScheduling();const a=toRaw(this)[t].apply(this,r);return resetScheduling(),resetTracking(),a}}),e}function hasOwnProperty$d(e){const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,a){const o=this._isReadonly,u=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return u;if(r==="__v_raw")return a===(o?u?shallowReadonlyMap:readonlyMap:u?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const d=isArray$4(t);if(!o){if(d&&hasOwn$1(arrayInstrumentations,r))return Reflect.get(arrayInstrumentations,r,a);if(r==="hasOwnProperty")return hasOwnProperty$d}const f=Reflect.get(t,r,a);return(isSymbol(r)?builtInSymbols.has(r):isNonTrackableKeys(r))||(o||track(t,"get",r),u)?f:isRef(f)?d&&isIntegerKey(r)?f:f.value:isObject$6(f)?o?readonly(f):reactive(f):f}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,r,a,o){let u=t[r];if(!this._isShallow){const g=isReadonly(u);if(!isShallow(a)&&!isReadonly(a)&&(u=toRaw(u),a=toRaw(a)),!isArray$4(t)&&isRef(u)&&!isRef(a))return g?!1:(u.value=a,!0)}const d=isArray$4(t)&&isIntegerKey(r)?Number(r)e,getProto=e=>Reflect.getPrototypeOf(e);function get$2(e,t,r=!1,a=!1){e=e.__v_raw;const o=toRaw(e),u=toRaw(t);r||(hasChanged(t,u)&&track(o,"get",t),track(o,"get",u));const{has:d}=getProto(o),f=a?toShallow:r?toReadonly:toReactive;if(d.call(o,t))return f(e.get(t));if(d.call(o,u))return f(e.get(u));e!==o&&e.get(t)}function has$1(e,t=!1){const r=this.__v_raw,a=toRaw(r),o=toRaw(e);return t||(hasChanged(e,o)&&track(a,"has",e),track(a,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function size(e,t=!1){return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);const t=toRaw(this);return getProto(t).has.call(t,e)||(t.add(e),trigger(t,"add",e,e)),this}function set$4(e,t){t=toRaw(t);const r=toRaw(this),{has:a,get:o}=getProto(r);let u=a.call(r,e);u||(e=toRaw(e),u=a.call(r,e));const d=o.call(r,e);return r.set(e,t),u?hasChanged(t,d)&&trigger(r,"set",e,t):trigger(r,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:r,get:a}=getProto(t);let o=r.call(t,e);o||(e=toRaw(e),o=r.call(t,e)),a&&a.call(t,e);const u=t.delete(e);return o&&trigger(t,"delete",e,void 0),u}function clear$1(){const e=toRaw(this),t=e.size!==0,r=e.clear();return t&&trigger(e,"clear",void 0,void 0),r}function createForEach(e,t){return function(a,o){const u=this,d=u.__v_raw,f=toRaw(d),g=t?toShallow:e?toReadonly:toReactive;return!e&&track(f,"iterate",ITERATE_KEY),d.forEach((_,S)=>a.call(o,g(_),g(S),u))}}function createIterableMethod(e,t,r){return function(...a){const o=this.__v_raw,u=toRaw(o),d=isMap(u),f=e==="entries"||e===Symbol.iterator&&d,g=e==="keys"&&d,_=o[e](...a),S=r?toShallow:t?toReadonly:toReactive;return!t&&track(u,"iterate",g?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:E,done:v}=_.next();return v?{value:E,done:v}:{value:f?[S(E[0]),S(E[1])]:S(E),done:v}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(){const e={get(u){return get$2(this,u)},get size(){return size(this)},has:has$1,add,set:set$4,delete:deleteEntry,clear:clear$1,forEach:createForEach(!1,!1)},t={get(u){return get$2(this,u,!1,!0)},get size(){return size(this)},has:has$1,add,set:set$4,delete:deleteEntry,clear:clear$1,forEach:createForEach(!1,!0)},r={get(u){return get$2(this,u,!0)},get size(){return size(this,!0)},has(u){return has$1.call(this,u,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},a={get(u){return get$2(this,u,!0,!0)},get size(){return size(this,!0)},has(u){return has$1.call(this,u,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(u=>{e[u]=createIterableMethod(u,!1,!1),r[u]=createIterableMethod(u,!0,!1),t[u]=createIterableMethod(u,!1,!0),a[u]=createIterableMethod(u,!0,!0)}),[e,r,t,a]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const r=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(a,o,u)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?a:Reflect.get(hasOwn$1(r,o)&&o in a?r:a,o,u)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,r,a,o){if(!isObject$6(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=o.get(e);if(u)return u;const d=getTargetType(e);if(d===0)return e;const f=new Proxy(e,d===2?a:r);return o.set(e,f),f}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!!(e&&e.__v_isReactive)}function isReadonly(e){return!!(e&&e.__v_isReadonly)}function isShallow(e){return!!(e&&e.__v_isShallow)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject$6(e)?reactive(e):e,toReadonly=e=>isObject$6(e)?readonly(e):e;class ComputedRefImpl{constructor(t,r,a,o){this.getter=t,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>t(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=a}get value(){const t=toRaw(this);return(!t._cacheable||t.effect.dirty)&&hasChanged(t._value,t._value=t.effect.run())&&triggerRefValue(t,4),trackRefValue(t),t.effect._dirtyLevel>=2&&triggerRefValue(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function computed$1(e,t,r=!1){let a,o;const u=isFunction$2(e);return u?(a=e,o=NOOP):(a=e.get,o=e.set),new ComputedRefImpl(a,o,u||!o,r)}function trackRefValue(e){var t;shouldTrack&&activeEffect&&(e=toRaw(e),trackEffect(activeEffect,(t=e.dep)!=null?t:e.dep=createDep(()=>e.dep=void 0,e instanceof ComputedRefImpl?e:void 0)))}function triggerRefValue(e,t=4,r){e=toRaw(e);const a=e.dep;a&&triggerEffects(a,t)}function isRef(e){return!!(e&&e.__v_isRef===!0)}function ref$1(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:toRaw(t),this._value=r?t:toReactive(t)}get value(){return trackRefValue(this),this._value}set value(t){const r=this.__v_isShallow||isShallow(t)||isReadonly(t);t=r?t:toRaw(t),hasChanged(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:toReactive(t),triggerRefValue(this,4))}}function triggerRef(e){triggerRefValue(e,4)}function unref(e){return isRef(e)?e.value:e}function toValue(e){return isFunction$2(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,r)=>unref(Reflect.get(e,t,r)),set:(e,t,r,a)=>{const o=e[t];return isRef(o)&&!isRef(r)?(o.value=r,!0):Reflect.set(e,t,r,a)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:a}=t(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=r,this._set=a}get value(){return this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray$4(e)?new Array(e.length):{};for(const r in e)t[r]=propertyToRef(e,r);return t}class ObjectRefImpl{constructor(t,r,a){this._object=t,this._key=r,this._defaultValue=a,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(e,t,r){return isRef(e)?e:isFunction$2(e)?new GetterRefImpl(e):isObject$6(e)&&arguments.length>1?propertyToRef(e,t,r):ref$1(e)}function propertyToRef(e,t,r){const a=e[t];return isRef(a)?a:new ObjectRefImpl(e,t,r)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** * @vue/runtime-core v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const stack$1=[];function warn$1(e,...t){pauseTracking();const r=stack$1.length?stack$1[stack$1.length-1].component:null,a=r&&r.appContext.config.warnHandler,o=getComponentTrace();if(a)callWithErrorHandling(a,r,11,[e+t.map(u=>{var d,f;return(f=(d=u.toString)==null?void 0:d.call(u))!=null?f:JSON.stringify(u)}).join(""),r&&r.proxy,o.map(({vnode:u})=>`at <${formatComponentName(r,u.type)}>`).join(` `),o]);else{const u=[`[Vue warn]: ${e}`,...t];o.length&&u.push(` `,...formatTrace(o)),console.warn(...u)}resetTracking()}function getComponentTrace(){let e=stack$1[stack$1.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const a=e.component&&e.component.parent;e=a&&a.vnode}return t}function formatTrace(e){const t=[];return e.forEach((r,a)=>{t.push(...a===0?[]:[` `],...formatTraceEntry(r))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",a=e.component?e.component.parent==null:!1,o=` at <${formatComponentName(e.component,e.type,a)}`,u=">"+r;return e.props?[o,...formatProps(e.props),u]:[o+u]}function formatProps(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(a=>{t.push(...formatProp(a,e[a]))}),r.length>3&&t.push(" ..."),t}function formatProp(e,t,r){return isString$1(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):isFunction$2(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),r?t:[`${e}=`,t])}function assertNumber(e,t){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(e,t,r,a){try{return a?e(...a):e()}catch(o){handleError$1(o,t,r)}}function callWithAsyncErrorHandling(e,t,r,a){if(isFunction$2(e)){const u=callWithErrorHandling(e,t,r,a);return u&&isPromise$1(u)&&u.catch(d=>{handleError$1(d,t,r)}),u}const o=[];for(let u=0;u>>1,o=queue[a],u=getId(o);uflushIndex&&queue.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,r=isFlushing?flushIndex+1:0){for(;rgetId(r)-getId(a));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndexe.id==null?1/0:e.id,comparator=(e,t)=>{const r=getId(e)-getId(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function flushJobs(e){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndexdevtools$1.emit(o,...u)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((a=(r=window.navigator)==null?void 0:r.userAgent)!=null&&a.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(u=>{setDevtoolsHook$1(u,t)}),setTimeout(()=>{devtools$1||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(e,t,...r){if(e.isUnmounted)return;const a=e.vnode.props||EMPTY_OBJ;let o=r;const u=t.startsWith("update:"),d=u&&t.slice(7);if(d&&d in a){const S=`${d==="modelValue"?"model":d}Modifiers`,{number:E,trim:v}=a[S]||EMPTY_OBJ;v&&(o=r.map(b=>isString$1(b)?b.trim():b)),E&&(o=r.map(looseToNumber))}let f,g=a[f=toHandlerKey(t)]||a[f=toHandlerKey(camelize(t))];!g&&u&&(g=a[f=toHandlerKey(hyphenate(t))]),g&&callWithAsyncErrorHandling(g,e,6,o);const _=a[f+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,callWithAsyncErrorHandling(_,e,6,o)}}function normalizeEmitsOptions(e,t,r=!1){const a=t.emitsCache,o=a.get(e);if(o!==void 0)return o;const u=e.emits;let d={},f=!1;if(!isFunction$2(e)){const g=_=>{const S=normalizeEmitsOptions(_,t,!0);S&&(f=!0,extend$2(d,S))};!r&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}return!u&&!f?(isObject$6(e)&&a.set(e,null),null):(isArray$4(u)?u.forEach(g=>d[g]=null):extend$2(d,u),isObject$6(e)&&a.set(e,d),d)}function isEmitListener(e,t){return!e||!isOn$1(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}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}const withScopeId=e=>withCtx;function withCtx(e,t=currentRenderingInstance,r){if(!t||e._n)return e;const a=(...o)=>{a._d&&setBlockTracking(-1);const u=setCurrentRenderingInstance(t);let d;try{d=e(...o)}finally{setCurrentRenderingInstance(u),a._d&&setBlockTracking(1)}return d};return a._n=!0,a._c=!0,a._d=!0,a}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:r,proxy:a,withProxy:o,props:u,propsOptions:[d],slots:f,attrs:g,emit:_,render:S,renderCache:E,data:v,setupState:b,ctx:y,inheritAttrs:T}=e;let C,R;const A=setCurrentRenderingInstance(e);try{if(r.shapeFlag&4){const x=o||a,N=x;C=normalizeVNode(S.call(N,x,E,u,b,v,y)),R=g}else{const x=t;C=normalizeVNode(x.length>1?x(u,{attrs:g,slots:f,emit:_}):x(u,null)),R=t.props?g:getFunctionalFallthrough(g)}}catch(x){blockStack.length=0,handleError$1(x,e,1),C=createVNode(Comment)}let O=C;if(R&&T!==!1){const x=Object.keys(R),{shapeFlag:N}=O;x.length&&N&7&&(d&&x.some(isModelListener)&&(R=filterModelListeners(R,d)),O=cloneVNode(O,R))}return r.dirs&&(O=cloneVNode(O),O.dirs=O.dirs?O.dirs.concat(r.dirs):r.dirs),r.transition&&(O.transition=r.transition),C=O,setCurrentRenderingInstance(A),C}function filterSingleRoot(e,t=!0){let r;for(let a=0;a{let t;for(const r in e)(r==="class"||r==="style"||isOn$1(r))&&((t||(t={}))[r]=e[r]);return t},filterModelListeners=(e,t)=>{const r={};for(const a in e)(!isModelListener(a)||!(a.slice(9)in t))&&(r[a]=e[a]);return r};function shouldUpdateComponent(e,t,r){const{props:a,children:o,component:u}=e,{props:d,children:f,patchFlag:g}=t,_=u.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&g>=0){if(g&1024)return!0;if(g&16)return a?hasPropsChanged(a,d,_):!!d;if(g&8){const S=t.dynamicProps;for(let E=0;Ee.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,r,a,o,u,d,f,g,_){if(e==null)mountSuspense(t,r,a,o,u,d,f,g,_);else{if(u&&u.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}patchSuspense(e,t,r,a,o,d,f,g,_)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const r=e.props&&e.props[t];isFunction$2(r)&&r()}function mountSuspense(e,t,r,a,o,u,d,f,g){const{p:_,o:{createElement:S}}=g,E=S("div"),v=e.suspense=createSuspenseBoundary(e,o,a,t,E,r,u,d,f,g);_(null,v.pendingBranch=e.ssContent,E,null,a,v,u,d),v.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),_(null,e.ssFallback,t,r,a,null,u,d),setActiveBranch(v,e.ssFallback)):v.resolve(!1,!0)}function patchSuspense(e,t,r,a,o,u,d,f,{p:g,um:_,o:{createElement:S}}){const E=t.suspense=e.suspense;E.vnode=t,t.el=e.el;const v=t.ssContent,b=t.ssFallback,{activeBranch:y,pendingBranch:T,isInFallback:C,isHydrating:R}=E;if(T)E.pendingBranch=v,isSameVNodeType(v,T)?(g(T,v,E.hiddenContainer,null,o,E,u,d,f),E.deps<=0?E.resolve():C&&(R||(g(y,b,r,a,o,null,u,d,f),setActiveBranch(E,b)))):(E.pendingId=suspenseId++,R?(E.isHydrating=!1,E.activeBranch=T):_(T,o,E),E.deps=0,E.effects.length=0,E.hiddenContainer=S("div"),C?(g(null,v,E.hiddenContainer,null,o,E,u,d,f),E.deps<=0?E.resolve():(g(y,b,r,a,o,null,u,d,f),setActiveBranch(E,b))):y&&isSameVNodeType(v,y)?(g(y,v,r,a,o,E,u,d,f),E.resolve(!0)):(g(null,v,E.hiddenContainer,null,o,E,u,d,f),E.deps<=0&&E.resolve()));else if(y&&isSameVNodeType(v,y))g(y,v,r,a,o,E,u,d,f),setActiveBranch(E,v);else if(triggerEvent(t,"onPending"),E.pendingBranch=v,v.shapeFlag&512?E.pendingId=v.component.suspenseId:E.pendingId=suspenseId++,g(null,v,E.hiddenContainer,null,o,E,u,d,f),E.deps<=0)E.resolve();else{const{timeout:A,pendingId:O}=E;A>0?setTimeout(()=>{E.pendingId===O&&E.fallback(b)},A):A===0&&E.fallback(b)}}function createSuspenseBoundary(e,t,r,a,o,u,d,f,g,_,S=!1){const{p:E,m:v,um:b,n:y,o:{parentNode:T,remove:C}}=_;let R;const A=isVNodeSuspensible(e);A&&t!=null&&t.pendingBranch&&(R=t.pendingId,t.deps++);const O=e.props?toNumber(e.props.timeout):void 0,x=u,N={vnode:e,parent:t,parentComponent:r,namespace:d,container:a,hiddenContainer:o,deps:0,pendingId:suspenseId++,timeout:typeof O=="number"?O:-1,activeBranch:null,pendingBranch:null,isInFallback:!S,isHydrating:S,isUnmounted:!1,effects:[],resolve(I=!1,k=!1){const{vnode:D,activeBranch:P,pendingBranch:L,pendingId:F,effects:B,parentComponent:V,container:U}=N;let W=!1;N.isHydrating?N.isHydrating=!1:I||(W=P&&L.transition&&L.transition.mode==="out-in",W&&(P.transition.afterLeave=()=>{F===N.pendingId&&(v(L,U,u===x?y(P):u,0),queuePostFlushCb(B))}),P&&(T(P.el)!==N.hiddenContainer&&(u=y(P)),b(P,V,N,!0)),W||v(L,U,u,0)),setActiveBranch(N,L),N.pendingBranch=null,N.isInFallback=!1;let K=N.parent,G=!1;for(;K;){if(K.pendingBranch){K.effects.push(...B),G=!0;break}K=K.parent}!G&&!W&&queuePostFlushCb(B),N.effects=[],A&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),triggerEvent(D,"onResolve")},fallback(I){if(!N.pendingBranch)return;const{vnode:k,activeBranch:D,parentComponent:P,container:L,namespace:F}=N;triggerEvent(k,"onFallback");const B=y(D),V=()=>{N.isInFallback&&(E(null,I,L,B,P,null,F,f,g),setActiveBranch(N,I))},U=I.transition&&I.transition.mode==="out-in";U&&(D.transition.afterLeave=V),N.isInFallback=!0,b(D,P,null,!0),U||V()},move(I,k,D){N.activeBranch&&v(N.activeBranch,I,k,D),N.container=I},next(){return N.activeBranch&&y(N.activeBranch)},registerDep(I,k){const D=!!N.pendingBranch;D&&N.deps++;const P=I.vnode.el;I.asyncDep.catch(L=>{handleError$1(L,I,0)}).then(L=>{if(I.isUnmounted||N.isUnmounted||N.pendingId!==I.suspenseId)return;I.asyncResolved=!0;const{vnode:F}=I;handleSetupResult(I,L,!1),P&&(F.el=P);const B=!P&&I.subTree.el;k(I,F,T(P||I.subTree.el),P?null:y(I.subTree),N,d,g),B&&C(B),updateHOCHostEl(I,F.el),D&&--N.deps===0&&N.resolve()})},unmount(I,k){N.isUnmounted=!0,N.activeBranch&&b(N.activeBranch,r,I,k),N.pendingBranch&&b(N.pendingBranch,r,I,k)}};return N}function hydrateSuspense(e,t,r,a,o,u,d,f,g){const _=t.suspense=createSuspenseBoundary(t,a,r,e.parentNode,document.createElement("div"),null,o,u,d,f,!0),S=g(e,_.pendingBranch=t.ssContent,r,_,u,d);return _.deps===0&&_.resolve(!1,!0),S}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:r}=e,a=t&32;e.ssContent=normalizeSuspenseSlot(a?r.default:r),e.ssFallback=a?normalizeSuspenseSlot(r.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){let t;if(isFunction$2(e)){const r=isBlockTreeEnabled&&e._c;r&&(e._d=!1,openBlock()),e=e(),r&&(e._d=!0,t=currentBlock,closeBlock())}return isArray$4(e)&&(e=filterSingleRoot(e)),e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$4(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:r,parentComponent:a}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;r.el=o,a&&a.subTree===r&&(a.vnode.el=o,updateHOCHostEl(a,o))}function isVNodeSuspensible(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject$1(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchPostEffect(e,t){return doWatch(e,null,{flush:"post"})}function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(e,t,r){return doWatch(e,t,r)}function doWatch(e,t,{immediate:r,deep:a,flush:o,once:u,onTrack:d,onTrigger:f}=EMPTY_OBJ){if(t&&u){const I=t;t=(...k)=>{I(...k),N()}}const g=currentInstance,_=I=>a===!0?I:traverse(I,a===!1?1:void 0);let S,E=!1,v=!1;if(isRef(e)?(S=()=>e.value,E=isShallow(e)):isReactive(e)?(S=()=>_(e),E=!0):isArray$4(e)?(v=!0,E=e.some(I=>isReactive(I)||isShallow(I)),S=()=>e.map(I=>{if(isRef(I))return I.value;if(isReactive(I))return _(I);if(isFunction$2(I))return callWithErrorHandling(I,g,2)})):isFunction$2(e)?t?S=()=>callWithErrorHandling(e,g,2):S=()=>(b&&b(),callWithAsyncErrorHandling(e,g,3,[y])):S=NOOP,t&&a){const I=S;S=()=>traverse(I())}let b,y=I=>{b=O.onStop=()=>{callWithErrorHandling(I,g,4),b=O.onStop=void 0}},T;if(isInSSRComponentSetup)if(y=NOOP,t?r&&callWithAsyncErrorHandling(t,g,3,[S(),v?[]:void 0,y]):S(),o==="sync"){const I=useSSRContext();T=I.__watcherHandles||(I.__watcherHandles=[])}else return NOOP;let C=v?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const R=()=>{if(!(!O.active||!O.dirty))if(t){const I=O.run();(a||E||(v?I.some((k,D)=>hasChanged(k,C[D])):hasChanged(I,C)))&&(b&&b(),callWithAsyncErrorHandling(t,g,3,[I,C===INITIAL_WATCHER_VALUE?void 0:v&&C[0]===INITIAL_WATCHER_VALUE?[]:C,y]),C=I)}else O.run()};R.allowRecurse=!!t;let A;o==="sync"?A=R:o==="post"?A=()=>queuePostRenderEffect(R,g&&g.suspense):(R.pre=!0,g&&(R.id=g.uid),A=()=>queueJob(R));const O=new ReactiveEffect(S,NOOP,A),x=getCurrentScope(),N=()=>{O.stop(),x&&remove$1(x.effects,O)};return t?r?R():C=O.run():o==="post"?queuePostRenderEffect(O.run.bind(O),g&&g.suspense):O.run(),T&&T.push(N),N}function instanceWatch(e,t,r){const a=this.proxy,o=isString$1(e)?e.includes(".")?createPathGetter(a,e):()=>a[e]:e.bind(a,a);let u;isFunction$2(t)?u=t:(u=t.handler,r=t);const d=setCurrentInstance(this),f=doWatch(o,u.bind(a),r);return d(),f}function createPathGetter(e,t){const r=t.split(".");return()=>{let a=e;for(let o=0;o0){if(r>=t)return e;r++}if(a=a||new Set,a.has(e))return e;if(a.add(e),isRef(e))traverse(e.value,t,r,a);else if(isArray$4(e))for(let o=0;o{traverse(o,t,r,a)});else if(isPlainObject$1(e))for(const o in e)traverse(e[o],t,r,a);return e}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const r=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,a=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),onBeforeUnmount(()=>{e.isUnmounting=!0}),e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const r=getCurrentInstance$1(),a=useTransitionState();return()=>{const o=t.default&&getTransitionRawChildren(t.default(),!0);if(!o||!o.length)return;let u=o[0];if(o.length>1){for(const v of o)if(v.type!==Comment){u=v;break}}const d=toRaw(e),{mode:f}=d;if(a.isLeaving)return emptyPlaceholder(u);const g=getKeepAliveChild(u);if(!g)return emptyPlaceholder(u);const _=resolveTransitionHooks(g,d,a,r);setTransitionHooks(g,_);const S=r.subTree,E=S&&getKeepAliveChild(S);if(E&&E.type!==Comment&&!isSameVNodeType(g,E)){const v=resolveTransitionHooks(E,d,a,r);if(setTransitionHooks(E,v),f==="out-in")return a.isLeaving=!0,v.afterLeave=()=>{a.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},emptyPlaceholder(u);f==="in-out"&&g.type!==Comment&&(v.delayLeave=(b,y,T)=>{const C=getLeavingNodesForType(a,E);C[String(E.key)]=E,b[leaveCbKey]=()=>{y(),b[leaveCbKey]=void 0,delete _.delayedLeave},_.delayedLeave=T})}return u}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:r}=e;let a=r.get(t.type);return a||(a=Object.create(null),r.set(t.type,a)),a}function resolveTransitionHooks(e,t,r,a){const{appear:o,mode:u,persisted:d=!1,onBeforeEnter:f,onEnter:g,onAfterEnter:_,onEnterCancelled:S,onBeforeLeave:E,onLeave:v,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:T,onAppear:C,onAfterAppear:R,onAppearCancelled:A}=t,O=String(e.key),x=getLeavingNodesForType(r,e),N=(D,P)=>{D&&callWithAsyncErrorHandling(D,a,9,P)},I=(D,P)=>{const L=P[1];N(D,P),isArray$4(D)?D.every(F=>F.length<=1)&&L():D.length<=1&&L()},k={mode:u,persisted:d,beforeEnter(D){let P=f;if(!r.isMounted)if(o)P=T||f;else return;D[leaveCbKey]&&D[leaveCbKey](!0);const L=x[O];L&&isSameVNodeType(e,L)&&L.el[leaveCbKey]&&L.el[leaveCbKey](),N(P,[D])},enter(D){let P=g,L=_,F=S;if(!r.isMounted)if(o)P=C||g,L=R||_,F=A||S;else return;let B=!1;const V=D[enterCbKey$1]=U=>{B||(B=!0,U?N(F,[D]):N(L,[D]),k.delayedLeave&&k.delayedLeave(),D[enterCbKey$1]=void 0)};P?I(P,[D,V]):V()},leave(D,P){const L=String(e.key);if(D[enterCbKey$1]&&D[enterCbKey$1](!0),r.isUnmounting)return P();N(E,[D]);let F=!1;const B=D[leaveCbKey]=V=>{F||(F=!0,P(),V?N(y,[D]):N(b,[D]),D[leaveCbKey]=void 0,x[L]===e&&delete x[L])};x[L]=e,v?I(v,[D,B]):B()},clone(D){return resolveTransitionHooks(D,t,r,a)}};return k}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?setTransitionHooks(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,r){let a=[],o=0;for(let u=0;u1)for(let u=0;u!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(e){isFunction$2(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:a,delay:o=200,timeout:u,suspensible:d=!0,onError:f}=e;let g=null,_,S=0;const E=()=>(S++,g=null,v()),v=()=>{let b;return g||(b=g=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),f)return new Promise((T,C)=>{f(y,()=>T(E()),()=>C(y),S+1)});throw y}).then(y=>b!==g&&g?g:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),_=y,y)))};return defineComponent$1({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return _},setup(){const b=currentInstance;if(_)return()=>createInnerComp(_,b);const y=A=>{g=null,handleError$1(A,b,13,!a)};if(d&&b.suspense||isInSSRComponentSetup)return v().then(A=>()=>createInnerComp(A,b)).catch(A=>(y(A),()=>a?createVNode(a,{error:A}):null));const T=ref$1(!1),C=ref$1(),R=ref$1(!!o);return o&&setTimeout(()=>{R.value=!1},o),u!=null&&setTimeout(()=>{if(!T.value&&!C.value){const A=new Error(`Async component timed out after ${u}ms.`);y(A),C.value=A}},u),v().then(()=>{T.value=!0,b.parent&&isKeepAlive(b.parent.vnode)&&(b.parent.effect.dirty=!0,queueJob(b.parent.update))}).catch(A=>{y(A),C.value=A}),()=>{if(T.value&&_)return createInnerComp(_,b);if(C.value&&a)return createVNode(a,{error:C.value});if(r&&!R.value)return createVNode(r)}}})}function createInnerComp(e,t){const{ref:r,props:a,children:o,ce:u}=t.vnode,d=createVNode(e,a,o);return d.ref=r,d.ce=u,delete t.vnode.ce,d}const isKeepAlive=e=>e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=getCurrentInstance$1(),a=r.ctx;if(!a.renderer)return()=>{const A=t.default&&t.default();return A&&A.length===1?A[0]:A};const o=new Map,u=new Set;let d=null;const f=r.suspense,{renderer:{p:g,m:_,um:S,o:{createElement:E}}}=a,v=E("div");a.activate=(A,O,x,N,I)=>{const k=A.component;_(A,O,x,0,f),g(k.vnode,A,O,x,k,f,N,A.slotScopeIds,I),queuePostRenderEffect(()=>{k.isDeactivated=!1,k.a&&invokeArrayFns(k.a);const D=A.props&&A.props.onVnodeMounted;D&&invokeVNodeHook(D,k.parent,A)},f)},a.deactivate=A=>{const O=A.component;_(A,v,null,1,f),queuePostRenderEffect(()=>{O.da&&invokeArrayFns(O.da);const x=A.props&&A.props.onVnodeUnmounted;x&&invokeVNodeHook(x,O.parent,A),O.isDeactivated=!0},f)};function b(A){resetShapeFlag(A),S(A,r,f,!0)}function y(A){o.forEach((O,x)=>{const N=getComponentName(O.type);N&&(!A||!A(N))&&T(x)})}function T(A){const O=o.get(A);!d||!isSameVNodeType(O,d)?b(O):d&&resetShapeFlag(d),o.delete(A),u.delete(A)}watch(()=>[e.include,e.exclude],([A,O])=>{A&&y(x=>matches(A,x)),O&&y(x=>!matches(O,x))},{flush:"post",deep:!0});let C=null;const R=()=>{C!=null&&o.set(C,getInnerChild(r.subTree))};return onMounted(R),onUpdated(R),onBeforeUnmount(()=>{o.forEach(A=>{const{subTree:O,suspense:x}=r,N=getInnerChild(O);if(A.type===N.type&&A.key===N.key){resetShapeFlag(N);const I=N.component.da;I&&queuePostRenderEffect(I,x);return}b(A)})}),()=>{if(C=null,!t.default)return null;const A=t.default(),O=A[0];if(A.length>1)return d=null,A;if(!isVNode(O)||!(O.shapeFlag&4)&&!(O.shapeFlag&128))return d=null,O;let x=getInnerChild(O);const N=x.type,I=getComponentName(isAsyncWrapper(x)?x.type.__asyncResolved||{}:N),{include:k,exclude:D,max:P}=e;if(k&&(!I||!matches(k,I))||D&&I&&matches(D,I))return d=x,O;const L=x.key==null?N:x.key,F=o.get(L);return x.el&&(x=cloneVNode(x),O.shapeFlag&128&&(O.ssContent=x)),C=L,F?(x.el=F.el,x.component=F.component,x.transition&&setTransitionHooks(x,x.transition),x.shapeFlag|=512,u.delete(L),u.add(L)):(u.add(L),P&&u.size>parseInt(P,10)&&T(u.values().next().value)),x.shapeFlag|=256,d=x,isSuspense(O.type)?O:x}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray$4(e)?e.some(r=>matches(r,t)):isString$1(e)?e.split(",").includes(t):isRegExp(e)?e.test(t):!1}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,r=currentInstance){const a=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(injectHook(t,a,r),r){let o=r.parent;for(;o&&o.parent;)isKeepAlive(o.parent.vnode)&&injectToKeepAliveRoot(a,t,r,o),o=o.parent}}function injectToKeepAliveRoot(e,t,r,a){const o=injectHook(t,e,a,!0);onUnmounted(()=>{remove$1(a[t],o)},r)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return e.shapeFlag&128?e.ssContent:e}function injectHook(e,t,r=currentInstance,a=!1){if(r){const o=r[e]||(r[e]=[]),u=t.__weh||(t.__weh=(...d)=>{if(r.isUnmounted)return;pauseTracking();const f=setCurrentInstance(r),g=callWithAsyncErrorHandling(t,r,e,d);return f(),resetTracking(),g});return a?o.unshift(u):o.push(u),u}}const createHook=e=>(t,r=currentInstance)=>(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...a)=>t(...a),r),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}function renderList(e,t,r,a){let o;const u=r&&r[a];if(isArray$4(e)||isString$1(e)){o=new Array(e.length);for(let d=0,f=e.length;dt(d,f,void 0,u&&u[f]));else{const d=Object.keys(e);o=new Array(d.length);for(let f=0,g=d.length;f{const u=a.fn(...o);return u&&(u.key=a.key),u}:a.fn)}return e}function renderSlot(e,t,r={},a,o){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return t!=="default"&&(r.name=t),createVNode("slot",r,a&&a());let u=e[t];u&&u._c&&(u._d=!1),openBlock();const d=u&&ensureValidVNode$1(u(r)),f=createBlock(Fragment,{key:r.key||d&&d.key||`_${t}`},d||(a?a():[]),d&&e._===1?64:-2);return!o&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),u&&u._c&&(u._d=!0),f}function ensureValidVNode$1(e){return e.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode$1(t.children)):!0)?e:null}function toHandlers(e,t){const r={};for(const a in e)r[t&&/[A-Z]/.test(a)?`on:${a}`:toHandlerKey(a)]=e[a];return r}const getPublicInstance=e=>e?isStatefulComponent(e)?getExposeProxy(e)||e.proxy:getPublicInstance(e.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick$1.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn$1(e,t),PublicInstanceProxyHandlers={get({_:e},t){const{ctx:r,setupState:a,data:o,props:u,accessCache:d,type:f,appContext:g}=e;let _;if(t[0]!=="$"){const b=d[t];if(b!==void 0)switch(b){case 1:return a[t];case 2:return o[t];case 4:return r[t];case 3:return u[t]}else{if(hasSetupBinding(a,t))return d[t]=1,a[t];if(o!==EMPTY_OBJ&&hasOwn$1(o,t))return d[t]=2,o[t];if((_=e.propsOptions[0])&&hasOwn$1(_,t))return d[t]=3,u[t];if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return d[t]=4,r[t];shouldCacheAccess&&(d[t]=0)}}const S=publicPropertiesMap[t];let E,v;if(S)return t==="$attrs"&&track(e,"get",t),S(e);if((E=f.__cssModules)&&(E=E[t]))return E;if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return d[t]=4,r[t];if(v=g.config.globalProperties,hasOwn$1(v,t))return v[t]},set({_:e},t,r){const{data:a,setupState:o,ctx:u}=e;return hasSetupBinding(o,t)?(o[t]=r,!0):a!==EMPTY_OBJ&&hasOwn$1(a,t)?(a[t]=r,!0):hasOwn$1(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(u[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:a,appContext:o,propsOptions:u}},d){let f;return!!r[d]||e!==EMPTY_OBJ&&hasOwn$1(e,d)||hasSetupBinding(t,d)||(f=u[0])&&hasOwn$1(f,d)||hasOwn$1(a,d)||hasOwn$1(publicPropertiesMap,d)||hasOwn$1(o.config.globalProperties,d)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:hasOwn$1(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(e,t){if(t!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(e,t,e)},has(e,t){return t[0]!=="_"&&!isGloballyAllowed(t)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(e){}function defineOptions(e){}function defineSlots(){return null}function defineModel(){}function withDefaults(e,t){return null}function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const e=getCurrentInstance$1();return e.setupContext||(e.setupContext=createSetupContext(e))}function normalizePropsOrEmits(e){return isArray$4(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function mergeDefaults(e,t){const r=normalizePropsOrEmits(e);for(const a in t){if(a.startsWith("__skip"))continue;let o=r[a];o?isArray$4(o)||isFunction$2(o)?o=r[a]={type:o,default:t[a]}:o.default=t[a]:o===null&&(o=r[a]={default:t[a]}),o&&t[`__skip_${a}`]&&(o.skipFactory=!0)}return r}function mergeModels(e,t){return!e||!t?e||t:isArray$4(e)&&isArray$4(t)?e.concat(t):extend$2({},normalizePropsOrEmits(e),normalizePropsOrEmits(t))}function createPropsRestProxy(e,t){const r={};for(const a in e)t.includes(a)||Object.defineProperty(r,a,{enumerable:!0,get:()=>e[a]});return r}function withAsyncContext(e){const t=getCurrentInstance$1();let r=e();return unsetCurrentInstance(),isPromise$1(r)&&(r=r.catch(a=>{throw setCurrentInstance(t),a})),[r,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),r=e.proxy,a=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:o,computed:u,methods:d,watch:f,provide:g,inject:_,created:S,beforeMount:E,mounted:v,beforeUpdate:b,updated:y,activated:T,deactivated:C,beforeDestroy:R,beforeUnmount:A,destroyed:O,unmounted:x,render:N,renderTracked:I,renderTriggered:k,errorCaptured:D,serverPrefetch:P,expose:L,inheritAttrs:F,components:B,directives:V,filters:U}=t;if(_&&resolveInjections(_,a,null),d)for(const G in d){const Y=d[G];isFunction$2(Y)&&(a[G]=Y.bind(r))}if(o){const G=o.call(r,r);isObject$6(G)&&(e.data=reactive(G))}if(shouldCacheAccess=!0,u)for(const G in u){const Y=u[G],Q=isFunction$2(Y)?Y.bind(r,r):isFunction$2(Y.get)?Y.get.bind(r,r):NOOP,Z=!isFunction$2(Y)&&isFunction$2(Y.set)?Y.set.bind(r):NOOP,J=computed({get:Q,set:Z});Object.defineProperty(a,G,{enumerable:!0,configurable:!0,get:()=>J.value,set:te=>J.value=te})}if(f)for(const G in f)createWatcher(f[G],a,r,G);if(g){const G=isFunction$2(g)?g.call(r):g;Reflect.ownKeys(G).forEach(Y=>{provide(Y,G[Y])})}S&&callHook$1(S,e,"c");function K(G,Y){isArray$4(Y)?Y.forEach(Q=>G(Q.bind(r))):Y&&G(Y.bind(r))}if(K(onBeforeMount,E),K(onMounted,v),K(onBeforeUpdate,b),K(onUpdated,y),K(onActivated,T),K(onDeactivated,C),K(onErrorCaptured,D),K(onRenderTracked,I),K(onRenderTriggered,k),K(onBeforeUnmount,A),K(onUnmounted,x),K(onServerPrefetch,P),isArray$4(L))if(L.length){const G=e.exposed||(e.exposed={});L.forEach(Y=>{Object.defineProperty(G,Y,{get:()=>r[Y],set:Q=>r[Y]=Q})})}else e.exposed||(e.exposed={});N&&e.render===NOOP&&(e.render=N),F!=null&&(e.inheritAttrs=F),B&&(e.components=B),V&&(e.directives=V)}function resolveInjections(e,t,r=NOOP){isArray$4(e)&&(e=normalizeInject(e));for(const a in e){const o=e[a];let u;isObject$6(o)?"default"in o?u=inject$1(o.from||a,o.default,!0):u=inject$1(o.from||a):u=inject$1(o),isRef(u)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>u.value,set:d=>u.value=d}):t[a]=u}}function callHook$1(e,t,r){callWithAsyncErrorHandling(isArray$4(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,r)}function createWatcher(e,t,r,a){const o=a.includes(".")?createPathGetter(r,a):()=>r[a];if(isString$1(e)){const u=t[e];isFunction$2(u)&&watch(o,u)}else if(isFunction$2(e))watch(o,e.bind(r));else if(isObject$6(e))if(isArray$4(e))e.forEach(u=>createWatcher(u,t,r,a));else{const u=isFunction$2(e.handler)?e.handler.bind(r):t[e.handler];isFunction$2(u)&&watch(o,u,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:r,extends:a}=t,{mixins:o,optionsCache:u,config:{optionMergeStrategies:d}}=e.appContext,f=u.get(t);let g;return f?g=f:!o.length&&!r&&!a?g=t:(g={},o.length&&o.forEach(_=>mergeOptions$1(g,_,d,!0)),mergeOptions$1(g,t,d)),isObject$6(t)&&u.set(t,g),g}function mergeOptions$1(e,t,r,a=!1){const{mixins:o,extends:u}=t;u&&mergeOptions$1(e,u,r,!0),o&&o.forEach(d=>mergeOptions$1(e,d,r,!0));for(const d in t)if(!(a&&d==="expose")){const f=internalOptionMergeStrats[d]||r&&r[d];e[d]=f?f(e[d],t[d]):t[d]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$2(isFunction$2(e)?e.call(this,this):e,isFunction$2(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$4(e)){const t={};for(let r=0;r1)return r&&isFunction$2(t)?t.call(a&&a.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps(e,t,r,a=!1){const o={},u={};def(u,InternalObjectKey,1),e.propsDefaults=Object.create(null),setFullProps(e,t,o,u);for(const d in e.propsOptions[0])d in o||(o[d]=void 0);r?e.props=a?o:shallowReactive(o):e.type.props?e.props=o:e.props=u,e.attrs=u}function updateProps(e,t,r,a){const{props:o,attrs:u,vnode:{patchFlag:d}}=e,f=toRaw(o),[g]=e.propsOptions;let _=!1;if((a||d>0)&&!(d&16)){if(d&8){const S=e.vnode.dynamicProps;for(let E=0;E{g=!0;const[v,b]=normalizePropsOptions(E,t,!0);extend$2(d,v),b&&f.push(...b)};!r&&t.mixins.length&&t.mixins.forEach(S),e.extends&&S(e.extends),e.mixins&&e.mixins.forEach(S)}if(!u&&!g)return isObject$6(e)&&a.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$4(u))for(let S=0;S-1,b[1]=T<0||y-1||hasOwn$1(b,"default"))&&f.push(E)}}}const _=[d,f];return isObject$6(e)&&a.set(e,_),_}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}function getType(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$4(t)?t.findIndex(r=>isSameType(r,e)):isFunction$2(t)&&isSameType(t,e)?0:-1}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray$4(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,r)=>{if(t._n)return t;const a=withCtx((...o)=>normalizeSlotValue(t(...o)),r);return a._c=!1,a},normalizeObjectSlots=(e,t,r)=>{const a=e._ctx;for(const o in e){if(isInternalKey(o))continue;const u=e[o];if(isFunction$2(u))t[o]=normalizeSlot$1(o,u,a);else if(u!=null){const d=normalizeSlotValue(u);t[o]=()=>d}}},normalizeVNodeSlots=(e,t)=>{const r=normalizeSlotValue(t);e.slots.default=()=>r},initSlots=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=toRaw(t),def(t,"_",r)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=(e,t,r)=>{const{vnode:a,slots:o}=e;let u=!0,d=EMPTY_OBJ;if(a.shapeFlag&32){const f=t._;f?r&&f===1?u=!1:(extend$2(o,t),!r&&f===1&&delete o._):(u=!t.$stable,normalizeObjectSlots(t,o)),d=t}else t&&(normalizeVNodeSlots(e,t),d={default:1});if(u)for(const f in o)!isInternalKey(f)&&d[f]==null&&delete o[f]};function setRef(e,t,r,a,o=!1){if(isArray$4(e)){e.forEach((v,b)=>setRef(v,t&&(isArray$4(t)?t[b]:t),r,a,o));return}if(isAsyncWrapper(a)&&!o)return;const u=a.shapeFlag&4?getExposeProxy(a.component)||a.component.proxy:a.el,d=o?null:u,{i:f,r:g}=e,_=t&&t.r,S=f.refs===EMPTY_OBJ?f.refs={}:f.refs,E=f.setupState;if(_!=null&&_!==g&&(isString$1(_)?(S[_]=null,hasOwn$1(E,_)&&(E[_]=null)):isRef(_)&&(_.value=null)),isFunction$2(g))callWithErrorHandling(g,f,12,[d,S]);else{const v=isString$1(g),b=isRef(g);if(v||b){const y=()=>{if(e.f){const T=v?hasOwn$1(E,g)?E[g]:S[g]:g.value;o?isArray$4(T)&&remove$1(T,u):isArray$4(T)?T.includes(u)||T.push(u):v?(S[g]=[u],hasOwn$1(E,g)&&(E[g]=S[g])):(g.value=[u],e.k&&(S[e.k]=g.value))}else v?(S[g]=d,hasOwn$1(E,g)&&(E[g]=d)):b&&(g.value=d,e.k&&(S[e.k]=d))};d?(y.id=-1,queuePostRenderEffect(y,r)):y()}}}let hasMismatch=!1;const isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(isSVGContainer(e))return"svg";if(isMathMLContainer(e))return"mathml"},isComment=e=>e.nodeType===8;function createHydrationFunctions(e){const{mt:t,p:r,o:{patchProp:a,createText:o,nextSibling:u,parentNode:d,remove:f,insert:g,createComment:_}}=e,S=(O,x)=>{if(!x.hasChildNodes()){r(null,O,x),flushPostFlushCbs(),x._vnode=O;return}hasMismatch=!1,E(x.firstChild,O,null,null,null),flushPostFlushCbs(),x._vnode=O,hasMismatch&&console.error("Hydration completed but contains mismatches.")},E=(O,x,N,I,k,D=!1)=>{const P=isComment(O)&&O.data==="[",L=()=>T(O,x,N,I,k,P),{type:F,ref:B,shapeFlag:V,patchFlag:U}=x;let W=O.nodeType;x.el=O,U===-2&&(D=!1,x.dynamicChildren=null);let K=null;switch(F){case Text:W!==3?x.children===""?(g(x.el=o(""),d(O),O),K=O):K=L():(O.data!==x.children&&(hasMismatch=!0,O.data=x.children),K=u(O));break;case Comment:A(O)?(K=u(O),R(x.el=O.content.firstChild,O,N)):W!==8||P?K=L():K=u(O);break;case Static:if(P&&(O=u(O),W=O.nodeType),W===1||W===3){K=O;const G=!x.children.length;for(let Y=0;Y{D=D||!!x.dynamicChildren;const{type:P,props:L,patchFlag:F,shapeFlag:B,dirs:V,transition:U}=x,W=P==="input"||P==="option";if(W||F!==-1){V&&invokeDirectiveHook(x,null,N,"created");let K=!1;if(A(O)){K=needTransition(I,U)&&N&&N.vnode.props&&N.vnode.props.appear;const Y=O.content.firstChild;K&&U.beforeEnter(Y),R(Y,O,N),x.el=O=Y}if(B&16&&!(L&&(L.innerHTML||L.textContent))){let Y=b(O.firstChild,x,O,N,I,k,D);for(;Y;){hasMismatch=!0;const Q=Y;Y=Y.nextSibling,f(Q)}}else B&8&&O.textContent!==x.children&&(hasMismatch=!0,O.textContent=x.children);if(L)if(W||!D||F&48)for(const Y in L)(W&&(Y.endsWith("value")||Y==="indeterminate")||isOn$1(Y)&&!isReservedProp(Y)||Y[0]===".")&&a(O,Y,null,L[Y],void 0,void 0,N);else L.onClick&&a(O,"onClick",null,L.onClick,void 0,void 0,N);let G;(G=L&&L.onVnodeBeforeMount)&&invokeVNodeHook(G,N,x),V&&invokeDirectiveHook(x,null,N,"beforeMount"),((G=L&&L.onVnodeMounted)||V||K)&&queueEffectWithSuspense(()=>{G&&invokeVNodeHook(G,N,x),K&&U.enter(O),V&&invokeDirectiveHook(x,null,N,"mounted")},I)}return O.nextSibling},b=(O,x,N,I,k,D,P)=>{P=P||!!x.dynamicChildren;const L=x.children,F=L.length;for(let B=0;B{const{slotScopeIds:P}=x;P&&(k=k?k.concat(P):P);const L=d(O),F=b(u(O),x,L,N,I,k,D);return F&&isComment(F)&&F.data==="]"?u(x.anchor=F):(hasMismatch=!0,g(x.anchor=_("]"),L,F),F)},T=(O,x,N,I,k,D)=>{if(hasMismatch=!0,x.el=null,D){const F=C(O);for(;;){const B=u(O);if(B&&B!==F)f(B);else break}}const P=u(O),L=d(O);return f(O),r(null,x,L,P,N,I,getContainerType(L),k),P},C=(O,x="[",N="]")=>{let I=0;for(;O;)if(O=u(O),O&&isComment(O)&&(O.data===x&&I++,O.data===N)){if(I===0)return u(O);I--}return O},R=(O,x,N)=>{const I=x.parentNode;I&&I.replaceChild(O,x);let k=N;for(;k;)k.vnode.el===x&&(k.vnode.el=k.subTree.el=O),k=k.parent},A=O=>O.nodeType===1&&O.tagName.toLowerCase()==="template";return[S,E]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const r=getGlobalThis();r.__VUE__=!0;const{insert:a,remove:o,patchProp:u,createElement:d,createText:f,createComment:g,setText:_,setElementText:S,parentNode:E,nextSibling:v,setScopeId:b=NOOP,insertStaticContent:y}=e,T=(z,j,ne,ae=null,ce=null,ye=null,he=void 0,Ce=null,Se=!!j.dynamicChildren)=>{if(z===j)return;z&&!isSameVNodeType(z,j)&&(ae=ee(z),te(z,ce,ye,!0),z=null),j.patchFlag===-2&&(Se=!1,j.dynamicChildren=null);const{type:ge,ref:Oe,shapeFlag:De}=j;switch(ge){case Text:C(z,j,ne,ae);break;case Comment:R(z,j,ne,ae);break;case Static:z==null&&A(j,ne,ae,he);break;case Fragment:B(z,j,ne,ae,ce,ye,he,Ce,Se);break;default:De&1?N(z,j,ne,ae,ce,ye,he,Ce,Se):De&6?V(z,j,ne,ae,ce,ye,he,Ce,Se):(De&64||De&128)&&ge.process(z,j,ne,ae,ce,ye,he,Ce,Se,oe)}Oe!=null&&ce&&setRef(Oe,z&&z.ref,ye,j||z,!j)},C=(z,j,ne,ae)=>{if(z==null)a(j.el=f(j.children),ne,ae);else{const ce=j.el=z.el;j.children!==z.children&&_(ce,j.children)}},R=(z,j,ne,ae)=>{z==null?a(j.el=g(j.children||""),ne,ae):j.el=z.el},A=(z,j,ne,ae)=>{[z.el,z.anchor]=y(z.children,j,ne,ae,z.el,z.anchor)},O=({el:z,anchor:j},ne,ae)=>{let ce;for(;z&&z!==j;)ce=v(z),a(z,ne,ae),z=ce;a(j,ne,ae)},x=({el:z,anchor:j})=>{let ne;for(;z&&z!==j;)ne=v(z),o(z),z=ne;o(j)},N=(z,j,ne,ae,ce,ye,he,Ce,Se)=>{j.type==="svg"?he="svg":j.type==="math"&&(he="mathml"),z==null?I(j,ne,ae,ce,ye,he,Ce,Se):P(z,j,ce,ye,he,Ce,Se)},I=(z,j,ne,ae,ce,ye,he,Ce)=>{let Se,ge;const{props:Oe,shapeFlag:De,transition:Re,dirs:ke}=z;if(Se=z.el=d(z.type,ye,Oe&&Oe.is,Oe),De&8?S(Se,z.children):De&16&&D(z.children,Se,null,ae,ce,resolveChildrenNamespace(z,ye),he,Ce),ke&&invokeDirectiveHook(z,null,ae,"created"),k(Se,z,z.scopeId,he,ae),Oe){for(const Te in Oe)Te!=="value"&&!isReservedProp(Te)&&u(Se,Te,null,Oe[Te],ye,z.children,ae,ce,ie);"value"in Oe&&u(Se,"value",null,Oe.value,ye),(ge=Oe.onVnodeBeforeMount)&&invokeVNodeHook(ge,ae,z)}ke&&invokeDirectiveHook(z,null,ae,"beforeMount");const le=needTransition(ce,Re);le&&Re.beforeEnter(Se),a(Se,j,ne),((ge=Oe&&Oe.onVnodeMounted)||le||ke)&&queuePostRenderEffect(()=>{ge&&invokeVNodeHook(ge,ae,z),le&&Re.enter(Se),ke&&invokeDirectiveHook(z,null,ae,"mounted")},ce)},k=(z,j,ne,ae,ce)=>{if(ne&&b(z,ne),ae)for(let ye=0;ye{for(let ge=Se;ge{const Ce=j.el=z.el;let{patchFlag:Se,dynamicChildren:ge,dirs:Oe}=j;Se|=z.patchFlag&16;const De=z.props||EMPTY_OBJ,Re=j.props||EMPTY_OBJ;let ke;if(ne&&toggleRecurse(ne,!1),(ke=Re.onVnodeBeforeUpdate)&&invokeVNodeHook(ke,ne,j,z),Oe&&invokeDirectiveHook(j,z,ne,"beforeUpdate"),ne&&toggleRecurse(ne,!0),ge?L(z.dynamicChildren,ge,Ce,ne,ae,resolveChildrenNamespace(j,ce),ye):he||Y(z,j,Ce,null,ne,ae,resolveChildrenNamespace(j,ce),ye,!1),Se>0){if(Se&16)F(Ce,j,De,Re,ne,ae,ce);else if(Se&2&&De.class!==Re.class&&u(Ce,"class",null,Re.class,ce),Se&4&&u(Ce,"style",De.style,Re.style,ce),Se&8){const le=j.dynamicProps;for(let Te=0;Te{ke&&invokeVNodeHook(ke,ne,j,z),Oe&&invokeDirectiveHook(j,z,ne,"updated")},ae)},L=(z,j,ne,ae,ce,ye,he)=>{for(let Ce=0;Ce{if(ne!==ae){if(ne!==EMPTY_OBJ)for(const Ce in ne)!isReservedProp(Ce)&&!(Ce in ae)&&u(z,Ce,ne[Ce],null,he,j.children,ce,ye,ie);for(const Ce in ae){if(isReservedProp(Ce))continue;const Se=ae[Ce],ge=ne[Ce];Se!==ge&&Ce!=="value"&&u(z,Ce,ge,Se,he,j.children,ce,ye,ie)}"value"in ae&&u(z,"value",ne.value,ae.value,he)}},B=(z,j,ne,ae,ce,ye,he,Ce,Se)=>{const ge=j.el=z?z.el:f(""),Oe=j.anchor=z?z.anchor:f("");let{patchFlag:De,dynamicChildren:Re,slotScopeIds:ke}=j;ke&&(Ce=Ce?Ce.concat(ke):ke),z==null?(a(ge,ne,ae),a(Oe,ne,ae),D(j.children||[],ne,Oe,ce,ye,he,Ce,Se)):De>0&&De&64&&Re&&z.dynamicChildren?(L(z.dynamicChildren,Re,ne,ce,ye,he,Ce),(j.key!=null||ce&&j===ce.subTree)&&traverseStaticChildren(z,j,!0)):Y(z,j,ne,Oe,ce,ye,he,Ce,Se)},V=(z,j,ne,ae,ce,ye,he,Ce,Se)=>{j.slotScopeIds=Ce,z==null?j.shapeFlag&512?ce.ctx.activate(j,ne,ae,he,Se):U(j,ne,ae,ce,ye,he,Se):W(z,j,Se)},U=(z,j,ne,ae,ce,ye,he)=>{const Ce=z.component=createComponentInstance(z,ae,ce);if(isKeepAlive(z)&&(Ce.ctx.renderer=oe),setupComponent(Ce),Ce.asyncDep){if(ce&&ce.registerDep(Ce,K),!z.el){const Se=Ce.subTree=createVNode(Comment);R(null,Se,j,ne)}}else K(Ce,z,j,ne,ce,ye,he)},W=(z,j,ne)=>{const ae=j.component=z.component;if(shouldUpdateComponent(z,j,ne))if(ae.asyncDep&&!ae.asyncResolved){G(ae,j,ne);return}else ae.next=j,invalidateJob(ae.update),ae.effect.dirty=!0,ae.update();else j.el=z.el,ae.vnode=j},K=(z,j,ne,ae,ce,ye,he)=>{const Ce=()=>{if(z.isMounted){let{next:Oe,bu:De,u:Re,parent:ke,vnode:le}=z;{const Ve=locateNonHydratedAsyncRoot(z);if(Ve){Oe&&(Oe.el=le.el,G(z,Oe,he)),Ve.asyncDep.then(()=>{z.isUnmounted||Ce()});return}}let Te=Oe,Ne;toggleRecurse(z,!1),Oe?(Oe.el=le.el,G(z,Oe,he)):Oe=le,De&&invokeArrayFns(De),(Ne=Oe.props&&Oe.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Ne,ke,Oe,le),toggleRecurse(z,!0);const Me=renderComponentRoot(z),Fe=z.subTree;z.subTree=Me,T(Fe,Me,E(Fe.el),ee(Fe),z,ce,ye),Oe.el=Me.el,Te===null&&updateHOCHostEl(z,Me.el),Re&&queuePostRenderEffect(Re,ce),(Ne=Oe.props&&Oe.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Ne,ke,Oe,le),ce)}else{let Oe;const{el:De,props:Re}=j,{bm:ke,m:le,parent:Te}=z,Ne=isAsyncWrapper(j);if(toggleRecurse(z,!1),ke&&invokeArrayFns(ke),!Ne&&(Oe=Re&&Re.onVnodeBeforeMount)&&invokeVNodeHook(Oe,Te,j),toggleRecurse(z,!0),De&&pe){const Me=()=>{z.subTree=renderComponentRoot(z),pe(De,z.subTree,z,ce,null)};Ne?j.type.__asyncLoader().then(()=>!z.isUnmounted&&Me()):Me()}else{const Me=z.subTree=renderComponentRoot(z);T(null,Me,ne,ae,z,ce,ye),j.el=Me.el}if(le&&queuePostRenderEffect(le,ce),!Ne&&(Oe=Re&&Re.onVnodeMounted)){const Me=j;queuePostRenderEffect(()=>invokeVNodeHook(Oe,Te,Me),ce)}(j.shapeFlag&256||Te&&isAsyncWrapper(Te.vnode)&&Te.vnode.shapeFlag&256)&&z.a&&queuePostRenderEffect(z.a,ce),z.isMounted=!0,j=ne=ae=null}},Se=z.effect=new ReactiveEffect(Ce,NOOP,()=>queueJob(ge),z.scope),ge=z.update=()=>{Se.dirty&&Se.run()};ge.id=z.uid,toggleRecurse(z,!0),ge()},G=(z,j,ne)=>{j.component=z;const ae=z.vnode.props;z.vnode=j,z.next=null,updateProps(z,j.props,ae,ne),updateSlots(z,j.children,ne),pauseTracking(),flushPreFlushCbs(z),resetTracking()},Y=(z,j,ne,ae,ce,ye,he,Ce,Se=!1)=>{const ge=z&&z.children,Oe=z?z.shapeFlag:0,De=j.children,{patchFlag:Re,shapeFlag:ke}=j;if(Re>0){if(Re&128){Z(ge,De,ne,ae,ce,ye,he,Ce,Se);return}else if(Re&256){Q(ge,De,ne,ae,ce,ye,he,Ce,Se);return}}ke&8?(Oe&16&&ie(ge,ce,ye),De!==ge&&S(ne,De)):Oe&16?ke&16?Z(ge,De,ne,ae,ce,ye,he,Ce,Se):ie(ge,ce,ye,!0):(Oe&8&&S(ne,""),ke&16&&D(De,ne,ae,ce,ye,he,Ce,Se))},Q=(z,j,ne,ae,ce,ye,he,Ce,Se)=>{z=z||EMPTY_ARR,j=j||EMPTY_ARR;const ge=z.length,Oe=j.length,De=Math.min(ge,Oe);let Re;for(Re=0;ReOe?ie(z,ce,ye,!0,!1,De):D(j,ne,ae,ce,ye,he,Ce,Se,De)},Z=(z,j,ne,ae,ce,ye,he,Ce,Se)=>{let ge=0;const Oe=j.length;let De=z.length-1,Re=Oe-1;for(;ge<=De&&ge<=Re;){const ke=z[ge],le=j[ge]=Se?cloneIfMounted(j[ge]):normalizeVNode(j[ge]);if(isSameVNodeType(ke,le))T(ke,le,ne,null,ce,ye,he,Ce,Se);else break;ge++}for(;ge<=De&&ge<=Re;){const ke=z[De],le=j[Re]=Se?cloneIfMounted(j[Re]):normalizeVNode(j[Re]);if(isSameVNodeType(ke,le))T(ke,le,ne,null,ce,ye,he,Ce,Se);else break;De--,Re--}if(ge>De){if(ge<=Re){const ke=Re+1,le=keRe)for(;ge<=De;)te(z[ge],ce,ye,!0),ge++;else{const ke=ge,le=ge,Te=new Map;for(ge=le;ge<=Re;ge++){const He=j[ge]=Se?cloneIfMounted(j[ge]):normalizeVNode(j[ge]);He.key!=null&&Te.set(He.key,ge)}let Ne,Me=0;const Fe=Re-le+1;let Ve=!1,$e=0;const Ke=new Array(Fe);for(ge=0;ge=Fe){te(He,ce,ye,!0);continue}let Xe;if(He.key!=null)Xe=Te.get(He.key);else for(Ne=le;Ne<=Re;Ne++)if(Ke[Ne-le]===0&&isSameVNodeType(He,j[Ne])){Xe=Ne;break}Xe===void 0?te(He,ce,ye,!0):(Ke[Xe-le]=ge+1,Xe>=$e?$e=Xe:Ve=!0,T(He,j[Xe],ne,null,ce,ye,he,Ce,Se),Me++)}const qe=Ve?getSequence(Ke):EMPTY_ARR;for(Ne=qe.length-1,ge=Fe-1;ge>=0;ge--){const He=le+ge,Xe=j[He],Ye=He+1{const{el:ye,type:he,transition:Ce,children:Se,shapeFlag:ge}=z;if(ge&6){J(z.component.subTree,j,ne,ae);return}if(ge&128){z.suspense.move(j,ne,ae);return}if(ge&64){he.move(z,j,ne,oe);return}if(he===Fragment){a(ye,j,ne);for(let De=0;DeCe.enter(ye),ce);else{const{leave:De,delayLeave:Re,afterLeave:ke}=Ce,le=()=>a(ye,j,ne),Te=()=>{De(ye,()=>{le(),ke&&ke()})};Re?Re(ye,le,Te):Te()}else a(ye,j,ne)},te=(z,j,ne,ae=!1,ce=!1)=>{const{type:ye,props:he,ref:Ce,children:Se,dynamicChildren:ge,shapeFlag:Oe,patchFlag:De,dirs:Re}=z;if(Ce!=null&&setRef(Ce,null,ne,z,!0),Oe&256){j.ctx.deactivate(z);return}const ke=Oe&1&&Re,le=!isAsyncWrapper(z);let Te;if(le&&(Te=he&&he.onVnodeBeforeUnmount)&&invokeVNodeHook(Te,j,z),Oe&6)ue(z.component,ne,ae);else{if(Oe&128){z.suspense.unmount(ne,ae);return}ke&&invokeDirectiveHook(z,null,j,"beforeUnmount"),Oe&64?z.type.remove(z,j,ne,ce,oe,ae):ge&&(ye!==Fragment||De>0&&De&64)?ie(ge,j,ne,!1,!0):(ye===Fragment&&De&384||!ce&&Oe&16)&&ie(Se,j,ne),ae&&fe(z)}(le&&(Te=he&&he.onVnodeUnmounted)||ke)&&queuePostRenderEffect(()=>{Te&&invokeVNodeHook(Te,j,z),ke&&invokeDirectiveHook(z,null,j,"unmounted")},ne)},fe=z=>{const{type:j,el:ne,anchor:ae,transition:ce}=z;if(j===Fragment){ve(ne,ae);return}if(j===Static){x(z);return}const ye=()=>{o(ne),ce&&!ce.persisted&&ce.afterLeave&&ce.afterLeave()};if(z.shapeFlag&1&&ce&&!ce.persisted){const{leave:he,delayLeave:Ce}=ce,Se=()=>he(ne,ye);Ce?Ce(z.el,ye,Se):Se()}else ye()},ve=(z,j)=>{let ne;for(;z!==j;)ne=v(z),o(z),z=ne;o(j)},ue=(z,j,ne)=>{const{bum:ae,scope:ce,update:ye,subTree:he,um:Ce}=z;ae&&invokeArrayFns(ae),ce.stop(),ye&&(ye.active=!1,te(he,z,j,ne)),Ce&&queuePostRenderEffect(Ce,j),queuePostRenderEffect(()=>{z.isUnmounted=!0},j),j&&j.pendingBranch&&!j.isUnmounted&&z.asyncDep&&!z.asyncResolved&&z.suspenseId===j.pendingId&&(j.deps--,j.deps===0&&j.resolve())},ie=(z,j,ne,ae=!1,ce=!1,ye=0)=>{for(let he=ye;hez.shapeFlag&6?ee(z.component.subTree):z.shapeFlag&128?z.suspense.next():v(z.anchor||z.el);let de=!1;const me=(z,j,ne)=>{z==null?j._vnode&&te(j._vnode,null,null,!0):T(j._vnode||null,z,j,null,null,null,ne),de||(de=!0,flushPreFlushCbs(),flushPostFlushCbs(),de=!1),j._vnode=z},oe={p:T,um:te,m:J,r:fe,mt:U,mc:D,pc:Y,pbc:L,n:ee,o:e};let Ee,pe;return t&&([Ee,pe]=t(oe)),{render:me,hydrate:Ee,createApp:createAppAPI(me,Ee)}}function resolveChildrenNamespace({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function toggleRecurse({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,r=!1){const a=e.children,o=t.children;if(isArray$4(a)&&isArray$4(o))for(let u=0;u>1,e[r[f]]<_?u=f+1:d=f;_0&&(t[a]=r[u-1]),r[u]=a)}}for(u=r.length,d=r[u-1];u-- >0;)r[u]=d,d=t[d];return r}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}const isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),isTargetSVG=e=>typeof SVGElement<"u"&&e instanceof SVGElement,isTargetMathML=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const r=e&&e.to;return isString$1(r)?t?t(r):null:r},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,r,a,o,u,d,f,g,_){const{mc:S,pc:E,pbc:v,o:{insert:b,querySelector:y,createText:T,createComment:C}}=_,R=isTeleportDisabled(t.props);let{shapeFlag:A,children:O,dynamicChildren:x}=t;if(e==null){const N=t.el=T(""),I=t.anchor=T("");b(N,r,a),b(I,r,a);const k=t.target=resolveTarget(t.props,y),D=t.targetAnchor=T("");k&&(b(D,k),d==="svg"||isTargetSVG(k)?d="svg":(d==="mathml"||isTargetMathML(k))&&(d="mathml"));const P=(L,F)=>{A&16&&S(O,L,F,o,u,d,f,g)};R?P(r,I):k&&P(k,D)}else{t.el=e.el;const N=t.anchor=e.anchor,I=t.target=e.target,k=t.targetAnchor=e.targetAnchor,D=isTeleportDisabled(e.props),P=D?r:I,L=D?N:k;if(d==="svg"||isTargetSVG(I)?d="svg":(d==="mathml"||isTargetMathML(I))&&(d="mathml"),x?(v(e.dynamicChildren,x,P,o,u,d,f),traverseStaticChildren(e,t,!0)):g||E(e,t,P,L,o,u,d,f,!1),R)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,r,N,_,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=resolveTarget(t.props,y);F&&moveTeleport(t,F,null,_,0)}else D&&moveTeleport(t,I,k,_,1)}updateCssVars(t)},remove(e,t,r,a,{um:o,o:{remove:u}},d){const{shapeFlag:f,children:g,anchor:_,targetAnchor:S,target:E,props:v}=e;if(E&&u(S),d&&u(_),f&16){const b=d||!isTeleportDisabled(v);for(let y=0;y0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(e),e}function createElementBlock(e,t,r,a,o,u){return setupBlock(createBaseVNode(e,t,r,a,o,u,!0))}function createBlock(e,t,r,a,o){return setupBlock(createVNode(e,t,r,a,o,!0))}function isVNode(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}function transformVNodeArgs(e){}const InternalObjectKey="__vInternal",normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?isString$1(e)||isRef(e)||isFunction$2(e)?{i:currentRenderingInstance,r:e,k:t,f:!!r}:e:null);function createBaseVNode(e,t=null,r=null,a=0,o=null,u=e===Fragment?0:1,d=!1,f=!1){const g={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:a,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return f?(normalizeChildren(g,r),u&128&&e.normalize(g)):r&&(g.shapeFlag|=isString$1(r)?8:16),isBlockTreeEnabled>0&&!d&¤tBlock&&(g.patchFlag>0||u&6)&&g.patchFlag!==32&¤tBlock.push(g),g}const createVNode=_createVNode;function _createVNode(e,t=null,r=null,a=0,o=null,u=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode(e)){const f=cloneVNode(e,t,!0);return r&&normalizeChildren(f,r),isBlockTreeEnabled>0&&!u&¤tBlock&&(f.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=f:currentBlock.push(f)),f.patchFlag|=-2,f}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:f,style:g}=t;f&&!isString$1(f)&&(t.class=normalizeClass(f)),isObject$6(g)&&(isProxy(g)&&!isArray$4(g)&&(g=extend$2({},g)),t.style=normalizeStyle(g))}const d=isString$1(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$6(e)?4:isFunction$2(e)?2:0;return createBaseVNode(e,t,r,a,o,d,u,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$2({},e):e:null}function cloneVNode(e,t,r=!1){const{props:a,ref:o,patchFlag:u,children:d}=e,f=t?mergeProps(a||{},t):a;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&normalizeKey(f),ref:t&&t.ref?r&&o?isArray$4(o)?o.concat(normalizeRef(t)):[o,normalizeRef(t)]:normalizeRef(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:d,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createStaticVNode(e,t){const r=createVNode(Static,null,e);return r.staticCount=t,r}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment):isArray$4(e)?createVNode(Fragment,null,e.slice()):typeof e=="object"?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let r=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(isArray$4(t))r=16;else if(typeof t=="object")if(a&65){const o=t.default;o&&(o._c&&(o._d=!1),normalizeChildren(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(InternalObjectKey in t)?t._ctx=currentRenderingInstance:o===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction$2(t)?(t={default:t,_ctx:currentRenderingInstance},r=32):(t=String(t),a&64?(r=16,t=[createTextVNode(t)]):r=8);e.children=t,e.shapeFlag|=r}function mergeProps(...e){const t={};for(let r=0;rcurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(r,a)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(a),u=>{o.length>1?o.forEach(d=>d(u)):o[0](u)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",r=>currentInstance=r),setInSSRSetupState=t("__VUE_SSR_SETTERS__",r=>isInSSRComponentSetup=r)}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(e,t=!1){t&&setInSSRSetupState(t);const{props:r,children:a}=e.vnode,o=isStatefulComponent(e);initProps(e,r,o,t),initSlots(e,a);const u=o?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),u}function setupStatefulComponent(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));const{setup:a}=r;if(a){const o=e.setupContext=a.length>1?createSetupContext(e):null,u=setCurrentInstance(e);pauseTracking();const d=callWithErrorHandling(a,e,0,[e.props,o]);if(resetTracking(),u(),isPromise$1(d)){if(d.then(unsetCurrentInstance,unsetCurrentInstance),t)return d.then(f=>{handleSetupResult(e,f,t)}).catch(f=>{handleError$1(f,e,0)});e.asyncDep=d}else handleSetupResult(e,d,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,r){isFunction$2(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$6(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,r)}let compile$2,installWithProxy;function registerRuntimeCompiler(e){compile$2=e,installWithProxy=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$2;function finishComponentSetup(e,t,r){const a=e.type;if(!e.render){if(!t&&compile$2&&!a.render){const o=a.template||resolveMergedOptions(e).template;if(o){const{isCustomElement:u,compilerOptions:d}=e.appContext.config,{delimiters:f,compilerOptions:g}=a,_=extend$2(extend$2({isCustomElement:u,delimiters:f},d),g);a.render=compile$2(o,_)}}e.render=a.render||NOOP,installWithProxy&&installWithProxy(e)}{const o=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),o()}}}function getAttrsProxy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return track(e,"get","$attrs"),t[r]}}))}function createSetupContext(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return getAttrsProxy(e)},slots:e.slots,emit:e.emit,expose:t}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in publicPropertiesMap)return publicPropertiesMap[r](e)},has(t,r){return r in t||r in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction$2(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,r=!1){let a=getComponentName(t);if(!a&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(a=o[1])}if(!a&&e&&e.parent){const o=u=>{for(const d in u)if(u[d]===t)return d};a=o(e.components||e.parent.type.components)||o(e.appContext.components)}return a?classify(a):r?"App":"Anonymous"}function isClassComponent(e){return isFunction$2(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function useModel(e,t,r=EMPTY_OBJ){const a=getCurrentInstance$1(),o=camelize(t),u=hyphenate(t),d=customRef((g,_)=>{let S;return watchSyncEffect(()=>{const E=e[t];hasChanged(S,E)&&(S=E,_())}),{get(){return g(),r.get?r.get(S):S},set(E){const v=a.vnode.props;!(v&&(t in v||o in v||u in v)&&(`onUpdate:${t}`in v||`onUpdate:${o}`in v||`onUpdate:${u}`in v))&&hasChanged(E,S)&&(S=E,_()),a.emit(`update:${t}`,r.set?r.set(E):E)}}}),f=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return d[Symbol.iterator]=()=>{let g=0;return{next(){return g<2?{value:g++?e[f]||{}:d,done:!1}:{done:!0}}}},d}function h(e,t,r){const a=arguments.length;return a===2?isObject$6(t)&&!isArray$4(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(a>3?r=Array.prototype.slice.call(arguments,2):a===3&&isVNode(r)&&(r=[r]),createVNode(e,t,r))}function initCustomFormatter(){}function withMemo(e,t,r,a){const o=r[a];if(o&&isMemoSame(o,e))return o;const u=t();return u.memo=e.slice(),r[a]=u}function isMemoSame(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let a=0;a0&¤tBlock&¤tBlock.push(e),!0}const version$6="3.4.21",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/** * @vue/runtime-dom v3.4.21 * (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,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,a)=>{const o=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):doc.createElement(e,r?{is:r}:void 0);return e==="select"&&a&&a.multiple!=null&&o.setAttribute("multiple",a.multiple),o},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,r,a,o,u){const d=r?r.previousSibling:t.lastChild;if(o&&(o===u||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===u||!(o=o.nextSibling)););else{templateContainer.innerHTML=a==="svg"?`${e}`:a==="mathml"?`${e}`:e;const f=templateContainer.content;if(a==="svg"||a==="mathml"){const g=f.firstChild;for(;g.firstChild;)f.appendChild(g.firstChild);f.removeChild(g)}t.insertBefore(f,r)}return[d?d.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},TRANSITION$1="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition$1=(e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t);Transition$1.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$1.props=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(e,t=[])=>{isArray$4(e)?e.forEach(r=>r(...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 B in e)B in DOMTransitionPropsValidators||(t[B]=e[B]);if(e.css===!1)return t;const{name:r="v",type:a,duration:o,enterFromClass:u=`${r}-enter-from`,enterActiveClass:d=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:g=u,appearActiveClass:_=d,appearToClass:S=f,leaveFromClass:E=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:b=`${r}-leave-to`}=e,y=normalizeDuration(o),T=y&&y[0],C=y&&y[1],{onBeforeEnter:R,onEnter:A,onEnterCancelled:O,onLeave:x,onLeaveCancelled:N,onBeforeAppear:I=R,onAppear:k=A,onAppearCancelled:D=O}=t,P=(B,V,U)=>{removeTransitionClass(B,V?S:f),removeTransitionClass(B,V?_:d),U&&U()},L=(B,V)=>{B._isLeaving=!1,removeTransitionClass(B,E),removeTransitionClass(B,b),removeTransitionClass(B,v),V&&V()},F=B=>(V,U)=>{const W=B?k:A,K=()=>P(V,B,U);callHook(W,[V,K]),nextFrame(()=>{removeTransitionClass(V,B?g:u),addTransitionClass(V,B?S:f),hasExplicitCallback(W)||whenTransitionEnds(V,a,T,K)})};return extend$2(t,{onBeforeEnter(B){callHook(R,[B]),addTransitionClass(B,u),addTransitionClass(B,d)},onBeforeAppear(B){callHook(I,[B]),addTransitionClass(B,g),addTransitionClass(B,_)},onEnter:F(!1),onAppear:F(!0),onLeave(B,V){B._isLeaving=!0;const U=()=>L(B,V);addTransitionClass(B,E),forceReflow(),addTransitionClass(B,v),nextFrame(()=>{B._isLeaving&&(removeTransitionClass(B,E),addTransitionClass(B,b),hasExplicitCallback(x)||whenTransitionEnds(B,a,C,U))}),callHook(x,[B,U])},onEnterCancelled(B){P(B,!1),callHook(O,[B])},onAppearCancelled(B){P(B,!0),callHook(D,[B])},onLeaveCancelled(B){L(B),callHook(N,[B])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$6(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[vtcKey]||(e[vtcKey]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const r=e[vtcKey];r&&(r.delete(t),r.size||(e[vtcKey]=void 0))}function nextFrame(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let endId=0;function whenTransitionEnds(e,t,r,a){const o=e._endId=++endId,u=()=>{o===e._endId&&a()};if(r)return setTimeout(u,r);const{type:d,timeout:f,propCount:g}=getTransitionInfo(e,t);if(!d)return a();const _=d+"end";let S=0;const E=()=>{e.removeEventListener(_,v),u()},v=b=>{b.target===e&&++S>=g&&E()};setTimeout(()=>{S(r[y]||"").split(", "),o=a(`${TRANSITION$1}Delay`),u=a(`${TRANSITION$1}Duration`),d=getTimeout(o,u),f=a(`${ANIMATION}Delay`),g=a(`${ANIMATION}Duration`),_=getTimeout(f,g);let S=null,E=0,v=0;t===TRANSITION$1?d>0&&(S=TRANSITION$1,E=d,v=u.length):t===ANIMATION?_>0&&(S=ANIMATION,E=_,v=g.length):(E=Math.max(d,_),S=E>0?d>_?TRANSITION$1:ANIMATION:null,v=S?S===TRANSITION$1?u.length:g.length:0);const b=S===TRANSITION$1&&/\b(transform|all)(,|$)/.test(a(`${TRANSITION$1}Property`).toString());return{type:S,timeout:E,propCount:v,hasTransform:b}}function getTimeout(e,t){for(;e.lengthtoMs(r)+toMs(e[a])))}function toMs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(e,t,r){const a=e[vtcKey];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(e,{value:t},{transition:r}){e[vShowOriginalDisplay]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:a}){!t!=!r&&(a?t?(a.beforeEnter(e),setDisplay(e,!0),a.enter(e)):a.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOriginalDisplay]:"none",e[vShowHidden]=!t}function initVShowForSSR(){vShow.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(e){const t=getCurrentInstance$1();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(u=>setVarsOnNode(u,o))},a=()=>{const o=e(t.proxy);setVarsOnVNode(t.subTree,o),r(o)};watchPostEffect(a),onMounted(()=>{const o=new MutationObserver(a);o.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>o.disconnect())})}function setVarsOnVNode(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{setVarsOnVNode(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)setVarsOnNode(e.el,t);else if(e.type===Fragment)e.children.forEach(r=>setVarsOnVNode(r,t));else if(e.type===Static){let{el:r,anchor:a}=e;for(;r&&(setVarsOnNode(r,t),r!==a);)r=r.nextSibling}}function setVarsOnNode(e,t){if(e.nodeType===1){const r=e.style;let a="";for(const o in t)r.setProperty(`--${o}`,t[o]),a+=`--${o}: ${t[o]};`;r[CSS_VAR_TEXT]=a}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,r){const a=e.style,o=isString$1(r);let u=!1;if(r&&!o){if(t)if(isString$1(t))for(const d of t.split(";")){const f=d.slice(0,d.indexOf(":")).trim();r[f]==null&&setStyle$1(a,f,"")}else for(const d in t)r[d]==null&&setStyle$1(a,d,"");for(const d in r)d==="display"&&(u=!0),setStyle$1(a,d,r[d])}else if(o){if(t!==r){const d=a[CSS_VAR_TEXT];d&&(r+=";"+d),a.cssText=r,u=displayRE.test(r)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=u?a.display:"",e[vShowHidden]&&(a.display="none"))}const importantRE=/\s*!important$/;function setStyle$1(e,t,r){if(isArray$4(r))r.forEach(a=>setStyle$1(e,t,a));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const a=autoPrefix(e,t);importantRE.test(r)?e.setProperty(hyphenate(a),r.replace(importantRE,""),"important"):e[a]=r}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const r=prefixCache[t];if(r)return r;let a=camelize(t);if(a!=="filter"&&a in e)return prefixCache[t]=a;a=capitalize(a);for(let o=0;ocachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const r=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=r.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(a,r.value),t,5,[a])};return r.value=e,r.attached=getNow(),r}function patchStopImmediatePropagation(e,t){if(isArray$4(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(a=>o=>!o._stopped&&a&&a(o))}else return t}const isNativeOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,r,a,o,u,d,f,g)=>{const _=o==="svg";t==="class"?patchClass(e,a,_):t==="style"?patchStyle(e,r,a):isOn$1(t)?isModelListener(t)||patchEvent(e,t,r,a,d):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,a,_))?patchDOMProp(e,t,a,u,d,f,g):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),patchAttr(e,t,a,_))};function shouldSetAsProp(e,t,r,a){if(a)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction$2(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return isNativeOn(t)&&isString$1(r)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(e,t){const r=defineComponent$1(e);class a extends VueElement{constructor(u){super(r,u,t)}}return a.def=r,a}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=e=>defineCustomElement(e,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(t,r={},a){super(),this._def=t,this._props=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&a?a(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),nextTick$1(()=>{this._connected||(render$2(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let a=0;a{for(const o of a)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(a,o=!1)=>{const{props:u,styles:d}=a;let f;if(u&&!isArray$4(u))for(const g in u){const _=u[g];(_===Number||_&&_.type===Number)&&(g in this._props&&(this._props[g]=toNumber(this._props[g])),(f||(f=Object.create(null)))[camelize(g)]=!0)}this._numberProps=f,o&&this._resolveProps(a),this._applyStyles(d),this._update()},r=this._def.__asyncLoader;r?r().then(a=>t(a,!0)):t(this._def)}_resolveProps(t){const{props:r}=t,a=isArray$4(r)?r:Object.keys(r||{});for(const o of Object.keys(this))o[0]!=="_"&&a.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of a.map(camelize))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(u){this._setProp(o,u)}})}_setAttr(t){let r=this.getAttribute(t);const a=camelize(t);this._numberProps&&this._numberProps[a]&&(r=toNumber(r)),this._setProp(a,r,!1)}_getProp(t){return this._props[t]}_setProp(t,r,a=!0,o=!0){r!==this._props[t]&&(this._props[t]=r,o&&this._instance&&this._update(),a&&(r===!0?this.setAttribute(hyphenate(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(hyphenate(t),r+""):r||this.removeAttribute(hyphenate(t))))}_update(){render$2(this._createVNode(),this.shadowRoot)}_createVNode(){const t=createVNode(this._def,extend$2({},this._props));return this._instance||(t.ce=r=>{this._instance=r,r.isCE=!0;const a=(u,d)=>{this.dispatchEvent(new CustomEvent(u,{detail:d}))};r.emit=(u,...d)=>{a(u,d),hyphenate(u)!==u&&a(hyphenate(u),d)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof VueElement){r.parent=o._instance,r.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(r=>{const a=document.createElement("style");a.textContent=r,this.shadowRoot.appendChild(a)})}}function useCssModule(e="$style"){{const t=getCurrentInstance$1();if(!t)return EMPTY_OBJ;const r=t.type.__cssModules;if(!r)return EMPTY_OBJ;const a=r[e];return a||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=getCurrentInstance$1(),a=useTransitionState();let o,u;return onUpdated(()=>{if(!o.length)return;const d=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(o[0].el,r.vnode.el,d))return;o.forEach(callPendingCbs),o.forEach(recordPosition);const f=o.filter(applyTranslation);forceReflow(),f.forEach(g=>{const _=g.el,S=_.style;addTransitionClass(_,d),S.transform=S.webkitTransform=S.transitionDuration="";const E=_[moveCbKey]=v=>{v&&v.target!==_||(!v||/transform$/.test(v.propertyName))&&(_.removeEventListener("transitionend",E),_[moveCbKey]=null,removeTransitionClass(_,d))};_.addEventListener("transitionend",E)})}),()=>{const d=toRaw(e),f=resolveTransitionProps(d);let g=d.tag||Fragment;o=u,u=t.default?getTransitionRawChildren(t.default()):[];for(let _=0;_delete e.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(e){const t=e.el;t[moveCbKey]&&t[moveCbKey](),t[enterCbKey]&&t[enterCbKey]()}function recordPosition(e){newPositionMap.set(e,e.el.getBoundingClientRect())}function applyTranslation(e){const t=positionMap.get(e),r=newPositionMap.get(e),a=t.left-r.left,o=t.top-r.top;if(a||o){const u=e.el.style;return u.transform=u.webkitTransform=`translate(${a}px,${o}px)`,u.transitionDuration="0s",e}}function hasCSSTransform(e,t,r){const a=e.cloneNode(),o=e[vtcKey];o&&o.forEach(f=>{f.split(/\s+/).forEach(g=>g&&a.classList.remove(g))}),r.split(/\s+/).forEach(f=>f&&a.classList.add(f)),a.style.display="none";const u=t.nodeType===1?t:t.parentNode;u.appendChild(a);const{hasTransform:d}=getTransitionInfo(a);return u.removeChild(a),d}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray$4(t)?r=>invokeArrayFns(t,r):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(e,{modifiers:{lazy:t,trim:r,number:a}},o){e[assignKey]=getModelAssigner(o);const u=a||o.props&&o.props.type==="number";addEventListener$1(e,t?"change":"input",d=>{if(d.target.composing)return;let f=e.value;r&&(f=f.trim()),u&&(f=looseToNumber(f)),e[assignKey](f)}),r&&addEventListener$1(e,"change",()=>{e.value=e.value.trim()}),t||(addEventListener$1(e,"compositionstart",onCompositionStart),addEventListener$1(e,"compositionend",onCompositionEnd),addEventListener$1(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:a,number:o}},u){if(e[assignKey]=getModelAssigner(u),e.composing)return;const d=o||e.type==="number"?looseToNumber(e.value):e.value,f=t??"";d!==f&&(document.activeElement===e&&e.type!=="range"&&(r||a&&e.value.trim()===f)||(e.value=f))}},vModelCheckbox={deep:!0,created(e,t,r){e[assignKey]=getModelAssigner(r),addEventListener$1(e,"change",()=>{const a=e._modelValue,o=getValue$1(e),u=e.checked,d=e[assignKey];if(isArray$4(a)){const f=looseIndexOf(a,o),g=f!==-1;if(u&&!g)d(a.concat(o));else if(!u&&g){const _=[...a];_.splice(f,1),d(_)}}else if(isSet(a)){const f=new Set(a);u?f.add(o):f.delete(o),d(f)}else d(getCheckboxValue(e,u))})},mounted:setChecked,beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r),setChecked(e,t,r)}};function setChecked(e,{value:t,oldValue:r},a){e._modelValue=t,isArray$4(t)?e.checked=looseIndexOf(t,a.props.value)>-1:isSet(t)?e.checked=t.has(a.props.value):t!==r&&(e.checked=looseEqual(t,getCheckboxValue(e,!0)))}const vModelRadio={created(e,{value:t},r){e.checked=looseEqual(t,r.props.value),e[assignKey]=getModelAssigner(r),addEventListener$1(e,"change",()=>{e[assignKey](getValue$1(e))})},beforeUpdate(e,{value:t,oldValue:r},a){e[assignKey]=getModelAssigner(a),t!==r&&(e.checked=looseEqual(t,a.props.value))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:r}},a){const o=isSet(t);addEventListener$1(e,"change",()=>{const u=Array.prototype.filter.call(e.options,d=>d.selected).map(d=>r?looseToNumber(getValue$1(d)):getValue$1(d));e[assignKey](e.multiple?o?new Set(u):u:u[0]),e._assigning=!0,nextTick$1(()=>{e._assigning=!1})}),e[assignKey]=getModelAssigner(a)},mounted(e,{value:t,modifiers:{number:r}}){setSelected(e,t,r)},beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r)},updated(e,{value:t,modifiers:{number:r}}){e._assigning||setSelected(e,t,r)}};function setSelected(e,t,r){const a=e.multiple,o=isArray$4(t);if(!(a&&!o&&!isSet(t))){for(let u=0,d=e.options.length;u-1}else f.selected=t.has(g);else if(looseEqual(getValue$1(f),t)){e.selectedIndex!==u&&(e.selectedIndex=u);return}}!a&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function getValue$1(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const vModelDynamic={created(e,t,r){callModelHook(e,t,r,null,"created")},mounted(e,t,r){callModelHook(e,t,r,null,"mounted")},beforeUpdate(e,t,r,a){callModelHook(e,t,r,a,"beforeUpdate")},updated(e,t,r,a){callModelHook(e,t,r,a,"updated")}};function resolveDynamicModel(e,t){switch(e){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(t){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(e,t,r,a,o){const d=resolveDynamicModel(e.tagName,r.props&&r.props.type)[o];d&&d(e,t,r,a)}function initVModelForSSR(){vModelText.getSSRProps=({value:e})=>({value:e}),vModelRadio.getSSRProps=({value:e},t)=>{if(t.props&&looseEqual(t.props.value,e))return{checked:!0}},vModelCheckbox.getSSRProps=({value:e},t)=>{if(isArray$4(e)){if(t.props&&looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},vModelDynamic.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=resolveDynamicModel(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>systemModifiers.some(r=>e[`${r}Key`]&&!t.includes(r))},withModifiers=(e,t)=>{const r=e._withMods||(e._withMods={}),a=t.join(".");return r[a]||(r[a]=(o,...u)=>{for(let d=0;d{const r=e._withKeys||(e._withKeys={}),a=t.join(".");return r[a]||(r[a]=o=>{if(!("key"in o))return;const u=hyphenate(o.key);if(t.some(d=>d===u||keyNames[d]===u))return e(o)})},rendererOptions=extend$2({patchProp},nodeOps);let renderer$1,enabledHydration=!1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer$1=enabledHydration?renderer$1:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer$1}const render$2=(...e)=>{ensureRenderer().render(...e)},hydrate=(...e)=>{ensureHydrationRenderer().hydrate(...e)},createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:r}=t;return t.mount=a=>{const o=normalizeContainer(a);if(!o)return;const u=t._component;!isFunction$2(u)&&!u.render&&!u.template&&(u.template=o.innerHTML),o.innerHTML="";const d=r(o,!1,resolveRootNamespace(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),d},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:r}=t;return t.mount=a=>{const o=normalizeContainer(a);if(o)return r(o,!0,resolveRootNamespace(o))},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString$1(e)?document.querySelector(e):e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},runtimeDom=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,TrackOpTypes,Transition:Transition$1,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent:defineComponent$1,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect,effectScope,getCurrentInstance:getCurrentInstance$1,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h,handleError:handleError$1,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject:inject$1,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick:nextTick$1,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref:ref$1,registerRuntimeCompiler,render:render$2,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$6,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));/** * @vue/compiler-core v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const FRAGMENT=Symbol(""),TELEPORT=Symbol(""),SUSPENSE=Symbol(""),KEEP_ALIVE=Symbol(""),BASE_TRANSITION=Symbol(""),OPEN_BLOCK=Symbol(""),CREATE_BLOCK=Symbol(""),CREATE_ELEMENT_BLOCK=Symbol(""),CREATE_VNODE=Symbol(""),CREATE_ELEMENT_VNODE=Symbol(""),CREATE_COMMENT=Symbol(""),CREATE_TEXT=Symbol(""),CREATE_STATIC=Symbol(""),RESOLVE_COMPONENT=Symbol(""),RESOLVE_DYNAMIC_COMPONENT=Symbol(""),RESOLVE_DIRECTIVE=Symbol(""),RESOLVE_FILTER=Symbol(""),WITH_DIRECTIVES=Symbol(""),RENDER_LIST=Symbol(""),RENDER_SLOT=Symbol(""),CREATE_SLOTS=Symbol(""),TO_DISPLAY_STRING=Symbol(""),MERGE_PROPS=Symbol(""),NORMALIZE_CLASS=Symbol(""),NORMALIZE_STYLE=Symbol(""),NORMALIZE_PROPS=Symbol(""),GUARD_REACTIVE_PROPS=Symbol(""),TO_HANDLERS=Symbol(""),CAMELIZE=Symbol(""),CAPITALIZE=Symbol(""),TO_HANDLER_KEY=Symbol(""),SET_BLOCK_TRACKING=Symbol(""),PUSH_SCOPE_ID=Symbol(""),POP_SCOPE_ID=Symbol(""),WITH_CTX=Symbol(""),UNREF=Symbol(""),IS_REF=Symbol(""),WITH_MEMO=Symbol(""),IS_MEMO_SAME=Symbol(""),helperNameMap={[FRAGMENT]:"Fragment",[TELEPORT]:"Teleport",[SUSPENSE]:"Suspense",[KEEP_ALIVE]:"KeepAlive",[BASE_TRANSITION]:"BaseTransition",[OPEN_BLOCK]:"openBlock",[CREATE_BLOCK]:"createBlock",[CREATE_ELEMENT_BLOCK]:"createElementBlock",[CREATE_VNODE]:"createVNode",[CREATE_ELEMENT_VNODE]:"createElementVNode",[CREATE_COMMENT]:"createCommentVNode",[CREATE_TEXT]:"createTextVNode",[CREATE_STATIC]:"createStaticVNode",[RESOLVE_COMPONENT]:"resolveComponent",[RESOLVE_DYNAMIC_COMPONENT]:"resolveDynamicComponent",[RESOLVE_DIRECTIVE]:"resolveDirective",[RESOLVE_FILTER]:"resolveFilter",[WITH_DIRECTIVES]:"withDirectives",[RENDER_LIST]:"renderList",[RENDER_SLOT]:"renderSlot",[CREATE_SLOTS]:"createSlots",[TO_DISPLAY_STRING]:"toDisplayString",[MERGE_PROPS]:"mergeProps",[NORMALIZE_CLASS]:"normalizeClass",[NORMALIZE_STYLE]:"normalizeStyle",[NORMALIZE_PROPS]:"normalizeProps",[GUARD_REACTIVE_PROPS]:"guardReactiveProps",[TO_HANDLERS]:"toHandlers",[CAMELIZE]:"camelize",[CAPITALIZE]:"capitalize",[TO_HANDLER_KEY]:"toHandlerKey",[SET_BLOCK_TRACKING]:"setBlockTracking",[PUSH_SCOPE_ID]:"pushScopeId",[POP_SCOPE_ID]:"popScopeId",[WITH_CTX]:"withCtx",[UNREF]:"unref",[IS_REF]:"isRef",[WITH_MEMO]:"withMemo",[IS_MEMO_SAME]:"isMemoSame"};function registerRuntimeHelpers(e){Object.getOwnPropertySymbols(e).forEach(t=>{helperNameMap[t]=e[t]})}const locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function createRoot(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(e,t,r,a,o,u,d,f=!1,g=!1,_=!1,S=locStub){return e&&(f?(e.helper(OPEN_BLOCK),e.helper(getVNodeBlockHelper(e.inSSR,_))):e.helper(getVNodeHelper(e.inSSR,_)),d&&e.helper(WITH_DIRECTIVES)),{type:13,tag:t,props:r,children:a,patchFlag:o,dynamicProps:u,directives:d,isBlock:f,disableTracking:g,isComponent:_,loc:S}}function createArrayExpression(e,t=locStub){return{type:17,loc:t,elements:e}}function createObjectExpression(e,t=locStub){return{type:15,loc:t,properties:e}}function createObjectProperty(e,t){return{type:16,loc:locStub,key:isString$1(e)?createSimpleExpression(e,!0):e,value:t}}function createSimpleExpression(e,t=!1,r=locStub,a=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:a}}function createCompoundExpression(e,t=locStub){return{type:8,loc:t,children:e}}function createCallExpression(e,t=[],r=locStub){return{type:14,loc:r,callee:e,arguments:t}}function createFunctionExpression(e,t=void 0,r=!1,a=!1,o=locStub){return{type:18,params:e,returns:t,newline:r,isSlot:a,loc:o}}function createConditionalExpression(e,t,r,a=!0){return{type:19,test:e,consequent:t,alternate:r,newline:a,loc:locStub}}function createCacheExpression(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:locStub}}function createBlockStatement(e){return{type:21,body:e,loc:locStub}}function getVNodeHelper(e,t){return e||t?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(e,t){return e||t?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(e,{helper:t,removeHelper:r,inSSR:a}){e.isBlock||(e.isBlock=!0,r(getVNodeHelper(a,e.isComponent)),t(OPEN_BLOCK),t(getVNodeBlockHelper(a,e.isComponent)))}const defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(e){return e>=97&&e<=122||e>=65&&e<=90}function isWhitespace(e){return e===32||e===10||e===9||e===12||e===13}function isEndOfTagSection(e){return e===47||e===62||isWhitespace(e)}function toCharCodes(e){const t=new Uint8Array(e.length);for(let r=0;r=0;o--){const u=this.newlines[o];if(t>u){r=o+2,a=t-u;break}}return{column:a,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?isEndOfTagSection(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||isWhitespace(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}};function getCompatValue(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function isCompatEnabled(e,t){const r=getCompatValue("MODE",t),a=getCompatValue(e,t);return r===3?a===!0:a!==!1}function checkCompatEnabled(e,t,r,...a){return isCompatEnabled(e,t)}function defaultOnError(e){throw e}function defaultOnWarn(e){}function createCompilerError(e,t,r,a){const o=`https://vuejs.org/error-reference/#compiler-${e}`,u=new SyntaxError(String(o));return u.code=e,u.loc=t,u}const isStaticExp=e=>e.type===4&&e.isStatic;function isCoreComponent(e){switch(e){case"Teleport":case"teleport":return TELEPORT;case"Suspense":case"suspense":return SUSPENSE;case"KeepAlive":case"keep-alive":return KEEP_ALIVE;case"BaseTransition":case"base-transition":return BASE_TRANSITION}}const nonIdentifierRE=/^\d|[^\$\w]/,isSimpleIdentifier=e=>!nonIdentifierRE.test(e),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,isMemberExpressionBrowser=e=>{e=e.trim().replace(whitespaceRE,d=>d.trim());let t=0,r=[],a=0,o=0,u=null;for(let d=0;dt.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function isText$1(e){return e.type===5||e.type===2}function isVSlot(e){return e.type===7&&e.name==="slot"}function isTemplateNode(e){return e.type===1&&e.tagType===3}function isSlotOutlet(e){return e.type===1&&e.tagType===2}const propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(e,t=[]){if(e&&!isString$1(e)&&e.type===14){const r=e.callee;if(!isString$1(r)&&propsHelperSet.has(r))return getUnnormalizedProps(e.arguments[0],t.concat(e))}return[e,t]}function injectProp(e,t,r){let a,o=e.type===13?e.props:e.arguments[2],u=[],d;if(o&&!isString$1(o)&&o.type===14){const f=getUnnormalizedProps(o);o=f[0],u=f[1],d=u[u.length-1]}if(o==null||isString$1(o))a=createObjectExpression([t]);else if(o.type===14){const f=o.arguments[0];!isString$1(f)&&f.type===15?hasProp(t,f)||f.properties.unshift(t):o.callee===TO_HANDLERS?a=createCallExpression(r.helper(MERGE_PROPS),[createObjectExpression([t]),o]):o.arguments.unshift(createObjectExpression([t])),!a&&(a=o)}else o.type===15?(hasProp(t,o)||o.properties.unshift(t),a=o):(a=createCallExpression(r.helper(MERGE_PROPS),[createObjectExpression([t]),o]),d&&d.callee===GUARD_REACTIVE_PROPS&&(d=u[u.length-2]));e.type===13?d?d.arguments[0]=a:e.props=a:d?d.arguments[0]=a:e.arguments[2]=a}function hasProp(e,t){let r=!1;if(e.key.type===4){const a=e.key.content;r=t.properties.some(o=>o.key.type===4&&o.key.content===a)}return r}function toValidAssetId(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,a)=>r==="-"?"_":e.charCodeAt(a).toString())}`}function getMemoedVNodeCall(e){return e.type===14&&e.callee===WITH_MEMO?e.arguments[1].returns:e}const forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,defaultParserOptions={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isCustomElement:NO,onError:defaultOnError,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1};let currentOptions=defaultParserOptions,currentRoot=null,currentInput="",currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null;const stack=[],tokenizer=new Tokenizer$1(stack,{onerr:emitError,ontext(e,t){onText(getSlice(e,t),e,t)},ontextentity(e,t,r){onText(e,t,r)},oninterpolation(e,t){if(inVPre)return onText(getSlice(e,t),e,t);let r=e+tokenizer.delimiterOpen.length,a=t-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(r));)r++;for(;isWhitespace(currentInput.charCodeAt(a-1));)a--;let o=getSlice(r,a);o.includes("&")&&(o=currentOptions.decodeEntities(o,!1)),addNode({type:5,content:createExp(o,!1,getLoc(r,a)),loc:getLoc(e,t)})},onopentagname(e,t){const r=getSlice(e,t);currentOpenTag={type:1,tag:r,ns:currentOptions.getNamespace(r,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(e-1,t),codegenNode:void 0}},onopentagend(e){endOpenTag(e)},onclosetag(e,t){const r=getSlice(e,t);if(!currentOptions.isVoidTag(r)){let a=!1;for(let o=0;o0&&emitError(24,stack[0].loc.start.offset);for(let d=0;d<=o;d++){const f=stack.shift();onCloseTag(f,t,d(a.type===7?a.rawName:a.name)===r)&&emitError(2,t)},onattribend(e,t){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,t),e!==0)if(currentAttrValue.includes("&")&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name==="class"&&(currentAttrValue=condense(currentAttrValue).trim()),e===1&&!currentAttrValue&&emitError(13,t),currentProp.value={type:2,content:currentAttrValue,loc:e===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag==="template"&¤tProp.name==="lang"&¤tAttrValue&¤tAttrValue!=="html"&&tokenizer.enterRCDATA(toCharCodes("-1&&checkCompatEnabled("COMPILER_V_BIND_SYNC",currentOptions,currentProp.loc,currentProp.rawName)&&(currentProp.name="model",currentProp.modifiers.splice(a,1))}(currentProp.type!==7||currentProp.name!=="pre")&¤tOpenTag.props.push(currentProp)}currentAttrValue="",currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(e,t){currentOptions.comments&&addNode({type:3,content:getSlice(e,t),loc:getLoc(e-4,t+3)})},onend(){const e=currentInput.length;for(let t=0;t{const y=t.start.offset+v,T=y+E.length;return createExp(E,!1,getLoc(y,T),0,b?1:0)},f={source:d(u.trim(),r.indexOf(u,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let g=o.trim().replace(stripParensRE,"").trim();const _=o.indexOf(g),S=g.match(forIteratorRE);if(S){g=g.replace(forIteratorRE,"").trim();const E=S[1].trim();let v;if(E&&(v=r.indexOf(E,_+g.length),f.key=d(E,v,!0)),S[2]){const b=S[2].trim();b&&(f.index=d(b,r.indexOf(b,f.key?v+E.length:_+g.length),!0))}}return g&&(f.value=d(g,_,!0)),f}function getSlice(e,t){return currentInput.slice(e,t)}function endOpenTag(e){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(e+1,e+1)),addNode(currentOpenTag);const{tag:t,ns:r}=currentOpenTag;r===0&¤tOptions.isPreTag(t)&&inPre++,currentOptions.isVoidTag(t)?onCloseTag(currentOpenTag,e):(stack.unshift(currentOpenTag),(r===1||r===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(e,t,r){var a;{const d=(a=stack[0])==null?void 0:a.tag;d!=="script"&&d!=="style"&&e.includes("&")&&(e=currentOptions.decodeEntities(e,!1))}const o=stack[0]||currentRoot,u=o.children[o.children.length-1];(u==null?void 0:u.type)===2?(u.content+=e,setLocEnd(u.loc,r)):o.children.push({type:2,content:e,loc:getLoc(t,r)})}function onCloseTag(e,t,r=!1){r?setLocEnd(e.loc,backTrack(t,60)):setLocEnd(e.loc,t+1),tokenizer.inSFCRoot&&(e.children.length?e.innerLoc.end=extend$2({},e.children[e.children.length-1].loc.end):e.innerLoc.end=extend$2({},e.innerLoc.start),e.innerLoc.source=getSlice(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:a,ns:o}=e;inVPre||(a==="slot"?e.tagType=2:isFragmentTemplate(e)?e.tagType=3:isComponent(e)&&(e.tagType=1)),tokenizer.inRCDATA||(e.children=condenseWhitespace(e.children,e.tag)),o===0&¤tOptions.isPreTag(a)&&inPre--,currentVPreBoundary===e&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{const u=e.props;if(!tokenizer.inSFCRoot&&isCompatEnabled("COMPILER_NATIVE_TEMPLATE",currentOptions)&&e.tag==="template"&&!isFragmentTemplate(e)){const f=stack[0]||currentRoot,g=f.children.indexOf(e);f.children.splice(g,1,...e.children)}const d=u.find(f=>f.type===6&&f.name==="inline-template");d&&checkCompatEnabled("COMPILER_INLINE_TEMPLATE",currentOptions,d.loc)&&e.children.length&&(d.value={type:2,content:getSlice(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:d.loc})}}function backTrack(e,t){let r=e;for(;currentInput.charCodeAt(r)!==t&&r>=0;)r--;return r}const specialTemplateDir=new Set(["if","else","else-if","for","slot"]);function isFragmentTemplate({tag:e,props:t}){if(e==="template"){for(let r=0;r64&&e<91}const windowsNewlineRE=/\r\n/g;function condenseWhitespace(e,t){var r,a;const o=currentOptions.whitespace!=="preserve";let u=!1;for(let d=0;d0){if(g>=2){f.codegenNode.patchFlag="-1",f.codegenNode=t.hoist(f.codegenNode),u++;continue}}else{const _=f.codegenNode;if(_.type===13){const S=getPatchFlag(_);if((!S||S===512||S===1)&&getGeneratedPropsConstantType(f,t)>=2){const E=getNodeProps(f);E&&(_.props=t.hoist(E))}_.dynamicProps&&(_.dynamicProps=t.hoist(_.dynamicProps))}}}if(f.type===1){const g=f.tagType===1;g&&t.scopes.vSlot++,walk(f,t),g&&t.scopes.vSlot--}else if(f.type===11)walk(f,t,f.children.length===1);else if(f.type===9)for(let g=0;g1)for(let _=0;_F&&(D.childIndex--,D.onNodeRemoved()),D.parent.children.splice(F,1)},onNodeRemoved:NOOP,addIdentifiers(P){},removeIdentifiers(P){},hoist(P){isString$1(P)&&(P=createSimpleExpression(P)),D.hoists.push(P);const L=createSimpleExpression(`_hoisted_${D.hoists.length}`,!1,P.loc,2);return L.hoisted=P,L},cache(P,L=!1){return createCacheExpression(D.cached++,P,L)}};return D.filters=new Set,D}function transform$1(e,t){const r=createTransformContext(e,t);traverseNode(e,r),t.hoistStatic&&hoistStatic(e,r),t.ssr||createRootCodegen(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function createRootCodegen(e,t){const{helper:r}=t,{children:a}=e;if(a.length===1){const o=a[0];if(isSingleElementRoot(e,o)&&o.codegenNode){const u=o.codegenNode;u.type===13&&convertToBlock(u,t),e.codegenNode=u}else e.codegenNode=o}else if(a.length>1){let o=64;e.codegenNode=createVNodeCall(t,r(FRAGMENT),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}function traverseChildren(e,t){let r=0;const a=()=>{r--};for(;ra===e:a=>e.test(a);return(a,o)=>{if(a.type===1){const{props:u}=a;if(a.tagType===3&&u.some(isVSlot))return;const d=[];for(let f=0;f`${helperNameMap[e]}: _${helperNameMap[e]}`;function createCodegenContext(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:a=!1,filename:o="template.vue.html",scopeId:u=null,optimizeImports:d=!1,runtimeGlobalName:f="Vue",runtimeModuleName:g="vue",ssrRuntimeModuleName:_="vue/server-renderer",ssr:S=!1,isTS:E=!1,inSSR:v=!1}){const b={mode:t,prefixIdentifiers:r,sourceMap:a,filename:o,scopeId:u,optimizeImports:d,runtimeGlobalName:f,runtimeModuleName:g,ssrRuntimeModuleName:_,ssr:S,isTS:E,inSSR:v,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(T){return`_${helperNameMap[T]}`},push(T,C=-2,R){b.code+=T},indent(){y(++b.indentLevel)},deindent(T=!1){T?--b.indentLevel:y(--b.indentLevel)},newline(){y(b.indentLevel)}};function y(T){b.push(` `+" ".repeat(T),0)}return b}function generate(e,t={}){const r=createCodegenContext(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:a,push:o,prefixIdentifiers:u,indent:d,deindent:f,newline:g,scopeId:_,ssr:S}=r,E=Array.from(e.helpers),v=E.length>0,b=!u&&a!=="module";genFunctionPreamble(e,r);const T=S?"ssrRender":"render",R=(S?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(o(`function ${T}(${R}) {`),d(),b&&(o("with (_ctx) {"),d(),v&&(o(`const { ${E.map(aliasHelper).join(", ")} } = _Vue `,-1),g())),e.components.length&&(genAssets(e.components,"component",r),(e.directives.length||e.temps>0)&&g()),e.directives.length&&(genAssets(e.directives,"directive",r),e.temps>0&&g()),e.filters&&e.filters.length&&(g(),genAssets(e.filters,"filter",r),g()),e.temps>0){o("let ");for(let A=0;A0?", ":""}_temp${A}`)}return(e.components.length||e.directives.length||e.temps)&&(o(` `,0),g()),S||o("return "),e.codegenNode?genNode(e.codegenNode,r):o("null"),b&&(f(),o("}")),f(),o("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function genFunctionPreamble(e,t){const{ssr:r,prefixIdentifiers:a,push:o,newline:u,runtimeModuleName:d,runtimeGlobalName:f,ssrRuntimeModuleName:g}=t,_=f,S=Array.from(e.helpers);if(S.length>0&&(o(`const _Vue = ${_} `,-1),e.hoists.length)){const E=[CREATE_VNODE,CREATE_ELEMENT_VNODE,CREATE_COMMENT,CREATE_TEXT,CREATE_STATIC].filter(v=>S.includes(v)).map(aliasHelper).join(", ");o(`const { ${E} } = _Vue `,-1)}genHoists(e.hoists,t),u(),o("return ")}function genAssets(e,t,{helper:r,push:a,newline:o,isTS:u}){const d=r(t==="filter"?RESOLVE_FILTER:t==="component"?RESOLVE_COMPONENT:RESOLVE_DIRECTIVE);for(let f=0;f3||!1;t.push("["),r&&t.indent(),genNodeList(e,t,r),r&&t.deindent(),t.push("]")}function genNodeList(e,t,r=!1,a=!0){const{push:o,newline:u}=t;for(let d=0;dr||"null")}function genCallExpression(e,t){const{push:r,helper:a,pure:o}=t,u=isString$1(e.callee)?e.callee:a(e.callee);o&&r(PURE_ANNOTATION),r(u+"(",-2,e),genNodeList(e.arguments,t),r(")")}function genObjectExpression(e,t){const{push:r,indent:a,deindent:o,newline:u}=t,{properties:d}=e;if(!d.length){r("{}",-2,e);return}const f=d.length>1||!1;r(f?"{":"{ "),f&&a();for(let g=0;g "),(g||f)&&(r("{"),a()),d?(g&&r("return "),isArray$4(d)?genNodeListAsArray(d,t):genNode(d,t)):f&&genNode(f,t),(g||f)&&(o(),r("}")),_&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function genConditionalExpression(e,t){const{test:r,consequent:a,alternate:o,newline:u}=e,{push:d,indent:f,deindent:g,newline:_}=t;if(r.type===4){const E=!isSimpleIdentifier(r.content);E&&d("("),genExpression(r,t),E&&d(")")}else d("("),genNode(r,t),d(")");u&&f(),t.indentLevel++,u||d(" "),d("? "),genNode(a,t),t.indentLevel--,u&&_(),u||d(" "),d(": ");const S=o.type===19;S||t.indentLevel++,genNode(o,t),S||t.indentLevel--,u&&g(!0)}function genCacheExpression(e,t){const{push:r,helper:a,indent:o,deindent:u,newline:d}=t;r(`_cache[${e.index}] || (`),e.isVNode&&(o(),r(`${a(SET_BLOCK_TRACKING)}(-1),`),d()),r(`_cache[${e.index}] = `),genNode(e.value,t),e.isVNode&&(r(","),d(),r(`${a(SET_BLOCK_TRACKING)}(1),`),d(),r(`_cache[${e.index}]`),u()),r(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const transformIf=createStructuralDirectiveTransform(/^(if|else|else-if)$/,(e,t,r)=>processIf(e,t,r,(a,o,u)=>{const d=r.parent.children;let f=d.indexOf(a),g=0;for(;f-->=0;){const _=d[f];_&&_.type===9&&(g+=_.branches.length)}return()=>{if(u)a.codegenNode=createCodegenNodeForBranch(o,g,r);else{const _=getParentCondition(a.codegenNode);_.alternate=createCodegenNodeForBranch(o,g+a.branches.length-1,r)}}}));function processIf(e,t,r,a){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;r.onError(createCompilerError(28,t.loc)),t.exp=createSimpleExpression("true",!1,o)}if(t.name==="if"){const o=createIfBranch(e,t),u={type:9,loc:e.loc,branches:[o]};if(r.replaceNode(u),a)return a(u,o,!0)}else{const o=r.parent.children;let u=o.indexOf(e);for(;u-->=-1;){const d=o[u];if(d&&d.type===3){r.removeNode(d);continue}if(d&&d.type===2&&!d.content.trim().length){r.removeNode(d);continue}if(d&&d.type===9){t.name==="else-if"&&d.branches[d.branches.length-1].condition===void 0&&r.onError(createCompilerError(30,e.loc)),r.removeNode();const f=createIfBranch(e,t);d.branches.push(f);const g=a&&a(d,f,!1);traverseNode(f,r),g&&g(),r.currentNode=null}else r.onError(createCompilerError(30,e.loc));break}}}function createIfBranch(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!findDir(e,"for")?e.children:[e],userKey:findProp(e,"key"),isTemplateIf:r}}function createCodegenNodeForBranch(e,t,r){return e.condition?createConditionalExpression(e.condition,createChildrenCodegenNode(e,t,r),createCallExpression(r.helper(CREATE_COMMENT),['""',"true"])):createChildrenCodegenNode(e,t,r)}function createChildrenCodegenNode(e,t,r){const{helper:a}=r,o=createObjectProperty("key",createSimpleExpression(`${t}`,!1,locStub,2)),{children:u}=e,d=u[0];if(u.length!==1||d.type!==1)if(u.length===1&&d.type===11){const g=d.codegenNode;return injectProp(g,o,r),g}else return createVNodeCall(r,a(FRAGMENT),createObjectExpression([o]),u,64+"",void 0,void 0,!0,!1,!1,e.loc);else{const g=d.codegenNode,_=getMemoedVNodeCall(g);return _.type===13&&convertToBlock(_,r),injectProp(_,o,r),g}}function getParentCondition(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const transformFor=createStructuralDirectiveTransform("for",(e,t,r)=>{const{helper:a,removeHelper:o}=r;return processFor(e,t,r,u=>{const d=createCallExpression(a(RENDER_LIST),[u.source]),f=isTemplateNode(e),g=findDir(e,"memo"),_=findProp(e,"key"),S=_&&(_.type===6?createSimpleExpression(_.value.content,!0):_.exp),E=_?createObjectProperty("key",S):null,v=u.source.type===4&&u.source.constType>0,b=v?64:_?128:256;return u.codegenNode=createVNodeCall(r,a(FRAGMENT),void 0,d,b+"",void 0,void 0,!0,!v,!1,e.loc),()=>{let y;const{children:T}=u,C=T.length!==1||T[0].type!==1,R=isSlotOutlet(e)?e:f&&e.children.length===1&&isSlotOutlet(e.children[0])?e.children[0]:null;if(R?(y=R.codegenNode,f&&E&&injectProp(y,E,r)):C?y=createVNodeCall(r,a(FRAGMENT),E?createObjectExpression([E]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=T[0].codegenNode,f&&E&&injectProp(y,E,r),y.isBlock!==!v&&(y.isBlock?(o(OPEN_BLOCK),o(getVNodeBlockHelper(r.inSSR,y.isComponent))):o(getVNodeHelper(r.inSSR,y.isComponent))),y.isBlock=!v,y.isBlock?(a(OPEN_BLOCK),a(getVNodeBlockHelper(r.inSSR,y.isComponent))):a(getVNodeHelper(r.inSSR,y.isComponent))),g){const A=createFunctionExpression(createForLoopParams(u.parseResult,[createSimpleExpression("_cached")]));A.body=createBlockStatement([createCompoundExpression(["const _memo = (",g.exp,")"]),createCompoundExpression(["if (_cached",...S?[" && _cached.key === ",S]:[],` && ${r.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`]),createCompoundExpression(["const _item = ",y]),createSimpleExpression("_item.memo = _memo"),createSimpleExpression("return _item")]),d.arguments.push(A,createSimpleExpression("_cache"),createSimpleExpression(String(r.cached++)))}else d.arguments.push(createFunctionExpression(createForLoopParams(u.parseResult),y,!0))}})});function processFor(e,t,r,a){if(!t.exp){r.onError(createCompilerError(31,t.loc));return}const o=t.forParseResult;if(!o){r.onError(createCompilerError(32,t.loc));return}finalizeForParseResult(o);const{addIdentifiers:u,removeIdentifiers:d,scopes:f}=r,{source:g,value:_,key:S,index:E}=o,v={type:11,loc:t.loc,source:g,valueAlias:_,keyAlias:S,objectIndexAlias:E,parseResult:o,children:isTemplateNode(e)?e.children:[e]};r.replaceNode(v),f.vFor++;const b=a&&a(v);return()=>{f.vFor--,b&&b()}}function finalizeForParseResult(e,t){e.finalized||(e.finalized=!0)}function createForLoopParams({value:e,key:t,index:r},a=[]){return createParamsList([e,t,r,...a])}function createParamsList(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,a)=>r||createSimpleExpression("_".repeat(a+1),!1))}const defaultFallback=createSimpleExpression("undefined",!1),trackSlotScopes=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=findDir(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},buildClientSlotFn=(e,t,r,a)=>createFunctionExpression(e,r,!1,!0,r.length?r[0].loc:a);function buildSlots(e,t,r=buildClientSlotFn){t.helper(WITH_CTX);const{children:a,loc:o}=e,u=[],d=[];let f=t.scopes.vSlot>0||t.scopes.vFor>0;const g=findDir(e,"slot",!0);if(g){const{arg:C,exp:R}=g;C&&!isStaticExp(C)&&(f=!0),u.push(createObjectProperty(C||createSimpleExpression("default",!0),r(R,void 0,a,o)))}let _=!1,S=!1;const E=[],v=new Set;let b=0;for(let C=0;C{const O=r(R,void 0,A,o);return t.compatConfig&&(O.isNonScopedSlot=!0),createObjectProperty("default",O)};_?E.length&&E.some(R=>isNonWhitespaceContent(R))&&(S?t.onError(createCompilerError(39,E[0].loc)):u.push(C(void 0,E))):u.push(C(void 0,a))}const y=f?2:hasForwardedSlots(e.children)?3:1;let T=createObjectExpression(u.concat(createObjectProperty("_",createSimpleExpression(y+"",!1))),o);return d.length&&(T=createCallExpression(t.helper(CREATE_SLOTS),[T,createArrayExpression(d)])),{slots:T,hasDynamicSlots:f}}function buildDynamicSlot(e,t,r){const a=[createObjectProperty("name",e),createObjectProperty("fn",t)];return r!=null&&a.push(createObjectProperty("key",createSimpleExpression(String(r),!0))),createObjectExpression(a)}function hasForwardedSlots(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:a,props:o}=e,u=e.tagType===1;let d=u?resolveComponentType(e,t):`"${a}"`;const f=isObject$6(d)&&d.callee===RESOLVE_DYNAMIC_COMPONENT;let g,_,S,E=0,v,b,y,T=f||d===TELEPORT||d===SUSPENSE||!u&&(a==="svg"||a==="foreignObject");if(o.length>0){const C=buildProps(e,t,void 0,u,f);g=C.props,E=C.patchFlag,b=C.dynamicPropNames;const R=C.directives;y=R&&R.length?createArrayExpression(R.map(A=>buildDirectiveArgs(A,t))):void 0,C.shouldUseBlock&&(T=!0)}if(e.children.length>0)if(d===KEEP_ALIVE&&(T=!0,E|=1024),u&&d!==TELEPORT&&d!==KEEP_ALIVE){const{slots:R,hasDynamicSlots:A}=buildSlots(e,t);_=R,A&&(E|=1024)}else if(e.children.length===1&&d!==TELEPORT){const R=e.children[0],A=R.type,O=A===5||A===8;O&&getConstantType(R,t)===0&&(E|=1),O||A===2?_=R:_=e.children}else _=e.children;E!==0&&(S=String(E),b&&b.length&&(v=stringifyDynamicPropNames(b))),e.codegenNode=createVNodeCall(t,d,g,_,S,v,y,!!T,!1,u,e.loc)};function resolveComponentType(e,t,r=!1){let{tag:a}=e;const o=isComponentTag(a),u=findProp(e,"is");if(u)if(o||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)){const f=u.type===6?u.value&&createSimpleExpression(u.value.content,!0):u.exp;if(f)return createCallExpression(t.helper(RESOLVE_DYNAMIC_COMPONENT),[f])}else u.type===6&&u.value.content.startsWith("vue:")&&(a=u.value.content.slice(4));const d=isCoreComponent(a)||t.isBuiltInComponent(a);return d?(r||t.helper(d),d):(t.helper(RESOLVE_COMPONENT),t.components.add(a),toValidAssetId(a,"component"))}function buildProps(e,t,r=e.props,a,o,u=!1){const{tag:d,loc:f,children:g}=e;let _=[];const S=[],E=[],v=g.length>0;let b=!1,y=0,T=!1,C=!1,R=!1,A=!1,O=!1,x=!1;const N=[],I=P=>{_.length&&(S.push(createObjectExpression(dedupeProperties(_),f)),_=[]),P&&S.push(P)},k=({key:P,value:L})=>{if(isStaticExp(P)){const F=P.content,B=isOn$1(F);if(B&&(!a||o)&&F.toLowerCase()!=="onclick"&&F!=="onUpdate:modelValue"&&!isReservedProp(F)&&(A=!0),B&&isReservedProp(F)&&(x=!0),B&&L.type===14&&(L=L.arguments[0]),L.type===20||(L.type===4||L.type===8)&&getConstantType(L,t)>0)return;F==="ref"?T=!0:F==="class"?C=!0:F==="style"?R=!0:F!=="key"&&!N.includes(F)&&N.push(F),a&&(F==="class"||F==="style")&&!N.includes(F)&&N.push(F)}else O=!0};for(let P=0;P0&&_.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true")))),B==="is"&&(isComponentTag(d)||U&&U.content.startsWith("vue:")||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)))continue;_.push(createObjectProperty(createSimpleExpression(B,!0,V),createSimpleExpression(U?U.content:"",W,U?U.loc:F)))}else{const{name:F,arg:B,exp:V,loc:U,modifiers:W}=L,K=F==="bind",G=F==="on";if(F==="slot"){a||t.onError(createCompilerError(40,U));continue}if(F==="once"||F==="memo"||F==="is"||K&&isStaticArgOf(B,"is")&&(isComponentTag(d)||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t))||G&&u)continue;if((K&&isStaticArgOf(B,"key")||G&&v&&isStaticArgOf(B,"vue:before-update"))&&(b=!0),K&&isStaticArgOf(B,"ref")&&t.scopes.vFor>0&&_.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true"))),!B&&(K||G)){if(O=!0,V)if(K){if(I(),isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER",t)){S.unshift(V);continue}S.push(V)}else I({type:14,loc:U,callee:t.helper(TO_HANDLERS),arguments:a?[V]:[V,"true"]});else t.onError(createCompilerError(K?34:35,U));continue}K&&W.includes("prop")&&(y|=32);const Y=t.directiveTransforms[F];if(Y){const{props:Q,needRuntime:Z}=Y(L,e,t);!u&&Q.forEach(k),G&&B&&!isStaticExp(B)?I(createObjectExpression(Q,f)):_.push(...Q),Z&&(E.push(L),isSymbol(Z)&&directiveImportMap.set(L,Z))}else isBuiltInDirective(F)||(E.push(L),v&&(b=!0))}}let D;if(S.length?(I(),S.length>1?D=createCallExpression(t.helper(MERGE_PROPS),S,f):D=S[0]):_.length&&(D=createObjectExpression(dedupeProperties(_),f)),O?y|=16:(C&&!a&&(y|=2),R&&!a&&(y|=4),N.length&&(y|=8),A&&(y|=32)),!b&&(y===0||y===32)&&(T||x||E.length>0)&&(y|=512),!t.inSSR&&D)switch(D.type){case 15:let P=-1,L=-1,F=!1;for(let U=0;UcreateObjectProperty(d,u)),o))}return createArrayExpression(r,e.loc)}function stringifyDynamicPropNames(e){let t="[";for(let r=0,a=e.length;r{if(isSlotOutlet(e)){const{children:r,loc:a}=e,{slotName:o,slotProps:u}=processSlotOutlet(e,t),d=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let f=2;u&&(d[2]=u,f=3),r.length&&(d[3]=createFunctionExpression([],r,!1,!1,a),f=4),t.scopeId&&!t.slotted&&(f=5),d.splice(f),e.codegenNode=createCallExpression(t.helper(RENDER_SLOT),d,a)}};function processSlotOutlet(e,t){let r='"default"',a;const o=[];for(let u=0;u0){const{props:u,directives:d}=buildProps(e,t,o,!1,!1);a=u,d.length&&t.onError(createCompilerError(36,d[0].loc))}return{slotName:r,slotProps:a}}const fnExpRE=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,transformOn$1=(e,t,r,a)=>{const{loc:o,modifiers:u,arg:d}=e;!e.exp&&!u.length&&r.onError(createCompilerError(35,o));let f;if(d.type===4)if(d.isStatic){let E=d.content;E.startsWith("vue:")&&(E=`vnode-${E.slice(4)}`);const v=t.tagType!==0||E.startsWith("vnode")||!/[A-Z]/.test(E)?toHandlerKey(camelize(E)):`on:${E}`;f=createSimpleExpression(v,!0,d.loc)}else f=createCompoundExpression([`${r.helperString(TO_HANDLER_KEY)}(`,d,")"]);else f=d,f.children.unshift(`${r.helperString(TO_HANDLER_KEY)}(`),f.children.push(")");let g=e.exp;g&&!g.content.trim()&&(g=void 0);let _=r.cacheHandlers&&!g&&!r.inVOnce;if(g){const E=isMemberExpression(g.content),v=!(E||fnExpRE.test(g.content)),b=g.content.includes(";");(v||_&&E)&&(g=createCompoundExpression([`${v?"$event":"(...args)"} => ${b?"{":"("}`,g,b?"}":")"]))}let S={props:[createObjectProperty(f,g||createSimpleExpression("() => {}",!1,o))]};return a&&(S=a(S)),_&&(S.props[0].value=r.cache(S.props[0].value)),S.props.forEach(E=>E.key.isHandlerKey=!0),S},transformBind=(e,t,r)=>{const{modifiers:a,loc:o}=e,u=e.arg;let{exp:d}=e;if(d&&d.type===4&&!d.content.trim()&&(d=void 0),!d){if(u.type!==4||!u.isStatic)return r.onError(createCompilerError(52,u.loc)),{props:[createObjectProperty(u,createSimpleExpression("",!0,o))]};const f=camelize(u.content);d=e.exp=createSimpleExpression(f,!1,u.loc)}return u.type!==4?(u.children.unshift("("),u.children.push(') || ""')):u.isStatic||(u.content=`${u.content} || ""`),a.includes("camel")&&(u.type===4?u.isStatic?u.content=camelize(u.content):u.content=`${r.helperString(CAMELIZE)}(${u.content})`:(u.children.unshift(`${r.helperString(CAMELIZE)}(`),u.children.push(")"))),r.inSSR||(a.includes("prop")&&injectPrefix(u,"."),a.includes("attr")&&injectPrefix(u,"^")),{props:[createObjectProperty(u,d)]}},injectPrefix=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},transformText=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let a,o=!1;for(let u=0;uu.type===7&&!t.directiveTransforms[u.name])&&e.tag!=="template")))for(let u=0;u{if(e.type===1&&findDir(e,"once",!0))return seen$1.has(e)||t.inVOnce||t.inSSR?void 0:(seen$1.add(e),t.inVOnce=!0,t.helper(SET_BLOCK_TRACKING),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0))})},transformModel$1=(e,t,r)=>{const{exp:a,arg:o}=e;if(!a)return r.onError(createCompilerError(41,e.loc)),createTransformProps();const u=a.loc.source,d=a.type===4?a.content:u,f=r.bindingMetadata[u];if(f==="props"||f==="props-aliased")return r.onError(createCompilerError(44,a.loc)),createTransformProps();if(!d.trim()||!isMemberExpression(d)&&!!1)return r.onError(createCompilerError(42,a.loc)),createTransformProps();const _=o||createSimpleExpression("modelValue",!0),S=o?isStaticExp(o)?`onUpdate:${camelize(o.content)}`:createCompoundExpression(['"onUpdate:" + ',o]):"onUpdate:modelValue";let E;const v=r.isTS?"($event: any)":"$event";E=createCompoundExpression([`${v} => ((`,a,") = $event)"]);const b=[createObjectProperty(_,e.exp),createObjectProperty(S,E)];if(e.modifiers.length&&t.tagType===1){const y=e.modifiers.map(C=>(isSimpleIdentifier(C)?C:JSON.stringify(C))+": true").join(", "),T=o?isStaticExp(o)?`${o.content}Modifiers`:createCompoundExpression([o,' + "Modifiers"']):"modelModifiers";b.push(createObjectProperty(T,createSimpleExpression(`{ ${y} }`,!1,e.loc,2)))}return createTransformProps(b)};function createTransformProps(e=[]){return{props:e}}const validDivisionCharRE=/[\w).+\-_$\]]/,transformFilter=(e,t)=>{isCompatEnabled("COMPILER_FILTERS",t)&&(e.type===5&&rewriteFilter(e.content,t),e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&rewriteFilter(r.exp,t)}))};function rewriteFilter(e,t){if(e.type===4)parseFilter(e,t);else for(let r=0;r=0&&(A=r.charAt(R),A===" ");R--);(!A||!validDivisionCharRE.test(A))&&(d=!0)}}y===void 0?y=r.slice(0,b).trim():S!==0&&C();function C(){T.push(r.slice(S,b).trim()),S=b+1}if(T.length){for(b=0;b{if(e.type===1){const r=findDir(e,"memo");return!r||seen$2.has(e)?void 0:(seen$2.add(e),()=>{const a=e.codegenNode||t.currentNode.codegenNode;a&&a.type===13&&(e.tagType!==1&&convertToBlock(a,t),e.codegenNode=createCallExpression(t.helper(WITH_MEMO),[r.exp,createFunctionExpression(void 0,a),"_cache",String(t.cached++)]))})}};function getBaseTransformPreset(e){return[[transformOnce,transformIf,transformMemo,transformFor,transformFilter,transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn$1,bind:transformBind,model:transformModel$1}]}function baseCompile(e,t={}){const r=t.onError||defaultOnError,a=t.mode==="module";t.prefixIdentifiers===!0?r(createCompilerError(47)):a&&r(createCompilerError(48));const o=!1;t.cacheHandlers&&r(createCompilerError(49)),t.scopeId&&!a&&r(createCompilerError(50));const u=extend$2({},t,{prefixIdentifiers:o}),d=isString$1(e)?baseParse(e,u):e,[f,g]=getBaseTransformPreset();return transform$1(d,extend$2({},u,{nodeTransforms:[...f,...t.nodeTransforms||[]],directiveTransforms:extend$2({},g,t.directiveTransforms||{})})),generate(d,u)}const noopDirectiveTransform=()=>({props:[]});/** * @vue/compiler-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const V_MODEL_RADIO=Symbol(""),V_MODEL_CHECKBOX=Symbol(""),V_MODEL_TEXT=Symbol(""),V_MODEL_SELECT=Symbol(""),V_MODEL_DYNAMIC=Symbol(""),V_ON_WITH_MODIFIERS=Symbol(""),V_ON_WITH_KEYS=Symbol(""),V_SHOW=Symbol(""),TRANSITION=Symbol(""),TRANSITION_GROUP=Symbol("");registerRuntimeHelpers({[V_MODEL_RADIO]:"vModelRadio",[V_MODEL_CHECKBOX]:"vModelCheckbox",[V_MODEL_TEXT]:"vModelText",[V_MODEL_SELECT]:"vModelSelect",[V_MODEL_DYNAMIC]:"vModelDynamic",[V_ON_WITH_MODIFIERS]:"withModifiers",[V_ON_WITH_KEYS]:"withKeys",[V_SHOW]:"vShow",[TRANSITION]:"Transition",[TRANSITION_GROUP]:"TransitionGroup"});let decoder$1;function decodeHtmlBrowser(e,t=!1){return decoder$1||(decoder$1=document.createElement("div")),t?(decoder$1.innerHTML=`
`,decoder$1.children[0].getAttribute("foo")):(decoder$1.innerHTML=e,decoder$1.textContent)}const parserOptions={parseMode:"html",isVoidTag,isNativeTag:e=>isHTMLTag(e)||isSVGTag(e)||isMathMLTag(e),isPreTag:e=>e==="pre",decodeEntities:decodeHtmlBrowser,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return TRANSITION;if(e==="TransitionGroup"||e==="transition-group")return TRANSITION_GROUP},getNamespace(e,t,r){let a=t?t.ns:r;if(t&&a===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(a=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(a=0);else t&&a===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(a=0);if(a===0){if(e==="svg")return 1;if(e==="math")return 2}return a}},transformStyle=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:createSimpleExpression("style",!0,t.loc),exp:parseInlineCSS(t.value.content,t.loc),modifiers:[],loc:t.loc})})},parseInlineCSS=(e,t)=>{const r=parseStringStyle(e);return createSimpleExpression(JSON.stringify(r),!1,t,3)};function createDOMCompilerError(e,t){return createCompilerError(e,t)}const transformVHtml=(e,t,r)=>{const{exp:a,loc:o}=e;return a||r.onError(createDOMCompilerError(53,o)),t.children.length&&(r.onError(createDOMCompilerError(54,o)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("innerHTML",!0,o),a||createSimpleExpression("",!0))]}},transformVText=(e,t,r)=>{const{exp:a,loc:o}=e;return a||r.onError(createDOMCompilerError(55,o)),t.children.length&&(r.onError(createDOMCompilerError(56,o)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("textContent",!0),a?getConstantType(a,r)>0?a:createCallExpression(r.helperString(TO_DISPLAY_STRING),[a],o):createSimpleExpression("",!0))]}},transformModel=(e,t,r)=>{const a=transformModel$1(e,t,r);if(!a.props.length||t.tagType===1)return a;e.arg&&r.onError(createDOMCompilerError(58,e.arg.loc));const{tag:o}=t,u=r.isCustomElement(o);if(o==="input"||o==="textarea"||o==="select"||u){let d=V_MODEL_TEXT,f=!1;if(o==="input"||u){const g=findProp(t,"type");if(g){if(g.type===7)d=V_MODEL_DYNAMIC;else if(g.value)switch(g.value.content){case"radio":d=V_MODEL_RADIO;break;case"checkbox":d=V_MODEL_CHECKBOX;break;case"file":f=!0,r.onError(createDOMCompilerError(59,e.loc));break}}else hasDynamicKeyVBind(t)&&(d=V_MODEL_DYNAMIC)}else o==="select"&&(d=V_MODEL_SELECT);f||(a.needRuntime=r.helper(d))}else r.onError(createDOMCompilerError(57,e.loc));return a.props=a.props.filter(d=>!(d.key.type===4&&d.key.content==="modelValue")),a},isEventOptionModifier=makeMap("passive,once,capture"),isNonKeyModifier=makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),maybeKeyModifier=makeMap("left,right"),isKeyboardEvent$1=makeMap("onkeyup,onkeydown,onkeypress",!0),resolveModifiers=(e,t,r,a)=>{const o=[],u=[],d=[];for(let f=0;fisStaticExp(e)&&e.content.toLowerCase()==="onclick"?createSimpleExpression(t,!0):e.type!==4?createCompoundExpression(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,transformOn=(e,t,r)=>transformOn$1(e,t,r,a=>{const{modifiers:o}=e;if(!o.length)return a;let{key:u,value:d}=a.props[0];const{keyModifiers:f,nonKeyModifiers:g,eventOptionModifiers:_}=resolveModifiers(u,o,r,e.loc);if(g.includes("right")&&(u=transformClick(u,"onContextmenu")),g.includes("middle")&&(u=transformClick(u,"onMouseup")),g.length&&(d=createCallExpression(r.helper(V_ON_WITH_MODIFIERS),[d,JSON.stringify(g)])),f.length&&(!isStaticExp(u)||isKeyboardEvent$1(u.content))&&(d=createCallExpression(r.helper(V_ON_WITH_KEYS),[d,JSON.stringify(f)])),_.length){const S=_.map(capitalize).join("");u=isStaticExp(u)?createSimpleExpression(`${u.content}${S}`,!0):createCompoundExpression(["(",u,`) + "${S}"`])}return{props:[createObjectProperty(u,d)]}}),transformShow=(e,t,r)=>{const{exp:a,loc:o}=e;return a||r.onError(createDOMCompilerError(61,o)),{props:[],needRuntime:r.helper(V_SHOW)}},ignoreSideEffectTags=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},DOMNodeTransforms=[transformStyle],DOMDirectiveTransforms={cloak:noopDirectiveTransform,html:transformVHtml,text:transformVText,model:transformModel,on:transformOn,show:transformShow};function compile$1(e,t={}){return baseCompile(e,extend$2({},parserOptions,t,{nodeTransforms:[ignoreSideEffectTags,...DOMNodeTransforms,...t.nodeTransforms||[]],directiveTransforms:extend$2({},DOMDirectiveTransforms,t.directiveTransforms||{}),transformHoist:null}))}/** * vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const compileCache=new WeakMap;function getCache(e){let t=compileCache.get(e??EMPTY_OBJ);return t||(t=Object.create(null),compileCache.set(e??EMPTY_OBJ,t)),t}function compileToFunction(e,t){if(!isString$1(e))if(e.nodeType)e=e.innerHTML;else return NOOP;const r=e,a=getCache(t),o=a[r];if(o)return o;if(e[0]==="#"){const g=document.querySelector(e);e=g?g.innerHTML:""}const u=extend$2({hoistStatic:!0,onError:void 0,onWarn:NOOP},t);!u.isCustomElement&&typeof customElements<"u"&&(u.isCustomElement=g=>!!customElements.get(g));const{code:d}=compile$1(e,u),f=new Function("Vue",d)(runtimeDom);return f._rc=!0,a[r]=f}registerRuntimeCompiler(compileToFunction);const Vue=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,TrackOpTypes,Transition:Transition$1,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,compile:compileToFunction,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent:defineComponent$1,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect,effectScope,getCurrentInstance:getCurrentInstance$1,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h,handleError:handleError$1,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject:inject$1,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick:nextTick$1,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref:ref$1,registerRuntimeCompiler,render:render$2,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$6,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"})),Vue3=version$6.startsWith("3");function resolveUnref(e){return typeof e=="function"?e():unref(e)}function resolveUnrefHeadInput(e,t=""){if(e instanceof Promise)return e;const r=resolveUnref(e);return!e||!r?r:Array.isArray(r)?r.map(a=>resolveUnrefHeadInput(a,t)):typeof r=="object"?Object.fromEntries(Object.entries(r).map(([a,o])=>a==="titleTemplate"||a.startsWith("on")?[a,unref(o)]:[a,resolveUnrefHeadInput(o,a)])):r}const VueReactivityPlugin={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=resolveUnrefHeadInput(t.input)}}},headSymbol="usehead";function vueInstall(e){return{install(r){Vue3&&(r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(headSymbol,e))}}.install}function createHead(e={}){e.domDelayFn=e.domDelayFn||(r=>nextTick$1(()=>setTimeout(()=>r(),0)));const t=createHead$1(e);return t.use(VueReactivityPlugin),t.install=vueInstall(t),t}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__unhead_injection_handler__";function injectHead(){if(globalKey in _global)return _global[globalKey]();const e=inject$1(headSymbol);return e||getActiveHead()}function useHead(e,t={}){const r=t.head||injectHead();if(r)return r.ssr?r.push(e,t):clientUseHead(r,e,t)}function clientUseHead(e,t,r={}){const a=ref$1(!1),o=ref$1({});watchEffect(()=>{o.value=a.value?{}:resolveUnrefHeadInput(t)});const u=e.push(o.value,r);return watch(o,f=>{u.patch(f)}),getCurrentInstance$1()&&(onBeforeUnmount(()=>{u.dispose()}),onDeactivated(()=>{a.value=!0}),onActivated(()=>{a.value=!1})),u}const VueHeadMixin={created(){let e=!1;if(Vue3){const t=getCurrentInstance$1();if(!t)return;const r=t.type;if(!r||!("head"in r))return;e=typeof r.head=="function"?()=>r.head.call(t.proxy):r.head}else{const t=this.$options.head;t&&(e=typeof t=="function"?()=>t.call(this):t)}e&&useHead(e)}};function getDevtoolsGlobalHook(){return getTarget$2().__VUE_DEVTOOLS_GLOBAL_HOOK__}function getTarget$2(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const isProxyAvailable=typeof Proxy=="function",HOOK_SETUP="devtools-plugin:setup",HOOK_PLUGIN_SETTINGS_SET="plugin:settings:set";let supported,perf;function isPerformanceSupported(){var e;return supported!==void 0||(typeof window<"u"&&window.performance?(supported=!0,perf=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(supported=!0,perf=global.perf_hooks.performance):supported=!1),supported}function now$2(){return isPerformanceSupported()?perf.now():Date.now()}class ApiProxy{constructor(t,r){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=r;const a={};if(t.settings)for(const d in t.settings){const f=t.settings[d];a[d]=f.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let u=Object.assign({},a);try{const d=localStorage.getItem(o),f=JSON.parse(d);Object.assign(u,f)}catch{}this.fallbacks={getSettings(){return u},setSettings(d){try{localStorage.setItem(o,JSON.stringify(d))}catch{}u=d},now(){return now$2()}},r&&r.on(HOOK_PLUGIN_SETTINGS_SET,(d,f)=>{d===this.plugin.id&&this.fallbacks.setSettings(f)}),this.proxiedOn=new Proxy({},{get:(d,f)=>this.target?this.target.on[f]:(...g)=>{this.onQueue.push({method:f,args:g})}}),this.proxiedTarget=new Proxy({},{get:(d,f)=>this.target?this.target[f]:f==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(f)?(...g)=>(this.targetQueue.push({method:f,args:g,resolve:()=>{}}),this.fallbacks[f](...g)):(...g)=>new Promise(_=>{this.targetQueue.push({method:f,args:g,resolve:_})})})}async setRealTarget(t){this.target=t;for(const r of this.onQueue)this.target.on[r.method](...r.args);for(const r of this.targetQueue)r.resolve(await this.target[r.method](...r.args))}}function setupDevtoolsPlugin(e,t){const r=e,a=getTarget$2(),o=getDevtoolsGlobalHook(),u=isProxyAvailable&&r.enableEarlyProxy;if(o&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!u))o.emit(HOOK_SETUP,e,t);else{const d=u?new ApiProxy(r,o):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:t,proxy:d}),d&&t(d.proxiedTarget)}}/*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT */var storeKey="store";function useStore(e){return e===void 0&&(e=null),inject$1(e!==null?e:storeKey)}function find$1(e,t){return e.filter(t)[0]}function deepCopy(e,t){if(t===void 0&&(t=[]),e===null||typeof e!="object")return e;var r=find$1(t,function(o){return o.original===e});if(r)return r.copy;var a=Array.isArray(e)?[]:{};return t.push({original:e,copy:a}),Object.keys(e).forEach(function(o){a[o]=deepCopy(e[o],t)}),a}function forEachValue(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function isObject$5(e){return e!==null&&typeof e=="object"}function isPromise(e){return e&&typeof e.then=="function"}function partial(e,t){return function(){return e(t)}}function genericSubscribe(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function resetStore(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;installModule(e,r,[],e._modules.root,!0),resetStoreState(e,r,t)}function resetStoreState(e,t,r){var a=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var u=e._wrappedGetters,d={},f={},g=effectScope(!0);g.run(function(){forEachValue(u,function(_,S){d[S]=partial(_,e),f[S]=computed(function(){return d[S]()}),Object.defineProperty(e.getters,S,{get:function(){return f[S].value},enumerable:!0})})}),e._state=reactive({data:t}),e._scope=g,e.strict&&enableStrictMode(e),a&&r&&e._withCommit(function(){a.data=null}),o&&o.stop()}function installModule(e,t,r,a,o){var u=!r.length,d=e._modules.getNamespace(r);if(a.namespaced&&(e._modulesNamespaceMap[d],e._modulesNamespaceMap[d]=a),!u&&!o){var f=getNestedState(t,r.slice(0,-1)),g=r[r.length-1];e._withCommit(function(){f[g]=a.state})}var _=a.context=makeLocalContext(e,d,r);a.forEachMutation(function(S,E){var v=d+E;registerMutation(e,v,S,_)}),a.forEachAction(function(S,E){var v=S.root?E:d+E,b=S.handler||S;registerAction(e,v,b,_)}),a.forEachGetter(function(S,E){var v=d+E;registerGetter(e,v,S,_)}),a.forEachChild(function(S,E){installModule(e,t,r.concat(E),S,o)})}function makeLocalContext(e,t,r){var a=t==="",o={dispatch:a?e.dispatch:function(u,d,f){var g=unifyObjectStyle(u,d,f),_=g.payload,S=g.options,E=g.type;return(!S||!S.root)&&(E=t+E),e.dispatch(E,_)},commit:a?e.commit:function(u,d,f){var g=unifyObjectStyle(u,d,f),_=g.payload,S=g.options,E=g.type;(!S||!S.root)&&(E=t+E),e.commit(E,_,S)}};return Object.defineProperties(o,{getters:{get:a?function(){return e.getters}:function(){return makeLocalGetters(e,t)}},state:{get:function(){return getNestedState(e.state,r)}}}),o}function makeLocalGetters(e,t){if(!e._makeLocalGettersCache[t]){var r={},a=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,a)===t){var u=o.slice(a);Object.defineProperty(r,u,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function registerMutation(e,t,r,a){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(d){r.call(e,a.state,d)})}function registerAction(e,t,r,a){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(d){var f=r.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},d);return isPromise(f)||(f=Promise.resolve(f)),e._devtoolHook?f.catch(function(g){throw e._devtoolHook.emit("vuex:error",g),g}):f})}function registerGetter(e,t,r,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(u){return r(a.state,a.getters,u.state,u.getters)})}function enableStrictMode(e){watch(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function getNestedState(e,t){return t.reduce(function(r,a){return r[a]},e)}function unifyObjectStyle(e,t,r){return isObject$5(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}var LABEL_VUEX_BINDINGS="vuex bindings",MUTATIONS_LAYER_ID="vuex:mutations",ACTIONS_LAYER_ID="vuex:actions",INSPECTOR_ID="vuex",actionId=0;function addDevtools(e,t){setupDevtoolsPlugin({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[LABEL_VUEX_BINDINGS]},function(r){r.addTimelineLayer({id:MUTATIONS_LAYER_ID,label:"Vuex Mutations",color:COLOR_LIME_500}),r.addTimelineLayer({id:ACTIONS_LAYER_ID,label:"Vuex Actions",color:COLOR_LIME_500}),r.addInspector({id:INSPECTOR_ID,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),r.on.getInspectorTree(function(a){if(a.app===e&&a.inspectorId===INSPECTOR_ID)if(a.filter){var o=[];flattenStoreForInspectorTree(o,t._modules.root,a.filter,""),a.rootNodes=o}else a.rootNodes=[formatStoreForInspectorTree(t._modules.root,"")]}),r.on.getInspectorState(function(a){if(a.app===e&&a.inspectorId===INSPECTOR_ID){var o=a.nodeId;makeLocalGetters(t,o),a.state=formatStoreForInspectorState(getStoreModule(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),r.on.editInspectorState(function(a){if(a.app===e&&a.inspectorId===INSPECTOR_ID){var o=a.nodeId,u=a.path;o!=="root"&&(u=o.split("/").filter(Boolean).concat(u)),t._withCommit(function(){a.set(t._state.data,u,a.state.value)})}}),t.subscribe(function(a,o){var u={};a.payload&&(u.payload=a.payload),u.state=o,r.notifyComponentUpdate(),r.sendInspectorTree(INSPECTOR_ID),r.sendInspectorState(INSPECTOR_ID),r.addTimelineEvent({layerId:MUTATIONS_LAYER_ID,event:{time:Date.now(),title:a.type,data:u}})}),t.subscribeAction({before:function(a,o){var u={};a.payload&&(u.payload=a.payload),a._id=actionId++,a._time=Date.now(),u.state=o,r.addTimelineEvent({layerId:ACTIONS_LAYER_ID,event:{time:a._time,title:a.type,groupId:a._id,subtitle:"start",data:u}})},after:function(a,o){var u={},d=Date.now()-a._time;u.duration={_custom:{type:"duration",display:d+"ms",tooltip:"Action duration",value:d}},a.payload&&(u.payload=a.payload),u.state=o,r.addTimelineEvent({layerId:ACTIONS_LAYER_ID,event:{time:Date.now(),title:a.type,groupId:a._id,subtitle:"end",data:u}})}})})}var COLOR_LIME_500=8702998,COLOR_DARK=6710886,COLOR_WHITE=16777215,TAG_NAMESPACED={label:"namespaced",textColor:COLOR_WHITE,backgroundColor:COLOR_DARK};function extractNameFromPath(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function formatStoreForInspectorTree(e,t){return{id:t||"root",label:extractNameFromPath(t),tags:e.namespaced?[TAG_NAMESPACED]:[],children:Object.keys(e._children).map(function(r){return formatStoreForInspectorTree(e._children[r],t+r+"/")})}}function flattenStoreForInspectorTree(e,t,r,a){a.includes(r)&&e.push({id:a||"root",label:a.endsWith("/")?a.slice(0,a.length-1):a||"Root",tags:t.namespaced?[TAG_NAMESPACED]:[]}),Object.keys(t._children).forEach(function(o){flattenStoreForInspectorTree(e,t._children[o],r,a+o+"/")})}function formatStoreForInspectorState(e,t,r){t=r==="root"?t:t[r];var a=Object.keys(t),o={state:Object.keys(e.state).map(function(d){return{key:d,editable:!0,value:e.state[d]}})};if(a.length){var u=transformPathsToObjectTree(t);o.getters=Object.keys(u).map(function(d){return{key:d.endsWith("/")?extractNameFromPath(d):d,editable:!1,value:canThrow(function(){return u[d]})}})}return o}function transformPathsToObjectTree(e){var t={};return Object.keys(e).forEach(function(r){var a=r.split("/");if(a.length>1){var o=t,u=a.pop();a.forEach(function(d){o[d]||(o[d]={_custom:{value:{},display:d,tooltip:"Module",abstract:!0}}),o=o[d]._custom.value}),o[u]=canThrow(function(){return e[r]})}else t[r]=canThrow(function(){return e[r]})}),t}function getStoreModule(e,t){var r=t.split("/").filter(function(a){return a});return r.reduce(function(a,o,u){var d=a[o];if(!d)throw new Error('Missing module "'+o+'" for path "'+t+'".');return u===r.length-1?d:d._children},t==="root"?e:e.root._children)}function canThrow(e){try{return e()}catch(t){return t}}var Module=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var a=t.state;this.state=(typeof a=="function"?a():a)||{}},prototypeAccessors$1={namespaced:{configurable:!0}};prototypeAccessors$1.namespaced.get=function(){return!!this._rawModule.namespaced};Module.prototype.addChild=function(t,r){this._children[t]=r};Module.prototype.removeChild=function(t){delete this._children[t]};Module.prototype.getChild=function(t){return this._children[t]};Module.prototype.hasChild=function(t){return t in this._children};Module.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Module.prototype.forEachChild=function(t){forEachValue(this._children,t)};Module.prototype.forEachGetter=function(t){this._rawModule.getters&&forEachValue(this._rawModule.getters,t)};Module.prototype.forEachAction=function(t){this._rawModule.actions&&forEachValue(this._rawModule.actions,t)};Module.prototype.forEachMutation=function(t){this._rawModule.mutations&&forEachValue(this._rawModule.mutations,t)};Object.defineProperties(Module.prototype,prototypeAccessors$1);var ModuleCollection=function(t){this.register([],t,!1)};ModuleCollection.prototype.get=function(t){return t.reduce(function(r,a){return r.getChild(a)},this.root)};ModuleCollection.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(a,o){return r=r.getChild(o),a+(r.namespaced?o+"/":"")},"")};ModuleCollection.prototype.update=function(t){update2([],this.root,t)};ModuleCollection.prototype.register=function(t,r,a){var o=this;a===void 0&&(a=!0);var u=new Module(r,a);if(t.length===0)this.root=u;else{var d=this.get(t.slice(0,-1));d.addChild(t[t.length-1],u)}r.modules&&forEachValue(r.modules,function(f,g){o.register(t.concat(g),f,a)})};ModuleCollection.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),a=t[t.length-1],o=r.getChild(a);o&&o.runtime&&r.removeChild(a)};ModuleCollection.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),a=t[t.length-1];return r?r.hasChild(a):!1};function update2(e,t,r){if(t.update(r),r.modules)for(var a in r.modules){if(!t.getChild(a))return;update2(e.concat(a),t.getChild(a),r.modules[a])}}function createStore(e){return new Store(e)}var Store=function(t){var r=this;t===void 0&&(t={});var a=t.plugins;a===void 0&&(a=[]);var o=t.strict;o===void 0&&(o=!1);var u=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ModuleCollection(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=u;var d=this,f=this,g=f.dispatch,_=f.commit;this.dispatch=function(v,b){return g.call(d,v,b)},this.commit=function(v,b,y){return _.call(d,v,b,y)},this.strict=o;var S=this._modules.root.state;installModule(this,S,[],this._modules.root),resetStoreState(this,S),a.forEach(function(E){return E(r)})},prototypeAccessors$2={state:{configurable:!0}};Store.prototype.install=function(t,r){t.provide(r||storeKey,this),t.config.globalProperties.$store=this;var a=this._devtools!==void 0?this._devtools:!1;a&&addDevtools(t,this)};prototypeAccessors$2.state.get=function(){return this._state.data};prototypeAccessors$2.state.set=function(e){};Store.prototype.commit=function(t,r,a){var o=this,u=unifyObjectStyle(t,r,a),d=u.type,f=u.payload,g={type:d,payload:f},_=this._mutations[d];_&&(this._withCommit(function(){_.forEach(function(E){E(f)})}),this._subscribers.slice().forEach(function(S){return S(g,o.state)}))};Store.prototype.dispatch=function(t,r){var a=this,o=unifyObjectStyle(t,r),u=o.type,d=o.payload,f={type:u,payload:d},g=this._actions[u];if(g){try{this._actionSubscribers.slice().filter(function(S){return S.before}).forEach(function(S){return S.before(f,a.state)})}catch{}var _=g.length>1?Promise.all(g.map(function(S){return S(d)})):g[0](d);return new Promise(function(S,E){_.then(function(v){try{a._actionSubscribers.filter(function(b){return b.after}).forEach(function(b){return b.after(f,a.state)})}catch{}S(v)},function(v){try{a._actionSubscribers.filter(function(b){return b.error}).forEach(function(b){return b.error(f,a.state,v)})}catch{}E(v)})})}};Store.prototype.subscribe=function(t,r){return genericSubscribe(t,this._subscribers,r)};Store.prototype.subscribeAction=function(t,r){var a=typeof t=="function"?{before:t}:t;return genericSubscribe(a,this._actionSubscribers,r)};Store.prototype.watch=function(t,r,a){var o=this;return watch(function(){return t(o.state,o.getters)},r,Object.assign({},a))};Store.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._state.data=t})};Store.prototype.registerModule=function(t,r,a){a===void 0&&(a={}),typeof t=="string"&&(t=[t]),this._modules.register(t,r),installModule(this,this.state,t,this._modules.get(t),a.preserveState),resetStoreState(this,this.state)};Store.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var a=getNestedState(r.state,t.slice(0,-1));delete a[t[t.length-1]]}),resetStore(this)};Store.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Store.prototype.hotUpdate=function(t){this._modules.update(t),resetStore(this,!0)};Store.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(Store.prototype,prototypeAccessors$2);var mapState=normalizeNamespace(function(e,t){var r={};return normalizeMap(t).forEach(function(a){var o=a.key,u=a.val;r[o]=function(){var f=this.$store.state,g=this.$store.getters;if(e){var _=getModuleByNamespace(this.$store,"mapState",e);if(!_)return;f=_.context.state,g=_.context.getters}return typeof u=="function"?u.call(this,f,g):f[u]},r[o].vuex=!0}),r}),mapMutations=normalizeNamespace(function(e,t){var r={};return normalizeMap(t).forEach(function(a){var o=a.key,u=a.val;r[o]=function(){for(var f=[],g=arguments.length;g--;)f[g]=arguments[g];var _=this.$store.commit;if(e){var S=getModuleByNamespace(this.$store,"mapMutations",e);if(!S)return;_=S.context.commit}return typeof u=="function"?u.apply(this,[_].concat(f)):_.apply(this.$store,[u].concat(f))}}),r}),mapGetters=normalizeNamespace(function(e,t){var r={};return normalizeMap(t).forEach(function(a){var o=a.key,u=a.val;u=e+u,r[o]=function(){if(!(e&&!getModuleByNamespace(this.$store,"mapGetters",e)))return this.$store.getters[u]},r[o].vuex=!0}),r}),mapActions=normalizeNamespace(function(e,t){var r={};return normalizeMap(t).forEach(function(a){var o=a.key,u=a.val;r[o]=function(){for(var f=[],g=arguments.length;g--;)f[g]=arguments[g];var _=this.$store.dispatch;if(e){var S=getModuleByNamespace(this.$store,"mapActions",e);if(!S)return;_=S.context.dispatch}return typeof u=="function"?u.apply(this,[_].concat(f)):_.apply(this.$store,[u].concat(f))}}),r}),createNamespacedHelpers=function(e){return{mapState:mapState.bind(null,e),mapGetters:mapGetters.bind(null,e),mapMutations:mapMutations.bind(null,e),mapActions:mapActions.bind(null,e)}};function normalizeMap(e){return isValidMap(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function isValidMap(e){return Array.isArray(e)||isObject$5(e)}function normalizeNamespace(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function getModuleByNamespace(e,t,r){var a=e._modulesNamespaceMap[r];return a}function createLogger(e){e===void 0&&(e={});var t=e.collapsed;t===void 0&&(t=!0);var r=e.filter;r===void 0&&(r=function(S,E,v){return!0});var a=e.transformer;a===void 0&&(a=function(S){return S});var o=e.mutationTransformer;o===void 0&&(o=function(S){return S});var u=e.actionFilter;u===void 0&&(u=function(S,E){return!0});var d=e.actionTransformer;d===void 0&&(d=function(S){return S});var f=e.logMutations;f===void 0&&(f=!0);var g=e.logActions;g===void 0&&(g=!0);var _=e.logger;return _===void 0&&(_=console),function(S){var E=deepCopy(S.state);typeof _>"u"||(f&&S.subscribe(function(v,b){var y=deepCopy(b);if(r(v,E,y)){var T=getFormattedTime(),C=o(v),R="mutation "+v.type+T;startMessage(_,R,t),_.log("%c prev state","color: #9E9E9E; font-weight: bold",a(E)),_.log("%c mutation","color: #03A9F4; font-weight: bold",C),_.log("%c next state","color: #4CAF50; font-weight: bold",a(y)),endMessage(_)}E=y}),g&&S.subscribeAction(function(v,b){if(u(v,b)){var y=getFormattedTime(),T=d(v),C="action "+v.type+y;startMessage(_,C,t),_.log("%c action","color: #03A9F4; font-weight: bold",T),endMessage(_)}}))}}function startMessage(e,t,r){var a=r?e.groupCollapsed:e.group;try{a.call(e,t)}catch{e.log(t)}}function endMessage(e){try{e.groupEnd()}catch{e.log("—— log end ——")}}function getFormattedTime(){var e=new Date;return" @ "+pad(e.getHours(),2)+":"+pad(e.getMinutes(),2)+":"+pad(e.getSeconds(),2)+"."+pad(e.getMilliseconds(),3)}function repeat$1(e,t){return new Array(t+1).join(e)}function pad(e,t){return repeat$1("0",t-e.toString().length)+e}var index$1={version:"4.1.0",Store,storeKey,createStore,useStore,mapState,mapMutations,mapGetters,mapActions,createNamespacedHelpers,createLogger};const vuex=Object.freeze(Object.defineProperty({__proto__:null,Store,createLogger,createNamespacedHelpers,createStore,default:index$1,mapActions,mapGetters,mapMutations,mapState,storeKey,useStore},Symbol.toStringTag,{value:"Module"})),scriptRel="modulepreload",assetsURL=function(e,t){return new URL(e,t).href},seen={},__vitePreload=function(t,r,a){let o=Promise.resolve();if(r&&r.length>0){const u=document.getElementsByTagName("link"),d=document.querySelector("meta[property=csp-nonce]"),f=(d==null?void 0:d.nonce)||(d==null?void 0:d.getAttribute("nonce"));o=Promise.all(r.map(g=>{if(g=assetsURL(g,a),g in seen)return;seen[g]=!0;const _=g.endsWith(".css"),S=_?'[rel="stylesheet"]':"";if(!!a)for(let b=u.length-1;b>=0;b--){const y=u[b];if(y.href===g&&(!_||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${g}"]${S}`))return;const v=document.createElement("link");if(v.rel=_?"stylesheet":scriptRel,_||(v.as="script",v.crossOrigin=""),v.href=g,f&&v.setAttribute("nonce",f),document.head.appendChild(v),_)return new Promise((b,y)=>{v.addEventListener("load",b),v.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${g}`)))})}))}return o.then(()=>t()).catch(u=>{const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u})};function registerSW(e={}){const{immediate:t=!1,onNeedRefresh:r,onOfflineReady:a,onRegistered:o,onRegisteredSW:u,onRegisterError:d}=e;let f,g;const _=async(E=!0)=>{await g};async function S(){if("serviceWorker"in navigator){if(f=await __vitePreload(()=>import("./workbox-window.prod.es5-Ck4lWPv4.js"),[],import.meta.url).then(({Workbox:E})=>new E("./sw.js",{scope:"./",type:"classic"})).catch(E=>{d==null||d(E)}),!f)return;f.addEventListener("activated",E=>{(E.isUpdate||E.isExternal)&&window.location.reload()}),f.addEventListener("installed",E=>{E.isUpdate||a==null||a()}),f.register({immediate:t}).then(E=>{u?u("./sw.js",E):o==null||o(E)}).catch(E=>{d==null||d(E)})}}return g=S(),_}function useRegisterSW(e={}){const{immediate:t=!0,onNeedRefresh:r,onOfflineReady:a,onRegistered:o,onRegisteredSW:u,onRegisterError:d}=e,f=ref$1(!1),g=ref$1(!1);return{updateServiceWorker:registerSW({immediate:t,onNeedRefresh(){f.value=!0,r==null||r()},onOfflineReady(){g.value=!0,a==null||a()},onRegistered:o,onRegisteredSW:u,onRegisterError:d}),offlineReady:g,needRefresh:f}}const _export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[a,o]of t)r[a]=o;return r},_sfc_main$z={name:"PWABadge",data(){return{period:60*60*1e3,swActivated:!1,offlineReady:!1,needRefresh:!1,updateServiceWorker:null}},computed:{title(){return this.offlineReady?"App is offline ready":this.needRefresh?"New content available, click on reload button to update.":""}},created(){const{offlineReady:e,needRefresh:t,updateServiceWorker:r}=useRegisterSW({immediate:!0,onRegisteredSW:(a,o)=>{var u;this.period<=0||(((u=o==null?void 0:o.active)==null?void 0:u.state)==="activated"?(this.swActivated=!0,this.registerPeriodicSync(a,o)):o!=null&&o.installing&&o.installing.addEventListener("statechange",d=>{const f=d.target;this.swActivated=f.state==="activated",this.swActivated&&this.registerPeriodicSync(a,o)}))}});this.offlineReady=e,this.needRefresh=t,this.updateServiceWorker=r},methods:{registerPeriodicSync(e,t){this.period<=0||setInterval(async()=>{if("onLine"in navigator&&!navigator.onLine)return;const r=await fetch(e,{cache:"no-store",headers:{cache:"no-store","cache-control":"no-cache"}});(r==null?void 0:r.status)===200&&await t.update()},this.period)},close(){this.offlineReady=!1,this.needRefresh=!1}}},_hoisted_1$p={key:0,class:"pwa-toast","aria-labelledby":"toast-message",role:"alert"},_hoisted_2$k={class:"message"},_hoisted_3$b={id:"toast-message"},_hoisted_4$6={class:"buttons"};function _sfc_render$w(e,t,r,a,o,u){return o.offlineReady||o.needRefresh?(openBlock(),createElementBlock("div",_hoisted_1$p,[createBaseVNode("div",_hoisted_2$k,[createBaseVNode("span",_hoisted_3$b,toDisplayString(u.title),1)]),createBaseVNode("div",_hoisted_4$6,[o.needRefresh?(openBlock(),createElementBlock("button",{key:0,type:"button",class:"reload",onClick:t[0]||(t[0]=(...d)=>o.updateServiceWorker&&o.updateServiceWorker(...d))}," Reload ")):createCommentVNode("",!0),createBaseVNode("button",{type:"button",onClick:t[1]||(t[1]=(...d)=>u.close&&u.close(...d))}," Close ")])])):createCommentVNode("",!0)}const PWABadge=_export_sfc(_sfc_main$z,[["render",_sfc_render$w],["__scopeId","data-v-da2fdc7e"]]),_sfc_main$y={name:"LoadingAnimation"},_hoisted_1$o={class:"nrdb-loading",width:"64",height:"64",viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg",fill:"currentFill"},_hoisted_2$j=createStaticVNode('',9),_hoisted_11$2=[_hoisted_2$j];function _sfc_render$v(e,t,r,a,o,u){return openBlock(),createElementBlock("svg",_hoisted_1$o,_hoisted_11$2)}const DashboardLoading=_export_sfc(_sfc_main$y,[["render",_sfc_render$v]]),_sfc_main$x={name:"DebugData",props:{item:{type:String,required:!0},store:{type:String,required:!0}},data(){return{data:null}},computed:{...mapState("setup",["setup"])},created(){this.getData()},mounted(){this.getData()},methods:{getData(){const e=new XMLHttpRequest;e.open("GET",`${this.setup.basePath}/_debug/${this.store}store/${this.item}`),e.send(),e.responseType="json",e.onload=()=>{if(e.readyState===4&&e.status===200){const t=e.response;this.data=t}else console.error(`Error: ${e.status}`)}}}},_hoisted_1$n={key:0,style:{padding:"12px",opacity:"0.5"}},_hoisted_2$i={key:1,style:{padding:"12px",opacity:"0.5"}},_hoisted_3$a={key:2,style:{padding:"12px",opacity:"0.5"}};function _sfc_render$u(e,t,r,a,o,u){const d=resolveComponent("v-btn");return openBlock(),createElementBlock(Fragment,null,[o.data&&Array.isArray(o.data)&&o.data.length>10?(openBlock(),createElementBlock("pre",_hoisted_1$n,"Array<"+toDisplayString(o.data.length)+`> `+toDisplayString(o.data.slice(0,10))+` ... [+ `+toDisplayString(o.data.length-10)+` more] `,1)):o.data?(openBlock(),createElementBlock("pre",_hoisted_2$i,toDisplayString(o.data),1)):(openBlock(),createElementBlock("p",_hoisted_3$a,"No Data Found")),createVNode(d,{style:{margin:"12px"},variant:"outlined","prepend-icon":"mdi-refresh",onClick:t[0]||(t[0]=f=>u.getData())},{default:withCtx(()=>[createTextVNode("Refresh")]),_:1})],64)}const DebugData=_export_sfc(_sfc_main$x,[["render",_sfc_render$u]]);function getProperty(e,t){return t.split(".").forEach(a=>{e&&(e=e[a])}),e}const _sfc_main$w={name:"DebugView",components:{"debug-data":DebugData},inject:["$socket","$dataTracker"],data(){return{view:{tab:"",nested:"properties"},filters:{pages:[],groups:[],widgets:[]},search:{groups:"",widgets:""},messages:[]}},computed:{...mapState("ui",["dashboards","pages","themes","groups","widgets"]),...mapState("data",["messages"]),items:function(){return{dashboards:Object.values(this.dashboards),pages:Object.values(this.pages).filter(e=>this.filters.pages.every(t=>getProperty(e,t.key)===t.value)),themes:Object.values(this.themes),groups:Object.values(this.groups).filter(e=>this.filters.groups.every(t=>getProperty(e,t.key)===t.value)),widgets:Object.values(this.widgets).filter(e=>this.filters.widgets.every(t=>getProperty(e,t.key)===t.value))}},headers:function(){return{dashboards:[{title:"ID",value:"id"},{title:"Name",value:"name"},{title:"Path",value:"path"},{title:"",value:"filter.pages",align:"end"}],themes:[{title:"ID",value:"id"},{title:"Name",value:"name"},{title:"Colors",value:"colors"},{title:"Sizes",value:"sizes"}],pages:[{title:"ID",value:"id"},{title:"Name",value:"name"},{title:"Path",value:"path"},{title:"Layout",value:"layout"},{title:"",value:"filter.groups",align:"end"}],groups:[{title:"ID",value:"id"},{title:"Name",value:"name"},{title:"Size",value:"size"},{title:"",value:"filter.widgets",align:"end"}],widgets:[{title:"ID",value:"id"},{title:"Name",value:"props.name"},{title:"Label",value:"props.label"},{title:"Type",value:"type"},{title:"Size",value:"size"}]}}},methods:{applyFilter(e,t,r){this.filters[e].push({key:t,value:r}),this.view.tab=e},clearFilter(e,t){this.filters[e].splice(t,1)},refresh(){this.$socket.disconnect(),this.$socket.connect()}}},_hoisted_1$m={class:"nrdb-debug-view"},_hoisted_2$h=createBaseVNode("div",{class:"nrdb-debug-description"},[createBaseVNode("p",null,'Data does not automatically update for each item (as event listeners are managed within the rendered components), you will need to manually "refresh" to see updated data.'),createBaseVNode("p",null,[createTextVNode("This will reconnect the socket connection, where this UI will receive the latest "),createBaseVNode("code",null,"ui-config"),createTextVNode(" message.")])],-1),_hoisted_3$9=["colspan"],_hoisted_4$5={key:0,class:"debug-filters"},_hoisted_5$4=createBaseVNode("label",null,"Filters:",-1),_hoisted_6$5={class:"debug-filters-chips"},_hoisted_7$3=["colspan"],_hoisted_8$2={key:0,class:"debug-filters"},_hoisted_9$2=createBaseVNode("label",null,"Filters:",-1),_hoisted_10$2={class:"debug-filters-chips"},_hoisted_11$1=["colspan"],_hoisted_12={key:0,class:"debug-filters"},_hoisted_13=createBaseVNode("label",null,"Filters:",-1),_hoisted_14={class:"debug-filters-chips"},_hoisted_15=["colspan"];function _sfc_render$t(e,t,r,a,o,u){const d=resolveComponent("v-btn"),f=resolveComponent("v-tab"),g=resolveComponent("v-tabs"),_=resolveComponent("v-data-table"),S=resolveComponent("v-window-item"),E=resolveComponent("v-chip"),v=resolveComponent("debug-data"),b=resolveComponent("v-window"),y=resolveComponent("v-text-field");return openBlock(),createElementBlock("div",_hoisted_1$m,[createBaseVNode("h1",null,[createTextVNode("Dashboard Debug View "),createVNode(d,{variant:"outlined","prepend-icon":"mdi-refresh",onClick:t[0]||(t[0]=T=>u.refresh())},{default:withCtx(()=>[createTextVNode("Refresh")]),_:1})]),_hoisted_2$h,createVNode(g,{modelValue:o.view.tab,"onUpdate:modelValue":t[1]||(t[1]=T=>o.view.tab=T)},{default:withCtx(()=>[createVNode(f,{value:"dashboards"},{default:withCtx(()=>[createTextVNode("Dashboards")]),_:1}),createVNode(f,{value:"themes"},{default:withCtx(()=>[createTextVNode("Themes")]),_:1}),createVNode(f,{value:"pages"},{default:withCtx(()=>[createTextVNode("Pages")]),_:1}),createVNode(f,{value:"groups"},{default:withCtx(()=>[createTextVNode("Groups")]),_:1}),createVNode(f,{value:"widgets"},{default:withCtx(()=>[createTextVNode("Widgets")]),_:1})]),_:1},8,["modelValue"]),createVNode(b,{modelValue:o.view.tab,"onUpdate:modelValue":t[10]||(t[10]=T=>o.view.tab=T)},{default:withCtx(()=>[createVNode(S,{value:"dashboards"},{default:withCtx(()=>[createVNode(_,{headers:u.headers.dashboards,items:u.items.dashboards,"show-expand":"","items-per-page":-1},{"item.filter.pages":withCtx(({item:T})=>[createVNode(d,{variant:"outlined",onClick:C=>u.applyFilter("pages","ui",T.id)},{default:withCtx(()=>[createTextVNode("Show Pages")]),_:2},1032,["onClick"])]),"expanded-row":withCtx(({columns:T,item:C})=>[createBaseVNode("tr",null,[createBaseVNode("td",{colspan:T.length,class:"nested-table"},[createVNode(_,{color:"white",items:Object.entries(C).map(function(R){return{property:R[0],value:R[1],type:typeof R[1]}}),"items-per-page":-1},{bottom:withCtx(()=>[]),_:2},1032,["items"])],8,_hoisted_3$9)])]),_:1},8,["headers","items"])]),_:1}),createVNode(S,{value:"themes"},{default:withCtx(()=>[createVNode(_,{headers:u.headers.themes,items:u.items.themes,"items-per-page":-1},null,8,["headers","items"])]),_:1}),createVNode(S,{value:"pages"},{default:withCtx(()=>[o.filters.pages&&o.filters.pages.length>0?(openBlock(),createElementBlock("div",_hoisted_4$5,[_hoisted_5$4,createBaseVNode("div",_hoisted_6$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.filters.pages,(T,C)=>(openBlock(),createBlock(E,{key:T.key,closable:"","onClick:close":R=>u.clearFilter("pages",C)},{default:withCtx(()=>[createTextVNode(toDisplayString(T.key)+": "+toDisplayString(T.value),1)]),_:2},1032,["onClick:close"]))),128))])])):createCommentVNode("",!0),createVNode(_,{headers:u.headers.pages,items:u.items.pages,"show-expand":"","items-per-page":-1},{"item.filter.groups":withCtx(({item:T})=>[T.type==="ui-page"?(openBlock(),createBlock(d,{key:0,variant:"outlined",onClick:C=>u.applyFilter("groups","page",T.id)},{default:withCtx(()=>[createTextVNode("Show Groups")]),_:2},1032,["onClick"])):createCommentVNode("",!0)]),"expanded-row":withCtx(({columns:T,item:C})=>[createBaseVNode("tr",null,[createBaseVNode("td",{colspan:T.length,class:"nested-table"},[createVNode(g,{modelValue:o.view.nested,"onUpdate:modelValue":t[2]||(t[2]=R=>o.view.nested=R)},{default:withCtx(()=>[createVNode(f,{value:"properties"},{default:withCtx(()=>[createTextVNode("Properties")]),_:1}),createVNode(f,{value:"statestore"},{default:withCtx(()=>[createTextVNode("Dynamic Properties")]),_:1})]),_:1},8,["modelValue"]),createVNode(b,{modelValue:o.view.nested,"onUpdate:modelValue":t[3]||(t[3]=R=>o.view.nested=R)},{default:withCtx(()=>[createVNode(S,{value:"properties"},{default:withCtx(()=>[createVNode(_,{color:"white",items:Object.entries(C).map(function(R){return{property:R[0],value:R[1],type:typeof R[1]}}),"items-per-page":-1},{bottom:withCtx(()=>[]),_:2},1032,["items"])]),_:2},1024),createVNode(S,{value:"statestore"},{default:withCtx(()=>[createVNode(v,{type:"page",item:C.id,store:"state"},null,8,["item"])]),_:2},1024)]),_:2},1032,["modelValue"])],8,_hoisted_7$3)])]),_:1},8,["headers","items"])]),_:1}),createVNode(S,{value:"groups"},{default:withCtx(()=>[o.filters.groups&&o.filters.groups.length>0?(openBlock(),createElementBlock("div",_hoisted_8$2,[_hoisted_9$2,createBaseVNode("div",_hoisted_10$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.filters.groups,(T,C)=>(openBlock(),createBlock(E,{key:T.key,closable:"","onClick:close":R=>u.clearFilter("groups",C)},{default:withCtx(()=>[createTextVNode(toDisplayString(T.key)+": "+toDisplayString(T.value),1)]),_:2},1032,["onClick:close"]))),128))])])):createCommentVNode("",!0),createVNode(y,{modelValue:o.search.groups,"onUpdate:modelValue":t[4]||(t[4]=T=>o.search.groups=T),label:"Search","prepend-inner-icon":"mdi-magnify","single-line":"",variant:"outlined","hide-details":""},null,8,["modelValue"]),createVNode(_,{headers:u.headers.groups,items:u.items.groups,"items-per-page":-1,"show-expand":"",search:o.search.groups},{"item.size":withCtx(({item:T})=>[createBaseVNode("span",null,toDisplayString(T.width)+"x"+toDisplayString(T.height||"auto"),1)]),"item.filter.widgets":withCtx(({item:T})=>[createVNode(d,{variant:"outlined",onClick:C=>u.applyFilter("widgets","props.group",T.id)},{default:withCtx(()=>[createTextVNode("Show Widgets")]),_:2},1032,["onClick"])]),"expanded-row":withCtx(({columns:T,item:C})=>[createBaseVNode("tr",null,[createBaseVNode("td",{colspan:T.length,class:"nested-table"},[createVNode(g,{modelValue:o.view.nested,"onUpdate:modelValue":t[5]||(t[5]=R=>o.view.nested=R)},{default:withCtx(()=>[createVNode(f,{value:"properties"},{default:withCtx(()=>[createTextVNode("Properties")]),_:1}),createVNode(f,{value:"statestore"},{default:withCtx(()=>[createTextVNode("Dynamic Properties")]),_:1})]),_:1},8,["modelValue"]),createVNode(b,{modelValue:o.view.nested,"onUpdate:modelValue":t[6]||(t[6]=R=>o.view.nested=R)},{default:withCtx(()=>[createVNode(S,{value:"properties"},{default:withCtx(()=>[createVNode(_,{color:"white",items:Object.entries(C).map(function(R){return{property:R[0],value:R[1],type:typeof R[1]}}),"items-per-page":-1},{bottom:withCtx(()=>[]),_:2},1032,["items"])]),_:2},1024),createVNode(S,{value:"statestore"},{default:withCtx(()=>[createVNode(v,{item:C.id,store:"state"},null,8,["item"])]),_:2},1024)]),_:2},1032,["modelValue"])],8,_hoisted_11$1)])]),_:1},8,["headers","items","search"])]),_:1}),createVNode(S,{value:"widgets"},{default:withCtx(()=>[o.filters.widgets&&o.filters.widgets.length>0?(openBlock(),createElementBlock("div",_hoisted_12,[_hoisted_13,createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.filters.widgets,(T,C)=>(openBlock(),createBlock(E,{key:T.key,closable:"","onClick:close":R=>u.clearFilter("widgets",C)},{default:withCtx(()=>[createTextVNode(toDisplayString(T.key)+": "+toDisplayString(T.value),1)]),_:2},1032,["onClick:close"]))),128))])])):createCommentVNode("",!0),createVNode(y,{modelValue:o.search.widgets,"onUpdate:modelValue":t[7]||(t[7]=T=>o.search.widgets=T),label:"Search","prepend-inner-icon":"mdi-magnify","single-line":"",variant:"outlined","hide-details":""},null,8,["modelValue"]),createVNode(_,{headers:u.headers.widgets,items:u.items.widgets,"items-per-page":-1,"show-expand":"",search:o.search.widgets},{"item.size":withCtx(({item:T})=>[createBaseVNode("span",null,toDisplayString(T.props.width||"auto ")+"x"+toDisplayString(T.props.height||" auto"),1)]),"expanded-row":withCtx(({columns:T,item:C})=>[createBaseVNode("tr",null,[createBaseVNode("td",{colspan:T.length,class:"nested-table"},[createVNode(g,{modelValue:o.view.nested,"onUpdate:modelValue":t[8]||(t[8]=R=>o.view.nested=R)},{default:withCtx(()=>[createVNode(f,{value:"properties"},{default:withCtx(()=>[createTextVNode("Properties")]),_:1}),createVNode(f,{value:"datastore"},{default:withCtx(()=>[createTextVNode("Message History")]),_:1}),createVNode(f,{value:"statestore"},{default:withCtx(()=>[createTextVNode("Dynamic Properties")]),_:1})]),_:1},8,["modelValue"]),createVNode(b,{modelValue:o.view.nested,"onUpdate:modelValue":t[9]||(t[9]=R=>o.view.nested=R)},{default:withCtx(()=>[createVNode(S,{value:"properties"},{default:withCtx(()=>[createVNode(_,{color:"white",items:Object.entries(C.props).map(function(R){return{property:R[0],value:R[1],type:typeof R[1]}}),"items-per-page":-1},{bottom:withCtx(()=>[]),_:2},1032,["items"])]),_:2},1024),createVNode(S,{value:"datastore"},{default:withCtx(()=>[createVNode(v,{item:C.id,store:"data"},null,8,["item"])]),_:2},1024),createVNode(S,{value:"statestore"},{default:withCtx(()=>[createVNode(v,{item:C.id,store:"state"},null,8,["item"])]),_:2},1024)]),_:2},1032,["modelValue"])],8,_hoisted_15)])]),_:1},8,["headers","items","search"])]),_:1})]),_:1},8,["modelValue"])])}const DebugView=_export_sfc(_sfc_main$w,[["render",_sfc_render$t]]),subscriptions=[],Alerts={subscribe:function(e){subscriptions.push(e)},emit:function(e,t,r,a){for(let o=0;o({})},state:{type:Object,default:()=>({})}},data(){return{show:!1,tik:0,countdown:0,timeouts:{close:null,step:null}}},computed:{...mapState("data",["messages"]),value:function(){var e;return(e=this.messages[this.id])==null?void 0:e.payload},allowConfirm(){return this.getProperty("allowConfirm")},allowDismiss(){return this.getProperty("allowDismiss")},progressColor(){var e;return((e=this.messages[this.id])==null?void 0:e.color)||(this.props.colorDefault?"primary":this.color)},color(){return this.props.colorDefault?"rgb(var(--v-theme-group-background))":this.getProperty("color")},confirmText(){return this.getProperty("confirmText")},dismissText(){return this.getProperty("dismissText")},displayTime(){return this.getProperty("displayTime")},position(){return this.getProperty("position")},raw(){return this.getProperty("raw")},showCountdown(){return this.getProperty("showCountdown")}},created(){this.$dataTracker(this.id,this.onMsgInput,null,this.onDynamicProperties)},methods:{onDynamicProperties(e){const t=e.ui_update;t&&(this.updateDynamicProperty("allowConfirm",t.allowConfirm),this.updateDynamicProperty("allowDismiss",t.allowDismiss),this.updateDynamicProperty("color",t.color),this.updateDynamicProperty("confirmText",t.confirmText),this.updateDynamicProperty("dismissText",t.dismissText),this.updateDynamicProperty("displayTime",t.displayTime),this.updateDynamicProperty("position",t.position),this.updateDynamicProperty("raw",t.raw),this.updateDynamicProperty("showCountdown",t.showCountdown))},onMsgInput(e){e.payload&&this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.show===!0||typeof e.payload<"u"?this.show||(this.show=!0,this.displayTime>0&&this.startCountdown(this.displayTime*1e3)):e.show===!1&&this.show&&this.close("input_msg")},startCountdown(e){this.tik=new Date().getTime(),this.timeouts.close=setTimeout(()=>{this.close("timeout")},e),this.timeouts.step=setInterval(()=>{const r=(new Date().getTime()-this.tik)/1e3;this.countdown=100-r/parseFloat(this.displayTime)*100},100)},close(e){this.show=!1;const t=this.messages[this.id]||{};this.$socket.emit("widget-action",this.id,{...t,payload:e}),clearTimeout(this.timeouts.close),clearInterval(this.timeouts.step),this.tik=null,this.timeouts.close=null,this.timeouts.step=null}}},_hoisted_1$l={key:0,class:"nrdb-ui-notification-countdown"},_hoisted_2$g={key:1},_hoisted_3$8=["innerHTML"];function _sfc_render$s(e,t,r,a,o,u){const d=resolveComponent("v-progress-linear"),f=resolveComponent("v-btn"),g=resolveComponent("v-snackbar");return openBlock(),createBlock(g,{modelValue:o.show,"onUpdate:modelValue":t[3]||(t[3]=_=>o.show=_),class:"nrdb-ui-notification",vertical:"","multi-line":"",timeout:-1,location:u.position,style:normalizeStyle({"--nrdb-ui-notification-color":u.color})},createSlots({default:withCtx(()=>[u.showCountdown?(openBlock(),createElementBlock("div",_hoisted_1$l,[createVNode(d,{modelValue:o.countdown,"onUpdate:modelValue":t[0]||(t[0]=_=>o.countdown=_),color:u.progressColor,style:{display:"block",width:"100%"}},null,8,["modelValue","color"])])):createCommentVNode("",!0),u.raw?(openBlock(),createElementBlock("div",{key:2,innerHTML:u.value},null,8,_hoisted_3$8)):(openBlock(),createElementBlock("div",_hoisted_2$g,toDisplayString(u.value),1))]),_:2},[u.allowDismiss||u.allowConfirm?{name:"actions",fn:withCtx(()=>[u.allowDismiss?(openBlock(),createBlock(f,{key:0,variant:"text",onClick:t[1]||(t[1]=_=>u.close("dismiss_clicked"))},{default:withCtx(()=>[createTextVNode(toDisplayString(u.dismissText),1)]),_:1})):createCommentVNode("",!0),u.allowConfirm?(openBlock(),createBlock(f,{key:1,variant:"text",onClick:t[2]||(t[2]=_=>u.close("confirm_clicked"))},{default:withCtx(()=>[createTextVNode(toDisplayString(u.confirmText),1)]),_:1})):createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["modelValue","location","style"])}const UINotification=_export_sfc(_sfc_main$v,[["render",_sfc_render$s]]);function hexToRgb(e){const t=parseInt(e.replace("#",""),16),r=t>>16&255,a=t>>8&255,o=t&255;return[r,a,o]}function getContrast$1(e){const t=hexToRgb(e);return Math.round((parseInt(t[0])*299+parseInt(t[1])*587+parseInt(t[2])*114)/1e3)>125?"#000000":"#ffffff"}const _sfc_main$u={name:"BaslineLayout",components:{"ui-notification":UINotification},props:{pageTitle:{type:String,default:"Page Title Here"}},data(){return{drawer:!1,rail:!1,customThemeDefinitions:{},alert:{displayTime:0,allowDismiss:!1,showCountdown:!1}}},computed:{...mapState("ui",["dashboards","pages","themes","pageData","widgets"]),...mapGetters("ui",["siteTemplates","pageTemplates"]),theme:function(){const e=this.pages[this.$route.meta.id];return e?this.themes[e==null?void 0:e.theme]:null},orderedPages:function(){return Object.values(this.pages).filter(e=>!("visible"in e&&!e.visible)).sort((e,t)=>e.order-t.order)},uiWidgets:function(){return Object.values(this.widgets).filter(t=>Object.hasOwn(t.props,"ui")&&!!t.props.ui&&!t.props.group&&!t.props.page)},dashboard:function(){const e=Object.keys(this.dashboards)[0];return this.dashboards[e]},appBarStyle:function(){return this.dashboard.titleBarStyle||"default"},navigationStyle:function(){const e=this.dashboard.navigationStyle;return[null,"default","fixed","icon","temporary","none"].includes(e)?e:(console.warn(`Invalid navigationStyle value: ${e}`),"default")},navPosition:function(){return this.appBarStyle==="fixed"?"fixed":"absolute"},density:function(){var e;return((e=this.theme)==null?void 0:e.sizes.density)||"default"}},watch:{theme:function(){this.updateTheme()},navigationStyle:{immediate:!0,handler(){["fixed","icon"].includes(this.navigationStyle)&&(this.drawer=!0),["icon"].includes(this.navigationStyle)&&(this.rail=!0)}}},mounted(){this.updateTheme(),Alerts.subscribe((e,t,r,a)=>{this.$refs.alert.close(),this.alert=a,this.$nextTick(()=>{this.$refs.alert.onMsgInput({payload:`

${e}

${t}

`,color:r})})})},methods:{go:function(e){this.$router.push({name:e})},updateTheme(){const e=this.$vuetify.theme.themes.nrdb.colors,t=this.customThemeDefinitions;this.theme&&(e["navigation-background"]=this.theme.colors.surface,e.primary=this.theme.colors.primary,e["on-primary"]=getContrast$1(this.theme.colors.primary),e.background=this.theme.colors.bgPage,e["group-background"]=this.theme.colors.groupBg,e["group-outline"]=this.theme.colors.groupOutline,e.surface=this.theme.colors.groupBg,t["--page-padding"]=this.theme.sizes.pagePadding,t["--group-gap"]=this.theme.sizes.groupGap,t["--group-border-radius"]=this.theme.sizes.groupBorderRadius,t["--widget-gap"]=this.theme.sizes.widgetGap,this.$vuetify.defaults.global.density=this.density)},getPageLabel(e){return e.name+(this.dashboard.showPathInSidebar?` (${e.path})`:"")},handleNavigationClick(){this.navigationStyle!=="fixed"&&(this.navigationStyle==="icon"?this.rail=!this.rail:this.drawer=!this.drawer)},closeNavigationDrawer(){this.navigationStyle==="default"&&(this.drawer=!1)}}},_hoisted_1$k=createBaseVNode("div",{id:"app-bar-title"},null,-1),_hoisted_2$f=createBaseVNode("div",{id:"app-bar-actions"},null,-1),_hoisted_3$7={class:"nrdb-layout-overlay"};function _sfc_render$r(e,t,r,a,o,u){const d=resolveComponent("v-app-bar-nav-icon"),f=resolveComponent("v-app-bar-title"),g=resolveComponent("v-app-bar"),_=resolveComponent("v-list-item"),S=resolveComponent("v-list"),E=resolveComponent("v-navigation-drawer"),v=resolveComponent("ui-notification"),b=resolveComponent("v-main"),y=resolveComponent("v-app");return openBlock(),createBlock(y,{class:normalizeClass(["nrdb-app nrdb-app--baseline",`nrdb-view-density--${u.density}`]),style:normalizeStyle(o.customThemeDefinitions)},{default:withCtx(()=>[u.appBarStyle!=="hidden"?(openBlock(),createBlock(g,{key:0,style:normalizeStyle({position:u.navPosition}),elevation:1},createSlots({append:withCtx(()=>[_hoisted_2$f]),default:withCtx(()=>[createVNode(f,null,{default:withCtx(()=>[u.dashboard.showPageTitle===!0||u.dashboard.showPageTitle===void 0?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(r.pageTitle),1)],64)):createCommentVNode("",!0),_hoisted_1$k]),_:1})]),_:2},[["none","fixed","hidden"].includes(u.navigationStyle)?void 0:{name:"prepend",fn:withCtx(()=>[createVNode(d,{onClick:u.handleNavigationClick},null,8,["onClick"])]),key:"0"}]),1032,["style"])):createCommentVNode("",!0),createVNode(b,null,{default:withCtx(()=>[u.navigationStyle!=="hidden"?(openBlock(),createBlock(E,{key:0,modelValue:o.drawer,"onUpdate:modelValue":t[1]||(t[1]=T=>o.drawer=T),rail:o.rail,"rail-width":68,"data-el":"nav-drawer","mobile-breakpoint":["none","fixed"].includes(u.navigationStyle)?"0":"md",temporary:u.navigationStyle==="temporary",permanent:u.navigationStyle==="icon",style:normalizeStyle({position:u.navPosition})},{default:withCtx(()=>[createVNode(S,{nav:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.orderedPages,T=>{var C;return openBlock(),createBlock(_,{key:T.id,"active-class":"v-list-item--active",disabled:T.disabled||void 0,"prepend-icon":`mdi-${((C=T.icon)==null?void 0:C.replace(/^mdi-/,""))||"home"}`,title:u.getPageLabel(T),href:T.type==="ui-link"?T.path:null,to:T.type==="ui-page"?{name:T.route.name}:null,"data-nav":T.id,onClick:t[0]||(t[0]=R=>u.closeNavigationDrawer())},null,8,["disabled","prepend-icon","title","href","to","data-nav"])}),128))]),_:1})]),_:1},8,["modelValue","rail","mobile-breakpoint","temporary","permanent","style"])):createCommentVNode("",!0),renderSlot(e.$slots,"default",{class:"nrdb-layout"}),createBaseVNode("div",_hoisted_3$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.uiWidgets,T=>(openBlock(),createBlock(resolveDynamicComponent(T.component),{id:T.id,key:T.id,props:T.props,state:T.state},null,8,["id","props","state"]))),128)),createVNode(v,{id:"ui-inline-alert",ref:"alert",props:{position:"top right",showCountdown:o.alert.showCountdown,displayTime:o.alert.displayTime,raw:!0,allowDismiss:o.alert.allowDismiss}},null,8,["props"])])]),_:3})]),_:3},8,["class","style"])}const BaselineLayout=_export_sfc(_sfc_main$u,[["render",_sfc_render$r]]),_sfc_main$t={name:"WidgetGroup",props:{group:{type:Object,required:!0},widgets:{type:Array,required:!0}},computed:{columns(){return this.group.width}},methods:{getWidgetClass(e){const t=[];return t.push(`nrdb-${e.type}`),e.props.className&&t.push(e.props.className),e.state.class&&t.push(e.state.class),t.join(" ")}}},_hoisted_1$j=["id"];function _sfc_render$q(e,t,r,a,o,u){return openBlock(),createElementBlock("div",{class:"nrdb-layout-group--grid",style:normalizeStyle(`grid-template-columns: repeat(min(${u.columns}, var(--layout-columns)), 1fr); grid-template-rows: repeat(${r.group.height}, minmax(var(--widget-row-height), auto)); `)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(r.widgets,d=>(openBlock(),createElementBlock("div",{id:"nrdb-ui-widget-"+d.id,key:d.id,class:normalizeClass(["nrdb-ui-widget",u.getWidgetClass(d)]),style:normalizeStyle([{display:"grid"},`grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(${d.props.height}, minmax(var(--widget-row-height), auto)); grid-row-end: span ${d.props.height}; grid-column-end: span min(${d.props.width||u.columns}, var(--layout-columns))`])},[(openBlock(),createBlock(resolveDynamicComponent(d.component),{id:d.id,props:d.props,state:d.state,style:normalizeStyle(`grid-row-end: span ${d.props.height}`)},null,8,["id","props","state","style"]))],14,_hoisted_1$j))),128))],4)}const WidgetGroup=_export_sfc(_sfc_main$t,[["render",_sfc_render$q]]),_sfc_main$s={name:"LayoutFlex",components:{BaselineLayout,WidgetGroup},data(){return{rowHeight:getComputedStyle(document.body).getPropertyValue("--widget-row-height")}},computed:{...mapState("ui",["groups","widgets","pages"]),...mapState("data",["properties"]),...mapGetters("ui",["groupsByPage","widgetsByGroup","widgetsByPage"]),orderedGroups:function(){return this.groupsByPage(this.$route.meta.id).filter(t=>"visible"in t?t.visible:!0).sort((t,r)=>t.order-r.order)},pageWidgets:function(){return this.widgetsByPage(this.$route.meta.id)},page:function(){return this.pages[this.$route.meta.id]}},methods:{getWidgetClass(e){const t=[];return t.push(`nrdb-${e.type}`),e.props.className&&t.push(e.props.className),e.state.class&&t.push(e.state.class),t.join(" ")},getGroupClass(e){const t=[];e.className&&t.push(e.className);const r=this.properties[e.id];return r&&r.class&&t.push(r.class),t.join(" ")}}},_hoisted_1$i=["id"],_hoisted_2$e=["id","disabled"];function _sfc_render$p(e,t,r,a,o,u){const d=resolveComponent("widget-group"),f=resolveComponent("v-card"),g=resolveComponent("BaselineLayout");return openBlock(),createBlock(g,{"page-title":e.$route.meta.title},{default:withCtx(()=>{var _;return[u.orderedGroups?(openBlock(),createElementBlock("div",{key:0,id:"nrdb-page-"+e.$route.meta.id,class:normalizeClass(["nrdb-layout--flex nrdb-ui-page",(_=u.page)==null?void 0:_.className])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.orderedGroups,S=>(openBlock(),createElementBlock("div",{id:"nrdb-ui-group-"+S.id,key:S.id,class:normalizeClass(["nrdb-ui-group",u.getGroupClass(S)]),disabled:S.disabled===!0?"disabled":null,style:normalizeStyle({width:o.rowHeight*2*S.width+"px"})},[createVNode(f,{variant:"outlined",class:"bg-group-background",style:normalizeStyle({"min-height":o.rowHeight*S.height+"px"})},createSlots({text:withCtx(()=>[createVNode(d,{group:S,widgets:e.widgetsByGroup(S.id)},null,8,["group","widgets"])]),_:2},[S.showTitle?{name:"title",fn:withCtx(()=>[createTextVNode(toDisplayString(S.name),1)]),key:"0"}:void 0]),1032,["style"])],14,_hoisted_2$e))),128))],10,_hoisted_1$i)):createCommentVNode("",!0),createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.pageWidgets,S=>(openBlock(),createBlock(resolveDynamicComponent(S.component),{id:S.id,key:S.id,props:S.props,state:S.state},null,8,["id","props","state"]))),128))])]}),_:1},8,["page-title"])}const Flex=_export_sfc(_sfc_main$s,[["render",_sfc_render$p],["__scopeId","data-v-2147d86c"]]),_sfc_main$r={name:"LayoutGrid",components:{BaselineLayout,WidgetGroup},data(){return{rowHeight:48}},computed:{...mapState("ui",["groups","widgets","pages"]),...mapState("data",["properties"]),...mapGetters("ui",["groupsByPage","widgetsByGroup","widgetsByPage"]),orderedGroups:function(){return this.groupsByPage(this.$route.meta.id).filter(t=>"visible"in t?t.visible:!0).sort((t,r)=>t.order-r.order)},pageWidgets:function(){return this.widgetsByPage(this.$route.meta.id)},page:function(){return this.pages[this.$route.meta.id]}},methods:{getWidgetClass(e){const t=[];return t.push(`nrdb-${e.type}`),e.props.className&&t.push(e.props.className),e.state.class&&t.push(e.state.class),t.join(" ")},getGroupClass(e){const t=[];e.className&&t.push(e.className);const r=this.properties[e.id];return r&&r.class&&t.push(r.class),t.join(" ")}}},_hoisted_1$h=["id"],_hoisted_2$d=["id","disabled"];function _sfc_render$o(e,t,r,a,o,u){const d=resolveComponent("widget-group"),f=resolveComponent("v-card"),g=resolveComponent("BaselineLayout");return openBlock(),createBlock(g,{"page-title":e.$route.meta.title},{default:withCtx(()=>{var _;return[u.orderedGroups?(openBlock(),createElementBlock("div",{key:0,id:"nrdb-page-"+e.$route.meta.id,class:normalizeClass(["nrdb-layout--grid nrdb-ui-page",(_=u.page)==null?void 0:_.className])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.orderedGroups,S=>(openBlock(),createElementBlock("div",{id:"nrdb-ui-group-"+S.id,key:S.id,class:normalizeClass(["nrdb-ui-group",u.getGroupClass(S)]),disabled:S.disabled===!0?"disabled":null,style:normalizeStyle(`grid-column-end: span min(${S.width}, var(--layout-columns)`)},[createVNode(f,{variant:"outlined",class:"bg-group-background"},createSlots({text:withCtx(()=>[createVNode(d,{group:S,widgets:e.widgetsByGroup(S.id)},null,8,["group","widgets"])]),_:2},[S.showTitle?{name:"title",fn:withCtx(()=>[createTextVNode(toDisplayString(S.name),1)]),key:"0"}:void 0]),1024)],14,_hoisted_2$d))),128))],10,_hoisted_1$h)):createCommentVNode("",!0),createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.pageWidgets,S=>(openBlock(),createBlock(resolveDynamicComponent(S.component),{id:S.id,key:S.id,props:S.props,state:S.state},null,8,["id","props","state"]))),128))])]}),_:1},8,["page-title"])}const Grid=_export_sfc(_sfc_main$r,[["render",_sfc_render$o],["__scopeId","data-v-f7e41d12"]]),_sfc_main$q={name:"LayoutFlex",components:{BaselineLayout,WidgetGroup},data(){return{rowHeight:getComputedStyle(document.body).getPropertyValue("--widget-row-height")}},computed:{...mapState("ui",["groups","widgets","pages"]),...mapState("data",["properties"]),...mapGetters("ui",["groupsByPage","widgetsByGroup","widgetsByPage"]),orderedGroups:function(){return this.groupsByPage(this.$route.meta.id).filter(t=>"visible"in t?t.visible:!0).sort((t,r)=>t.order-r.order)},pageWidgets:function(){return this.widgetsByPage(this.$route.meta.id)},page:function(){return this.pages[this.$route.meta.id]}},methods:{getWidgetClass(e){const t=[];return t.push(`nrdb-${e.type}`),e.props.className&&t.push(e.props.className),e.state.class&&t.push(e.state.class),t.join(" ")},getGroupClass(e){const t=[];e.className&&t.push(e.className);const r=this.properties[e.id];return r&&r.class&&t.push(r.class),t.join(" ")}}},_hoisted_1$g=["id"],_hoisted_2$c=["id","disabled"];function _sfc_render$n(e,t,r,a,o,u){const d=resolveComponent("widget-group"),f=resolveComponent("v-card"),g=resolveComponent("BaselineLayout");return openBlock(),createBlock(g,{"page-title":e.$route.meta.title},{default:withCtx(()=>{var _;return[u.orderedGroups?(openBlock(),createElementBlock("div",{key:0,id:"nrdb-page-"+e.$route.meta.id,class:normalizeClass(["nrdb-layout--notebook nrdb-ui-page",(_=u.page)==null?void 0:_.className])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.orderedGroups,S=>(openBlock(),createElementBlock("div",{id:"nrdb-ui-group-"+S.id,key:S.id,class:normalizeClass(["nrdb-ui-group",u.getGroupClass(S)]),disabled:S.disabled===!0?"disabled":null},[createVNode(f,{variant:"outlined",class:"bg-group-background",style:normalizeStyle({"min-height":o.rowHeight*S.height+"px"})},createSlots({text:withCtx(()=>[createVNode(d,{group:S,widgets:e.widgetsByGroup(S.id)},null,8,["group","widgets"])]),_:2},[S.showTitle?{name:"title",fn:withCtx(()=>[createTextVNode(toDisplayString(S.name),1)]),key:"0"}:void 0]),1032,["style"])],10,_hoisted_2$c))),128))],10,_hoisted_1$g)):createCommentVNode("",!0),createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.pageWidgets,S=>(openBlock(),createBlock(resolveDynamicComponent(S.component),{id:S.id,key:S.id,props:S.props,state:S.state},null,8,["id","props","state"]))),128))])]}),_:1},8,["page-title"])}const Notebook=_export_sfc(_sfc_main$q,[["render",_sfc_render$n],["__scopeId","data-v-fa82ce04"]]),_sfc_main$p={name:"LayoutTabs",components:{BaselineLayout,WidgetGroup},data(){return{tab:0}},computed:{...mapState("ui",["groups","widgets","pages"]),...mapState("data",["properties"]),...mapGetters("ui",["groupsByPage","widgetsByGroup","widgetsByPage"]),orderedGroups:function(){return this.groupsByPage(this.$route.meta.id).filter(t=>"visible"in t?t.visible:!0).sort((t,r)=>t.order-r.order)},pageWidgets:function(){return this.widgetsByPage(this.$route.meta.id)},page:function(){return this.pages[this.$route.meta.id]}},methods:{getWidgetClass(e){const t=[];return t.push(`nrdb-${e.type}`),e.props.className&&t.push(e.props.className),e.state.class&&t.push(e.state.class),t.join(" ")},getGroupClass(e){const t=[];e.className&&t.push(e.className);const r=this.properties[e.id];return r&&r.class&&t.push(r.class),t.join(" ")}}},_hoisted_1$f=["id"],_hoisted_2$b=["disabled"];function _sfc_render$m(e,t,r,a,o,u){const d=resolveComponent("v-tab"),f=resolveComponent("v-tabs"),g=resolveComponent("widget-group"),_=resolveComponent("v-card"),S=resolveComponent("v-tabs-window-item"),E=resolveComponent("v-tabs-window"),v=resolveComponent("BaselineLayout");return openBlock(),createBlock(v,{"page-title":e.$route.meta.title},{default:withCtx(()=>{var b;return[createBaseVNode("div",{id:"nrdb-page-"+e.$route.meta.id,class:normalizeClass(["nrdb-layout--tabs nrdb-ui-page",(b=u.page)==null?void 0:b.className])},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.pageWidgets,y=>(openBlock(),createBlock(resolveDynamicComponent(y.component),{id:y.id,key:y.id,props:y.props,state:y.state},null,8,["id","props","state"]))),128))]),u.orderedGroups?(openBlock(),createBlock(f,{key:0,modelValue:o.tab,"onUpdate:modelValue":t[0]||(t[0]=y=>o.tab=y),"show-arrows":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.orderedGroups,y=>(openBlock(),createBlock(d,{key:y.id,value:y.id},{default:withCtx(()=>[createTextVNode(toDisplayString(y.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):createCommentVNode("",!0),u.orderedGroups?(openBlock(),createBlock(E,{key:1,modelValue:o.tab,"onUpdate:modelValue":t[1]||(t[1]=y=>o.tab=y)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.orderedGroups,y=>(openBlock(),createBlock(S,{key:y.id,value:y.id},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["nrdb-ui-group",u.getGroupClass(y)]),disabled:y.disabled===!0?"disabled":null,style:normalizeStyle(`grid-column-end: span min(${y.width}, var(--layout-columns)`)},[createVNode(_,{variant:"outlined",class:"bg-group-background"},{text:withCtx(()=>[createVNode(g,{group:y,widgets:e.widgetsByGroup(y.id)},null,8,["group","widgets"])]),_:2},1024)],14,_hoisted_2$b)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):createCommentVNode("",!0)],10,_hoisted_1$f)]}),_:1},8,["page-title"])}const Tabs=_export_sfc(_sfc_main$p,[["render",_sfc_render$m],["__scopeId","data-v-b9ae3bb0"]]),layouts$1={flex:Flex,grid:Grid,tabs:Tabs,notebook:Notebook},state$3=()=>({dashboards:null,pages:null,groups:null,themes:null,widgets:null}),getters$1={dashboards(e){return e.dashboards},pages(e){return e.pages},groups(e){return e.groups},themes(e){return e.themes},widgets(e){return e.widgets},pageByName:e=>t=>{if(e.pages)return Object.values(e.pages).filter(r=>r.name===t)},groupsByPage:e=>t=>{if(e.groups)return Object.values(e.groups).filter(a=>a.page===t).sort((a,o)=>{const u=a.order||Number.MAX_SAFE_INTEGER,d=o.order||Number.MAX_SAFE_INTEGER;return u-d})},widgetsByPage:e=>t=>{if(e.widgets)return Object.values(e.widgets).filter(a=>!a.props.group&&a.props.page&&a.props.page===t).sort((a,o)=>a.props.order-o.props.order)},widgetsByGroup:e=>t=>{if(e.widgets){const a=Object.values(e.widgets).filter(d=>d.props.group===t&&!(d.type==="ui-template"&&d.props.templateScope!=="local")).reduce((d,f)=>{var _,S;const g=((S=(_=f.props)==null?void 0:_.subflow)==null?void 0:S.id)||"_";return d[g]||(d[g]=[]),d[g].push(f),d},{});for(const d in a)a[d].sort((f,g)=>{const _=f.layout.order||Number.MAX_SAFE_INTEGER,S=g.layout.order||Number.MAX_SAFE_INTEGER;return _-S});return Object.entries(a).sort((d,f)=>{var S,E,v,b,y,T,C,R,A,O;const g=((v=(E=(S=d[1][0])==null?void 0:S.props)==null?void 0:E.subflow)==null?void 0:v.order)||((y=(b=d[1][0])==null?void 0:b.layout)==null?void 0:y.order)||Number.MAX_SAFE_INTEGER,_=((R=(C=(T=f[1][0])==null?void 0:T.props)==null?void 0:C.subflow)==null?void 0:R.order)||((O=(A=f[1][0])==null?void 0:A.layout)==null?void 0:O.order)||Number.MAX_SAFE_INTEGER;return g-_}).flatMap(d=>d[1])}},findBy:e=>(t,r,a)=>{if(e[t+"s"])return Object.values(e[t+"s"]).filter(o=>o[r]===a)},siteTemplates:e=>t=>{if(e.widgets)return Object.values(e.widgets).filter(a=>a.type==="ui-template"&&a.props.dashboard===t&&a.props.templateScope.match(/^site:/))},pageTemplates:e=>t=>{if(e.widgets)return Object.values(e.widgets).filter(a=>a.type==="ui-template"&&a.props.page===t&&a.props.templateScope.match(/^page:/))}},mutations$2={dashboards(e,t){e.dashboards={...e.dashboards,...t}},pages(e,t){e.pages=t},groups(e,t){e.groups=t},themes(e,t){e.themes=t},widgets(e,t){e.widgets=t},widgetState(e,t){const r=t.widgetId,a=t.config;for(const o in a)e.widgets[r]&&(e.widgets[r].state[o]=a[o])},setProperty(e,{item:t,itemId:r,property:a,value:o}){e[t+"s"][r][a]=o},setProperties(e,{item:t,itemId:r,config:a}){for(const o in a)e[t+"s"][r][o]=a[o]}},ui={namespaced:!0,state:state$3,getters:getters$1,mutations:mutations$2},state$2=()=>({values:{},messages:{},properties:{}}),supportedPropertyMessages={"ui-property:class":"class"},mutations$1={bind(e,t){var a;const r=t.widgetId;if("msg"in t){if((a=t.msg)!=null&&a.topic&&supportedPropertyMessages[t.msg.topic]&&hasProperty(t.msg,"payload")){const o=supportedPropertyMessages[t.msg.topic];e.properties[r]=e.properties[r]||{},e.properties[r][o]=t.msg.payload;return}e.messages[r]=t.msg}},append(e,t){const r=t.widgetId;"msg"in t&&(e.messages[r]||(e.messages[r]=[]),e.messages[r].push(t.msg))},restrict(e,t){var a,o;const r=t.widgetId;if("min"in t){const u=t.min;e.messages[r]=(a=e.messages[r])==null?void 0:a.filter(d=>d._datapoint.x>u)}if("points"in t){const u=t.points;e.messages[r]=(o=e.messages[r])==null?void 0:o.slice(-u)}}},getters={value:e=>t=>e.values[t],getMsgProperty:e=>(t,r,a)=>{const o=e.messages[t]||{};return getDeepValue(o,r,a)}},data$1={namespaced:!0,state:state$2,mutations:mutations$1,getters},state$1=()=>({setup:null}),mutations={set(e,t){console.log("setup",t),e.setup=t}},setup={namespaced:!0,state:state$1,mutations},store=createStore({modules:{ui,data:data$1,setup},plugins:[]});function getDeepValue(e,t,r){if(typeof e>"u"||e===null)return r;let a=!1,o=!1;const u="[",d="]",f=['"',"'"];let g=[],_=0,S=[],E="",v="";const b=()=>{S.length>0&&(g[_]=[S.join("")]),_++,S.length=0};for(let y=0,T=t.length;y0&&(g[_]=[S.join("")]),g=g.flat();for(let y=0,T=g.length;y"u")return r;if(e===null)return null}return e||r}function hasProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}const escapeTest$1=/[&<>"']/,escapeReplace$1=new RegExp(escapeTest$1.source,"g"),escapeTestNoEncode$1=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode$1=new RegExp(escapeTestNoEncode$1.source,"g"),escapeReplacements$1={"&":"&","<":"<",">":">",'"':""","'":"'"},getEscapeReplacement$1=e=>escapeReplacements$1[e];function escapeHTML$1(e,t){if(t){if(escapeTest$1.test(e))return e.replace(escapeReplace$1,getEscapeReplacement$1)}else if(escapeTestNoEncode$1.test(e))return e.replace(escapeReplaceNoEncode$1,getEscapeReplacement$1);return e}function path(e){return e.replaceAll("//","/")}function importExternalComponent(e,t,r=null){const a=store.state.setup.setup.RED;return defineAsyncComponent(async()=>{var o;return(o=window[t])!=null&&o[r]?window[t][r]:(window[t]=window[t]||{},window[t][r]=(async()=>{if(await import(path(`${a.httpAdminRoot}/resources/${e}`)),!window[t])throw new Error(`Loaded /resources/${e} but library ${t} not found, is that the correct name?`);if(!window[t][r])throw console.warn(`Failed to find ${r} in ${t}`,window[t]),new Error(`Loaded /resources/${e} and library ${t}, but component ${r} didn't appear to be exported, is that the correct name?`);return window[t][r]})(),await window[t][r])})}const _sfc_main$o={name:"DBUIButton",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},computed:{...mapState("data",["messages"]),prependIcon(){const e=this.getProperty("icon"),t=this.makeMdiIcon(e);return e&&this.iconPosition==="left"?t:void 0},appendIcon(){const e=this.getProperty("icon"),t=this.makeMdiIcon(e);return e&&this.iconPosition==="right"?t:void 0},label(){return this.getProperty("label")},iconPosition(){return this.getProperty("iconPosition")},iconOnly(){return this.getProperty("icon")&&!this.getProperty("label")},buttonColor(){return this.getProperty("buttonColor")},iconColor(){return this.getProperty("iconColor")},textColor(){return this.getProperty("textColor")}},created(){this.$dataTracker(this.id,null,null,this.onDynamicProperties)},methods:{action(e){const t={type:e.type,clientX:e.clientX,clientY:e.clientY,bbox:e.target.getBoundingClientRect()},r=this.messages[this.id]||{};r._event=t,this.$socket.emit("widget-action",this.id,r)},makeMdiIcon(e){return"mdi-"+e.replace(/^mdi-/,"")},onDynamicProperties(e){const t=e.ui_update;t&&(this.updateDynamicProperty("label",t.label),this.updateDynamicProperty("icon",t.icon),this.updateDynamicProperty("iconPosition",t.iconPosition),this.updateDynamicProperty("buttonColor",t.buttonColor),this.updateDynamicProperty("textColor",t.textColor),this.updateDynamicProperty("iconColor",t.iconColor))}}},_hoisted_1$e=["innerHTML"];function _sfc_render$l(e,t,r,a,o,u){const d=resolveComponent("v-icon"),f=resolveComponent("v-btn");return openBlock(),createBlock(f,{block:"",variant:"flat",disabled:!r.state.enabled,"prepend-icon":u.prependIcon,"append-icon":u.appendIcon,class:normalizeClass({"nrdb-ui-button--icon":u.iconOnly}),color:u.buttonColor,style:normalizeStyle({"min-width":u.iconOnly??"auto"}),onClick:u.action},createSlots({default:withCtx(()=>[u.label?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle({color:u.textColor}),innerHTML:u.label},null,12,_hoisted_1$e)):createCommentVNode("",!0)]),_:2},[u.prependIcon?{name:"prepend",fn:withCtx(()=>[createVNode(d,{color:u.iconColor},null,8,["color"])]),key:"0"}:void 0,u.appendIcon?{name:"append",fn:withCtx(()=>[createVNode(d,{color:u.iconColor},null,8,["color"])]),key:"1"}:void 0]),1032,["disabled","prepend-icon","append-icon","class","color","style","onClick"])}const UIButton=_export_sfc(_sfc_main$o,[["render",_sfc_render$l]]),_sfc_main$n={name:"DBUIButtonGroup",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{selection:null}},computed:{...mapState("data",["messages"]),selectedColor:function(){var e;return this.selection!==null&&this.props.useThemeColors===!1?(e=this.findOptionByValue(this.selection))==null?void 0:e.color:"rgb(var(--v-theme-primary))"},variant:function(){return this.look==="default"?null:this.look},label:function(){return this.getProperty("label")},options:function(){const e=this.getProperty("options");return e&&e.map(t=>typeof t=="string"?{label:t,value:t}:t)}},created(){this.$dataTracker(this.id,this.onInput,this.onLoad,this.onDynamicProperty),this.$socket.emit("widget-load",this.id)},methods:{onInput(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(Array.isArray(e.payload)&&e.payload.length===0?this.selection=null:this.findOptionByValue(e.payload)!==null&&(this.selection=e.payload))},onLoad(e){e&&(this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(Array.isArray(e.payload)&&e.payload.length===0?this.selection=null:this.findOptionByValue(e.payload)!==null&&(this.selection=e.payload)))},onDynamicProperty(e){const t=e.ui_update;t&&(this.updateDynamicProperty("label",t.label),this.updateDynamicProperty("options",t.options))},onChange(e){e!==null&&typeof e<"u"&&this.$socket.emit("widget-change",this.id,e)},findOptionByValue:function(e){var r;const t=(r=this.options)==null?void 0:r.find(a=>typeof e=="object"?JSON.stringify(e)===JSON.stringify(a.value):a.value===e);return t||null}}},_hoisted_1$d={class:"nrdb-ui-button-group-wrapper"},_hoisted_2$a={key:0,class:"v-label"};function _sfc_render$k(e,t,r,a,o,u){const d=resolveComponent("v-icon"),f=resolveComponent("v-btn"),g=resolveComponent("v-btn-toggle");return openBlock(),createElementBlock("div",_hoisted_1$d,[u.label?(openBlock(),createElementBlock("label",_hoisted_2$a,toDisplayString(u.label),1)):createCommentVNode("",!0),createVNode(g,{modelValue:o.selection,"onUpdate:modelValue":[t[0]||(t[0]=_=>o.selection=_),t[1]||(t[1]=_=>u.onChange(o.selection))],mandatory:"",divided:"",rounded:r.props.rounded?"xl":"",color:u.selectedColor,disabled:!r.state.enabled},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.options,_=>(openBlock(),createBlock(f,{key:_.value,value:_.value},createSlots({default:withCtx(()=>[_.icon&&!_.label?(openBlock(),createBlock(d,{key:0,icon:`mdi-${_.icon.replace(/^mdi-/,"")}`,size:"x-large"},null,8,["icon"])):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(_.label),1)]),_:2},[_.icon&&_.label!==void 0&&_.label!==""?{name:"prepend",fn:withCtx(()=>[createVNode(d,{size:"x-large",icon:`mdi-${_.icon.replace(/^mdi-/,"")}`},null,8,["icon"])]),key:"0"}:void 0]),1032,["value"]))),128))]),_:1},8,["modelValue","rounded","color","disabled"])])}const UIButtonGroup=_export_sfc(_sfc_main$n,[["render",_sfc_render$k]]);/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License */function round(e){return e+.5|0}const lim=(e,t,r)=>Math.max(Math.min(e,r),t);function p2b(e){return lim(round(e*2.55),0,255)}function n2b(e){return lim(round(e*255),0,255)}function b2n(e){return lim(round(e/2.55)/100,0,1)}function n2p(e){return lim(round(e*100),0,100)}const map$1$1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},hex$2=[..."0123456789ABCDEF"],h1=e=>hex$2[e&15],h2=e=>hex$2[(e&240)>>4]+hex$2[e&15],eq$1=e=>(e&240)>>4===(e&15),isShort=e=>eq$1(e.r)&&eq$1(e.g)&&eq$1(e.b)&&eq$1(e.a);function hexParse(e){var t=e.length,r;return e[0]==="#"&&(t===4||t===5?r={r:255&map$1$1[e[1]]*17,g:255&map$1$1[e[2]]*17,b:255&map$1$1[e[3]]*17,a:t===5?map$1$1[e[4]]*17:255}:(t===7||t===9)&&(r={r:map$1$1[e[1]]<<4|map$1$1[e[2]],g:map$1$1[e[3]]<<4|map$1$1[e[4]],b:map$1$1[e[5]]<<4|map$1$1[e[6]],a:t===9?map$1$1[e[7]]<<4|map$1$1[e[8]]:255})),r}const alpha=(e,t)=>e<255?t(e):"";function hexString(e){var t=isShort(e)?h1:h2;return e?"#"+t(e.r)+t(e.g)+t(e.b)+alpha(e.a,t):void 0}const HUE_RE=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function hsl2rgbn(e,t,r){const a=t*Math.min(r,1-r),o=(u,d=(u+e/30)%12)=>r-a*Math.max(Math.min(d-3,9-d,1),-1);return[o(0),o(8),o(4)]}function hsv2rgbn(e,t,r){const a=(o,u=(o+e/60)%6)=>r-r*t*Math.max(Math.min(u,4-u,1),0);return[a(5),a(3),a(1)]}function hwb2rgbn(e,t,r){const a=hsl2rgbn(e,1,.5);let o;for(t+r>1&&(o=1/(t+r),t*=o,r*=o),o=0;o<3;o++)a[o]*=1-t-r,a[o]+=t;return a}function hueValue(e,t,r,a,o){return e===o?(t-r)/a+(t.5?S/(2-u-d):S/(u+d),g=hueValue(r,a,o,S,u),g=g*60+.5),[g|0,_||0,f]}function calln(e,t,r,a){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,r,a)).map(n2b)}function hsl2rgb$1(e,t,r){return calln(hsl2rgbn,e,t,r)}function hwb2rgb(e,t,r){return calln(hwb2rgbn,e,t,r)}function hsv2rgb(e,t,r){return calln(hsv2rgbn,e,t,r)}function hue$1(e){return(e%360+360)%360}function hueParse(e){const t=HUE_RE.exec(e);let r=255,a;if(!t)return;t[5]!==a&&(r=t[6]?p2b(+t[5]):n2b(+t[5]));const o=hue$1(+t[2]),u=+t[3]/100,d=+t[4]/100;return t[1]==="hwb"?a=hwb2rgb(o,u,d):t[1]==="hsv"?a=hsv2rgb(o,u,d):a=hsl2rgb$1(o,u,d),{r:a[0],g:a[1],b:a[2],a:r}}function rotate(e,t){var r=rgb2hsl(e);r[0]=hue$1(r[0]+t),r=hsl2rgb$1(r),e.r=r[0],e.g=r[1],e.b=r[2]}function hslString(e){if(!e)return;const t=rgb2hsl(e),r=t[0],a=n2p(t[1]),o=n2p(t[2]);return e.a<255?`hsla(${r}, ${a}%, ${o}%, ${b2n(e.a)})`:`hsl(${r}, ${a}%, ${o}%)`}const map$3={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},names$1={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function unpack(){const e={},t=Object.keys(names$1),r=Object.keys(map$3);let a,o,u,d,f;for(a=0;a>16&255,u>>8&255,u&255]}return e}let names;function nameParse(e){names||(names=unpack(),names.transparent=[0,0,0,0]);const t=names[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const RGB_RE=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function rgbParse(e){const t=RGB_RE.exec(e);let r=255,a,o,u;if(t){if(t[7]!==a){const d=+t[7];r=t[8]?p2b(d):lim(d*255,0,255)}return a=+t[1],o=+t[3],u=+t[5],a=255&(t[2]?p2b(a):lim(a,0,255)),o=255&(t[4]?p2b(o):lim(o,0,255)),u=255&(t[6]?p2b(u):lim(u,0,255)),{r:a,g:o,b:u,a:r}}}function rgbString(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${b2n(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const to=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,from$1=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function interpolate$3(e,t,r){const a=from$1(b2n(e.r)),o=from$1(b2n(e.g)),u=from$1(b2n(e.b));return{r:n2b(to(a+r*(from$1(b2n(t.r))-a))),g:n2b(to(o+r*(from$1(b2n(t.g))-o))),b:n2b(to(u+r*(from$1(b2n(t.b))-u))),a:e.a+r*(t.a-e.a)}}function modHSL(e,t,r){if(e){let a=rgb2hsl(e);a[t]=Math.max(0,Math.min(a[t]+a[t]*r,t===0?360:1)),a=hsl2rgb$1(a),e.r=a[0],e.g=a[1],e.b=a[2]}}function clone$4(e,t){return e&&Object.assign(t||{},e)}function fromObject(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=n2b(e[3]))):(t=clone$4(e,{r:0,g:0,b:0,a:1}),t.a=n2b(t.a)),t}function functionParse(e){return e.charAt(0)==="r"?rgbParse(e):hueParse(e)}let Color$2=class gt{constructor(t){if(t instanceof gt)return t;const r=typeof t;let a;r==="object"?a=fromObject(t):r==="string"&&(a=hexParse(t)||nameParse(t)||functionParse(t)),this._rgb=a,this._valid=!!a}get valid(){return this._valid}get rgb(){var t=clone$4(this._rgb);return t&&(t.a=b2n(t.a)),t}set rgb(t){this._rgb=fromObject(t)}rgbString(){return this._valid?rgbString(this._rgb):void 0}hexString(){return this._valid?hexString(this._rgb):void 0}hslString(){return this._valid?hslString(this._rgb):void 0}mix(t,r){if(t){const a=this.rgb,o=t.rgb;let u;const d=r===u?.5:r,f=2*d-1,g=a.a-o.a,_=((f*g===-1?f:(f+g)/(1+f*g))+1)/2;u=1-_,a.r=255&_*a.r+u*o.r+.5,a.g=255&_*a.g+u*o.g+.5,a.b=255&_*a.b+u*o.b+.5,a.a=d*a.a+(1-d)*o.a,this.rgb=a}return this}interpolate(t,r){return t&&(this._rgb=interpolate$3(this._rgb,t._rgb,r)),this}clone(){return new gt(this.rgb)}alpha(t){return this._rgb.a=n2b(t),this}clearer(t){const r=this._rgb;return r.a*=1-t,this}greyscale(){const t=this._rgb,r=round(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=r,this}opaquer(t){const r=this._rgb;return r.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return modHSL(this._rgb,2,t),this}darken(t){return modHSL(this._rgb,2,-t),this}saturate(t){return modHSL(this._rgb,1,t),this}desaturate(t){return modHSL(this._rgb,1,-t),this}rotate(t){return rotate(this._rgb,t),this}};/*! * Chart.js v4.4.0 * https://www.chartjs.org * (c) 2023 Chart.js Contributors * Released under the MIT License */function noop$4(){}const uid=(()=>{let e=0;return()=>e++})();function isNullOrUndef(e){return e===null||typeof e>"u"}function isArray$3(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function isObject$4(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function isNumberFinite(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function finiteOrDefault(e,t){return isNumberFinite(e)?e:t}function valueOrDefault(e,t){return typeof e>"u"?t:e}const toPercentage=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,toDimension=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function callback(e,t,r){if(e&&typeof e.call=="function")return e.apply(r,t)}function each(e,t,r,a){let o,u,d;if(isArray$3(e))if(u=e.length,a)for(o=u-1;o>=0;o--)t.call(r,e[o],o);else for(o=0;oe,x:e=>e.x,y:e=>e.y};function _splitKey(e){const t=e.split("."),r=[];let a="";for(const o of t)a+=o,a.endsWith("\\")?a=a.slice(0,-1)+".":(r.push(a),a="");return r}function _getKeyResolver(e){const t=_splitKey(e);return r=>{for(const a of t){if(a==="")break;r=r&&r[a]}return r}}function resolveObjectKey(e,t){return(keyResolvers[t]||(keyResolvers[t]=_getKeyResolver(t)))(e)}function _capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}const defined=e=>typeof e<"u",isFunction$1=e=>typeof e=="function",setsEqual=(e,t)=>{if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0};function _isClickEvent(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const PI=Math.PI,TAU=2*PI,PITAU=TAU+PI,INFINITY=Number.POSITIVE_INFINITY,RAD_PER_DEG=PI/180,HALF_PI=PI/2,QUARTER_PI=PI/4,TWO_THIRDS_PI=PI*2/3,log10=Math.log10,sign$1=Math.sign;function almostEquals(e,t,r){return Math.abs(e-t)o-u).pop(),t}function isNumber$1(e){return!isNaN(parseFloat(e))&&isFinite(e)}function almostWhole(e,t){const r=Math.round(e);return r-t<=e&&r+t>=e}function _setMinAndMaxByKey(e,t,r){let a,o,u;for(a=0,o=e.length;ag&&_=Math.min(t,r)-a&&e<=Math.max(t,r)+a}function _lookup(e,t,r){r=r||(d=>e[d]1;)u=o+a>>1,r(u)?o=u:a=u;return{lo:o,hi:a}}const _lookupByKey=(e,t,r,a)=>_lookup(e,r,a?o=>{const u=e[o][t];return ue[o][t]_lookup(e,r,a=>e[a][t]>=r);function _filterBetween(e,t,r){let a=0,o=e.length;for(;aa&&e[o-1]>r;)o--;return a>0||o{const a="_onData"+_capitalize(r),o=e[r];Object.defineProperty(e,r,{configurable:!0,enumerable:!1,value(...u){const d=o.apply(this,u);return e._chartjs.listeners.forEach(f=>{typeof f[a]=="function"&&f[a](...u)}),d}})})}function unlistenArrayEvents(e,t){const r=e._chartjs;if(!r)return;const a=r.listeners,o=a.indexOf(t);o!==-1&&a.splice(o,1),!(a.length>0)&&(arrayEvents.forEach(u=>{delete e[u]}),delete e._chartjs)}function _arrayUnique(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const requestAnimFrame=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function throttled(e,t){let r=[],a=!1;return function(...o){r=o,a||(a=!0,requestAnimFrame.call(window,()=>{a=!1,e.apply(t,r)}))}}function debounce$1(e,t){let r;return function(...a){return t?(clearTimeout(r),r=setTimeout(e,t,a)):e.apply(this,a),t}}const _toLeftRightCenter=e=>e==="start"?"left":e==="end"?"right":"center",_alignStartEnd=(e,t,r)=>e==="start"?t:e==="end"?r:(t+r)/2,_textX=(e,t,r,a)=>e===(a?"left":"right")?r:e==="center"?(t+r)/2:t;function _getStartAndCountOfVisiblePoints(e,t,r){const a=t.length;let o=0,u=a;if(e._sorted){const{iScale:d,_parsed:f}=e,g=d.axis,{min:_,max:S,minDefined:E,maxDefined:v}=d.getUserBounds();E&&(o=_limitValue(Math.min(_lookupByKey(f,g,_).lo,r?a:_lookupByKey(t,g,d.getPixelForValue(_)).lo),0,a-1)),v?u=_limitValue(Math.max(_lookupByKey(f,d.axis,S,!0).hi+1,r?0:_lookupByKey(t,g,d.getPixelForValue(S),!0).hi+1),o,a)-o:u=a-o}return{start:o,count:u}}function _scaleRangesChanged(e){const{xScale:t,yScale:r,_scaleRanges:a}=e,o={xmin:t.min,xmax:t.max,ymin:r.min,ymax:r.max};if(!a)return e._scaleRanges=o,!0;const u=a.xmin!==t.min||a.xmax!==t.max||a.ymin!==r.min||a.ymax!==r.max;return Object.assign(a,o),u}const atEdge=e=>e===0||e===1,elasticIn=(e,t,r)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*TAU/r)),elasticOut=(e,t,r)=>Math.pow(2,-10*e)*Math.sin((e-t)*TAU/r)+1,effects={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*HALF_PI)+1,easeOutSine:e=>Math.sin(e*HALF_PI),easeInOutSine:e=>-.5*(Math.cos(PI*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>atEdge(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>atEdge(e)?e:elasticIn(e,.075,.3),easeOutElastic:e=>atEdge(e)?e:elasticOut(e,.075,.3),easeInOutElastic(e){return atEdge(e)?e:e<.5?.5*elasticIn(e*2,.1125,.45):.5+.5*elasticOut(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-effects.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?effects.easeInBounce(e*2)*.5:effects.easeOutBounce(e*2-1)*.5+.5};function isPatternOrGradient(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function color$1(e){return isPatternOrGradient(e)?e:new Color$2(e)}function getHoverColor(e){return isPatternOrGradient(e)?e:new Color$2(e).saturate(.5).darken(.1).hexString()}const numbers=["x","y","borderWidth","radius","tension"],colors$1=["color","borderColor","backgroundColor"];function applyAnimationsDefaults(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:colors$1},numbers:{type:"number",properties:numbers}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function applyLayoutsDefaults(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const intlCache=new Map;function getNumberFormat(e,t){t=t||{};const r=e+JSON.stringify(t);let a=intlCache.get(r);return a||(a=new Intl.NumberFormat(e,t),intlCache.set(r,a)),a}function formatNumber(e,t,r){return getNumberFormat(t,r).format(e)}const formatters={values(e){return isArray$3(e)?e:""+e},numeric(e,t,r){if(e===0)return"0";const a=this.chart.options.locale;let o,u=e;if(r.length>1){const _=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(_<1e-4||_>1e15)&&(o="scientific"),u=calculateDelta(e,r)}const d=log10(Math.abs(u)),f=isNaN(d)?1:Math.max(Math.min(-1*Math.floor(d),20),0),g={notation:o,minimumFractionDigits:f,maximumFractionDigits:f};return Object.assign(g,this.options.ticks.format),formatNumber(e,a,g)},logarithmic(e,t,r){if(e===0)return"0";const a=r[t].significand||e/Math.pow(10,Math.floor(log10(e)));return[1,2,3,5,10,15].includes(a)||t>.8*r.length?formatters.numeric.call(this,e,t,r):""}};function calculateDelta(e,t){let r=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(r)>=1&&e!==Math.floor(e)&&(r=e-Math.floor(e)),r}var Ticks={formatters};function applyScaleDefaults(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,r)=>r.lineWidth,tickColor:(t,r)=>r.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ticks.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const overrides=Object.create(null),descriptors=Object.create(null);function getScope$1(e,t){if(!t)return e;const r=t.split(".");for(let a=0,o=r.length;aa.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(a,o)=>getHoverColor(o.backgroundColor),this.hoverBorderColor=(a,o)=>getHoverColor(o.borderColor),this.hoverColor=(a,o)=>getHoverColor(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(r)}set(t,r){return set$3(this,t,r)}get(t){return getScope$1(this,t)}describe(t,r){return set$3(descriptors,t,r)}override(t,r){return set$3(overrides,t,r)}route(t,r,a,o){const u=getScope$1(this,t),d=getScope$1(this,a),f="_"+r;Object.defineProperties(u,{[f]:{value:u[r],writable:!0},[r]:{enumerable:!0,get(){const g=this[f],_=d[o];return isObject$4(g)?Object.assign({},_,g):valueOrDefault(g,_)},set(g){this[f]=g}}})}apply(t){t.forEach(r=>r(this))}}var defaults$1=new Defaults({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[applyAnimationsDefaults,applyLayoutsDefaults,applyScaleDefaults]);function toFontString(e){return!e||isNullOrUndef(e.size)||isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function _measureText(e,t,r,a,o){let u=t[o];return u||(u=t[o]=e.measureText(o).width,r.push(o)),u>a&&(a=u),a}function _longestText(e,t,r,a){a=a||{};let o=a.data=a.data||{},u=a.garbageCollect=a.garbageCollect||[];a.font!==t&&(o=a.data={},u=a.garbageCollect=[],a.font=t),e.save(),e.font=t;let d=0;const f=r.length;let g,_,S,E,v;for(g=0;gr.length){for(g=0;g0&&e.stroke()}}function _isPointInArea(e,t,r){return r=r||.5,!t||e&&e.x>t.left-r&&e.xt.top-r&&e.y0&&u.strokeColor!=="";let g,_;for(e.save(),e.font=o.string,setRenderOpts(e,u),g=0;g+e||0;function _readValueToProps(e,t){const r={},a=isObject$4(t),o=a?Object.keys(t):t,u=isObject$4(e)?a?d=>valueOrDefault(e[d],e[t[d]]):d=>e[d]:()=>e;for(const d of o)r[d]=numberOrZero(u(d));return r}function toTRBL(e){return _readValueToProps(e,{top:"y",right:"x",bottom:"y",left:"x"})}function toTRBLCorners(e){return _readValueToProps(e,["topLeft","topRight","bottomLeft","bottomRight"])}function toPadding(e){const t=toTRBL(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function toFont(e,t){e=e||{},t=t||defaults$1.font;let r=valueOrDefault(e.size,t.size);typeof r=="string"&&(r=parseInt(r,10));let a=valueOrDefault(e.style,t.style);a&&!(""+a).match(FONT_STYLE)&&(console.warn('Invalid font style specified: "'+a+'"'),a=void 0);const o={family:valueOrDefault(e.family,t.family),lineHeight:toLineHeight(valueOrDefault(e.lineHeight,t.lineHeight),r),size:r,style:a,weight:valueOrDefault(e.weight,t.weight),string:""};return o.string=toFontString(o),o}function resolve(e,t,r,a){let o=!0,u,d,f;for(u=0,d=e.length;ur&&f===0?0:f+g;return{min:d(a,-Math.abs(u)),max:d(o,u)}}function createContext(e,t){return Object.assign(Object.create(e),t)}function _createResolver(e,t=[""],r,a,o=()=>e[0]){const u=r||e;typeof a>"u"&&(a=_resolve("_fallback",e));const d={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:u,_fallback:a,_getTarget:o,override:f=>_createResolver([f,...e],t,u,a)};return new Proxy(d,{deleteProperty(f,g){return delete f[g],delete f._keys,delete e[0][g],!0},get(f,g){return _cached(f,g,()=>_resolveWithPrefixes(g,t,e,f))},getOwnPropertyDescriptor(f,g){return Reflect.getOwnPropertyDescriptor(f._scopes[0],g)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(f,g){return getKeysFromAllScopes(f).includes(g)},ownKeys(f){return getKeysFromAllScopes(f)},set(f,g,_){const S=f._storage||(f._storage=o());return f[g]=S[g]=_,delete f._keys,!0}})}function _attachContext(e,t,r,a){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:r,_stack:new Set,_descriptors:_descriptors(e,a),setContext:u=>_attachContext(e,u,r,a),override:u=>_attachContext(e.override(u),t,r,a)};return new Proxy(o,{deleteProperty(u,d){return delete u[d],delete e[d],!0},get(u,d,f){return _cached(u,d,()=>_resolveWithContext(u,d,f))},getOwnPropertyDescriptor(u,d){return u._descriptors.allKeys?Reflect.has(e,d)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,d)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(u,d){return Reflect.has(e,d)},ownKeys(){return Reflect.ownKeys(e)},set(u,d,f){return e[d]=f,delete u[d],!0}})}function _descriptors(e,t={scriptable:!0,indexable:!0}){const{_scriptable:r=t.scriptable,_indexable:a=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:r,indexable:a,isScriptable:isFunction$1(r)?r:()=>r,isIndexable:isFunction$1(a)?a:()=>a}}const readKey=(e,t)=>e?e+_capitalize(t):t,needsSubResolver=(e,t)=>isObject$4(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function _cached(e,t,r){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const a=r();return e[t]=a,a}function _resolveWithContext(e,t,r){const{_proxy:a,_context:o,_subProxy:u,_descriptors:d}=e;let f=a[t];return isFunction$1(f)&&d.isScriptable(t)&&(f=_resolveScriptable(t,f,e,r)),isArray$3(f)&&f.length&&(f=_resolveArray(t,f,e,d.isIndexable)),needsSubResolver(t,f)&&(f=_attachContext(f,o,u&&u[t],d)),f}function _resolveScriptable(e,t,r,a){const{_proxy:o,_context:u,_subProxy:d,_stack:f}=r;if(f.has(e))throw new Error("Recursion detected: "+Array.from(f).join("->")+"->"+e);f.add(e);let g=t(u,d||a);return f.delete(e),needsSubResolver(e,g)&&(g=createSubResolver(o._scopes,o,e,g)),g}function _resolveArray(e,t,r,a){const{_proxy:o,_context:u,_subProxy:d,_descriptors:f}=r;if(typeof u.index<"u"&&a(e))return t[u.index%t.length];if(isObject$4(t[0])){const g=t,_=o._scopes.filter(S=>S!==g);t=[];for(const S of g){const E=createSubResolver(_,o,e,S);t.push(_attachContext(E,u,d&&d[e],f))}}return t}function resolveFallback(e,t,r){return isFunction$1(e)?e(t,r):e}const getScope=(e,t)=>e===!0?t:typeof e=="string"?resolveObjectKey(t,e):void 0;function addScopes(e,t,r,a,o){for(const u of t){const d=getScope(r,u);if(d){e.add(d);const f=resolveFallback(d._fallback,r,o);if(typeof f<"u"&&f!==r&&f!==a)return f}else if(d===!1&&typeof a<"u"&&r!==a)return null}return!1}function createSubResolver(e,t,r,a){const o=t._rootScopes,u=resolveFallback(t._fallback,r,a),d=[...e,...o],f=new Set;f.add(a);let g=addScopesFromKey(f,d,r,u||r,a);return g===null||typeof u<"u"&&u!==r&&(g=addScopesFromKey(f,d,u,g,a),g===null)?!1:_createResolver(Array.from(f),[""],o,u,()=>subGetTarget(t,r,a))}function addScopesFromKey(e,t,r,a,o){for(;r;)r=addScopes(e,t,r,a,o);return r}function subGetTarget(e,t,r){const a=e._getTarget();t in a||(a[t]={});const o=a[t];return isArray$3(o)&&isObject$4(r)?r:o||{}}function _resolveWithPrefixes(e,t,r,a){let o;for(const u of t)if(o=_resolve(readKey(u,e),r),typeof o<"u")return needsSubResolver(e,o)?createSubResolver(r,a,e,o):o}function _resolve(e,t){for(const r of t){if(!r)continue;const a=r[e];if(typeof a<"u")return a}}function getKeysFromAllScopes(e){let t=e._keys;return t||(t=e._keys=resolveKeysFromAllScopes(e._scopes)),t}function resolveKeysFromAllScopes(e){const t=new Set;for(const r of e)for(const a of Object.keys(r).filter(o=>!o.startsWith("_")))t.add(a);return Array.from(t)}function _parseObjectDataRadialScale(e,t,r,a){const{iScale:o}=e,{key:u="r"}=this._parsing,d=new Array(a);let f,g,_,S;for(f=0,g=a;fte==="x"?"y":"x";function splineCurve(e,t,r,a){const o=e.skip?t:e,u=t,d=r.skip?t:r,f=distanceBetweenPoints(u,o),g=distanceBetweenPoints(d,u);let _=f/(f+g),S=g/(f+g);_=isNaN(_)?0:_,S=isNaN(S)?0:S;const E=a*_,v=a*S;return{previous:{x:u.x-E*(d.x-o.x),y:u.y-E*(d.y-o.y)},next:{x:u.x+v*(d.x-o.x),y:u.y+v*(d.y-o.y)}}}function monotoneAdjust(e,t,r){const a=e.length;let o,u,d,f,g,_=getPoint(e,0);for(let S=0;S!_.skip)),t.cubicInterpolationMode==="monotone")splineCurveMonotone(e,o);else{let _=a?e[e.length-1]:e[0];for(u=0,d=e.length;ue.ownerDocument.defaultView.getComputedStyle(e,null);function getStyle(e,t){return getComputedStyle$1(e).getPropertyValue(t)}const positions=["top","right","bottom","left"];function getPositionedStyle(e,t,r){const a={};r=r?"-"+r:"";for(let o=0;o<4;o++){const u=positions[o];a[u]=parseFloat(e[t+"-"+u+r])||0}return a.width=a.left+a.right,a.height=a.top+a.bottom,a}const useOffsetPos=(e,t,r)=>(e>0||t>0)&&(!r||!r.shadowRoot);function getCanvasPosition(e,t){const r=e.touches,a=r&&r.length?r[0]:e,{offsetX:o,offsetY:u}=a;let d=!1,f,g;if(useOffsetPos(o,u,e.target))f=o,g=u;else{const _=t.getBoundingClientRect();f=a.clientX-_.left,g=a.clientY-_.top,d=!0}return{x:f,y:g,box:d}}function getRelativePosition(e,t){if("native"in e)return e;const{canvas:r,currentDevicePixelRatio:a}=t,o=getComputedStyle$1(r),u=o.boxSizing==="border-box",d=getPositionedStyle(o,"padding"),f=getPositionedStyle(o,"border","width"),{x:g,y:_,box:S}=getCanvasPosition(e,r),E=d.left+(S&&f.left),v=d.top+(S&&f.top);let{width:b,height:y}=t;return u&&(b-=d.width+f.width,y-=d.height+f.height),{x:Math.round((g-E)/b*r.width/a),y:Math.round((_-v)/y*r.height/a)}}function getContainerSize(e,t,r){let a,o;if(t===void 0||r===void 0){const u=_getParentNode(e);if(!u)t=e.clientWidth,r=e.clientHeight;else{const d=u.getBoundingClientRect(),f=getComputedStyle$1(u),g=getPositionedStyle(f,"border","width"),_=getPositionedStyle(f,"padding");t=d.width-_.width-g.width,r=d.height-_.height-g.height,a=parseMaxStyle(f.maxWidth,u,"clientWidth"),o=parseMaxStyle(f.maxHeight,u,"clientHeight")}}return{width:t,height:r,maxWidth:a||INFINITY,maxHeight:o||INFINITY}}const round1=e=>Math.round(e*10)/10;function getMaximumSize(e,t,r,a){const o=getComputedStyle$1(e),u=getPositionedStyle(o,"margin"),d=parseMaxStyle(o.maxWidth,e,"clientWidth")||INFINITY,f=parseMaxStyle(o.maxHeight,e,"clientHeight")||INFINITY,g=getContainerSize(e,t,r);let{width:_,height:S}=g;if(o.boxSizing==="content-box"){const v=getPositionedStyle(o,"border","width"),b=getPositionedStyle(o,"padding");_-=b.width+v.width,S-=b.height+v.height}return _=Math.max(0,_-u.width),S=Math.max(0,a?_/a:S-u.height),_=round1(Math.min(_,d,g.maxWidth)),S=round1(Math.min(S,f,g.maxHeight)),_&&!S&&(S=round1(_/2)),(t!==void 0||r!==void 0)&&a&&g.height&&S>g.height&&(S=g.height,_=round1(Math.floor(S*a))),{width:_,height:S}}function retinaScale(e,t,r){const a=t||1,o=Math.floor(e.height*a),u=Math.floor(e.width*a);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const d=e.canvas;return d.style&&(r||!d.style.height&&!d.style.width)&&(d.style.height=`${e.height}px`,d.style.width=`${e.width}px`),e.currentDevicePixelRatio!==a||d.height!==o||d.width!==u?(e.currentDevicePixelRatio=a,d.height=o,d.width=u,e.ctx.setTransform(a,0,0,a,0,0),!0):!1}const supportsEventListenerOptions=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function readUsedSize(e,t){const r=getStyle(e,t),a=r&&r.match(/^(\d+)(\.\d+)?px$/);return a?+a[1]:void 0}function _pointInLine(e,t,r,a){return{x:e.x+r*(t.x-e.x),y:e.y+r*(t.y-e.y)}}function _steppedInterpolation(e,t,r,a){return{x:e.x+r*(t.x-e.x),y:a==="middle"?r<.5?e.y:t.y:a==="after"?r<1?e.y:t.y:r>0?t.y:e.y}}function _bezierInterpolation(e,t,r,a){const o={x:e.cp2x,y:e.cp2y},u={x:t.cp1x,y:t.cp1y},d=_pointInLine(e,o,r),f=_pointInLine(o,u,r),g=_pointInLine(u,t,r),_=_pointInLine(d,f,r),S=_pointInLine(f,g,r);return _pointInLine(_,S,r)}const getRightToLeftAdapter=function(e,t){return{x(r){return e+e+t-r},setWidth(r){t=r},textAlign(r){return r==="center"?r:r==="right"?"left":"right"},xPlus(r,a){return r-a},leftForLtr(r,a){return r-a}}},getLeftToRightAdapter=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function getRtlAdapter(e,t,r){return e?getRightToLeftAdapter(t,r):getLeftToRightAdapter()}function overrideTextDirection(e,t){let r,a;(t==="ltr"||t==="rtl")&&(r=e.canvas.style,a=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",t,"important"),e.prevTextDirection=a)}function restoreTextDirection(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function propertyFn(e){return e==="angle"?{between:_angleBetween,compare:_angleDiff,normalize:_normalizeAngle}:{between:_isBetween,compare:(t,r)=>t-r,normalize:t=>t}}function normalizeSegment({start:e,end:t,count:r,loop:a,style:o}){return{start:e%r,end:t%r,loop:a&&(t-e+1)%r===0,style:o}}function getSegment(e,t,r){const{property:a,start:o,end:u}=r,{between:d,normalize:f}=propertyFn(a),g=t.length;let{start:_,end:S,loop:E}=e,v,b;if(E){for(_+=g,S+=g,v=0,b=g;vg(o,O,R)&&f(o,O)!==0,N=()=>f(u,R)===0||g(u,O,R),I=()=>T||x(),k=()=>!T||N();for(let D=S,P=S;D<=E;++D)A=t[D%d],!A.skip&&(R=_(A[a]),R!==O&&(T=g(R,o,u),C===null&&I()&&(C=f(R,o)===0?D:P),C!==null&&k()&&(y.push(normalizeSegment({start:C,end:D,loop:v,count:d,style:b})),C=null),P=D,O=R));return C!==null&&y.push(normalizeSegment({start:C,end:E,loop:v,count:d,style:b})),y}function _boundSegments(e,t){const r=[],a=e.segments;for(let o=0;oo&&e[u%t].skip;)u--;return u%=t,{start:o,end:u}}function solidSegments(e,t,r,a){const o=e.length,u=[];let d=t,f=e[t],g;for(g=t+1;g<=r;++g){const _=e[g%o];_.skip||_.stop?f.skip||(a=!1,u.push({start:t%o,end:(g-1)%o,loop:a}),t=d=_.stop?g:null):(d=g,f.skip&&(t=g)),f=_}return d!==null&&u.push({start:t%o,end:d%o,loop:a}),u}function _computeSegments(e,t){const r=e.points,a=e.options.spanGaps,o=r.length;if(!o)return[];const u=!!e._loop,{start:d,end:f}=findStartAndEnd(r,o,u,a);if(a===!0)return splitByStyles(e,[{start:d,end:f,loop:u}],r,t);const g=ff({chart:t,initial:r.initial,numSteps:d,currentStep:Math.min(a-r.start,d)}))}_refresh(){this._request||(this._running=!0,this._request=requestAnimFrame.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let r=0;this._charts.forEach((a,o)=>{if(!a.running||!a.items.length)return;const u=a.items;let d=u.length-1,f=!1,g;for(;d>=0;--d)g=u[d],g._active?(g._total>a.duration&&(a.duration=g._total),g.tick(t),f=!0):(u[d]=u[u.length-1],u.pop());f&&(o.draw(),this._notify(o,a,t,"progress")),u.length||(a.running=!1,this._notify(o,a,t,"complete"),a.initial=!1),r+=u.length}),this._lastDate=t,r===0&&(this._running=!1)}_getAnims(t){const r=this._charts;let a=r.get(t);return a||(a={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},r.set(t,a)),a}listen(t,r,a){this._getAnims(t).listeners[r].push(a)}add(t,r){!r||!r.length||this._getAnims(t).items.push(...r)}has(t){return this._getAnims(t).items.length>0}start(t){const r=this._charts.get(t);r&&(r.running=!0,r.start=Date.now(),r.duration=r.items.reduce((a,o)=>Math.max(a,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const r=this._charts.get(t);return!(!r||!r.running||!r.items.length)}stop(t){const r=this._charts.get(t);if(!r||!r.items.length)return;const a=r.items;let o=a.length-1;for(;o>=0;--o)a[o].cancel();r.items=[],this._notify(t,r,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var animator=new Animator;const transparent="transparent",interpolators={boolean(e,t,r){return r>.5?t:e},color(e,t,r){const a=color$1(e||transparent),o=a.valid&&color$1(t||transparent);return o&&o.valid?o.mix(a,r).hexString():t},number(e,t,r){return e+(t-e)*r}};class Animation{constructor(t,r,a,o){const u=r[a];o=resolve([t.to,o,u,t.from]);const d=resolve([t.from,u,o]);this._active=!0,this._fn=t.fn||interpolators[t.type||typeof d],this._easing=effects[t.easing]||effects.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=r,this._prop=a,this._from=d,this._to=o,this._promises=void 0}active(){return this._active}update(t,r,a){if(this._active){this._notify(!1);const o=this._target[this._prop],u=a-this._start,d=this._duration-u;this._start=a,this._duration=Math.floor(Math.max(d,t.duration)),this._total+=u,this._loop=!!t.loop,this._to=resolve([t.to,r,o,t.from]),this._from=resolve([t.from,o,r])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const r=t-this._start,a=this._duration,o=this._prop,u=this._from,d=this._loop,f=this._to;let g;if(this._active=u!==f&&(d||r1?2-g:g,g=this._easing(Math.min(1,Math.max(0,g))),this._target[o]=this._fn(u,f,g)}wait(){const t=this._promises||(this._promises=[]);return new Promise((r,a)=>{t.push({res:r,rej:a})})}_notify(t){const r=t?"res":"rej",a=this._promises||[];for(let o=0;o{const u=t[o];if(!isObject$4(u))return;const d={};for(const f of r)d[f]=u[f];(isArray$3(u.properties)&&u.properties||[o]).forEach(f=>{(f===o||!a.has(f))&&a.set(f,d)})})}_animateOptions(t,r){const a=r.options,o=resolveTargetOptions(t,a);if(!o)return[];const u=this._createAnimations(o,a);return a.$shared&&awaitAll(t.options.$animations,a).then(()=>{t.options=a},()=>{}),u}_createAnimations(t,r){const a=this._properties,o=[],u=t.$animations||(t.$animations={}),d=Object.keys(r),f=Date.now();let g;for(g=d.length-1;g>=0;--g){const _=d[g];if(_.charAt(0)==="$")continue;if(_==="options"){o.push(...this._animateOptions(t,r));continue}const S=r[_];let E=u[_];const v=a.get(_);if(E)if(v&&E.active()){E.update(v,S,f);continue}else E.cancel();if(!v||!v.duration){t[_]=S;continue}u[_]=E=new Animation(v,t,_,S),o.push(E)}return o}update(t,r){if(this._properties.size===0){Object.assign(t,r);return}const a=this._createAnimations(t,r);if(a.length)return animator.add(this._chart,a),!0}}function awaitAll(e,t){const r=[],a=Object.keys(t);for(let o=0;o0||!r&&u<0)return o.index}return null}function updateStacks(e,t){const{chart:r,_cachedMeta:a}=e,o=r._stacks||(r._stacks={}),{iScale:u,vScale:d,index:f}=a,g=u.axis,_=d.axis,S=getStackKey(u,d,a),E=t.length;let v;for(let b=0;br[a].axis===t).shift()}function createDatasetContext(e,t){return createContext(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function createDataContext(e,t,r){return createContext(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:r,index:t,mode:"default",type:"data"})}function clearStacks(e,t){const r=e.controller.index,a=e.vScale&&e.vScale.axis;if(a){t=t||e._parsed;for(const o of t){const u=o._stacks;if(!u||u[a]===void 0||u[a][r]===void 0)return;delete u[a][r],u[a]._visualValues!==void 0&&u[a]._visualValues[r]!==void 0&&delete u[a]._visualValues[r]}}}const isDirectUpdateMode=e=>e==="reset"||e==="none",cloneIfNotShared=(e,t)=>t?e:Object.assign({},e),createStack=(e,t,r)=>e&&!t.hidden&&t._stacked&&{keys:getSortedDatasetIndices(r,!0),values:null};class DatasetController{constructor(t,r){this.chart=t,this._ctx=t.ctx,this.index=r,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=isStacked(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&clearStacks(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,r=this._cachedMeta,a=this.getDataset(),o=(E,v,b,y)=>E==="x"?v:E==="r"?y:b,u=r.xAxisID=valueOrDefault(a.xAxisID,getFirstScaleId(t,"x")),d=r.yAxisID=valueOrDefault(a.yAxisID,getFirstScaleId(t,"y")),f=r.rAxisID=valueOrDefault(a.rAxisID,getFirstScaleId(t,"r")),g=r.indexAxis,_=r.iAxisID=o(g,u,d,f),S=r.vAxisID=o(g,d,u,f);r.xScale=this.getScaleForId(u),r.yScale=this.getScaleForId(d),r.rScale=this.getScaleForId(f),r.iScale=this.getScaleForId(_),r.vScale=this.getScaleForId(S)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const r=this._cachedMeta;return t===r.iScale?r.vScale:r.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&unlistenArrayEvents(this._data,this),t._stacked&&clearStacks(t)}_dataCheck(){const t=this.getDataset(),r=t.data||(t.data=[]),a=this._data;if(isObject$4(r))this._data=convertObjectDataToArray(r);else if(a!==r){if(a){unlistenArrayEvents(a,this);const o=this._cachedMeta;clearStacks(o),o._parsed=[]}r&&Object.isExtensible(r)&&listenArrayEvents(r,this),this._syncList=[],this._data=r}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const r=this._cachedMeta,a=this.getDataset();let o=!1;this._dataCheck();const u=r._stacked;r._stacked=isStacked(r.vScale,r),r.stack!==a.stack&&(o=!0,clearStacks(r),r.stack=a.stack),this._resyncElements(t),(o||u!==r._stacked)&&updateStacks(this,r._parsed)}configure(){const t=this.chart.config,r=t.datasetScopeKeys(this._type),a=t.getOptionScopes(this.getDataset(),r,!0);this.options=t.createResolver(a,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,r){const{_cachedMeta:a,_data:o}=this,{iScale:u,_stacked:d}=a,f=u.axis;let g=t===0&&r===o.length?!0:a._sorted,_=t>0&&a._parsed[t-1],S,E,v;if(this._parsing===!1)a._parsed=o,a._sorted=!0,v=o;else{isArray$3(o[t])?v=this.parseArrayData(a,o,t,r):isObject$4(o[t])?v=this.parseObjectData(a,o,t,r):v=this.parsePrimitiveData(a,o,t,r);const b=()=>E[f]===null||_&&E[f]<_[f];for(S=0;ST||E=0;--v)if(!y()){this.updateRangeFromParsed(_,t,b,g);break}}return _}getAllParsedValues(t){const r=this._cachedMeta._parsed,a=[];let o,u,d;for(o=0,u=r.length;o=0&&tthis.getContext(a,o,r),T=_.resolveNamedOptions(v,b,y,E);return T.$shared&&(T.$shared=g,u[d]=Object.freeze(cloneIfNotShared(T,g))),T}_resolveAnimations(t,r,a){const o=this.chart,u=this._cachedDataOpts,d=`animation-${r}`,f=u[d];if(f)return f;let g;if(o.options.animation!==!1){const S=this.chart.config,E=S.datasetAnimationScopeKeys(this._type,r),v=S.getOptionScopes(this.getDataset(),E);g=S.createResolver(v,this.getContext(t,a,r))}const _=new Animations(o,g&&g.animations);return g&&g._cacheable&&(u[d]=Object.freeze(_)),_}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,r){return!r||isDirectUpdateMode(t)||this.chart._animationsDisabled}_getSharedOptions(t,r){const a=this.resolveDataElementOptions(t,r),o=this._sharedOptions,u=this.getSharedOptions(a),d=this.includeOptions(r,u)||u!==o;return this.updateSharedOptions(u,r,a),{sharedOptions:u,includeOptions:d}}updateElement(t,r,a,o){isDirectUpdateMode(o)?Object.assign(t,a):this._resolveAnimations(r,o).update(t,a)}updateSharedOptions(t,r,a){t&&!isDirectUpdateMode(r)&&this._resolveAnimations(void 0,r).update(t,a)}_setStyle(t,r,a,o){t.active=o;const u=this.getStyle(r,o);this._resolveAnimations(r,a,o).update(t,{options:!o&&this.getSharedOptions(u)||u})}removeHoverStyle(t,r,a){this._setStyle(t,a,"active",!1)}setHoverStyle(t,r,a){this._setStyle(t,a,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const r=this._data,a=this._cachedMeta.data;for(const[f,g,_]of this._syncList)this[f](g,_);this._syncList=[];const o=a.length,u=r.length,d=Math.min(u,o);d&&this.parse(0,d),u>o?this._insertElements(o,u-o,t):u{for(_.length+=r,f=_.length-1;f>=d;f--)_[f]=_[f-r]};for(g(u),f=t;fo-u))}return e._cache.$bar}function computeMinSampleSize(e){const t=e.iScale,r=getAllScaleValues(t,e.type);let a=t._length,o,u,d,f;const g=()=>{d===32767||d===-32768||(defined(f)&&(a=Math.min(a,Math.abs(d-f)||a)),f=d)};for(o=0,u=r.length;o0?o[e-1]:null,f=eMath.abs(f)&&(g=f,_=d),t[r.axis]=_,t._custom={barStart:g,barEnd:_,start:o,end:u,min:d,max:f}}function parseValue(e,t,r,a){return isArray$3(e)?parseFloatBar(e,t,r,a):t[r.axis]=r.parse(e,a),t}function parseArrayOrPrimitive(e,t,r,a){const o=e.iScale,u=e.vScale,d=o.getLabels(),f=o===u,g=[];let _,S,E,v;for(_=r,S=r+a;_=r?1:-1)}function borderProps(e){let t,r,a,o,u;return e.horizontal?(t=e.base>e.x,r="left",a="right"):(t=e.baseg.controller.options.grouped),u=a.options.stacked,d=[],f=g=>{const _=g.controller.getParsed(r),S=_&&_[g.vScale.axis];if(isNullOrUndef(S)||isNaN(S))return!0};for(const g of o)if(!(r!==void 0&&f(g))&&((u===!1||d.indexOf(g.stack)===-1||u===void 0&&g.stack===void 0)&&d.push(g.stack),g.index===t))break;return d.length||d.push(void 0),d}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,r,a){const o=this._getStacks(t,a),u=r!==void 0?o.indexOf(r):-1;return u===-1?o.length-1:u}_getRuler(){const t=this.options,r=this._cachedMeta,a=r.iScale,o=[];let u,d;for(u=0,d=r.data.length;u=0;--a)r=Math.max(r,t[a].size(this.resolveDataElementOptions(a))/2);return r>0&&r}getLabelAndValue(t){const r=this._cachedMeta,a=this.chart.data.labels||[],{xScale:o,yScale:u}=r,d=this.getParsed(t),f=o.getLabelForValue(d.x),g=u.getLabelForValue(d.y),_=d._custom;return{label:a[t]||"",value:"("+f+", "+g+(_?", "+_:"")+")"}}update(t){const r=this._cachedMeta.data;this.updateElements(r,0,r.length,t)}updateElements(t,r,a,o){const u=o==="reset",{iScale:d,vScale:f}=this._cachedMeta,{sharedOptions:g,includeOptions:_}=this._getSharedOptions(r,o),S=d.axis,E=f.axis;for(let v=r;v_angleBetween(O,f,g,!0)?1:Math.max(x,x*r,N,N*r),y=(O,x,N)=>_angleBetween(O,f,g,!0)?-1:Math.min(x,x*r,N,N*r),T=b(0,_,E),C=b(HALF_PI,S,v),R=y(PI,_,E),A=y(PI+HALF_PI,S,v);a=(T-R)/2,o=(C-A)/2,u=-(T+R)/2,d=-(C+A)/2}return{ratioX:a,ratioY:o,offsetX:u,offsetY:d}}class DoughnutController extends DatasetController{constructor(t,r){super(t,r),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,r){const a=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=a;else{let u=g=>+a[g];if(isObject$4(a[t])){const{key:g="value"}=this._parsing;u=_=>+resolveObjectKey(a[_],g)}let d,f;for(d=t,f=t+r;d0&&!isNaN(t)?TAU*(Math.abs(t)/r):0}getLabelAndValue(t){const r=this._cachedMeta,a=this.chart,o=a.data.labels||[],u=formatNumber(r._parsed[t],a.options.locale);return{label:o[t]||"",value:u}}getMaxBorderWidth(t){let r=0;const a=this.chart;let o,u,d,f,g;if(!t){for(o=0,u=a.data.datasets.length;ot!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),Ie(DoughnutController,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const r=t.data;if(r.labels.length&&r.datasets.length){const{labels:{pointStyle:a,color:o}}=t.legend.options;return r.labels.map((u,d)=>{const g=t.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:g.backgroundColor,strokeStyle:g.borderColor,fontColor:o,lineWidth:g.borderWidth,pointStyle:a,hidden:!t.getDataVisibility(d),index:d}})}return[]}},onClick(t,r,a){a.chart.toggleDataVisibility(r.index),a.chart.update()}}}});class LineController extends DatasetController{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const r=this._cachedMeta,{dataset:a,data:o=[],_dataset:u}=r,d=this.chart._animationsDisabled;let{start:f,count:g}=_getStartAndCountOfVisiblePoints(r,o,d);this._drawStart=f,this._drawCount=g,_scaleRangesChanged(r)&&(f=0,g=o.length),a._chart=this.chart,a._datasetIndex=this.index,a._decimated=!!u._decimated,a.points=o;const _=this.resolveDatasetElementOptions(t);this.options.showLine||(_.borderWidth=0),_.segment=this.options.segment,this.updateElement(a,void 0,{animated:!d,options:_},t),this.updateElements(o,f,g,t)}updateElements(t,r,a,o){const u=o==="reset",{iScale:d,vScale:f,_stacked:g,_dataset:_}=this._cachedMeta,{sharedOptions:S,includeOptions:E}=this._getSharedOptions(r,o),v=d.axis,b=f.axis,{spanGaps:y,segment:T}=this.options,C=isNumber$1(y)?y:Number.POSITIVE_INFINITY,R=this.chart._animationsDisabled||u||o==="none",A=r+a,O=t.length;let x=r>0&&this.getParsed(r-1);for(let N=0;N=A){k.skip=!0;continue}const D=this.getParsed(N),P=isNullOrUndef(D[b]),L=k[v]=d.getPixelForValue(D[v],N),F=k[b]=u||P?f.getBasePixel():f.getPixelForValue(g?this.applyStack(f,D,g):D[b],N);k.skip=isNaN(L)||isNaN(F)||P,k.stop=N>0&&Math.abs(D[v]-x[v])>C,T&&(k.parsed=D,k.raw=_.data[N]),E&&(k.options=S||this.resolveDataElementOptions(N,I.active?"active":o)),R||this.updateElement(I,N,k,o),x=D}}getMaxOverflow(){const t=this._cachedMeta,r=t.dataset,a=r.options&&r.options.borderWidth||0,o=t.data||[];if(!o.length)return a;const u=o[0].size(this.resolveDataElementOptions(0)),d=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(a,u,d)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Ie(LineController,"id","line"),Ie(LineController,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),Ie(LineController,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class PolarAreaController extends DatasetController{constructor(t,r){super(t,r),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const r=this._cachedMeta,a=this.chart,o=a.data.labels||[],u=formatNumber(r._parsed[t].r,a.options.locale);return{label:o[t]||"",value:u}}parseObjectData(t,r,a,o){return _parseObjectDataRadialScale.bind(this)(t,r,a,o)}update(t){const r=this._cachedMeta.data;this._updateRadius(),this.updateElements(r,0,r.length,t)}getMinMax(){const t=this._cachedMeta,r={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((a,o)=>{const u=this.getParsed(o).r;!isNaN(u)&&this.chart.getDataVisibility(o)&&(ur.max&&(r.max=u))}),r}_updateRadius(){const t=this.chart,r=t.chartArea,a=t.options,o=Math.min(r.right-r.left,r.bottom-r.top),u=Math.max(o/2,0),d=Math.max(a.cutoutPercentage?u/100*a.cutoutPercentage:1,0),f=(u-d)/t.getVisibleDatasetCount();this.outerRadius=u-f*this.index,this.innerRadius=this.outerRadius-f}updateElements(t,r,a,o){const u=o==="reset",d=this.chart,g=d.options.animation,_=this._cachedMeta.rScale,S=_.xCenter,E=_.yCenter,v=_.getIndexAngle(0)-.5*PI;let b=v,y;const T=360/this.countVisibleElements();for(y=0;y{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&r++}),r}_computeAngle(t,r,a){return this.chart.getDataVisibility(t)?toRadians(this.resolveDataElementOptions(t,r).angle||a):0}}Ie(PolarAreaController,"id","polarArea"),Ie(PolarAreaController,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Ie(PolarAreaController,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const r=t.data;if(r.labels.length&&r.datasets.length){const{labels:{pointStyle:a,color:o}}=t.legend.options;return r.labels.map((u,d)=>{const g=t.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:g.backgroundColor,strokeStyle:g.borderColor,fontColor:o,lineWidth:g.borderWidth,pointStyle:a,hidden:!t.getDataVisibility(d),index:d}})}return[]}},onClick(t,r,a){a.chart.toggleDataVisibility(r.index),a.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class PieController extends DoughnutController{}Ie(PieController,"id","pie"),Ie(PieController,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class RadarController extends DatasetController{getLabelAndValue(t){const r=this._cachedMeta.vScale,a=this.getParsed(t);return{label:r.getLabels()[t],value:""+r.getLabelForValue(a[r.axis])}}parseObjectData(t,r,a,o){return _parseObjectDataRadialScale.bind(this)(t,r,a,o)}update(t){const r=this._cachedMeta,a=r.dataset,o=r.data||[],u=r.iScale.getLabels();if(a.points=o,t!=="resize"){const d=this.resolveDatasetElementOptions(t);this.options.showLine||(d.borderWidth=0);const f={_loop:!0,_fullLoop:u.length===o.length,options:d};this.updateElement(a,void 0,f,t)}this.updateElements(o,0,o.length,t)}updateElements(t,r,a,o){const u=this._cachedMeta.rScale,d=o==="reset";for(let f=r;f0&&this.getParsed(r-1);for(let x=r;x0&&Math.abs(I[b]-O[b])>R,C&&(k.parsed=I,k.raw=_.data[x]),v&&(k.options=E||this.resolveDataElementOptions(x,N.active?"active":o)),A||this.updateElement(N,x,k,o),O=I}this.updateSharedOptions(E,o,S)}getMaxOverflow(){const t=this._cachedMeta,r=t.data||[];if(!this.options.showLine){let f=0;for(let g=r.length-1;g>=0;--g)f=Math.max(f,r[g].size(this.resolveDataElementOptions(g))/2);return f>0&&f}const a=t.dataset,o=a.options&&a.options.borderWidth||0;if(!r.length)return o;const u=r[0].size(this.resolveDataElementOptions(0)),d=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,u,d)/2}}Ie(ScatterController,"id","scatter"),Ie(ScatterController,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),Ie(ScatterController,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var controllers=Object.freeze({__proto__:null,BarController,BubbleController,DoughnutController,LineController,PieController,PolarAreaController,RadarController,ScatterController});function abstract(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class DateAdapterBase{constructor(t){Ie(this,"options");this.options=t||{}}static override(t){Object.assign(DateAdapterBase.prototype,t)}init(){}formats(){return abstract()}parse(){return abstract()}format(){return abstract()}add(){return abstract()}diff(){return abstract()}startOf(){return abstract()}endOf(){return abstract()}}var adapters={_date:DateAdapterBase};function binarySearch$1(e,t,r,a){const{controller:o,data:u,_sorted:d}=e,f=o._cachedMeta.iScale;if(f&&t===f.axis&&t!=="r"&&d&&u.length){const g=f._reversePixels?_rlookupByKey:_lookupByKey;if(a){if(o._sharedOptions){const _=u[0],S=typeof _.getRange=="function"&&_.getRange(t);if(S){const E=g(u,t,r-S),v=g(u,t,r+S);return{lo:E.lo,hi:v.hi}}}}else return g(u,t,r)}return{lo:0,hi:u.length-1}}function evaluateInteractionItems(e,t,r,a,o){const u=e.getSortedVisibleDatasetMetas(),d=r[t];for(let f=0,g=u.length;f{g[d](t[r],o)&&(u.push({element:g,datasetIndex:_,index:S}),f=f||g.inRange(t.x,t.y,o))}),a&&!f?[]:u}var Interaction={evaluateInteractionItems,modes:{index(e,t,r,a){const o=getRelativePosition(t,e),u=r.axis||"x",d=r.includeInvisible||!1,f=r.intersect?getIntersectItems(e,o,u,a,d):getNearestItems(e,o,u,!1,a,d),g=[];return f.length?(e.getSortedVisibleDatasetMetas().forEach(_=>{const S=f[0].index,E=_.data[S];E&&!E.skip&&g.push({element:E,datasetIndex:_.index,index:S})}),g):[]},dataset(e,t,r,a){const o=getRelativePosition(t,e),u=r.axis||"xy",d=r.includeInvisible||!1;let f=r.intersect?getIntersectItems(e,o,u,a,d):getNearestItems(e,o,u,!1,a,d);if(f.length>0){const g=f[0].datasetIndex,_=e.getDatasetMeta(g).data;f=[];for(let S=0;S<_.length;++S)f.push({element:_[S],datasetIndex:g,index:S})}return f},point(e,t,r,a){const o=getRelativePosition(t,e),u=r.axis||"xy",d=r.includeInvisible||!1;return getIntersectItems(e,o,u,a,d)},nearest(e,t,r,a){const o=getRelativePosition(t,e),u=r.axis||"xy",d=r.includeInvisible||!1;return getNearestItems(e,o,u,r.intersect,a,d)},x(e,t,r,a){const o=getRelativePosition(t,e);return getAxisItems(e,o,"x",r.intersect,a)},y(e,t,r,a){const o=getRelativePosition(t,e);return getAxisItems(e,o,"y",r.intersect,a)}}};const STATIC_POSITIONS=["left","top","right","bottom"];function filterByPosition(e,t){return e.filter(r=>r.pos===t)}function filterDynamicPositionByAxis(e,t){return e.filter(r=>STATIC_POSITIONS.indexOf(r.pos)===-1&&r.box.axis===t)}function sortByWeight(e,t){return e.sort((r,a)=>{const o=t?a:r,u=t?r:a;return o.weight===u.weight?o.index-u.index:o.weight-u.weight})}function wrapBoxes(e){const t=[];let r,a,o,u,d,f;for(r=0,a=(e||[]).length;r_.box.fullSize),!0),a=sortByWeight(filterByPosition(t,"left"),!0),o=sortByWeight(filterByPosition(t,"right")),u=sortByWeight(filterByPosition(t,"top"),!0),d=sortByWeight(filterByPosition(t,"bottom")),f=filterDynamicPositionByAxis(t,"x"),g=filterDynamicPositionByAxis(t,"y");return{fullSize:r,leftAndTop:a.concat(u),rightAndBottom:o.concat(g).concat(d).concat(f),chartArea:filterByPosition(t,"chartArea"),vertical:a.concat(o).concat(g),horizontal:u.concat(d).concat(f)}}function getCombinedMax(e,t,r,a){return Math.max(e[r],t[r])+Math.max(e[a],t[a])}function updateMaxPadding(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function updateDims(e,t,r,a){const{pos:o,box:u}=r,d=e.maxPadding;if(!isObject$4(o)){r.size&&(e[o]-=r.size);const E=a[r.stack]||{size:0,count:1};E.size=Math.max(E.size,r.horizontal?u.height:u.width),r.size=E.size/E.count,e[o]+=r.size}u.getPadding&&updateMaxPadding(d,u.getPadding());const f=Math.max(0,t.outerWidth-getCombinedMax(d,e,"left","right")),g=Math.max(0,t.outerHeight-getCombinedMax(d,e,"top","bottom")),_=f!==e.w,S=g!==e.h;return e.w=f,e.h=g,r.horizontal?{same:_,other:S}:{same:S,other:_}}function handleMaxPadding(e){const t=e.maxPadding;function r(a){const o=Math.max(t[a]-e[a],0);return e[a]+=o,o}e.y+=r("top"),e.x+=r("left"),r("right"),r("bottom")}function getMargins(e,t){const r=t.maxPadding;function a(o){const u={left:0,top:0,right:0,bottom:0};return o.forEach(d=>{u[d]=Math.max(t[d],r[d])}),u}return a(e?["left","right"]:["top","bottom"])}function fitBoxes(e,t,r,a){const o=[];let u,d,f,g,_,S;for(u=0,d=e.length,_=0;u{typeof T.beforeLayout=="function"&&T.beforeLayout()});const S=g.reduce((T,C)=>C.box.options&&C.box.options.display===!1?T:T+1,0)||1,E=Object.freeze({outerWidth:t,outerHeight:r,padding:o,availableWidth:u,availableHeight:d,vBoxMaxWidth:u/2/S,hBoxMaxHeight:d/2}),v=Object.assign({},o);updateMaxPadding(v,toPadding(a));const b=Object.assign({maxPadding:v,w:u,h:d,x:o.left,y:o.top},o),y=setLayoutDims(g.concat(_),E);fitBoxes(f.fullSize,b,E,y),fitBoxes(g,b,E,y),fitBoxes(_,b,E,y)&&fitBoxes(g,b,E,y),handleMaxPadding(b),placeBoxes(f.leftAndTop,b,E,y),b.x+=b.w,b.y+=b.h,placeBoxes(f.rightAndBottom,b,E,y),e.chartArea={left:b.left,top:b.top,right:b.left+b.w,bottom:b.top+b.h,height:b.h,width:b.w},each(f.chartArea,T=>{const C=T.box;Object.assign(C,e.chartArea),C.update(b.w,b.h,{left:0,top:0,right:0,bottom:0})})}};class BasePlatform{acquireContext(t,r){}releaseContext(t){return!1}addEventListener(t,r,a){}removeEventListener(t,r,a){}getDevicePixelRatio(){return 1}getMaximumSize(t,r,a,o){return r=Math.max(0,r||t.width),a=a||t.height,{width:r,height:Math.max(0,o?Math.floor(r/o):a)}}isAttached(t){return!0}updateConfig(t){}}class BasicPlatform extends BasePlatform{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const EXPANDO_KEY="$chartjs",EVENT_TYPES={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},isNullOrEmpty=e=>e===null||e==="";function initCanvas(e,t){const r=e.style,a=e.getAttribute("height"),o=e.getAttribute("width");if(e[EXPANDO_KEY]={initial:{height:a,width:o,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",r.boxSizing=r.boxSizing||"border-box",isNullOrEmpty(o)){const u=readUsedSize(e,"width");u!==void 0&&(e.width=u)}if(isNullOrEmpty(a))if(e.style.height==="")e.height=e.width/(t||2);else{const u=readUsedSize(e,"height");u!==void 0&&(e.height=u)}return e}const eventListenerOptions=supportsEventListenerOptions?{passive:!0}:!1;function addListener(e,t,r){e.addEventListener(t,r,eventListenerOptions)}function removeListener(e,t,r){e.canvas.removeEventListener(t,r,eventListenerOptions)}function fromNativeEvent(e,t){const r=EVENT_TYPES[e.type]||e.type,{x:a,y:o}=getRelativePosition(e,t);return{type:r,chart:t,native:e,x:a!==void 0?a:null,y:o!==void 0?o:null}}function nodeListContains(e,t){for(const r of e)if(r===t||r.contains(t))return!0}function createAttachObserver(e,t,r){const a=e.canvas,o=new MutationObserver(u=>{let d=!1;for(const f of u)d=d||nodeListContains(f.addedNodes,a),d=d&&!nodeListContains(f.removedNodes,a);d&&r()});return o.observe(document,{childList:!0,subtree:!0}),o}function createDetachObserver(e,t,r){const a=e.canvas,o=new MutationObserver(u=>{let d=!1;for(const f of u)d=d||nodeListContains(f.removedNodes,a),d=d&&!nodeListContains(f.addedNodes,a);d&&r()});return o.observe(document,{childList:!0,subtree:!0}),o}const drpListeningCharts=new Map;let oldDevicePixelRatio=0;function onWindowResize(){const e=window.devicePixelRatio;e!==oldDevicePixelRatio&&(oldDevicePixelRatio=e,drpListeningCharts.forEach((t,r)=>{r.currentDevicePixelRatio!==e&&t()}))}function listenDevicePixelRatioChanges(e,t){drpListeningCharts.size||window.addEventListener("resize",onWindowResize),drpListeningCharts.set(e,t)}function unlistenDevicePixelRatioChanges(e){drpListeningCharts.delete(e),drpListeningCharts.size||window.removeEventListener("resize",onWindowResize)}function createResizeObserver(e,t,r){const a=e.canvas,o=a&&_getParentNode(a);if(!o)return;const u=throttled((f,g)=>{const _=o.clientWidth;r(f,g),_{const g=f[0],_=g.contentRect.width,S=g.contentRect.height;_===0&&S===0||u(_,S)});return d.observe(o),listenDevicePixelRatioChanges(e,u),d}function releaseObserver(e,t,r){r&&r.disconnect(),t==="resize"&&unlistenDevicePixelRatioChanges(e)}function createProxyAndListen(e,t,r){const a=e.canvas,o=throttled(u=>{e.ctx!==null&&r(fromNativeEvent(u,e))},e);return addListener(a,t,o),o}class DomPlatform extends BasePlatform{acquireContext(t,r){const a=t&&t.getContext&&t.getContext("2d");return a&&a.canvas===t?(initCanvas(t,r),a):null}releaseContext(t){const r=t.canvas;if(!r[EXPANDO_KEY])return!1;const a=r[EXPANDO_KEY].initial;["height","width"].forEach(u=>{const d=a[u];isNullOrUndef(d)?r.removeAttribute(u):r.setAttribute(u,d)});const o=a.style||{};return Object.keys(o).forEach(u=>{r.style[u]=o[u]}),r.width=r.width,delete r[EXPANDO_KEY],!0}addEventListener(t,r,a){this.removeEventListener(t,r);const o=t.$proxies||(t.$proxies={}),d={attach:createAttachObserver,detach:createDetachObserver,resize:createResizeObserver}[r]||createProxyAndListen;o[r]=d(t,r,a)}removeEventListener(t,r){const a=t.$proxies||(t.$proxies={}),o=a[r];if(!o)return;({attach:releaseObserver,detach:releaseObserver,resize:releaseObserver}[r]||removeListener)(t,r,o),a[r]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,r,a,o){return getMaximumSize(t,r,a,o)}isAttached(t){const r=_getParentNode(t);return!!(r&&r.isConnected)}}function _detectPlatform(e){return!_isDomSupported()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?BasicPlatform:DomPlatform}var pt;let Element$1=(pt=class{constructor(){Ie(this,"x");Ie(this,"y");Ie(this,"active",!1);Ie(this,"options");Ie(this,"$animations")}tooltipPosition(t){const{x:r,y:a}=this.getProps(["x","y"],t);return{x:r,y:a}}hasValue(){return isNumber$1(this.x)&&isNumber$1(this.y)}getProps(t,r){const a=this.$animations;if(!r||!a)return this;const o={};return t.forEach(u=>{o[u]=a[u]&&a[u].active()?a[u]._to:this[u]}),o}},Ie(pt,"defaults",{}),Ie(pt,"defaultRoutes"),pt);function autoSkip(e,t){const r=e.options.ticks,a=determineMaxTicks(e),o=Math.min(r.maxTicksLimit||a,a),u=r.major.enabled?getMajorIndices(t):[],d=u.length,f=u[0],g=u[d-1],_=[];if(d>o)return skipMajors(t,_,u,d/o),_;const S=calculateSpacing(u,t,o);if(d>0){let E,v;const b=d>1?Math.round((g-f)/(d-1)):null;for(skip(t,_,S,isNullOrUndef(b)?0:f-b,f),E=0,v=d-1;Eo)return g}return Math.max(o,1)}function getMajorIndices(e){const t=[];let r,a;for(r=0,a=e.length;re==="left"?"right":e==="right"?"left":e,offsetFromEdge=(e,t,r)=>t==="top"||t==="left"?e[t]+r:e[t]-r,getTicksLimit=(e,t)=>Math.min(t||e,e);function sample(e,t){const r=[],a=e.length/t,o=e.length;let u=0;for(;ud+f)))return g}function garbageCollect(e,t){each(e,r=>{const a=r.gc,o=a.length/2;let u;if(o>t){for(u=0;ua?a:r,a=o&&r>a?r:a,{min:finiteOrDefault(r,finiteOrDefault(a,r)),max:finiteOrDefault(a,finiteOrDefault(r,a))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){callback(this.options.beforeUpdate,[this])}update(t,r,a){const{beginAtZero:o,grace:u,ticks:d}=this.options,f=d.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=r,this._margins=a=Object.assign({left:0,right:0,top:0,bottom:0},a),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+a.left+a.right:this.height+a.top+a.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=_addGrace(this,u,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const g=f=u||a<=1||!this.isHorizontal()){this.labelRotation=o;return}const S=this._getLabelSizes(),E=S.widest.width,v=S.highest.height,b=_limitValue(this.chart.width-E,0,this.maxWidth);f=t.offset?this.maxWidth/a:b/(a-1),E+6>f&&(f=b/(a-(t.offset?.5:1)),g=this.maxHeight-getTickMarkLength(t.grid)-r.padding-getTitleHeight(t.title,this.chart.options.font),_=Math.sqrt(E*E+v*v),d=toDegrees(Math.min(Math.asin(_limitValue((S.highest.height+6)/f,-1,1)),Math.asin(_limitValue(g/_,-1,1))-Math.asin(_limitValue(v/_,-1,1)))),d=Math.max(o,Math.min(u,d))),this.labelRotation=d}afterCalculateLabelRotation(){callback(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){callback(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:r,options:{ticks:a,title:o,grid:u}}=this,d=this._isVisible(),f=this.isHorizontal();if(d){const g=getTitleHeight(o,r.options.font);if(f?(t.width=this.maxWidth,t.height=getTickMarkLength(u)+g):(t.height=this.maxHeight,t.width=getTickMarkLength(u)+g),a.display&&this.ticks.length){const{first:_,last:S,widest:E,highest:v}=this._getLabelSizes(),b=a.padding*2,y=toRadians(this.labelRotation),T=Math.cos(y),C=Math.sin(y);if(f){const R=a.mirror?0:C*E.width+T*v.height;t.height=Math.min(this.maxHeight,t.height+R+b)}else{const R=a.mirror?0:T*E.width+C*v.height;t.width=Math.min(this.maxWidth,t.width+R+b)}this._calculatePadding(_,S,C,T)}}this._handleMargins(),f?(this.width=this._length=r.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=r.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,r,a,o){const{ticks:{align:u,padding:d},position:f}=this.options,g=this.labelRotation!==0,_=f!=="top"&&this.axis==="x";if(this.isHorizontal()){const S=this.getPixelForTick(0)-this.left,E=this.right-this.getPixelForTick(this.ticks.length-1);let v=0,b=0;g?_?(v=o*t.width,b=a*r.height):(v=a*t.height,b=o*r.width):u==="start"?b=r.width:u==="end"?v=t.width:u!=="inner"&&(v=t.width/2,b=r.width/2),this.paddingLeft=Math.max((v-S+d)*this.width/(this.width-S),0),this.paddingRight=Math.max((b-E+d)*this.width/(this.width-E),0)}else{let S=r.height/2,E=t.height/2;u==="start"?(S=0,E=t.height):u==="end"&&(S=r.height,E=0),this.paddingTop=S+d,this.paddingBottom=E+d}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){callback(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:r}=this.options;return r==="top"||r==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let r,a;for(r=0,a=t.length;r({width:d[P]||0,height:f[P]||0});return{first:D(0),last:D(r-1),widest:D(I),highest:D(k),widths:d,heights:f}}getLabelForValue(t){return t}getPixelForValue(t,r){return NaN}getValueForPixel(t){}getPixelForTick(t){const r=this.ticks;return t<0||t>r.length-1?null:this.getPixelForValue(r[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const r=this._startPixel+t*this._length;return _int16Range(this._alignToPixels?_alignPixel(this.chart,r,0):r)}getDecimalForPixel(t){const r=(t-this._startPixel)/this._length;return this._reversePixels?1-r:r}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:r}=this;return t<0&&r<0?r:t>0&&r>0?t:0}getContext(t){const r=this.ticks||[];if(t>=0&&tf*o?f/a:g/o:g*o0}_computeGridLineItems(t){const r=this.axis,a=this.chart,o=this.options,{grid:u,position:d,border:f}=o,g=u.offset,_=this.isHorizontal(),E=this.ticks.length+(g?1:0),v=getTickMarkLength(u),b=[],y=f.setContext(this.getContext()),T=y.display?y.width:0,C=T/2,R=function(K){return _alignPixel(a,K,T)};let A,O,x,N,I,k,D,P,L,F,B,V;if(d==="top")A=R(this.bottom),k=this.bottom-v,P=A-C,F=R(t.top)+C,V=t.bottom;else if(d==="bottom")A=R(this.top),F=t.top,V=R(t.bottom)-C,k=A+C,P=this.top+v;else if(d==="left")A=R(this.right),I=this.right-v,D=A-C,L=R(t.left)+C,B=t.right;else if(d==="right")A=R(this.left),L=t.left,B=R(t.right)-C,I=A+C,D=this.left+v;else if(r==="x"){if(d==="center")A=R((t.top+t.bottom)/2+.5);else if(isObject$4(d)){const K=Object.keys(d)[0],G=d[K];A=R(this.chart.scales[K].getPixelForValue(G))}F=t.top,V=t.bottom,k=A+C,P=k+v}else if(r==="y"){if(d==="center")A=R((t.left+t.right)/2);else if(isObject$4(d)){const K=Object.keys(d)[0],G=d[K];A=R(this.chart.scales[K].getPixelForValue(G))}I=A-C,D=I-v,L=t.left,B=t.right}const U=valueOrDefault(o.ticks.maxTicksLimit,E),W=Math.max(1,Math.ceil(E/U));for(O=0;Ou.value===t);return o>=0?r.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const r=this.options.grid,a=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let u,d;const f=(g,_,S)=>{!S.width||!S.color||(a.save(),a.lineWidth=S.width,a.strokeStyle=S.color,a.setLineDash(S.borderDash||[]),a.lineDashOffset=S.borderDashOffset,a.beginPath(),a.moveTo(g.x,g.y),a.lineTo(_.x,_.y),a.stroke(),a.restore())};if(r.display)for(u=0,d=o.length;u{this.draw(u)}}]:[{z:a,draw:u=>{this.drawBackground(),this.drawGrid(u),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:r,draw:u=>{this.drawLabels(u)}}]}getMatchingVisibleMetas(t){const r=this.chart.getSortedVisibleDatasetMetas(),a=this.axis+"AxisID",o=[];let u,d;for(u=0,d=r.length;u{const a=r.split("."),o=a.pop(),u=[e].concat(a).join("."),d=t[r].split("."),f=d.pop(),g=d.join(".");defaults$1.route(u,o,g,f)})}function isIChartComponent(e){return"id"in e&&"defaults"in e}class Registry{constructor(){this.controllers=new TypedRegistry(DatasetController,"datasets",!0),this.elements=new TypedRegistry(Element$1,"elements"),this.plugins=new TypedRegistry(Object,"plugins"),this.scales=new TypedRegistry(Scale,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,r,a){[...r].forEach(o=>{const u=a||this._getRegistryForType(o);a||u.isForType(o)||u===this.plugins&&o.id?this._exec(t,u,o):each(o,d=>{const f=a||this._getRegistryForType(d);this._exec(t,f,d)})})}_exec(t,r,a){const o=_capitalize(t);callback(a["before"+o],[],a),r[t](a),callback(a["after"+o],[],a)}_getRegistryForType(t){for(let r=0;ru.filter(f=>!d.some(g=>f.plugin.id===g.plugin.id));this._notify(o(r,a),t,"stop"),this._notify(o(a,r),t,"start")}}function allPlugins(e){const t={},r=[],a=Object.keys(registry.plugins.items);for(let u=0;u1&&idMatchesAxis(e[0].toLowerCase());if(a)return a}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function getAxisFromDataset(e,t,r){if(r[t+"AxisID"]===e)return{axis:t}}function retrieveAxisFromDatasets(e,t){if(t.data&&t.data.datasets){const r=t.data.datasets.filter(a=>a.xAxisID===e||a.yAxisID===e);if(r.length)return getAxisFromDataset(e,"x",r[0])||getAxisFromDataset(e,"y",r[0])}return{}}function mergeScaleConfig(e,t){const r=overrides[e.type]||{scales:{}},a=t.scales||{},o=getIndexAxis(e.type,t),u=Object.create(null);return Object.keys(a).forEach(d=>{const f=a[d];if(!isObject$4(f))return console.error(`Invalid scale configuration for scale: ${d}`);if(f._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${d}`);const g=determineAxis(d,f,retrieveAxisFromDatasets(d,e),defaults$1.scales[f.type]),_=getDefaultScaleIDFromAxis(g,o),S=r.scales||{};u[d]=mergeIf(Object.create(null),[{axis:g},f,S[g],S[_]])}),e.data.datasets.forEach(d=>{const f=d.type||e.type,g=d.indexAxis||getIndexAxis(f,t),S=(overrides[f]||{}).scales||{};Object.keys(S).forEach(E=>{const v=getAxisFromDefaultScaleID(E,g),b=d[v+"AxisID"]||v;u[b]=u[b]||Object.create(null),mergeIf(u[b],[{axis:v},a[b],S[E]])})}),Object.keys(u).forEach(d=>{const f=u[d];mergeIf(f,[defaults$1.scales[f.type],defaults$1.scale])}),u}function initOptions(e){const t=e.options||(e.options={});t.plugins=valueOrDefault(t.plugins,{}),t.scales=mergeScaleConfig(e,t)}function initData(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function initConfig(e){return e=e||{},e.data=initData(e.data),initOptions(e),e}const keyCache=new Map,keysCached=new Set;function cachedKeys(e,t){let r=keyCache.get(e);return r||(r=t(),keyCache.set(e,r),keysCached.add(r)),r}const addIfFound=(e,t,r)=>{const a=resolveObjectKey(t,r);a!==void 0&&e.add(a)};class Config{constructor(t){this._config=initConfig(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=initData(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),initOptions(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return cachedKeys(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,r){return cachedKeys(`${t}.transition.${r}`,()=>[[`datasets.${t}.transitions.${r}`,`transitions.${r}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,r){return cachedKeys(`${t}-${r}`,()=>[[`datasets.${t}.elements.${r}`,`datasets.${t}`,`elements.${r}`,""]])}pluginScopeKeys(t){const r=t.id,a=this.type;return cachedKeys(`${a}-plugin-${r}`,()=>[[`plugins.${r}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,r){const a=this._scopeCache;let o=a.get(t);return(!o||r)&&(o=new Map,a.set(t,o)),o}getOptionScopes(t,r,a){const{options:o,type:u}=this,d=this._cachedScopes(t,a),f=d.get(r);if(f)return f;const g=new Set;r.forEach(S=>{t&&(g.add(t),S.forEach(E=>addIfFound(g,t,E))),S.forEach(E=>addIfFound(g,o,E)),S.forEach(E=>addIfFound(g,overrides[u]||{},E)),S.forEach(E=>addIfFound(g,defaults$1,E)),S.forEach(E=>addIfFound(g,descriptors,E))});const _=Array.from(g);return _.length===0&&_.push(Object.create(null)),keysCached.has(r)&&d.set(r,_),_}chartOptionScopes(){const{options:t,type:r}=this;return[t,overrides[r]||{},defaults$1.datasets[r]||{},{type:r},defaults$1,descriptors]}resolveNamedOptions(t,r,a,o=[""]){const u={$shared:!0},{resolver:d,subPrefixes:f}=getResolver(this._resolverCache,t,o);let g=d;if(needContext(d,r)){u.$shared=!1,a=isFunction$1(a)?a():a;const _=this.createResolver(t,a,f);g=_attachContext(d,a,_)}for(const _ of r)u[_]=g[_];return u}createResolver(t,r,a=[""],o){const{resolver:u}=getResolver(this._resolverCache,t,a);return isObject$4(r)?_attachContext(u,r,void 0,o):u}}function getResolver(e,t,r){let a=e.get(t);a||(a=new Map,e.set(t,a));const o=r.join();let u=a.get(o);return u||(u={resolver:_createResolver(t,r),subPrefixes:r.filter(f=>!f.toLowerCase().includes("hover"))},a.set(o,u)),u}const hasFunction=e=>isObject$4(e)&&Object.getOwnPropertyNames(e).reduce((t,r)=>t||isFunction$1(e[r]),!1);function needContext(e,t){const{isScriptable:r,isIndexable:a}=_descriptors(e);for(const o of t){const u=r(o),d=a(o),f=(d||u)&&e[o];if(u&&(isFunction$1(f)||hasFunction(f))||d&&isArray$3(f))return!0}return!1}var version$5="4.4.0";const KNOWN_POSITIONS=["top","bottom","left","right","chartArea"];function positionIsHorizontal(e,t){return e==="top"||e==="bottom"||KNOWN_POSITIONS.indexOf(e)===-1&&t==="x"}function compare2Level(e,t){return function(r,a){return r[e]===a[e]?r[t]-a[t]:r[e]-a[e]}}function onAnimationsComplete(e){const t=e.chart,r=t.options.animation;t.notifyPlugins("afterRender"),callback(r&&r.onComplete,[e],t)}function onAnimationProgress(e){const t=e.chart,r=t.options.animation;callback(r&&r.onProgress,[e],t)}function getCanvas(e){return _isDomSupported()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const instances={},getChart=e=>{const t=getCanvas(e);return Object.values(instances).filter(r=>r.canvas===t).pop()};function moveNumericKeys(e,t,r){const a=Object.keys(e);for(const o of a){const u=+o;if(u>=t){const d=e[o];delete e[o],(r>0||u>t)&&(e[u+r]=d)}}}function determineLastEvent(e,t,r,a){return!r||e.type==="mouseout"?null:a?t:e}function getSizeForArea(e,t,r){return e.options.clip?e[r]:t[r]}function getDatasetArea(e,t){const{xScale:r,yScale:a}=e;return r&&a?{left:getSizeForArea(r,t,"left"),right:getSizeForArea(r,t,"right"),top:getSizeForArea(a,t,"top"),bottom:getSizeForArea(a,t,"bottom")}:t}class Chart{static register(...t){registry.add(...t),invalidatePlugins()}static unregister(...t){registry.remove(...t),invalidatePlugins()}constructor(t,r){const a=this.config=new Config(r),o=getCanvas(t),u=getChart(o);if(u)throw new Error("Canvas is already in use. Chart with ID '"+u.id+"' must be destroyed before the canvas with ID '"+u.canvas.id+"' can be reused.");const d=a.createResolver(a.chartOptionScopes(),this.getContext());this.platform=new(a.platform||_detectPlatform(o)),this.platform.updateConfig(a);const f=this.platform.acquireContext(o,d.aspectRatio),g=f&&f.canvas,_=g&&g.height,S=g&&g.width;if(this.id=uid(),this.ctx=f,this.canvas=g,this.width=S,this.height=_,this._options=d,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new PluginService,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=debounce$1(E=>this.update(E),d.resizeDelay||0),this._dataChanges=[],instances[this.id]=this,!f||!g){console.error("Failed to create chart: can't acquire context from the given item");return}animator.listen(this,"complete",onAnimationsComplete),animator.listen(this,"progress",onAnimationProgress),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:r},width:a,height:o,_aspectRatio:u}=this;return isNullOrUndef(t)?r&&u?u:o?a/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return registry}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return clearCanvas(this.canvas,this.ctx),this}stop(){return animator.stop(this),this}resize(t,r){animator.running(this)?this._resizeBeforeDraw={width:t,height:r}:this._resize(t,r)}_resize(t,r){const a=this.options,o=this.canvas,u=a.maintainAspectRatio&&this.aspectRatio,d=this.platform.getMaximumSize(o,t,r,u),f=a.devicePixelRatio||this.platform.getDevicePixelRatio(),g=this.width?"resize":"attach";this.width=d.width,this.height=d.height,this._aspectRatio=this.aspectRatio,retinaScale(this,f,!0)&&(this.notifyPlugins("resize",{size:d}),callback(a.onResize,[this,d],this),this.attached&&this._doResize(g)&&this.render())}ensureScalesHaveIDs(){const r=this.options.scales||{};each(r,(a,o)=>{a.id=o})}buildOrUpdateScales(){const t=this.options,r=t.scales,a=this.scales,o=Object.keys(a).reduce((d,f)=>(d[f]=!1,d),{});let u=[];r&&(u=u.concat(Object.keys(r).map(d=>{const f=r[d],g=determineAxis(d,f),_=g==="r",S=g==="x";return{options:f,dposition:_?"chartArea":S?"bottom":"left",dtype:_?"radialLinear":S?"category":"linear"}}))),each(u,d=>{const f=d.options,g=f.id,_=determineAxis(g,f),S=valueOrDefault(f.type,d.dtype);(f.position===void 0||positionIsHorizontal(f.position,_)!==positionIsHorizontal(d.dposition))&&(f.position=d.dposition),o[g]=!0;let E=null;if(g in a&&a[g].type===S)E=a[g];else{const v=registry.getScale(S);E=new v({id:g,type:S,ctx:this.ctx,chart:this}),a[E.id]=E}E.init(f,t)}),each(o,(d,f)=>{d||delete a[f]}),each(a,d=>{layouts.configure(this,d,d.options),layouts.addBox(this,d)})}_updateMetasets(){const t=this._metasets,r=this.data.datasets.length,a=t.length;if(t.sort((o,u)=>o.index-u.index),a>r){for(let o=r;or.length&&delete this._stacks,t.forEach((a,o)=>{r.filter(u=>u===a._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],r=this.data.datasets;let a,o;for(this._removeUnreferencedMetasets(),a=0,o=r.length;a{this.getDatasetMeta(r).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const r=this.config;r.update();const a=this._options=r.createResolver(r.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!a.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const u=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let d=0;for(let _=0,S=this.data.datasets.length;_{_.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(compare2Level("z","_idx"));const{_active:f,_lastEvent:g}=this;g?this._eventHandler(g,!0):f.length&&this._updateHoverStyles(f,f,!0),this.render()}_updateScales(){each(this.scales,t=>{layouts.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,r=new Set(Object.keys(this._listeners)),a=new Set(t.events);(!setsEqual(r,a)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,r=this._getUniformDataChanges()||[];for(const{method:a,start:o,count:u}of r){const d=a==="_removeElements"?-u:u;moveNumericKeys(t,o,d)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const r=this.data.datasets.length,a=u=>new Set(t.filter(d=>d[0]===u).map((d,f)=>f+","+d.splice(1).join(","))),o=a(0);for(let u=1;uu.split(",")).map(u=>({method:u[1],start:+u[2],count:+u[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;layouts.update(this,this.width,this.height,t);const r=this.chartArea,a=r.width<=0||r.height<=0;this._layers=[],each(this.boxes,o=>{a&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,u)=>{o._idx=u}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let r=0,a=this.data.datasets.length;r=0;--r)this._drawDataset(t[r]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const r=this.ctx,a=t._clip,o=!a.disabled,u=getDatasetArea(t,this.chartArea),d={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",d)!==!1&&(o&&clipArea(r,{left:a.left===!1?0:u.left-a.left,right:a.right===!1?this.width:u.right+a.right,top:a.top===!1?0:u.top-a.top,bottom:a.bottom===!1?this.height:u.bottom+a.bottom}),t.controller.draw(),o&&unclipArea(r),d.cancelable=!1,this.notifyPlugins("afterDatasetDraw",d))}isPointInArea(t){return _isPointInArea(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,r,a,o){const u=Interaction.modes[r];return typeof u=="function"?u(this,t,a,o):[]}getDatasetMeta(t){const r=this.data.datasets[t],a=this._metasets;let o=a.filter(u=>u&&u._dataset===r).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:r&&r.order||0,index:t,_dataset:r,_parsed:[],_sorted:!1},a.push(o)),o}getContext(){return this.$context||(this.$context=createContext(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const r=this.data.datasets[t];if(!r)return!1;const a=this.getDatasetMeta(t);return typeof a.hidden=="boolean"?!a.hidden:!r.hidden}setDatasetVisibility(t,r){const a=this.getDatasetMeta(t);a.hidden=!r}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,r,a){const o=a?"show":"hide",u=this.getDatasetMeta(t),d=u.controller._resolveAnimations(void 0,o);defined(r)?(u.data[r].hidden=!a,this.update()):(this.setDatasetVisibility(t,a),d.update(u,{visible:a}),this.update(f=>f.datasetIndex===t?o:void 0))}hide(t,r){this._updateVisibility(t,r,!1)}show(t,r){this._updateVisibility(t,r,!0)}_destroyDatasetMeta(t){const r=this._metasets[t];r&&r.controller&&r.controller._destroy(),delete this._metasets[t]}_stop(){let t,r;for(this.stop(),animator.remove(this),t=0,r=this.data.datasets.length;t{r.addEventListener(this,u,d),t[u]=d},o=(u,d,f)=>{u.offsetX=d,u.offsetY=f,this._eventHandler(u)};each(this.options.events,u=>a(u,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,r=this.platform,a=(g,_)=>{r.addEventListener(this,g,_),t[g]=_},o=(g,_)=>{t[g]&&(r.removeEventListener(this,g,_),delete t[g])},u=(g,_)=>{this.canvas&&this.resize(g,_)};let d;const f=()=>{o("attach",f),this.attached=!0,this.resize(),a("resize",u),a("detach",d)};d=()=>{this.attached=!1,o("resize",u),this._stop(),this._resize(0,0),a("attach",f)},r.isAttached(this.canvas)?f():d()}unbindEvents(){each(this._listeners,(t,r)=>{this.platform.removeEventListener(this,r,t)}),this._listeners={},each(this._responsiveListeners,(t,r)=>{this.platform.removeEventListener(this,r,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,r,a){const o=a?"set":"remove";let u,d,f,g;for(r==="dataset"&&(u=this.getDatasetMeta(t[0].datasetIndex),u.controller["_"+o+"DatasetHoverStyle"]()),f=0,g=t.length;f{const f=this.getDatasetMeta(u);if(!f)throw new Error("No dataset found at index "+u);return{datasetIndex:u,element:f.data[d],index:d}});!_elementsEqual(a,r)&&(this._active=a,this._lastEvent=null,this._updateHoverStyles(a,r))}notifyPlugins(t,r,a){return this._plugins.notify(this,t,r,a)}isPluginEnabled(t){return this._plugins._cache.filter(r=>r.plugin.id===t).length===1}_updateHoverStyles(t,r,a){const o=this.options.hover,u=(g,_)=>g.filter(S=>!_.some(E=>S.datasetIndex===E.datasetIndex&&S.index===E.index)),d=u(r,t),f=a?t:u(t,r);d.length&&this.updateHoverStyle(d,o.mode,!1),f.length&&o.mode&&this.updateHoverStyle(f,o.mode,!0)}_eventHandler(t,r){const a={event:t,replay:r,cancelable:!0,inChartArea:this.isPointInArea(t)},o=d=>(d.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",a,o)===!1)return;const u=this._handleEvent(t,r,a.inChartArea);return a.cancelable=!1,this.notifyPlugins("afterEvent",a,o),(u||a.changed)&&this.render(),this}_handleEvent(t,r,a){const{_active:o=[],options:u}=this,d=r,f=this._getActiveElements(t,o,a,d),g=_isClickEvent(t),_=determineLastEvent(t,this._lastEvent,a,g);a&&(this._lastEvent=null,callback(u.onHover,[t,f,this],this),g&&callback(u.onClick,[t,f,this],this));const S=!_elementsEqual(f,o);return(S||r)&&(this._active=f,this._updateHoverStyles(f,o,r)),this._lastEvent=_,S}_getActiveElements(t,r,a,o){if(t.type==="mouseout")return[];if(!a)return r;const u=this.options.hover;return this.getElementsAtEventForMode(t,u.mode,u,o)}}Ie(Chart,"defaults",defaults$1),Ie(Chart,"instances",instances),Ie(Chart,"overrides",overrides),Ie(Chart,"registry",registry),Ie(Chart,"version",version$5),Ie(Chart,"getChart",getChart);function invalidatePlugins(){return each(Chart.instances,e=>e._plugins.invalidate())}function clipArc(e,t,r){const{startAngle:a,pixelMargin:o,x:u,y:d,outerRadius:f,innerRadius:g}=t;let _=o/f;e.beginPath(),e.arc(u,d,f,a-_,r+_),g>o?(_=o/g,e.arc(u,d,g,r+_,a-_,!0)):e.arc(u,d,o,r+HALF_PI,a-HALF_PI),e.closePath(),e.clip()}function toRadiusCorners(e){return _readValueToProps(e,["outerStart","outerEnd","innerStart","innerEnd"])}function parseBorderRadius$1(e,t,r,a){const o=toRadiusCorners(e.options.borderRadius),u=(r-t)/2,d=Math.min(u,a*t/2),f=g=>{const _=(r-Math.min(u,g))*a/2;return _limitValue(g,0,Math.min(u,_))};return{outerStart:f(o.outerStart),outerEnd:f(o.outerEnd),innerStart:_limitValue(o.innerStart,0,d),innerEnd:_limitValue(o.innerEnd,0,d)}}function rThetaToXY(e,t,r,a){return{x:r+e*Math.cos(t),y:a+e*Math.sin(t)}}function pathArc(e,t,r,a,o,u){const{x:d,y:f,startAngle:g,pixelMargin:_,innerRadius:S}=t,E=Math.max(t.outerRadius+a+r-_,0),v=S>0?S+a+r+_:0;let b=0;const y=o-g;if(a){const W=S>0?S-a:0,K=E>0?E-a:0,G=(W+K)/2,Y=G!==0?y*G/(G+a):y;b=(y-Y)/2}const T=Math.max(.001,y*E-r/PI)/E,C=(y-T)/2,R=g+C+b,A=o-C-b,{outerStart:O,outerEnd:x,innerStart:N,innerEnd:I}=parseBorderRadius$1(t,v,E,A-R),k=E-O,D=E-x,P=R+O/k,L=A-x/D,F=v+N,B=v+I,V=R+N/F,U=A-I/B;if(e.beginPath(),u){const W=(P+L)/2;if(e.arc(d,f,E,P,W),e.arc(d,f,E,W,L),x>0){const Q=rThetaToXY(D,L,d,f);e.arc(Q.x,Q.y,x,L,A+HALF_PI)}const K=rThetaToXY(B,A,d,f);if(e.lineTo(K.x,K.y),I>0){const Q=rThetaToXY(B,U,d,f);e.arc(Q.x,Q.y,I,A+HALF_PI,U+Math.PI)}const G=(A-I/v+(R+N/v))/2;if(e.arc(d,f,v,A-I/v,G,!0),e.arc(d,f,v,G,R+N/v,!0),N>0){const Q=rThetaToXY(F,V,d,f);e.arc(Q.x,Q.y,N,V+Math.PI,R-HALF_PI)}const Y=rThetaToXY(k,R,d,f);if(e.lineTo(Y.x,Y.y),O>0){const Q=rThetaToXY(k,P,d,f);e.arc(Q.x,Q.y,O,R-HALF_PI,P)}}else{e.moveTo(d,f);const W=Math.cos(P)*E+d,K=Math.sin(P)*E+f;e.lineTo(W,K);const G=Math.cos(L)*E+d,Y=Math.sin(L)*E+f;e.lineTo(G,Y)}e.closePath()}function drawArc(e,t,r,a,o){const{fullCircles:u,startAngle:d,circumference:f}=t;let g=t.endAngle;if(u){pathArc(e,t,r,a,g,o);for(let _=0;_=TAU||_angleBetween(d,g,_),C=_isBetween(f,S+b,E+b);return T&&C}getCenterPoint(r){const{x:a,y:o,startAngle:u,endAngle:d,innerRadius:f,outerRadius:g}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],r),{offset:_,spacing:S}=this.options,E=(u+d)/2,v=(f+g+S+_)/2;return{x:a+Math.cos(E)*v,y:o+Math.sin(E)*v}}tooltipPosition(r){return this.getCenterPoint(r)}draw(r){const{options:a,circumference:o}=this,u=(a.offset||0)/4,d=(a.spacing||0)/2,f=a.circular;if(this.pixelMargin=a.borderAlign==="inner"?.33:0,this.fullCircles=o>TAU?Math.floor(o/TAU):0,o===0||this.innerRadius<0||this.outerRadius<0)return;r.save();const g=(this.startAngle+this.endAngle)/2;r.translate(Math.cos(g)*u,Math.sin(g)*u);const _=1-Math.sin(Math.min(PI,o||0)),S=u*_;r.fillStyle=a.backgroundColor,r.strokeStyle=a.borderColor,drawArc(r,this,S,d,f),drawBorder(r,this,S,d,f),r.restore()}}Ie(ArcElement,"id","arc"),Ie(ArcElement,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),Ie(ArcElement,"defaultRoutes",{backgroundColor:"backgroundColor"}),Ie(ArcElement,"descriptors",{_scriptable:!0,_indexable:r=>r!=="borderDash"});function setStyle(e,t,r=t){e.lineCap=valueOrDefault(r.borderCapStyle,t.borderCapStyle),e.setLineDash(valueOrDefault(r.borderDash,t.borderDash)),e.lineDashOffset=valueOrDefault(r.borderDashOffset,t.borderDashOffset),e.lineJoin=valueOrDefault(r.borderJoinStyle,t.borderJoinStyle),e.lineWidth=valueOrDefault(r.borderWidth,t.borderWidth),e.strokeStyle=valueOrDefault(r.borderColor,t.borderColor)}function lineTo(e,t,r){e.lineTo(r.x,r.y)}function getLineMethod(e){return e.stepped?_steppedLineTo:e.tension||e.cubicInterpolationMode==="monotone"?_bezierCurveTo:lineTo}function pathVars(e,t,r={}){const a=e.length,{start:o=0,end:u=a-1}=r,{start:d,end:f}=t,g=Math.max(o,d),_=Math.min(u,f),S=of&&u>f;return{count:a,start:g,loop:t.loop,ilen:_(d+(_?f-x:x))%u,O=()=>{T!==C&&(e.lineTo(S,C),e.lineTo(S,T),e.lineTo(S,R))};for(g&&(b=o[A(0)],e.moveTo(b.x,b.y)),v=0;v<=f;++v){if(b=o[A(v)],b.skip)continue;const x=b.x,N=b.y,I=x|0;I===y?(NC&&(C=N),S=(E*S+x)/++E):(O(),e.lineTo(x,N),y=I,E=0,T=C=N),R=N}O()}function _getSegmentMethod(e){const t=e.options,r=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!r?fastPathSegment:pathSegment}function _getInterpolationMethod(e){return e.stepped?_steppedInterpolation:e.tension||e.cubicInterpolationMode==="monotone"?_bezierInterpolation:_pointInLine}function strokePathWithCache(e,t,r,a){let o=t._path;o||(o=t._path=new Path2D,t.path(o,r,a)&&o.closePath()),setStyle(e,t.options),e.stroke(o)}function strokePathDirect(e,t,r,a){const{segments:o,options:u}=t,d=_getSegmentMethod(t);for(const f of o)setStyle(e,u,f.style),e.beginPath(),d(e,t,f,{start:r,end:r+a-1})&&e.closePath(),e.stroke()}const usePath2D=typeof Path2D=="function";function draw$1(e,t,r,a){usePath2D&&!t.options.segment?strokePathWithCache(e,t,r,a):strokePathDirect(e,t,r,a)}class LineElement extends Element$1{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,r){const a=this.options;if((a.tension||a.cubicInterpolationMode==="monotone")&&!a.stepped&&!this._pointsUpdated){const o=a.spanGaps?this._loop:this._fullLoop;_updateBezierControlPoints(this._points,a,t,o,r),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=_computeSegments(this,this.options.segment))}first(){const t=this.segments,r=this.points;return t.length&&r[t[0].start]}last(){const t=this.segments,r=this.points,a=t.length;return a&&r[t[a-1].end]}interpolate(t,r){const a=this.options,o=t[r],u=this.points,d=_boundSegments(this,{property:r,start:o,end:o});if(!d.length)return;const f=[],g=_getInterpolationMethod(a);let _,S;for(_=0,S=d.length;_t!=="borderDash"&&t!=="fill"});function inRange$1(e,t,r,a){const o=e.options,{[r]:u}=e.getProps([r],a);return Math.abs(t-u)e.replace("rgb(","rgba(").replace(")",", 0.5)"));function getBorderColor(e){return BORDER_COLORS[e%BORDER_COLORS.length]}function getBackgroundColor(e){return BACKGROUND_COLORS[e%BACKGROUND_COLORS.length]}function colorizeDefaultDataset(e,t){return e.borderColor=getBorderColor(t),e.backgroundColor=getBackgroundColor(t),++t}function colorizeDoughnutDataset(e,t){return e.backgroundColor=e.data.map(()=>getBorderColor(t++)),t}function colorizePolarAreaDataset(e,t){return e.backgroundColor=e.data.map(()=>getBackgroundColor(t++)),t}function getColorizer(e){let t=0;return(r,a)=>{const o=e.getDatasetMeta(a).controller;o instanceof DoughnutController?t=colorizeDoughnutDataset(r,t):o instanceof PolarAreaController?t=colorizePolarAreaDataset(r,t):o&&(t=colorizeDefaultDataset(r,t))}}function containsColorsDefinitions(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function containsColorsDefinition(e){return e&&(e.borderColor||e.backgroundColor)}var plugin_colors={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,r){if(!r.enabled)return;const{data:{datasets:a},options:o}=e.config,{elements:u}=o;if(!r.forceOverride&&(containsColorsDefinitions(a)||containsColorsDefinition(o)||u&&containsColorsDefinitions(u)))return;const d=getColorizer(e);a.forEach(d)}};function lttbDecimation(e,t,r,a,o){const u=o.samples||a;if(u>=r)return e.slice(t,t+r);const d=[],f=(r-2)/(u-2);let g=0;const _=t+r-1;let S=t,E,v,b,y,T;for(d[g++]=e[S],E=0;Eb&&(b=y,v=e[A],T=A);d[g++]=v,S=T}return d[g++]=e[_],d}function minMaxDecimation(e,t,r,a){let o=0,u=0,d,f,g,_,S,E,v,b,y,T;const C=[],R=t+r-1,A=e[t].x,x=e[R].x-A;for(d=t;dT&&(T=_,v=d),o=(u*o+f.x)/++u;else{const I=d-1;if(!isNullOrUndef(E)&&!isNullOrUndef(v)){const k=Math.min(E,v),D=Math.max(E,v);k!==b&&k!==I&&C.push({...e[k],x:o}),D!==b&&D!==I&&C.push({...e[D],x:o})}d>0&&I!==b&&C.push(e[I]),C.push(f),S=N,u=0,y=T=_,E=v=b=d}}return C}function cleanDecimatedDataset(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function cleanDecimatedData(e){e.data.datasets.forEach(t=>{cleanDecimatedDataset(t)})}function getStartAndCountOfVisiblePointsSimplified(e,t){const r=t.length;let a=0,o;const{iScale:u}=e,{min:d,max:f,minDefined:g,maxDefined:_}=u.getUserBounds();return g&&(a=_limitValue(_lookupByKey(t,u.axis,d).lo,0,r-1)),_?o=_limitValue(_lookupByKey(t,u.axis,f).hi+1,a,r)-a:o=r-a,{start:a,count:o}}var plugin_decimation={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,r)=>{if(!r.enabled){cleanDecimatedData(e);return}const a=e.width;e.data.datasets.forEach((o,u)=>{const{_data:d,indexAxis:f}=o,g=e.getDatasetMeta(u),_=d||o.data;if(resolve([f,e.options.indexAxis])==="y"||!g.controller.supportsDecimation)return;const S=e.scales[g.xAxisID];if(S.type!=="linear"&&S.type!=="time"||e.options.parsing)return;let{start:E,count:v}=getStartAndCountOfVisiblePointsSimplified(g,_);const b=r.threshold||4*a;if(v<=b){cleanDecimatedDataset(o);return}isNullOrUndef(d)&&(o._data=_,delete o.data,Object.defineProperty(o,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(T){this._data=T}}));let y;switch(r.algorithm){case"lttb":y=lttbDecimation(_,E,v,a,r);break;case"min-max":y=minMaxDecimation(_,E,v,a);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}o._decimated=y})},destroy(e){cleanDecimatedData(e)}};function _segments(e,t,r){const a=e.segments,o=e.points,u=t.points,d=[];for(const f of a){let{start:g,end:_}=f;_=_findSegmentEnd(g,_,o);const S=_getBounds(r,o[g],o[_],f.loop);if(!t.segments){d.push({source:f,target:S,start:o[g],end:o[_]});continue}const E=_boundSegments(t,S);for(const v of E){const b=_getBounds(r,u[v.start],u[v.end],v.loop),y=_boundSegment(f,o,b);for(const T of y)d.push({source:T,target:v,start:{[r]:_getEdge(S,b,"start",Math.max)},end:{[r]:_getEdge(S,b,"end",Math.min)}})}}return d}function _getBounds(e,t,r,a){if(a)return;let o=t[e],u=r[e];return e==="angle"&&(o=_normalizeAngle(o),u=_normalizeAngle(u)),{property:e,start:o,end:u}}function _pointsFromSegments(e,t){const{x:r=null,y:a=null}=e||{},o=t.points,u=[];return t.segments.forEach(({start:d,end:f})=>{f=_findSegmentEnd(d,f,o);const g=o[d],_=o[f];a!==null?(u.push({x:g.x,y:a}),u.push({x:_.x,y:a})):r!==null&&(u.push({x:r,y:g.y}),u.push({x:r,y:_.y}))}),u}function _findSegmentEnd(e,t,r){for(;t>e;t--){const a=r[t];if(!isNaN(a.x)&&!isNaN(a.y))break}return t}function _getEdge(e,t,r,a){return e&&t?a(e[r],t[r]):e?e[r]:t?t[r]:0}function _createBoundaryLine(e,t){let r=[],a=!1;return isArray$3(e)?(a=!0,r=e):r=_pointsFromSegments(e,t),r.length?new LineElement({points:r,options:{tension:0},_loop:a,_fullLoop:a}):null}function _shouldApplyFill(e){return e&&e.fill!==!1}function _resolveTarget(e,t,r){let o=e[t].fill;const u=[t];let d;if(!r)return o;for(;o!==!1&&u.indexOf(o)===-1;){if(!isNumberFinite(o))return o;if(d=e[o],!d)return!1;if(d.visible)return o;u.push(o),o=d.fill}return!1}function _decodeFill(e,t,r){const a=parseFillOption(e);if(isObject$4(a))return isNaN(a.value)?!1:a;let o=parseFloat(a);return isNumberFinite(o)&&Math.floor(o)===o?decodeTargetIndex(a[0],t,o,r):["origin","start","end","stack","shape"].indexOf(a)>=0&&a}function decodeTargetIndex(e,t,r,a){return(e==="-"||e==="+")&&(r=t+r),r===t||r<0||r>=a?!1:r}function _getTargetPixel(e,t){let r=null;return e==="start"?r=t.bottom:e==="end"?r=t.top:isObject$4(e)?r=t.getPixelForValue(e.value):t.getBasePixel&&(r=t.getBasePixel()),r}function _getTargetValue(e,t,r){let a;return e==="start"?a=r:e==="end"?a=t.options.reverse?t.min:t.max:isObject$4(e)?a=e.value:a=t.getBaseValue(),a}function parseFillOption(e){const t=e.options,r=t.fill;let a=valueOrDefault(r&&r.target,r);return a===void 0&&(a=!!t.backgroundColor),a===!1||a===null?!1:a===!0?"origin":a}function _buildStackLine(e){const{scale:t,index:r,line:a}=e,o=[],u=a.segments,d=a.points,f=getLinesBelow(t,r);f.push(_createBoundaryLine({x:null,y:t.bottom},a));for(let g=0;g=0;--d){const f=o[d].$filler;f&&(f.line.updateControlPoints(u,f.axis),a&&f.fill&&_drawfill(e.ctx,f,u))}},beforeDatasetsDraw(e,t,r){if(r.drawTime!=="beforeDatasetsDraw")return;const a=e.getSortedVisibleDatasetMetas();for(let o=a.length-1;o>=0;--o){const u=a[o].$filler;_shouldApplyFill(u)&&_drawfill(e.ctx,u,e.chartArea)}},beforeDatasetDraw(e,t,r){const a=t.meta.$filler;!_shouldApplyFill(a)||r.drawTime!=="beforeDatasetDraw"||_drawfill(e.ctx,a,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const getBoxSize=(e,t)=>{let{boxHeight:r=t,boxWidth:a=t}=e;return e.usePointStyle&&(r=Math.min(r,t),a=e.pointStyleWidth||Math.min(a,t)),{boxWidth:a,boxHeight:r,itemHeight:Math.max(t,r)}},itemsEqual=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class Legend extends Element$1{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,r,a){this.maxWidth=t,this.maxHeight=r,this._margins=a,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let r=callback(t.generateLabels,[this.chart],this)||[];t.filter&&(r=r.filter(a=>t.filter(a,this.chart.data))),t.sort&&(r=r.sort((a,o)=>t.sort(a,o,this.chart.data))),this.options.reverse&&r.reverse(),this.legendItems=r}fit(){const{options:t,ctx:r}=this;if(!t.display){this.width=this.height=0;return}const a=t.labels,o=toFont(a.font),u=o.size,d=this._computeTitleHeight(),{boxWidth:f,itemHeight:g}=getBoxSize(a,u);let _,S;r.font=o.string,this.isHorizontal()?(_=this.maxWidth,S=this._fitRows(d,u,f,g)+10):(S=this.maxHeight,_=this._fitCols(d,o,f,g)+10),this.width=Math.min(_,t.maxWidth||this.maxWidth),this.height=Math.min(S,t.maxHeight||this.maxHeight)}_fitRows(t,r,a,o){const{ctx:u,maxWidth:d,options:{labels:{padding:f}}}=this,g=this.legendHitBoxes=[],_=this.lineWidths=[0],S=o+f;let E=t;u.textAlign="left",u.textBaseline="middle";let v=-1,b=-S;return this.legendItems.forEach((y,T)=>{const C=a+r/2+u.measureText(y.text).width;(T===0||_[_.length-1]+C+2*f>d)&&(E+=S,_[_.length-(T>0?0:1)]=0,b+=S,v++),g[T]={left:0,top:b,row:v,width:C,height:o},_[_.length-1]+=C+f}),E}_fitCols(t,r,a,o){const{ctx:u,maxHeight:d,options:{labels:{padding:f}}}=this,g=this.legendHitBoxes=[],_=this.columnSizes=[],S=d-t;let E=f,v=0,b=0,y=0,T=0;return this.legendItems.forEach((C,R)=>{const{itemWidth:A,itemHeight:O}=calculateItemSize(a,r,u,C,o);R>0&&b+O+2*f>S&&(E+=v+f,_.push({width:v,height:b}),y+=v+f,T++,v=b=0),g[R]={left:y,top:b,col:T,width:A,height:O},v=Math.max(v,A),b+=O+f}),E+=v,_.push({width:v,height:b}),E}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:r,options:{align:a,labels:{padding:o},rtl:u}}=this,d=getRtlAdapter(u,this.left,this.width);if(this.isHorizontal()){let f=0,g=_alignStartEnd(a,this.left+o,this.right-this.lineWidths[f]);for(const _ of r)f!==_.row&&(f=_.row,g=_alignStartEnd(a,this.left+o,this.right-this.lineWidths[f])),_.top+=this.top+t+o,_.left=d.leftForLtr(d.x(g),_.width),g+=_.width+o}else{let f=0,g=_alignStartEnd(a,this.top+t+o,this.bottom-this.columnSizes[f].height);for(const _ of r)_.col!==f&&(f=_.col,g=_alignStartEnd(a,this.top+t+o,this.bottom-this.columnSizes[f].height)),_.top=g,_.left+=this.left+o,_.left=d.leftForLtr(d.x(_.left),_.width),g+=_.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;clipArea(t,this),this._draw(),unclipArea(t)}}_draw(){const{options:t,columnSizes:r,lineWidths:a,ctx:o}=this,{align:u,labels:d}=t,f=defaults$1.color,g=getRtlAdapter(t.rtl,this.left,this.width),_=toFont(d.font),{padding:S}=d,E=_.size,v=E/2;let b;this.drawTitle(),o.textAlign=g.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=_.string;const{boxWidth:y,boxHeight:T,itemHeight:C}=getBoxSize(d,E),R=function(I,k,D){if(isNaN(y)||y<=0||isNaN(T)||T<0)return;o.save();const P=valueOrDefault(D.lineWidth,1);if(o.fillStyle=valueOrDefault(D.fillStyle,f),o.lineCap=valueOrDefault(D.lineCap,"butt"),o.lineDashOffset=valueOrDefault(D.lineDashOffset,0),o.lineJoin=valueOrDefault(D.lineJoin,"miter"),o.lineWidth=P,o.strokeStyle=valueOrDefault(D.strokeStyle,f),o.setLineDash(valueOrDefault(D.lineDash,[])),d.usePointStyle){const L={radius:T*Math.SQRT2/2,pointStyle:D.pointStyle,rotation:D.rotation,borderWidth:P},F=g.xPlus(I,y/2),B=k+v;drawPointLegend(o,L,F,B,d.pointStyleWidth&&y)}else{const L=k+Math.max((E-T)/2,0),F=g.leftForLtr(I,y),B=toTRBLCorners(D.borderRadius);o.beginPath(),Object.values(B).some(V=>V!==0)?addRoundedRectPath(o,{x:F,y:L,w:y,h:T,radius:B}):o.rect(F,L,y,T),o.fill(),P!==0&&o.stroke()}o.restore()},A=function(I,k,D){renderText(o,D.text,I,k+C/2,_,{strikethrough:D.hidden,textAlign:g.textAlign(D.textAlign)})},O=this.isHorizontal(),x=this._computeTitleHeight();O?b={x:_alignStartEnd(u,this.left+S,this.right-a[0]),y:this.top+S+x,line:0}:b={x:this.left+S,y:_alignStartEnd(u,this.top+x+S,this.bottom-r[0].height),line:0},overrideTextDirection(this.ctx,t.textDirection);const N=C+S;this.legendItems.forEach((I,k)=>{o.strokeStyle=I.fontColor,o.fillStyle=I.fontColor;const D=o.measureText(I.text).width,P=g.textAlign(I.textAlign||(I.textAlign=d.textAlign)),L=y+v+D;let F=b.x,B=b.y;g.setWidth(this.width),O?k>0&&F+L+S>this.right&&(B=b.y+=N,b.line++,F=b.x=_alignStartEnd(u,this.left+S,this.right-a[b.line])):k>0&&B+N>this.bottom&&(F=b.x=F+r[b.line].width+S,b.line++,B=b.y=_alignStartEnd(u,this.top+x+S,this.bottom-r[b.line].height));const V=g.x(F);if(R(V,B,I),F=_textX(P,F+y+v,O?F+L:this.right,t.rtl),A(g.x(F),B,I),O)b.x+=L+S;else if(typeof I.text!="string"){const U=_.lineHeight;b.y+=calculateLegendItemHeight(I,U)+S}else b.y+=N}),restoreTextDirection(this.ctx,t.textDirection)}drawTitle(){const t=this.options,r=t.title,a=toFont(r.font),o=toPadding(r.padding);if(!r.display)return;const u=getRtlAdapter(t.rtl,this.left,this.width),d=this.ctx,f=r.position,g=a.size/2,_=o.top+g;let S,E=this.left,v=this.width;if(this.isHorizontal())v=Math.max(...this.lineWidths),S=this.top+_,E=_alignStartEnd(t.align,E,this.right-v);else{const y=this.columnSizes.reduce((T,C)=>Math.max(T,C.height),0);S=_+_alignStartEnd(t.align,this.top,this.bottom-y-t.labels.padding-this._computeTitleHeight())}const b=_alignStartEnd(f,E,E+v);d.textAlign=u.textAlign(_toLeftRightCenter(f)),d.textBaseline="middle",d.strokeStyle=r.color,d.fillStyle=r.color,d.font=a.string,renderText(d,r.text,b,S,a)}_computeTitleHeight(){const t=this.options.title,r=toFont(t.font),a=toPadding(t.padding);return t.display?r.lineHeight+a.height:0}_getLegendItemAt(t,r){let a,o,u;if(_isBetween(t,this.left,this.right)&&_isBetween(r,this.top,this.bottom)){for(u=this.legendHitBoxes,a=0;au.length>d.length?u:d)),t+r.size/2+a.measureText(o).width}function calculateItemHeight(e,t,r){let a=e;return typeof t.text!="string"&&(a=calculateLegendItemHeight(t,r)),a}function calculateLegendItemHeight(e,t){const r=e.text?e.text.length:0;return t*r}function isListened(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var plugin_legend={id:"legend",_element:Legend,start(e,t,r){const a=e.legend=new Legend({ctx:e.ctx,options:r,chart:e});layouts.configure(e,a,r),layouts.addBox(e,a)},stop(e){layouts.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,r){const a=e.legend;layouts.configure(e,a,r),a.options=r},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,r){const a=t.datasetIndex,o=r.chart;o.isDatasetVisible(a)?(o.hide(a),t.hidden=!0):(o.show(a),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:r,pointStyle:a,textAlign:o,color:u,useBorderRadius:d,borderRadius:f}}=e.legend.options;return e._getSortedDatasetMetas().map(g=>{const _=g.controller.getStyle(r?0:void 0),S=toPadding(_.borderWidth);return{text:t[g.index].label,fillStyle:_.backgroundColor,fontColor:u,hidden:!g.visible,lineCap:_.borderCapStyle,lineDash:_.borderDash,lineDashOffset:_.borderDashOffset,lineJoin:_.borderJoinStyle,lineWidth:(S.width+S.height)/4,strokeStyle:_.borderColor,pointStyle:a||_.pointStyle,rotation:_.rotation,textAlign:o||_.textAlign,borderRadius:d&&(f||_.borderRadius),datasetIndex:g.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Title extends Element$1{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,r){const a=this.options;if(this.left=0,this.top=0,!a.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=r;const o=isArray$3(a.text)?a.text.length:1;this._padding=toPadding(a.padding);const u=o*toFont(a.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=u:this.width=u}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:r,left:a,bottom:o,right:u,options:d}=this,f=d.align;let g=0,_,S,E;return this.isHorizontal()?(S=_alignStartEnd(f,a,u),E=r+t,_=u-a):(d.position==="left"?(S=a+t,E=_alignStartEnd(f,o,r),g=PI*-.5):(S=u-t,E=_alignStartEnd(f,r,o),g=PI*.5),_=o-r),{titleX:S,titleY:E,maxWidth:_,rotation:g}}draw(){const t=this.ctx,r=this.options;if(!r.display)return;const a=toFont(r.font),u=a.lineHeight/2+this._padding.top,{titleX:d,titleY:f,maxWidth:g,rotation:_}=this._drawArgs(u);renderText(t,r.text,0,0,a,{color:r.color,maxWidth:g,rotation:_,textAlign:_toLeftRightCenter(r.align),textBaseline:"middle",translation:[d,f]})}}function createTitle(e,t){const r=new Title({ctx:e.ctx,options:t,chart:e});layouts.configure(e,r,t),layouts.addBox(e,r),e.titleBlock=r}var plugin_title={id:"title",_element:Title,start(e,t,r){createTitle(e,r)},stop(e){const t=e.titleBlock;layouts.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,r){const a=e.titleBlock;layouts.configure(e,a,r),a.options=r},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const map$2=new WeakMap;var plugin_subtitle={id:"subtitle",start(e,t,r){const a=new Title({ctx:e.ctx,options:r,chart:e});layouts.configure(e,a,r),layouts.addBox(e,a),map$2.set(e,a)},stop(e){layouts.removeBox(e,map$2.get(e)),map$2.delete(e)},beforeUpdate(e,t,r){const a=map$2.get(e);layouts.configure(e,a,r),a.options=r},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const positioners={average(e){if(!e.length)return!1;let t,r,a=0,o=0,u=0;for(t=0,r=e.length;t-1?e.split(` `):e}function createTooltipItem(e,t){const{element:r,datasetIndex:a,index:o}=t,u=e.getDatasetMeta(a).controller,{label:d,value:f}=u.getLabelAndValue(o);return{chart:e,label:d,parsed:u.getParsed(o),raw:e.data.datasets[a].data[o],formattedValue:f,dataset:u.getDataset(),dataIndex:o,datasetIndex:a,element:r}}function getTooltipSize(e,t){const r=e.chart.ctx,{body:a,footer:o,title:u}=e,{boxWidth:d,boxHeight:f}=t,g=toFont(t.bodyFont),_=toFont(t.titleFont),S=toFont(t.footerFont),E=u.length,v=o.length,b=a.length,y=toPadding(t.padding);let T=y.height,C=0,R=a.reduce((x,N)=>x+N.before.length+N.lines.length+N.after.length,0);if(R+=e.beforeBody.length+e.afterBody.length,E&&(T+=E*_.lineHeight+(E-1)*t.titleSpacing+t.titleMarginBottom),R){const x=t.displayColors?Math.max(f,g.lineHeight):g.lineHeight;T+=b*x+(R-b)*g.lineHeight+(R-1)*t.bodySpacing}v&&(T+=t.footerMarginTop+v*S.lineHeight+(v-1)*t.footerSpacing);let A=0;const O=function(x){C=Math.max(C,r.measureText(x).width+A)};return r.save(),r.font=_.string,each(e.title,O),r.font=g.string,each(e.beforeBody.concat(e.afterBody),O),A=t.displayColors?d+2+t.boxPadding:0,each(a,x=>{each(x.before,O),each(x.lines,O),each(x.after,O)}),A=0,r.font=S.string,each(e.footer,O),r.restore(),C+=y.width,{width:C,height:T}}function determineYAlign(e,t){const{y:r,height:a}=t;return re.height-a/2?"bottom":"center"}function doesNotFitWithAlign(e,t,r,a){const{x:o,width:u}=a,d=r.caretSize+r.caretPadding;if(e==="left"&&o+u+d>t.width||e==="right"&&o-u-d<0)return!0}function determineXAlign(e,t,r,a){const{x:o,width:u}=r,{width:d,chartArea:{left:f,right:g}}=e;let _="center";return a==="center"?_=o<=(f+g)/2?"left":"right":o<=u/2?_="left":o>=d-u/2&&(_="right"),doesNotFitWithAlign(_,e,t,r)&&(_="center"),_}function determineAlignment(e,t,r){const a=r.yAlign||t.yAlign||determineYAlign(e,r);return{xAlign:r.xAlign||t.xAlign||determineXAlign(e,t,r,a),yAlign:a}}function alignX(e,t){let{x:r,width:a}=e;return t==="right"?r-=a:t==="center"&&(r-=a/2),r}function alignY(e,t,r){let{y:a,height:o}=e;return t==="top"?a+=r:t==="bottom"?a-=o+r:a-=o/2,a}function getBackgroundPoint(e,t,r,a){const{caretSize:o,caretPadding:u,cornerRadius:d}=e,{xAlign:f,yAlign:g}=r,_=o+u,{topLeft:S,topRight:E,bottomLeft:v,bottomRight:b}=toTRBLCorners(d);let y=alignX(t,f);const T=alignY(t,g,_);return g==="center"?f==="left"?y+=_:f==="right"&&(y-=_):f==="left"?y-=Math.max(S,v)+o:f==="right"&&(y+=Math.max(E,b)+o),{x:_limitValue(y,0,a.width-t.width),y:_limitValue(T,0,a.height-t.height)}}function getAlignedX(e,t,r){const a=toPadding(r.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-a.right:e.x+a.left}function getBeforeAfterBodyLines(e){return pushOrConcat([],splitNewlines(e))}function createTooltipContext(e,t,r){return createContext(e,{tooltip:t,tooltipItems:r,type:"tooltip"})}function overrideCallbacks(e,t){const r=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return r?e.override(r):e}const defaultCallbacks={beforeTitle:noop$4,title(e){if(e.length>0){const t=e[0],r=t.chart.data.labels,a=r?r.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(a>0&&t.dataIndex"u"?defaultCallbacks[t].call(r,a):o}var mt;let Tooltip$1=(mt=class extends Element$1{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const r=this.chart,a=this.options.setContext(this.getContext()),o=a.enabled&&r.options.animation&&a.animations,u=new Animations(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(u)),u}getContext(){return this.$context||(this.$context=createTooltipContext(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,r){const{callbacks:a}=r,o=invokeCallbackWithFallback(a,"beforeTitle",this,t),u=invokeCallbackWithFallback(a,"title",this,t),d=invokeCallbackWithFallback(a,"afterTitle",this,t);let f=[];return f=pushOrConcat(f,splitNewlines(o)),f=pushOrConcat(f,splitNewlines(u)),f=pushOrConcat(f,splitNewlines(d)),f}getBeforeBody(t,r){return getBeforeAfterBodyLines(invokeCallbackWithFallback(r.callbacks,"beforeBody",this,t))}getBody(t,r){const{callbacks:a}=r,o=[];return each(t,u=>{const d={before:[],lines:[],after:[]},f=overrideCallbacks(a,u);pushOrConcat(d.before,splitNewlines(invokeCallbackWithFallback(f,"beforeLabel",this,u))),pushOrConcat(d.lines,invokeCallbackWithFallback(f,"label",this,u)),pushOrConcat(d.after,splitNewlines(invokeCallbackWithFallback(f,"afterLabel",this,u))),o.push(d)}),o}getAfterBody(t,r){return getBeforeAfterBodyLines(invokeCallbackWithFallback(r.callbacks,"afterBody",this,t))}getFooter(t,r){const{callbacks:a}=r,o=invokeCallbackWithFallback(a,"beforeFooter",this,t),u=invokeCallbackWithFallback(a,"footer",this,t),d=invokeCallbackWithFallback(a,"afterFooter",this,t);let f=[];return f=pushOrConcat(f,splitNewlines(o)),f=pushOrConcat(f,splitNewlines(u)),f=pushOrConcat(f,splitNewlines(d)),f}_createItems(t){const r=this._active,a=this.chart.data,o=[],u=[],d=[];let f=[],g,_;for(g=0,_=r.length;g<_;++g)f.push(createTooltipItem(this.chart,r[g]));return t.filter&&(f=f.filter((S,E,v)=>t.filter(S,E,v,a))),t.itemSort&&(f=f.sort((S,E)=>t.itemSort(S,E,a))),each(f,S=>{const E=overrideCallbacks(t.callbacks,S);o.push(invokeCallbackWithFallback(E,"labelColor",this,S)),u.push(invokeCallbackWithFallback(E,"labelPointStyle",this,S)),d.push(invokeCallbackWithFallback(E,"labelTextColor",this,S))}),this.labelColors=o,this.labelPointStyles=u,this.labelTextColors=d,this.dataPoints=f,f}update(t,r){const a=this.options.setContext(this.getContext()),o=this._active;let u,d=[];if(!o.length)this.opacity!==0&&(u={opacity:0});else{const f=positioners[a.position].call(this,o,this._eventPosition);d=this._createItems(a),this.title=this.getTitle(d,a),this.beforeBody=this.getBeforeBody(d,a),this.body=this.getBody(d,a),this.afterBody=this.getAfterBody(d,a),this.footer=this.getFooter(d,a);const g=this._size=getTooltipSize(this,a),_=Object.assign({},f,g),S=determineAlignment(this.chart,a,_),E=getBackgroundPoint(a,_,S,this.chart);this.xAlign=S.xAlign,this.yAlign=S.yAlign,u={opacity:1,x:E.x,y:E.y,width:g.width,height:g.height,caretX:f.x,caretY:f.y}}this._tooltipItems=d,this.$context=void 0,u&&this._resolveAnimations().update(this,u),t&&a.external&&a.external.call(this,{chart:this.chart,tooltip:this,replay:r})}drawCaret(t,r,a,o){const u=this.getCaretPosition(t,a,o);r.lineTo(u.x1,u.y1),r.lineTo(u.x2,u.y2),r.lineTo(u.x3,u.y3)}getCaretPosition(t,r,a){const{xAlign:o,yAlign:u}=this,{caretSize:d,cornerRadius:f}=a,{topLeft:g,topRight:_,bottomLeft:S,bottomRight:E}=toTRBLCorners(f),{x:v,y:b}=t,{width:y,height:T}=r;let C,R,A,O,x,N;return u==="center"?(x=b+T/2,o==="left"?(C=v,R=C-d,O=x+d,N=x-d):(C=v+y,R=C+d,O=x-d,N=x+d),A=C):(o==="left"?R=v+Math.max(g,S)+d:o==="right"?R=v+y-Math.max(_,E)-d:R=this.caretX,u==="top"?(O=b,x=O-d,C=R-d,A=R+d):(O=b+T,x=O+d,C=R+d,A=R-d),N=O),{x1:C,x2:R,x3:A,y1:O,y2:x,y3:N}}drawTitle(t,r,a){const o=this.title,u=o.length;let d,f,g;if(u){const _=getRtlAdapter(a.rtl,this.x,this.width);for(t.x=getAlignedX(this,a.titleAlign,a),r.textAlign=_.textAlign(a.titleAlign),r.textBaseline="middle",d=toFont(a.titleFont),f=a.titleSpacing,r.fillStyle=a.titleColor,r.font=d.string,g=0;gA!==0)?(t.beginPath(),t.fillStyle=u.multiKeyBackground,addRoundedRectPath(t,{x:T,y,w:_,h:g,radius:R}),t.fill(),t.stroke(),t.fillStyle=d.backgroundColor,t.beginPath(),addRoundedRectPath(t,{x:C,y:y+1,w:_-2,h:g-2,radius:R}),t.fill()):(t.fillStyle=u.multiKeyBackground,t.fillRect(T,y,_,g),t.strokeRect(T,y,_,g),t.fillStyle=d.backgroundColor,t.fillRect(C,y+1,_-2,g-2))}t.fillStyle=this.labelTextColors[a]}drawBody(t,r,a){const{body:o}=this,{bodySpacing:u,bodyAlign:d,displayColors:f,boxHeight:g,boxWidth:_,boxPadding:S}=a,E=toFont(a.bodyFont);let v=E.lineHeight,b=0;const y=getRtlAdapter(a.rtl,this.x,this.width),T=function(D){r.fillText(D,y.x(t.x+b),t.y+v/2),t.y+=v+u},C=y.textAlign(d);let R,A,O,x,N,I,k;for(r.textAlign=d,r.textBaseline="middle",r.font=E.string,t.x=getAlignedX(this,C,a),r.fillStyle=a.bodyColor,each(this.beforeBody,T),b=f&&C!=="right"?d==="center"?_/2+S:_+2+S:0,x=0,I=o.length;x0&&r.stroke()}_updateAnimationTarget(t){const r=this.chart,a=this.$animations,o=a&&a.x,u=a&&a.y;if(o||u){const d=positioners[t.position].call(this,this._active,this._eventPosition);if(!d)return;const f=this._size=getTooltipSize(this,t),g=Object.assign({},d,this._size),_=determineAlignment(r,t,g),S=getBackgroundPoint(t,g,_,r);(o._to!==S.x||u._to!==S.y)&&(this.xAlign=_.xAlign,this.yAlign=_.yAlign,this.width=f.width,this.height=f.height,this.caretX=d.x,this.caretY=d.y,this._resolveAnimations().update(this,S))}}_willRender(){return!!this.opacity}draw(t){const r=this.options.setContext(this.getContext());let a=this.opacity;if(!a)return;this._updateAnimationTarget(r);const o={width:this.width,height:this.height},u={x:this.x,y:this.y};a=Math.abs(a)<.001?0:a;const d=toPadding(r.padding),f=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;r.enabled&&f&&(t.save(),t.globalAlpha=a,this.drawBackground(u,t,o,r),overrideTextDirection(t,r.textDirection),u.y+=d.top,this.drawTitle(u,t,r),this.drawBody(u,t,r),this.drawFooter(u,t,r),restoreTextDirection(t,r.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,r){const a=this._active,o=t.map(({datasetIndex:f,index:g})=>{const _=this.chart.getDatasetMeta(f);if(!_)throw new Error("Cannot find a dataset at index "+f);return{datasetIndex:f,element:_.data[g],index:g}}),u=!_elementsEqual(a,o),d=this._positionChanged(o,r);(u||d)&&(this._active=o,this._eventPosition=r,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,r,a=!0){if(r&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,u=this._active||[],d=this._getActiveElements(t,u,r,a),f=this._positionChanged(d,t),g=r||!_elementsEqual(d,u)||f;return g&&(this._active=d,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,r))),g}_getActiveElements(t,r,a,o){const u=this.options;if(t.type==="mouseout")return[];if(!o)return r;const d=this.chart.getElementsAtEventForMode(t,u.mode,u,a);return u.reverse&&d.reverse(),d}_positionChanged(t,r){const{caretX:a,caretY:o,options:u}=this,d=positioners[u.position].call(this,t,r);return d!==!1&&(a!==d.x||o!==d.y)}},Ie(mt,"positioners",positioners),mt);var plugin_tooltip={id:"tooltip",_element:Tooltip$1,positioners,afterInit(e,t,r){r&&(e.tooltip=new Tooltip$1({chart:e,options:r}))},beforeUpdate(e,t,r){e.tooltip&&e.tooltip.initialize(r)},reset(e,t,r){e.tooltip&&e.tooltip.initialize(r)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const r={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...r,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",r)}},afterEvent(e,t){if(e.tooltip){const r=t.replay;e.tooltip.handleEvent(t.event,r,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:defaultCallbacks},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},plugins=Object.freeze({__proto__:null,Colors:plugin_colors,Decimation:plugin_decimation,Filler:index,Legend:plugin_legend,SubTitle:plugin_subtitle,Title:plugin_title,Tooltip:plugin_tooltip});const addIfString=(e,t,r,a)=>(typeof t=="string"?(r=e.push(t)-1,a.unshift({index:r,label:t})):isNaN(t)&&(r=null),r);function findOrAddLabel(e,t,r,a){const o=e.indexOf(t);if(o===-1)return addIfString(e,t,r,a);const u=e.lastIndexOf(t);return o!==u?r:o}const validIndex=(e,t)=>e===null?null:_limitValue(Math.round(e),0,t);function _getLabelForValue(e){const t=this.getLabels();return e>=0&&er.length-1?null:this.getPixelForValue(r[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Ie(CategoryScale,"id","category"),Ie(CategoryScale,"defaults",{ticks:{callback:_getLabelForValue}});function generateTicks$1(e,t){const r=[],{bounds:o,step:u,min:d,max:f,precision:g,count:_,maxTicks:S,maxDigits:E,includeBounds:v}=e,b=u||1,y=S-1,{min:T,max:C}=t,R=!isNullOrUndef(d),A=!isNullOrUndef(f),O=!isNullOrUndef(_),x=(C-T)/(E+1);let N=niceNum((C-T)/y/b)*b,I,k,D,P;if(N<1e-14&&!R&&!A)return[{value:T},{value:C}];P=Math.ceil(C/N)-Math.floor(T/N),P>y&&(N=niceNum(P*N/y/b)*b),isNullOrUndef(g)||(I=Math.pow(10,g),N=Math.ceil(N*I)/I),o==="ticks"?(k=Math.floor(T/N)*N,D=Math.ceil(C/N)*N):(k=T,D=C),R&&A&&u&&almostWhole((f-d)/u,N/1e3)?(P=Math.round(Math.min((f-d)/N,S)),N=(f-d)/P,k=d,D=f):O?(k=R?d:k,D=A?f:D,P=_-1,N=(D-k)/P):(P=(D-k)/N,almostEquals(P,Math.round(P),N/1e3)?P=Math.round(P):P=Math.ceil(P));const L=Math.max(_decimalPlaces(N),_decimalPlaces(k));I=Math.pow(10,isNullOrUndef(g)?L:g),k=Math.round(k*I)/I,D=Math.round(D*I)/I;let F=0;for(R&&(v&&k!==d?(r.push({value:d}),kf)break;r.push({value:B})}return A&&v&&D!==f?r.length&&almostEquals(r[r.length-1].value,f,relativeLabelSize(f,x,e))?r[r.length-1].value=f:r.push({value:f}):(!A||D===f)&&r.push({value:D}),r}function relativeLabelSize(e,t,{horizontal:r,minRotation:a}){const o=toRadians(a),u=(r?Math.sin(o):Math.cos(o))||.001,d=.75*t*(""+e).length;return Math.min(t/u,d)}class LinearScaleBase extends Scale{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,r){return isNullOrUndef(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:r,maxDefined:a}=this.getUserBounds();let{min:o,max:u}=this;const d=g=>o=r?o:g,f=g=>u=a?u:g;if(t){const g=sign$1(o),_=sign$1(u);g<0&&_<0?f(0):g>0&&_>0&&d(0)}if(o===u){let g=u===0?1:Math.abs(u*.05);f(u+g),t||d(o-g)}this.min=o,this.max=u}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:r,stepSize:a}=t,o;return a?(o=Math.ceil(this.max/a)-Math.floor(this.min/a)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${a} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),r=r||11),r&&(o=Math.min(r,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,r=t.ticks;let a=this.getTickLimit();a=Math.max(2,a);const o={maxTicks:a,bounds:t.bounds,min:t.min,max:t.max,precision:r.precision,step:r.stepSize,count:r.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:r.minRotation||0,includeBounds:r.includeBounds!==!1},u=this._range||this,d=generateTicks$1(o,u);return t.bounds==="ticks"&&_setMinAndMaxByKey(d,this,"value"),t.reverse?(d.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),d}configure(){const t=this.ticks;let r=this.min,a=this.max;if(super.configure(),this.options.offset&&t.length){const o=(a-r)/Math.max(t.length-1,1)/2;r-=o,a+=o}this._startValue=r,this._endValue=a,this._valueRange=a-r}getLabelForValue(t){return formatNumber(t,this.chart.options.locale,this.options.ticks.format)}}class LinearScale extends LinearScaleBase{determineDataLimits(){const{min:t,max:r}=this.getMinMax(!0);this.min=isNumberFinite(t)?t:0,this.max=isNumberFinite(r)?r:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),r=t?this.width:this.height,a=toRadians(this.options.ticks.minRotation),o=(t?Math.sin(a):Math.cos(a))||.001,u=this._resolveTickFontOptions(0);return Math.ceil(r/Math.min(40,u.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Ie(LinearScale,"id","linear"),Ie(LinearScale,"defaults",{ticks:{callback:Ticks.formatters.numeric}});const log10Floor=e=>Math.floor(log10(e)),changeExponent=(e,t)=>Math.pow(10,log10Floor(e)+t);function isMajor(e){return e/Math.pow(10,log10Floor(e))===1}function steps(e,t,r){const a=Math.pow(10,r),o=Math.floor(e/a);return Math.ceil(t/a)-o}function startExp(e,t){const r=t-e;let a=log10Floor(r);for(;steps(e,t,a)>10;)a++;for(;steps(e,t,a)<10;)a--;return Math.min(a,log10Floor(e))}function generateTicks(e,{min:t,max:r}){t=finiteOrDefault(e.min,t);const a=[],o=log10Floor(t);let u=startExp(t,r),d=u<0?Math.pow(10,Math.abs(u)):1;const f=Math.pow(10,u),g=o>u?Math.pow(10,o):0,_=Math.round((t-g)*d)/d,S=Math.floor((t-g)/f/10)*f*10;let E=Math.floor((_-S)/Math.pow(10,u)),v=finiteOrDefault(e.min,Math.round((g+S+E*Math.pow(10,u))*d)/d);for(;v=10?E=E<15?15:20:E++,E>=20&&(u++,E=2,d=u>=0?1:d),v=Math.round((g+S+E*Math.pow(10,u))*d)/d;const b=finiteOrDefault(e.max,v);return a.push({value:b,major:isMajor(b),significand:E}),a}class LogarithmicScale extends Scale{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,r){const a=LinearScaleBase.prototype.parse.apply(this,[t,r]);if(a===0){this._zero=!0;return}return isNumberFinite(a)&&a>0?a:null}determineDataLimits(){const{min:t,max:r}=this.getMinMax(!0);this.min=isNumberFinite(t)?Math.max(0,t):null,this.max=isNumberFinite(r)?Math.max(0,r):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!isNumberFinite(this._userMin)&&(this.min=t===changeExponent(this.min,0)?changeExponent(this.min,-1):changeExponent(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:r}=this.getUserBounds();let a=this.min,o=this.max;const u=f=>a=t?a:f,d=f=>o=r?o:f;a===o&&(a<=0?(u(1),d(10)):(u(changeExponent(a,-1)),d(changeExponent(o,1)))),a<=0&&u(changeExponent(o,-1)),o<=0&&d(changeExponent(a,1)),this.min=a,this.max=o}buildTicks(){const t=this.options,r={min:this._userMin,max:this._userMax},a=generateTicks(r,this);return t.bounds==="ticks"&&_setMinAndMaxByKey(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}getLabelForValue(t){return t===void 0?"0":formatNumber(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=log10(t),this._valueRange=log10(this.max)-log10(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(log10(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const r=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+r*this._valueRange)}}Ie(LogarithmicScale,"id","logarithmic"),Ie(LogarithmicScale,"defaults",{ticks:{callback:Ticks.formatters.logarithmic,major:{enabled:!0}}});function getTickBackdropHeight(e){const t=e.ticks;if(t.display&&e.display){const r=toPadding(t.backdropPadding);return valueOrDefault(t.font&&t.font.size,defaults$1.font.size)+r.height}return 0}function measureLabelSize(e,t,r){return r=isArray$3(r)?r:[r],{w:_longestText(e,t.string,r),h:r.length*t.lineHeight}}function determineLimits(e,t,r,a,o){return e===a||e===o?{start:t-r/2,end:t+r/2}:eo?{start:t-r,end:t}:{start:t,end:t+r}}function fitWithPointLabels(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},r=Object.assign({},t),a=[],o=[],u=e._pointLabels.length,d=e.options.pointLabels,f=d.centerPointLabels?PI/u:0;for(let g=0;gt.r&&(f=(a.end-t.r)/u,e.r=Math.max(e.r,t.r+f)),o.startt.b&&(g=(o.end-t.b)/d,e.b=Math.max(e.b,t.b+g))}function createPointLabelItem(e,t,r){const a=e.drawingArea,{extra:o,additionalAngle:u,padding:d,size:f}=r,g=e.getPointPosition(t,a+o+d,u),_=Math.round(toDegrees(_normalizeAngle(g.angle+HALF_PI))),S=yForAngle(g.y,f.h,_),E=getTextAlignForAngle(_),v=leftForTextAlign(g.x,f.w,E);return{visible:!0,x:g.x,y:S,textAlign:E,left:v,top:S,right:v+f.w,bottom:S+f.h}}function isNotOverlapped(e,t){if(!t)return!0;const{left:r,top:a,right:o,bottom:u}=e;return!(_isPointInArea({x:r,y:a},t)||_isPointInArea({x:r,y:u},t)||_isPointInArea({x:o,y:a},t)||_isPointInArea({x:o,y:u},t))}function buildPointLabelItems(e,t,r){const a=[],o=e._pointLabels.length,u=e.options,{centerPointLabels:d,display:f}=u.pointLabels,g={extra:getTickBackdropHeight(u)/2,additionalAngle:d?PI/o:0};let _;for(let S=0;S270||r<90)&&(e-=t),e}function drawPointLabelBox(e,t,r){const{left:a,top:o,right:u,bottom:d}=r,{backdropColor:f}=t;if(!isNullOrUndef(f)){const g=toTRBLCorners(t.borderRadius),_=toPadding(t.backdropPadding);e.fillStyle=f;const S=a-_.left,E=o-_.top,v=u-a+_.width,b=d-o+_.height;Object.values(g).some(y=>y!==0)?(e.beginPath(),addRoundedRectPath(e,{x:S,y:E,w:v,h:b,radius:g}),e.fill()):e.fillRect(S,E,v,b)}}function drawPointLabels(e,t){const{ctx:r,options:{pointLabels:a}}=e;for(let o=t-1;o>=0;o--){const u=e._pointLabelItems[o];if(!u.visible)continue;const d=a.setContext(e.getPointLabelContext(o));drawPointLabelBox(r,d,u);const f=toFont(d.font),{x:g,y:_,textAlign:S}=u;renderText(r,e._pointLabels[o],g,_+f.lineHeight/2,f,{color:d.color,textAlign:S,textBaseline:"middle"})}}function pathRadiusLine(e,t,r,a){const{ctx:o}=e;if(r)o.arc(e.xCenter,e.yCenter,t,0,TAU);else{let u=e.getPointPosition(0,t);o.moveTo(u.x,u.y);for(let d=1;d{const o=callback(this.options.pointLabels.callback,[r,a],this);return o||o===0?o:""}).filter((r,a)=>this.chart.getDataVisibility(a))}fit(){const t=this.options;t.display&&t.pointLabels.display?fitWithPointLabels(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,r,a,o){this.xCenter+=Math.floor((t-r)/2),this.yCenter+=Math.floor((a-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,r,a,o))}getIndexAngle(t){const r=TAU/(this._pointLabels.length||1),a=this.options.startAngle||0;return _normalizeAngle(t*r+toRadians(a))}getDistanceFromCenterForValue(t){if(isNullOrUndef(t))return NaN;const r=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*r:(t-this.min)*r}getValueForDistanceFromCenter(t){if(isNullOrUndef(t))return NaN;const r=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-r:this.min+r}getPointLabelContext(t){const r=this._pointLabels||[];if(t>=0&&t{if(E!==0){g=this.getDistanceFromCenterForValue(S.value);const v=this.getContext(E),b=o.setContext(v),y=u.setContext(v);drawRadiusLine(this,b,g,d,y)}}),a.display){for(t.save(),f=d-1;f>=0;f--){const S=a.setContext(this.getPointLabelContext(f)),{color:E,lineWidth:v}=S;!v||!E||(t.lineWidth=v,t.strokeStyle=E,t.setLineDash(S.borderDash),t.lineDashOffset=S.borderDashOffset,g=this.getDistanceFromCenterForValue(r.ticks.reverse?this.min:this.max),_=this.getPointPosition(f,g),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(_.x,_.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,r=this.options,a=r.ticks;if(!a.display)return;const o=this.getIndexAngle(0);let u,d;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((f,g)=>{if(g===0&&!r.reverse)return;const _=a.setContext(this.getContext(g)),S=toFont(_.font);if(u=this.getDistanceFromCenterForValue(this.ticks[g].value),_.showLabelBackdrop){t.font=S.string,d=t.measureText(f.label).width,t.fillStyle=_.backdropColor;const E=toPadding(_.backdropPadding);t.fillRect(-d/2-E.left,-u-S.size/2-E.top,d+E.width,S.size+E.height)}renderText(t,f.label,0,-u,S,{color:_.color,strokeColor:_.textStrokeColor,strokeWidth:_.textStrokeWidth})}),t.restore()}drawTitle(){}}Ie(RadialLinearScale,"id","radialLinear"),Ie(RadialLinearScale,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ticks.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),Ie(RadialLinearScale,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),Ie(RadialLinearScale,"descriptors",{angleLines:{_fallback:"grid"}});const INTERVALS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},UNITS=Object.keys(INTERVALS);function sorter(e,t){return e-t}function parse$6(e,t){if(isNullOrUndef(t))return null;const r=e._adapter,{parser:a,round:o,isoWeekday:u}=e._parseOpts;let d=t;return typeof a=="function"&&(d=a(d)),isNumberFinite(d)||(d=typeof a=="string"?r.parse(d,a):r.parse(d)),d===null?null:(o&&(d=o==="week"&&(isNumber$1(u)||u===!0)?r.startOf(d,"isoWeek",u):r.startOf(d,o)),+d)}function determineUnitForAutoTicks(e,t,r,a){const o=UNITS.length;for(let u=UNITS.indexOf(e);u=UNITS.indexOf(r);u--){const d=UNITS[u];if(INTERVALS[d].common&&e._adapter.diff(o,a,d)>=t-1)return d}return UNITS[r?UNITS.indexOf(r):0]}function determineMajorUnit(e){for(let t=UNITS.indexOf(e)+1,r=UNITS.length;t=t?r[a]:r[o];e[u]=!0}}function setMajorTicks(e,t,r,a){const o=e._adapter,u=+o.startOf(t[0].value,a),d=t[t.length-1].value;let f,g;for(f=u;f<=d;f=+o.add(f,1,a))g=r[f],g>=0&&(t[g].major=!0);return t}function ticksFromTimestamps(e,t,r){const a=[],o={},u=t.length;let d,f;for(d=0;d+t.value))}initOffsets(t=[]){let r=0,a=0,o,u;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?r=1-o:r=(this.getDecimalForValue(t[1])-o)/2,u=this.getDecimalForValue(t[t.length-1]),t.length===1?a=u:a=(u-this.getDecimalForValue(t[t.length-2]))/2);const d=t.length<3?.5:.25;r=_limitValue(r,0,d),a=_limitValue(a,0,d),this._offsets={start:r,end:a,factor:1/(r+1+a)}}_generate(){const t=this._adapter,r=this.min,a=this.max,o=this.options,u=o.time,d=u.unit||determineUnitForAutoTicks(u.minUnit,r,a,this._getLabelCapacity(r)),f=valueOrDefault(o.ticks.stepSize,1),g=d==="week"?u.isoWeekday:!1,_=isNumber$1(g)||g===!0,S={};let E=r,v,b;if(_&&(E=+t.startOf(E,"isoWeek",g)),E=+t.startOf(E,_?"day":d),t.diff(a,r,d)>1e5*f)throw new Error(r+" and "+a+" are too far apart with stepSize of "+f+" "+d);const y=o.ticks.source==="data"&&this.getDataTimestamps();for(v=E,b=0;v+T)}getLabelForValue(t){const r=this._adapter,a=this.options.time;return a.tooltipFormat?r.format(t,a.tooltipFormat):r.format(t,a.displayFormats.datetime)}format(t,r){const o=this.options.time.displayFormats,u=this._unit,d=r||o[u];return this._adapter.format(t,d)}_tickFormatFunction(t,r,a,o){const u=this.options,d=u.ticks.callback;if(d)return callback(d,[t,r,a],this);const f=u.time.displayFormats,g=this._unit,_=this._majorUnit,S=g&&f[g],E=_&&f[_],v=a[r],b=_&&E&&v&&v.major;return this._adapter.format(t,o||(b?E:S))}generateTickLabels(t){let r,a,o;for(r=0,a=t.length;r0?f:1}getDataTimestamps(){let t=this._cache.data||[],r,a;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(r=0,a=o.length;r=e[a].pos&&t<=e[o].pos&&({lo:a,hi:o}=_lookupByKey(e,"pos",t)),{pos:u,time:f}=e[a],{pos:d,time:g}=e[o]):(t>=e[a].time&&t<=e[o].time&&({lo:a,hi:o}=_lookupByKey(e,"time",t)),{time:u,pos:f}=e[a],{time:d,pos:g}=e[o]);const _=d-u;return _?f+(g-f)*(t-u)/_:f}class TimeSeriesScale extends TimeScale{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),r=this._table=this.buildLookupTable(t);this._minPos=interpolate$2(r,this.min),this._tableRange=interpolate$2(r,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:r,max:a}=this,o=[],u=[];let d,f,g,_,S;for(d=0,f=t.length;d=r&&_<=a&&o.push(_);if(o.length<2)return[{time:r,pos:0},{time:a,pos:1}];for(d=0,f=o.length;do-u)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const r=this.getDataTimestamps(),a=this.getLabelTimestamps();return r.length&&a.length?t=this.normalize(r.concat(a)):t=r.length?r:a,t=this._cache.all=t,t}getDecimalForValue(t){return(interpolate$2(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const r=this._offsets,a=this.getDecimalForPixel(t)/r.factor-r.end;return interpolate$2(this._table,a*this._tableRange+this._minPos,!0)}}Ie(TimeSeriesScale,"id","timeseries"),Ie(TimeSeriesScale,"defaults",TimeScale.defaults);var scales=Object.freeze({__proto__:null,CategoryScale,LinearScale,LogarithmicScale,RadialLinearScale,TimeScale,TimeSeriesScale});const registerables=[controllers,elements,plugins,scales];Chart.register(...registerables);class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(t){super(`Invalid unit ${t}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const n="numeric",s="short",l="long",DATE_SHORT={year:n,month:n,day:n},DATE_MED={year:n,month:s,day:n},DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s},DATE_FULL={year:n,month:l,day:n},DATE_HUGE={year:n,month:l,day:n,weekday:l},TIME_SIMPLE={hour:n,minute:n},TIME_WITH_SECONDS={hour:n,minute:n,second:n},TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l},TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"},TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"},TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l},DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n},DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n},DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n},DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n},DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n},DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s},DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(t,r){throw new ZoneIsAbstractError}formatOffset(t,r){throw new ZoneIsAbstractError}offset(t){throw new ZoneIsAbstractError}equals(t){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let singleton$1=null;class SystemZone extends Zone{static get instance(){return singleton$1===null&&(singleton$1=new SystemZone),singleton$1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:a}){return parseZoneInfo(t,r,a)}formatOffset(t,r){return formatOffset(this.offset(t),r)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let dtfCache={};function makeDTF(e){return dtfCache[e]||(dtfCache[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),dtfCache[e]}const typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,t){const r=e.format(t).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,o,u,d,f,g,_,S]=a;return[d,o,u,f,g,_,S]}function partsOffset(e,t){const r=e.formatToParts(t),a=[];for(let o=0;o=0?y:1e3+y,(v-b)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let intlLFCache={};function getCachedLF(e,t={}){const r=JSON.stringify([e,t]);let a=intlLFCache[r];return a||(a=new Intl.ListFormat(e,t),intlLFCache[r]=a),a}let intlDTCache={};function getCachedDTF(e,t={}){const r=JSON.stringify([e,t]);let a=intlDTCache[r];return a||(a=new Intl.DateTimeFormat(e,t),intlDTCache[r]=a),a}let intlNumCache={};function getCachedINF(e,t={}){const r=JSON.stringify([e,t]);let a=intlNumCache[r];return a||(a=new Intl.NumberFormat(e,t),intlNumCache[r]=a),a}let intlRelCache={};function getCachedRTF(e,t={}){const{base:r,...a}=t,o=JSON.stringify([e,a]);let u=intlRelCache[o];return u||(u=new Intl.RelativeTimeFormat(e,t),intlRelCache[o]=u),u}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}function parseLocaleString(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(r===-1)return[e];{let a,o;try{a=getCachedDTF(e).resolvedOptions(),o=e}catch{const g=e.substring(0,r);a=getCachedDTF(g).resolvedOptions(),o=g}const{numberingSystem:u,calendar:d}=a;return[o,u,d]}}function intlConfigString(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function mapMonths(e){const t=[];for(let r=1;r<=12;r++){const a=DateTime.utc(2009,r,1);t.push(e(a))}return t}function mapWeekdays(e){const t=[];for(let r=1;r<=7;r++){const a=DateTime.utc(2016,11,13+r);t.push(e(a))}return t}function listStuff(e,t,r,a){const o=e.listingMode();return o==="error"?null:o==="en"?r(t):a(t)}function supportsFastNumbers(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class PolyNumberFormatter{constructor(t,r,a){this.padTo=a.padTo||0,this.floor=a.floor||!1;const{padTo:o,floor:u,...d}=a;if(!r||Object.keys(d).length>0){const f={useGrouping:!1,...a};a.padTo>0&&(f.minimumIntegerDigits=a.padTo),this.inf=getCachedINF(t,f)}}format(t){if(this.inf){const r=this.floor?Math.floor(t):t;return this.inf.format(r)}else{const r=this.floor?Math.floor(t):roundTo(t,3);return padStart$2(r,this.padTo)}}}class PolyDateFormatter{constructor(t,r,a){this.opts=a,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const d=-1*(t.offset/60),f=d>=0?`Etc/GMT+${d}`:`Etc/GMT${d}`;t.offset!==0&&IANAZone.create(f).valid?(o=f,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const u={...this.opts};u.timeZone=u.timeZone||o,this.dtf=getCachedDTF(r,u)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(r=>{if(r.type==="timeZoneName"){const a=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:a}}else return r}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(t,r,a){this.opts={style:"long",...a},!r&&hasRelative()&&(this.rtf=getCachedRTF(t,a))}format(t,r){return this.rtf?this.rtf.format(t,r):formatRelativeTime(r,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,r){return this.rtf?this.rtf.formatToParts(t,r):[]}}class Locale{static fromOpts(t){return Locale.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,r,a,o=!1){const u=t||Settings.defaultLocale,d=u||(o?"en-US":systemLocale()),f=r||Settings.defaultNumberingSystem,g=a||Settings.defaultOutputCalendar;return new Locale(d,f,g,u)}static resetCache(){sysLocaleCache=null,intlDTCache={},intlNumCache={},intlRelCache={}}static fromObject({locale:t,numberingSystem:r,outputCalendar:a}={}){return Locale.create(t,r,a)}constructor(t,r,a,o){const[u,d,f]=parseLocaleString(t);this.locale=u,this.numberingSystem=r||d||null,this.outputCalendar=a||f||null,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=supportsFastNumbers(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&r?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:Locale.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,r=!1){return listStuff(this,t,months,()=>{const a=r?{month:t,day:"numeric"}:{month:t},o=r?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=mapMonths(u=>this.extract(u,a,"month"))),this.monthsCache[o][t]})}weekdays(t,r=!1){return listStuff(this,t,weekdays,()=>{const a=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=r?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=mapWeekdays(u=>this.extract(u,a,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return listStuff(this,void 0,()=>meridiems,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map(r=>this.extract(r,t,"dayperiod"))}return this.meridiemCache})}eras(t){return listStuff(this,t,eras,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map(a=>this.extract(a,r,"era"))),this.eraCache[t]})}extract(t,r,a){const o=this.dtFormatter(t,r),u=o.formatToParts(),d=u.find(f=>f.type.toLowerCase()===a);return d?d.value:null}numberFormatter(t={}){return new PolyNumberFormatter(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,r={}){return new PolyDateFormatter(t,this.intl,r)}relFormatter(t={}){return new PolyRelFormatter(this.intl,this.isEnglish(),t)}listFormatter(t={}){return getCachedLF(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let singleton=null;class FixedOffsetZone extends Zone{static get utcInstance(){return singleton===null&&(singleton=new FixedOffsetZone(0)),singleton}static instance(t){return t===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(t)}static parseSpecifier(t){if(t){const r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new FixedOffsetZone(signedOffset(r[1],r[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,r){return formatOffset(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class InvalidZone extends Zone{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function normalizeZone(e,t){if(isUndefined(e)||e===null)return t;if(e instanceof Zone)return e;if(isString(e)){const r=e.toLowerCase();return r==="default"?t:r==="local"||r==="system"?SystemZone.instance:r==="utc"||r==="gmt"?FixedOffsetZone.utcInstance:FixedOffsetZone.parseSpecifier(r)||IANAZone.create(e)}else return isNumber(e)?FixedOffsetZone.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new InvalidZone(e)}let now$1=()=>Date.now(),defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid;class Settings{static get now(){return now$1}static set now(t){now$1=t}static set defaultZone(t){defaultZone=t}static get defaultZone(){return normalizeZone(defaultZone,SystemZone.instance)}static get defaultLocale(){return defaultLocale}static set defaultLocale(t){defaultLocale=t}static get defaultNumberingSystem(){return defaultNumberingSystem}static set defaultNumberingSystem(t){defaultNumberingSystem=t}static get defaultOutputCalendar(){return defaultOutputCalendar}static set defaultOutputCalendar(t){defaultOutputCalendar=t}static get twoDigitCutoffYear(){return twoDigitCutoffYear}static set twoDigitCutoffYear(t){twoDigitCutoffYear=t%100}static get throwOnInvalid(){return throwOnInvalid}static set throwOnInvalid(t){throwOnInvalid=t}static resetCaches(){Locale.resetCache(),IANAZone.resetCache()}}function isUndefined(e){return typeof e>"u"}function isNumber(e){return typeof e=="number"}function isInteger$1(e){return typeof e=="number"&&e%1===0}function isString(e){return typeof e=="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}function hasRelative(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,t,r){if(e.length!==0)return e.reduce((a,o)=>{const u=[t(o),o];return a&&r(a[0],u[0])===a[0]?a:u},null)[1]}function pick$2(e,t){return t.reduce((r,a)=>(r[a]=e[a],r),{})}function hasOwnProperty$c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function integerBetween(e,t,r){return isInteger$1(e)&&e>=t&&e<=r}function floorMod(e,t){return e-t*Math.floor(e/t)}function padStart$2(e,t=2){const r=e<0;let a;return r?a="-"+(""+-e).padStart(t,"0"):a=(""+e).padStart(t,"0"),a}function parseInteger(e){if(!(isUndefined(e)||e===null||e===""))return parseInt(e,10)}function parseFloating(e){if(!(isUndefined(e)||e===null||e===""))return parseFloat(e)}function parseMillis(e){if(!(isUndefined(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function roundTo(e,t,r=!1){const a=10**t;return(r?Math.trunc:Math.round)(e*a)/a}function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,t){const r=floorMod(t-1,12)+1,a=e+(t-r)/12;return r===2?isLeapYear(a)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function objToLocalTS(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function weeksInWeekYear(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,r=e-1,a=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return t===4||a===3?53:52}function untruncateYear(e){return e>99?e:e>Settings.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,t,r,a=null){const o=new Date(e),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};a&&(u.timeZone=a);const d={timeZoneName:t,...u},f=new Intl.DateTimeFormat(r,d).formatToParts(o).find(g=>g.type.toLowerCase()==="timezonename");return f?f.value:null}function signedOffset(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const a=parseInt(t,10)||0,o=r<0||Object.is(r,-0)?-a:a;return r*60+o}function asNumber(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new InvalidArgumentError(`Invalid unit value ${e}`);return t}function normalizeObject(e,t){const r={};for(const a in e)if(hasOwnProperty$c(e,a)){const o=e[a];if(o==null)continue;r[t(a)]=asNumber(o)}return r}function formatOffset(e,t){const r=Math.trunc(Math.abs(e/60)),a=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${padStart$2(r,2)}:${padStart$2(a,2)}`;case"narrow":return`${o}${r}${a>0?`:${a}`:""}`;case"techie":return`${o}${padStart$2(r,2)}${padStart$2(a,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function timeObject(e){return pick$2(e,["hour","minute","second","millisecond"])}const monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return[...monthsNarrow];case"short":return[...monthsShort];case"long":return[...monthsLong];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return[...weekdaysNarrow];case"short":return[...weekdaysShort];case"long":return[...weekdaysLong];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const meridiems=["AM","PM"],erasLong=["Before Christ","Anno Domini"],erasShort=["BC","AD"],erasNarrow=["B","A"];function eras(e){switch(e){case"narrow":return[...erasNarrow];case"short":return[...erasShort];case"long":return[...erasLong];default:return null}}function meridiemForDateTime(e){return meridiems[e.hour<12?0:1]}function weekdayForDateTime(e,t){return weekdays(t)[e.weekday-1]}function monthForDateTime(e,t){return months(t)[e.month-1]}function eraForDateTime(e,t){return eras(t)[e.year<0?0:1]}function formatRelativeTime(e,t,r="always",a=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},u=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&u){const E=e==="days";switch(t){case 1:return E?"tomorrow":`next ${o[e][0]}`;case-1:return E?"yesterday":`last ${o[e][0]}`;case 0:return E?"today":`this ${o[e][0]}`}}const d=Object.is(t,-0)||t<0,f=Math.abs(t),g=f===1,_=o[e],S=a?g?_[1]:_[2]||_[1]:g?o[e][0]:e;return d?`${f} ${S} ago`:`in ${f} ${S}`}function stringifyTokens(e,t){let r="";for(const a of e)a.literal?r+=a.val:r+=t(a.val);return r}const macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};class Formatter{static create(t,r={}){return new Formatter(t,r)}static parseFormat(t){let r=null,a="",o=!1;const u=[];for(let d=0;d0&&u.push({literal:o||/^\s+$/.test(a),val:a}),r=null,a="",o=!o):o||f===r?a+=f:(a.length>0&&u.push({literal:/^\s+$/.test(a),val:a}),a=f,r=f)}return a.length>0&&u.push({literal:o||/^\s+$/.test(a),val:a}),u}static macroTokenToFormatOpts(t){return macroTokenToFormatOpts[t]}constructor(t,r){this.opts=r,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...r}).format()}dtFormatter(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r})}formatDateTime(t,r){return this.dtFormatter(t,r).format()}formatDateTimeParts(t,r){return this.dtFormatter(t,r).formatToParts()}formatInterval(t,r){return this.dtFormatter(t.start,r).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,r){return this.dtFormatter(t,r).resolvedOptions()}num(t,r=0){if(this.opts.forceSimple)return padStart$2(t,r);const a={...this.opts};return r>0&&(a.padTo=r),this.loc.numberFormatter(a).format(t)}formatDateTimeFromString(t,r){const a=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",u=(b,y)=>this.loc.extract(t,b,y),d=b=>t.isOffsetFixed&&t.offset===0&&b.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,b.format):"",f=()=>a?meridiemForDateTime(t):u({hour:"numeric",hourCycle:"h12"},"dayperiod"),g=(b,y)=>a?monthForDateTime(t,b):u(y?{month:b}:{month:b,day:"numeric"},"month"),_=(b,y)=>a?weekdayForDateTime(t,b):u(y?{weekday:b}:{weekday:b,month:"long",day:"numeric"},"weekday"),S=b=>{const y=Formatter.macroTokenToFormatOpts(b);return y?this.formatWithSystemDefault(t,y):b},E=b=>a?eraForDateTime(t,b):u({era:b},"era"),v=b=>{switch(b){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return d({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return d({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return d({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return f();case"d":return o?u({day:"numeric"},"day"):this.num(t.day);case"dd":return o?u({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return _("short",!0);case"cccc":return _("long",!0);case"ccccc":return _("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return _("short",!1);case"EEEE":return _("long",!1);case"EEEEE":return _("narrow",!1);case"L":return o?u({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?u({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return g("short",!0);case"LLLL":return g("long",!0);case"LLLLL":return g("narrow",!0);case"M":return o?u({month:"numeric"},"month"):this.num(t.month);case"MM":return o?u({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return g("short",!1);case"MMMM":return g("long",!1);case"MMMMM":return g("narrow",!1);case"y":return o?u({year:"numeric"},"year"):this.num(t.year);case"yy":return o?u({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?u({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?u({year:"numeric"},"year"):this.num(t.year,6);case"G":return E("short");case"GG":return E("long");case"GGGGG":return E("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return S(b)}};return stringifyTokens(Formatter.parseFormat(r),v)}formatDurationFromString(t,r){const a=g=>{switch(g[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=g=>_=>{const S=a(_);return S?this.num(g.get(S),_.length):_},u=Formatter.parseFormat(r),d=u.reduce((g,{literal:_,val:S})=>_?g:g.concat(S),[]),f=t.shiftTo(...d.map(a).filter(g=>g));return stringifyTokens(u,o(f))}}class Invalid{constructor(t,r){this.reason=t,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...e){const t=e.reduce((r,a)=>r+a.source,"");return RegExp(`^${t}$`)}function combineExtractors(...e){return t=>e.reduce(([r,a,o],u)=>{const[d,f,g]=u(t,o);return[{...r,...d},f||a,g]},[{},null,1]).slice(0,2)}function parse$5(e,...t){if(e==null)return[null,null];for(const[r,a]of t){const o=r.exec(e);if(o)return a(o)}return[null,null]}function simpleParse(...e){return(t,r)=>{const a={};let o;for(o=0;ob!==void 0&&(y||b&&S)?-b:b;return[{years:v(parseFloating(r)),months:v(parseFloating(a)),weeks:v(parseFloating(o)),days:v(parseFloating(u)),hours:v(parseFloating(d)),minutes:v(parseFloating(f)),seconds:v(parseFloating(g),g==="-0"),milliseconds:v(parseMillis(_),E)}]}const obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,t,r,a,o,u,d){const f={year:t.length===2?untruncateYear(parseInteger(t)):parseInteger(t),month:monthsShort.indexOf(r)+1,day:parseInteger(a),hour:parseInteger(o),minute:parseInteger(u)};return d&&(f.second=parseInteger(d)),e&&(f.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1),f}const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(e){const[,t,r,a,o,u,d,f,g,_,S,E]=e,v=fromStrings(t,o,a,r,u,d,f);let b;return g?b=obsOffsets[g]:_?b=0:b=signedOffset(S,E),[v,new FixedOffsetZone(b)]}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(e){const[,t,r,a,o,u,d,f]=e;return[fromStrings(t,o,a,r,u,d,f),FixedOffsetZone.utcInstance]}function extractASCII(e){const[,t,r,a,o,u,d,f]=e;return[fromStrings(t,f,r,a,o,u,d),FixedOffsetZone.utcInstance]}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(e){return parse$5(e,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(e){return parse$5(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse$5(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse$5(e,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return parse$5(e,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return parse$5(e,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}const INVALID$2="Invalid Duration",lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix},daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix={years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3},...lowOrderMatrix},orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],reverseUnits=orderedUnits$1.slice(0).reverse();function clone$2(e,t,r=!1){const a={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Duration(a)}function durationToMillis(e,t){let r=t.milliseconds??0;for(const a of reverseUnits.slice(1))t[a]&&(r+=t[a]*e[a].milliseconds);return r}function normalizeValues(e,t){const r=durationToMillis(e,t)<0?-1:1;orderedUnits$1.reduceRight((a,o)=>{if(isUndefined(t[o]))return a;if(a){const u=t[a]*r,d=e[o][a],f=Math.floor(u/d);t[o]+=f*r,t[a]-=f*d*r}return o},null),orderedUnits$1.reduce((a,o)=>{if(isUndefined(t[o]))return a;if(a){const u=t[a]%1;t[a]-=u,t[o]+=u*e[a][o]}return o},null)}function removeZeroes(e){const t={};for(const[r,a]of Object.entries(e))a!==0&&(t[r]=a);return t}class Duration{constructor(t){const r=t.conversionAccuracy==="longterm"||!1;let a=r?accurateMatrix:casualMatrix;t.matrix&&(a=t.matrix),this.values=t.values,this.loc=t.loc||Locale.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=a,this.isLuxonDuration=!0}static fromMillis(t,r){return Duration.fromObject({milliseconds:t},r)}static fromObject(t,r={}){if(t==null||typeof t!="object")throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Duration({values:normalizeObject(t,Duration.normalizeUnit),loc:Locale.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if(isNumber(t))return Duration.fromMillis(t);if(Duration.isDuration(t))return t;if(typeof t=="object")return Duration.fromObject(t);throw new InvalidArgumentError(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,r){const[a]=parseISODuration(t);return a?Duration.fromObject(a,r):Duration.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,r){const[a]=parseISOTimeOnly(t);return a?Duration.fromObject(a,r):Duration.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,r=null){if(!t)throw new InvalidArgumentError("need to specify a reason the Duration is invalid");const a=t instanceof Invalid?t:new Invalid(t,r);if(Settings.throwOnInvalid)throw new InvalidDurationError(a);return new Duration({invalid:a})}static normalizeUnit(t){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!r)throw new InvalidUnitError(t);return r}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,r={}){const a={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Formatter.create(this.loc,a).formatDurationFromString(this,t):INVALID$2}toHuman(t={}){if(!this.isValid)return INVALID$2;const r=orderedUnits$1.map(a=>{const o=this.values[a];return isUndefined(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:a.slice(0,-1)}).format(o)}).filter(a=>a);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},DateTime.fromMillis(r,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.isValid?durationToMillis(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t),a={};for(const o of orderedUnits$1)(hasOwnProperty$c(r.values,o)||hasOwnProperty$c(this.values,o))&&(a[o]=r.get(o)+this.get(o));return clone$2(this,{values:a},!0)}minus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t);return this.plus(r.negate())}mapUnits(t){if(!this.isValid)return this;const r={};for(const a of Object.keys(this.values))r[a]=asNumber(t(this.values[a],a));return clone$2(this,{values:r},!0)}get(t){return this[Duration.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const r={...this.values,...normalizeObject(t,Duration.normalizeUnit)};return clone$2(this,{values:r})}reconfigure({locale:t,numberingSystem:r,conversionAccuracy:a,matrix:o}={}){const d={loc:this.loc.clone({locale:t,numberingSystem:r}),matrix:o,conversionAccuracy:a};return clone$2(this,d)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return normalizeValues(this.matrix,t),clone$2(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=removeZeroes(this.normalize().shiftToAll().toObject());return clone$2(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(d=>Duration.normalizeUnit(d));const r={},a={},o=this.toObject();let u;for(const d of orderedUnits$1)if(t.indexOf(d)>=0){u=d;let f=0;for(const _ in a)f+=this.matrix[_][d]*a[_],a[_]=0;isNumber(o[d])&&(f+=o[d]);const g=Math.trunc(f);r[d]=g,a[d]=(f*1e3-g*1e3)/1e3}else isNumber(o[d])&&(a[d]=o[d]);for(const d in a)a[d]!==0&&(r[u]+=d===u?a[d]:a[d]/this.matrix[u][d]);return normalizeValues(this.matrix,r),clone$2(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=this.values[r]===0?0:-this.values[r];return clone$2(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function r(a,o){return a===void 0||a===0?o===void 0||o===0:a===o}for(const a of orderedUnits$1)if(!r(this.values[a],t.values[a]))return!1;return!0}}const INVALID$1="Invalid Interval";function validateStartEnd(e,t){return!e||!e.isValid?Interval.invalid("missing or invalid start"):!t||!t.isValid?Interval.invalid("missing or invalid end"):tt:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:r}={}){return this.isValid?Interval.fromDateTimes(t||this.s,r||this.e):this}splitAt(...t){if(!this.isValid)return[];const r=t.map(friendlyDateTime).filter(d=>this.contains(d)).sort(),a=[];let{s:o}=this,u=0;for(;o+this.e?this.e:d;a.push(Interval.fromDateTimes(o,f)),o=f,u+=1}return a}splitBy(t){const r=Duration.fromDurationLike(t);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:a}=this,o=1,u;const d=[];for(;ag*o));u=+f>+this.e?this.e:f,d.push(Interval.fromDateTimes(a,u)),a=u,o+=1}return d}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const r=this.s>t.s?this.s:t.s,a=this.e=a?null:Interval.fromDateTimes(r,a)}union(t){if(!this.isValid)return this;const r=this.st.e?this.e:t.e;return Interval.fromDateTimes(r,a)}static merge(t){const[r,a]=t.sort((o,u)=>o.s-u.s).reduce(([o,u],d)=>u?u.overlaps(d)||u.abutsStart(d)?[o,u.union(d)]:[o.concat([u]),d]:[o,d],[[],null]);return a&&r.push(a),r}static xor(t){let r=null,a=0;const o=[],u=t.map(g=>[{time:g.s,type:"s"},{time:g.e,type:"e"}]),d=Array.prototype.concat(...u),f=d.sort((g,_)=>g.time-_.time);for(const g of f)a+=g.type==="s"?1:-1,a===1?r=g.time:(r&&+r!=+g.time&&o.push(Interval.fromDateTimes(r,g.time)),r=null);return Interval.merge(o)}difference(...t){return Interval.xor([this].concat(t)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:INVALID$1}toLocaleString(t=DATE_SHORT,r={}){return this.isValid?Formatter.create(this.s.loc.clone(r),t).formatInterval(this):INVALID$1}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:INVALID$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:INVALID$1}toFormat(t,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${r}${this.e.toFormat(t)}`:INVALID$1}toDuration(t,r){return this.isValid?this.e.diff(this.s,t,r):Duration.invalid(this.invalidReason)}mapEndpoints(t){return Interval.fromDateTimes(t(this.s),t(this.e))}}class Info{static hasDST(t=Settings.defaultZone){const r=DateTime.now().setZone(t).set({month:12});return!t.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(t){return IANAZone.isValidZone(t)}static normalizeZone(t){return normalizeZone(t,Settings.defaultZone)}static months(t="long",{locale:r=null,numberingSystem:a=null,locObj:o=null,outputCalendar:u="gregory"}={}){return(o||Locale.create(r,a,u)).months(t)}static monthsFormat(t="long",{locale:r=null,numberingSystem:a=null,locObj:o=null,outputCalendar:u="gregory"}={}){return(o||Locale.create(r,a,u)).months(t,!0)}static weekdays(t="long",{locale:r=null,numberingSystem:a=null,locObj:o=null}={}){return(o||Locale.create(r,a,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:r=null,numberingSystem:a=null,locObj:o=null}={}){return(o||Locale.create(r,a,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Locale.create(t).meridiems()}static eras(t="short",{locale:r=null}={}){return Locale.create(r,null,"gregory").eras(t)}static features(){return{relative:hasRelative()}}}function dayDiff(e,t){const r=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=r(t)-r(e);return Math.floor(Duration.fromMillis(a).as("days"))}function highOrderDiffs(e,t,r){const a=[["years",(g,_)=>_.year-g.year],["quarters",(g,_)=>_.quarter-g.quarter+(_.year-g.year)*4],["months",(g,_)=>_.month-g.month+(_.year-g.year)*12],["weeks",(g,_)=>{const S=dayDiff(g,_);return(S-S%7)/7}],["days",dayDiff]],o={},u=e;let d,f;for(const[g,_]of a)r.indexOf(g)>=0&&(d=g,o[g]=_(e,t),f=u.plus(o),f>t?(o[g]--,e=u.plus(o),e>t&&(f=e,o[g]--,e=u.plus(o))):e=f);return[e,o,f,d]}function diff(e,t,r,a){let[o,u,d,f]=highOrderDiffs(e,t,r);const g=t-o,_=r.filter(E=>["hours","minutes","seconds","milliseconds"].indexOf(E)>=0);_.length===0&&(d0?Duration.fromMillis(g,a).shiftTo(..._).plus(S):S}const numberingSystems={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},numberingSystemsUTF16={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r=u&&a<=d&&(t+=a-u)}}return parseInt(t,10)}else return t}function digitRegex({numberingSystem:e},t=""){return new RegExp(`${numberingSystems[e||"latn"]}${t}`)}const MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,t=r=>r){return{regex:e,deser:([r])=>t(parseDigits(r))}}const NBSP=" ",spaceOrNBSP=`[ ${NBSP}]`,spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(e){return e.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(e,t){return e===null?null:{regex:RegExp(e.map(fixListRegex).join("|")),deser:([r])=>e.findIndex(a=>stripInsensitivities(r)===stripInsensitivities(a))+t}}function offset(e,t){return{regex:e,deser:([,r,a])=>signedOffset(r,a),groups:t}}function simple(e){return{regex:e,deser:([t])=>t}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(e,t){const r=digitRegex(t),a=digitRegex(t,"{2}"),o=digitRegex(t,"{3}"),u=digitRegex(t,"{4}"),d=digitRegex(t,"{6}"),f=digitRegex(t,"{1,2}"),g=digitRegex(t,"{1,3}"),_=digitRegex(t,"{1,6}"),S=digitRegex(t,"{1,9}"),E=digitRegex(t,"{2,4}"),v=digitRegex(t,"{4,6}"),b=C=>({regex:RegExp(escapeToken(C.val)),deser:([R])=>R,literal:!0}),T=(C=>{if(e.literal)return b(C);switch(C.val){case"G":return oneOf(t.eras("short"),0);case"GG":return oneOf(t.eras("long"),0);case"y":return intUnit(_);case"yy":return intUnit(E,untruncateYear);case"yyyy":return intUnit(u);case"yyyyy":return intUnit(v);case"yyyyyy":return intUnit(d);case"M":return intUnit(f);case"MM":return intUnit(a);case"MMM":return oneOf(t.months("short",!0),1);case"MMMM":return oneOf(t.months("long",!0),1);case"L":return intUnit(f);case"LL":return intUnit(a);case"LLL":return oneOf(t.months("short",!1),1);case"LLLL":return oneOf(t.months("long",!1),1);case"d":return intUnit(f);case"dd":return intUnit(a);case"o":return intUnit(g);case"ooo":return intUnit(o);case"HH":return intUnit(a);case"H":return intUnit(f);case"hh":return intUnit(a);case"h":return intUnit(f);case"mm":return intUnit(a);case"m":return intUnit(f);case"q":return intUnit(f);case"qq":return intUnit(a);case"s":return intUnit(f);case"ss":return intUnit(a);case"S":return intUnit(g);case"SSS":return intUnit(o);case"u":return simple(S);case"uu":return simple(f);case"uuu":return intUnit(r);case"a":return oneOf(t.meridiems(),0);case"kkkk":return intUnit(u);case"kk":return intUnit(E,untruncateYear);case"W":return intUnit(f);case"WW":return intUnit(a);case"E":case"c":return intUnit(r);case"EEE":return oneOf(t.weekdays("short",!1),1);case"EEEE":return oneOf(t.weekdays("long",!1),1);case"ccc":return oneOf(t.weekdays("short",!0),1);case"cccc":return oneOf(t.weekdays("long",!0),1);case"Z":case"ZZ":return offset(new RegExp(`([+-]${f.source})(?::(${a.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${f.source})(${a.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return b(C)}})(e)||{invalidReason:MISSING_FTP};return T.token=e,T}const partTypeStyleToTokenVal={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(e,t,r){const{type:a,value:o}=e;if(a==="literal"){const g=/^\s+$/.test(o);return{literal:!g,val:g?" ":o}}const u=t[a];let d=a;a==="hour"&&(t.hour12!=null?d=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?d="hour12":d="hour24":d=r.hour12?"hour12":"hour24");let f=partTypeStyleToTokenVal[d];if(typeof f=="object"&&(f=f[u]),f)return{literal:!1,val:f}}function buildRegex(e){return[`^${e.map(r=>r.regex).reduce((r,a)=>`${r}(${a.source})`,"")}$`,e]}function match(e,t,r){const a=e.match(t);if(a){const o={};let u=1;for(const d in r)if(hasOwnProperty$c(r,d)){const f=r[d],g=f.groups?f.groups+1:1;!f.literal&&f.token&&(o[f.token.val[0]]=f.deser(a.slice(u,u+g))),u+=g}return[a,o]}else return[a,{}]}function dateTimeFromMatches(e){const t=u=>{switch(u){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,a;return isUndefined(e.z)||(r=IANAZone.create(e.z)),isUndefined(e.Z)||(r||(r=new FixedOffsetZone(e.Z)),a=e.Z),isUndefined(e.q)||(e.M=(e.q-1)*3+1),isUndefined(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),isUndefined(e.u)||(e.S=parseMillis(e.u)),[Object.keys(e).reduce((u,d)=>{const f=t(d);return f&&(u[f]=e[d]),u},{}),r,a]}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime.fromMillis(1555555555555)),dummyDateTimeCache}function maybeExpandMacroToken(e,t){if(e.literal)return e;const r=Formatter.macroTokenToFormatOpts(e.val),a=formatOptsToTokens(r,t);return a==null||a.includes(void 0)?e:a}function expandMacroTokens(e,t){return Array.prototype.concat(...e.map(r=>maybeExpandMacroToken(r,t)))}function explainFromTokens(e,t,r){const a=expandMacroTokens(Formatter.parseFormat(r),e),o=a.map(d=>unitForToken(d,e)),u=o.find(d=>d.invalidReason);if(u)return{input:t,tokens:a,invalidReason:u.invalidReason};{const[d,f]=buildRegex(o),g=RegExp(d,"i"),[_,S]=match(t,g,f),[E,v,b]=S?dateTimeFromMatches(S):[null,null,void 0];if(hasOwnProperty$c(S,"a")&&hasOwnProperty$c(S,"H"))throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:a,regex:g,rawMatches:_,matches:S,result:E,zone:v,specificOffset:b}}}function parseFromTokens(e,t,r){const{result:a,zone:o,specificOffset:u,invalidReason:d}=explainFromTokens(e,t,r);return[a,o,u,d]}function formatOptsToTokens(e,t){if(!e)return null;const a=Formatter.create(t,e).dtFormatter(getDummyDateTime()),o=a.formatToParts(),u=a.resolvedOptions();return o.map(d=>tokenForPart(d,e,u))}const nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,t){return new Invalid("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function dayOfWeek(e,t,r){const a=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&a.setUTCFullYear(a.getUTCFullYear()-1900);const o=a.getUTCDay();return o===0?7:o}function computeOrdinal(e,t,r){return r+(isLeapYear(e)?leapLadder:nonLeapLadder)[t-1]}function uncomputeOrdinal(e,t){const r=isLeapYear(e)?leapLadder:nonLeapLadder,a=r.findIndex(u=>uweeksInWeekYear(t)?(f=t+1,d=1):f=t,{weekYear:f,weekNumber:d,weekday:u,...timeObject(e)}}function weekToGregorian(e){const{weekYear:t,weekNumber:r,weekday:a}=e,o=dayOfWeek(t,1,4),u=daysInYear(t);let d=r*7+a-o-3,f;d<1?(f=t-1,d+=daysInYear(f)):d>u?(f=t+1,d-=daysInYear(t)):f=t;const{month:g,day:_}=uncomputeOrdinal(f,d);return{year:f,month:g,day:_,...timeObject(e)}}function gregorianToOrdinal(e){const{year:t,month:r,day:a}=e,o=computeOrdinal(t,r,a);return{year:t,ordinal:o,...timeObject(e)}}function ordinalToGregorian(e){const{year:t,ordinal:r}=e,{month:a,day:o}=uncomputeOrdinal(t,r);return{year:t,month:a,day:o,...timeObject(e)}}function hasInvalidWeekData(e){const t=isInteger$1(e.weekYear),r=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear)),a=integerBetween(e.weekday,1,7);return t?r?a?!1:unitOutOfRange("weekday",e.weekday):unitOutOfRange("week",e.week):unitOutOfRange("weekYear",e.weekYear)}function hasInvalidOrdinalData(e){const t=isInteger$1(e.year),r=integerBetween(e.ordinal,1,daysInYear(e.year));return t?r?!1:unitOutOfRange("ordinal",e.ordinal):unitOutOfRange("year",e.year)}function hasInvalidGregorianData(e){const t=isInteger$1(e.year),r=integerBetween(e.month,1,12),a=integerBetween(e.day,1,daysInMonth(e.year,e.month));return t?r?a?!1:unitOutOfRange("day",e.day):unitOutOfRange("month",e.month):unitOutOfRange("year",e.year)}function hasInvalidTimeData(e){const{hour:t,minute:r,second:a,millisecond:o}=e,u=integerBetween(t,0,23)||t===24&&r===0&&a===0&&o===0,d=integerBetween(r,0,59),f=integerBetween(a,0,59),g=integerBetween(o,0,999);return u?d?f?g?!1:unitOutOfRange("millisecond",o):unitOutOfRange("second",a):unitOutOfRange("minute",r):unitOutOfRange("hour",t)}const INVALID="Invalid DateTime",MAX_DATE=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",`the zone "${e.name}" is not supported`)}function possiblyCachedWeekData(e){return e.weekData===null&&(e.weekData=gregorianToWeek(e.c)),e.weekData}function clone$1(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime({...r,...t,old:r})}function fixOffset(e,t,r){let a=e-t*60*1e3;const o=r.offset(a);if(t===o)return[a,t];a-=(o-t)*60*1e3;const u=r.offset(a);return o===u?[a,o]:[e-Math.min(o,u)*60*1e3,Math.max(o,u)]}function tsToObj(e,t){e+=t*60*1e3;const r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function objToTS(e,t,r){return fixOffset(objToLocalTS(e),t,r)}function adjustTime(e,t){const r=e.o,a=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,u={...e.c,year:a,month:o,day:Math.min(e.c.day,daysInMonth(a,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},d=Duration.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),f=objToLocalTS(u);let[g,_]=fixOffset(f,r,e.zone);return d!==0&&(g+=d,_=e.zone.offset(g)),{ts:g,o:_}}function parseDataToDateTime(e,t,r,a,o,u){const{setZone:d,zone:f}=r;if(e&&Object.keys(e).length!==0||t){const g=t||f,_=DateTime.fromObject(e,{...r,zone:g,specificOffset:u});return d?_:_.setZone(f)}else return DateTime.invalid(new Invalid("unparsable",`the input "${o}" can't be parsed as ${a}`))}function toTechFormat(e,t,r=!0){return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function toISODate(e,t){const r=e.c.year>9999||e.c.year<0;let a="";return r&&e.c.year>=0&&(a+="+"),a+=padStart$2(e.c.year,r?6:4),t?(a+="-",a+=padStart$2(e.c.month),a+="-",a+=padStart$2(e.c.day)):(a+=padStart$2(e.c.month),a+=padStart$2(e.c.day)),a}function toISOTime(e,t,r,a,o,u){let d=padStart$2(e.c.hour);return t?(d+=":",d+=padStart$2(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(d+=":")):d+=padStart$2(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(d+=padStart$2(e.c.second),(e.c.millisecond!==0||!a)&&(d+=".",d+=padStart$2(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!u?d+="Z":e.o<0?(d+="-",d+=padStart$2(Math.trunc(-e.o/60)),d+=":",d+=padStart$2(Math.trunc(-e.o%60))):(d+="+",d+=padStart$2(Math.trunc(e.o/60)),d+=":",d+=padStart$2(Math.trunc(e.o%60)))),u&&(d+="["+e.zone.ianaName+"]"),d}const defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new InvalidUnitError(e);return t}function quickDT(e,t){const r=normalizeZone(t.zone,Settings.defaultZone),a=Locale.fromObject(t),o=Settings.now();let u,d;if(isUndefined(e.year))u=o;else{for(const _ of orderedUnits)isUndefined(e[_])&&(e[_]=defaultUnitValues[_]);const f=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(f)return DateTime.invalid(f);const g=r.offset(o);[u,d]=objToTS(e,g,r)}return new DateTime({ts:u,zone:r,loc:a,o:d})}function diffRelative(e,t,r){const a=isUndefined(r.round)?!0:r.round,o=(d,f)=>(d=roundTo(d,a||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(d,f)),u=d=>r.calendary?t.hasSame(e,d)?0:t.startOf(d).diff(e.startOf(d),d).get(d):t.diff(e,d).get(d);if(r.unit)return o(u(r.unit),r.unit);for(const d of r.units){const f=u(d);if(Math.abs(f)>=1)return o(f,d)}return o(e>t?-0:0,r.units[r.units.length-1])}function lastOpts(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}class DateTime{constructor(t){const r=t.zone||Settings.defaultZone;let a=t.invalid||(Number.isNaN(t.ts)?new Invalid("invalid input"):null)||(r.isValid?null:unsupportedZone(r));this.ts=isUndefined(t.ts)?Settings.now():t.ts;let o=null,u=null;if(!a)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(r))[o,u]=[t.old.c,t.old.o];else{const f=r.offset(this.ts);o=tsToObj(this.ts,f),a=Number.isNaN(o.year)?new Invalid("invalid input"):null,o=a?null:o,u=a?null:f}this._zone=r,this.loc=t.loc||Locale.create(),this.invalid=a,this.weekData=null,this.c=o,this.o=u,this.isLuxonDateTime=!0}static now(){return new DateTime({})}static local(){const[t,r]=lastOpts(arguments),[a,o,u,d,f,g,_]=r;return quickDT({year:a,month:o,day:u,hour:d,minute:f,second:g,millisecond:_},t)}static utc(){const[t,r]=lastOpts(arguments),[a,o,u,d,f,g,_]=r;return t.zone=FixedOffsetZone.utcInstance,quickDT({year:a,month:o,day:u,hour:d,minute:f,second:g,millisecond:_},t)}static fromJSDate(t,r={}){const a=isDate(t)?t.valueOf():NaN;if(Number.isNaN(a))return DateTime.invalid("invalid input");const o=normalizeZone(r.zone,Settings.defaultZone);return o.isValid?new DateTime({ts:a,zone:o,loc:Locale.fromObject(r)}):DateTime.invalid(unsupportedZone(o))}static fromMillis(t,r={}){if(isNumber(t))return t<-MAX_DATE||t>MAX_DATE?DateTime.invalid("Timestamp out of range"):new DateTime({ts:t,zone:normalizeZone(r.zone,Settings.defaultZone),loc:Locale.fromObject(r)});throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,r={}){if(isNumber(t))return new DateTime({ts:t*1e3,zone:normalizeZone(r.zone,Settings.defaultZone),loc:Locale.fromObject(r)});throw new InvalidArgumentError("fromSeconds requires a numerical input")}static fromObject(t,r={}){t=t||{};const a=normalizeZone(r.zone,Settings.defaultZone);if(!a.isValid)return DateTime.invalid(unsupportedZone(a));const o=Settings.now(),u=isUndefined(r.specificOffset)?a.offset(o):r.specificOffset,d=normalizeObject(t,normalizeUnit),f=!isUndefined(d.ordinal),g=!isUndefined(d.year),_=!isUndefined(d.month)||!isUndefined(d.day),S=g||_,E=d.weekYear||d.weekNumber,v=Locale.fromObject(r);if((S||f)&&E)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(_&&f)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");const b=E||d.weekday&&!S;let y,T,C=tsToObj(o,u);b?(y=orderedWeekUnits,T=defaultWeekUnitValues,C=gregorianToWeek(C)):f?(y=orderedOrdinalUnits,T=defaultOrdinalUnitValues,C=gregorianToOrdinal(C)):(y=orderedUnits,T=defaultUnitValues);let R=!1;for(const D of y){const P=d[D];isUndefined(P)?R?d[D]=T[D]:d[D]=C[D]:R=!0}const A=b?hasInvalidWeekData(d):f?hasInvalidOrdinalData(d):hasInvalidGregorianData(d),O=A||hasInvalidTimeData(d);if(O)return DateTime.invalid(O);const x=b?weekToGregorian(d):f?ordinalToGregorian(d):d,[N,I]=objToTS(x,u,a),k=new DateTime({ts:N,zone:a,o:I,loc:v});return d.weekday&&S&&t.weekday!==k.weekday?DateTime.invalid("mismatched weekday",`you can't specify both a weekday of ${d.weekday} and a date of ${k.toISO()}`):k}static fromISO(t,r={}){const[a,o]=parseISODate(t);return parseDataToDateTime(a,o,r,"ISO 8601",t)}static fromRFC2822(t,r={}){const[a,o]=parseRFC2822Date(t);return parseDataToDateTime(a,o,r,"RFC 2822",t)}static fromHTTP(t,r={}){const[a,o]=parseHTTPDate(t);return parseDataToDateTime(a,o,r,"HTTP",r)}static fromFormat(t,r,a={}){if(isUndefined(t)||isUndefined(r))throw new InvalidArgumentError("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:u=null}=a,d=Locale.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0}),[f,g,_,S]=parseFromTokens(d,t,r);return S?DateTime.invalid(S):parseDataToDateTime(f,g,a,`format ${r}`,t,_)}static fromString(t,r,a={}){return DateTime.fromFormat(t,r,a)}static fromSQL(t,r={}){const[a,o]=parseSQL(t);return parseDataToDateTime(a,o,r,"SQL",t)}static invalid(t,r=null){if(!t)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");const a=t instanceof Invalid?t:new Invalid(t,r);if(Settings.throwOnInvalid)throw new InvalidDateTimeError(a);return new DateTime({invalid:a})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,r={}){const a=formatOptsToTokens(t,Locale.fromObject(r));return a?a.map(o=>o?o.val:null).join(""):null}static expandFormat(t,r={}){return expandMacroTokens(Formatter.parseFormat(t),Locale.fromObject(r)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,r=6e4,a=objToLocalTS(this.c),o=this.zone.offset(a-t),u=this.zone.offset(a+t),d=this.zone.offset(a-o*r),f=this.zone.offset(a-u*r);if(d===f)return[this];const g=a-d*r,_=a-f*r,S=tsToObj(g,d),E=tsToObj(_,f);return S.hour===E.hour&&S.minute===E.minute&&S.second===E.second&&S.millisecond===E.millisecond?[clone$1(this,{ts:g}),clone$1(this,{ts:_})]:[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:r,numberingSystem:a,calendar:o}=Formatter.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:r,numberingSystem:a,outputCalendar:o}}toUTC(t=0,r={}){return this.setZone(FixedOffsetZone.instance(t),r)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(t,{keepLocalTime:r=!1,keepCalendarTime:a=!1}={}){if(t=normalizeZone(t,Settings.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(r||a){const u=t.offset(this.ts),d=this.toObject();[o]=objToTS(d,u,t)}return clone$1(this,{ts:o,zone:t})}else return DateTime.invalid(unsupportedZone(t))}reconfigure({locale:t,numberingSystem:r,outputCalendar:a}={}){const o=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:a});return clone$1(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const r=normalizeObject(t,normalizeUnit),a=!isUndefined(r.weekYear)||!isUndefined(r.weekNumber)||!isUndefined(r.weekday),o=!isUndefined(r.ordinal),u=!isUndefined(r.year),d=!isUndefined(r.month)||!isUndefined(r.day),f=u||d,g=r.weekYear||r.weekNumber;if((f||o)&&g)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&o)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");let _;a?_=weekToGregorian({...gregorianToWeek(this.c),...r}):isUndefined(r.ordinal)?(_={...this.toObject(),...r},isUndefined(r.day)&&(_.day=Math.min(daysInMonth(_.year,_.month),_.day))):_=ordinalToGregorian({...gregorianToOrdinal(this.c),...r});const[S,E]=objToTS(_,this.o,this.zone);return clone$1(this,{ts:S,o:E})}plus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t);return clone$1(this,adjustTime(this,r))}minus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t).negate();return clone$1(this,adjustTime(this,r))}startOf(t){if(!this.isValid)return this;const r={},a=Duration.normalizeUnit(t);switch(a){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(a==="weeks"&&(r.weekday=1),a==="quarters"){const o=Math.ceil(this.month/3);r.month=(o-1)*3+1}return this.set(r)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,r={}){return this.isValid?Formatter.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,t):INVALID}toLocaleString(t=DATE_SHORT,r={}){return this.isValid?Formatter.create(this.loc.clone(r),t).formatDateTime(this):INVALID}toLocaleParts(t={}){return this.isValid?Formatter.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:r=!1,suppressMilliseconds:a=!1,includeOffset:o=!0,extendedZone:u=!1}={}){if(!this.isValid)return null;const d=t==="extended";let f=toISODate(this,d);return f+="T",f+=toISOTime(this,d,r,a,o,u),f}toISODate({format:t="extended"}={}){return this.isValid?toISODate(this,t==="extended"):null}toISOWeekDate(){return toTechFormat(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:r=!1,includeOffset:a=!0,includePrefix:o=!1,extendedZone:u=!1,format:d="extended"}={}){return this.isValid?(o?"T":"")+toISOTime(this,d==="extended",r,t,a,u):null}toRFC2822(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?toISODate(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:r=!1,includeOffsetSpace:a=!0}={}){let o="HH:mm:ss.SSS";return(r||t)&&(a&&(o+=" "),r?o+="z":t&&(o+="ZZ")),toTechFormat(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():INVALID}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const r={...this.c};return t.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,r="milliseconds",a={}){if(!this.isValid||!t.isValid)return Duration.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...a},u=maybeArray(r).map(Duration.normalizeUnit),d=t.valueOf()>this.valueOf(),f=d?this:t,g=d?t:this,_=diff(f,g,u,o);return d?_.negate():_}diffNow(t="milliseconds",r={}){return this.diff(DateTime.now(),t,r)}until(t){return this.isValid?Interval.fromDateTimes(this,t):this}hasSame(t,r){if(!this.isValid)return!1;const a=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(r)<=a&&a<=o.endOf(r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const r=t.base||DateTime.fromObject({},{zone:this.zone}),a=t.padding?thisr.valueOf(),Math.min)}static max(...t){if(!t.every(DateTime.isDateTime))throw new InvalidArgumentError("max requires all arguments be DateTimes");return bestBy(t,r=>r.valueOf(),Math.max)}static fromFormatExplain(t,r,a={}){const{locale:o=null,numberingSystem:u=null}=a,d=Locale.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0});return explainFromTokens(d,t,r)}static fromStringExplain(t,r,a={}){return DateTime.fromFormatExplain(t,r,a)}static get DATE_SHORT(){return DATE_SHORT}static get DATE_MED(){return DATE_MED}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY}static get DATE_FULL(){return DATE_FULL}static get DATE_HUGE(){return DATE_HUGE}static get TIME_SIMPLE(){return TIME_SIMPLE}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET}static get DATETIME_SHORT(){return DATETIME_SHORT}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS}static get DATETIME_MED(){return DATETIME_MED}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY}static get DATETIME_FULL(){return DATETIME_FULL}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS}static get DATETIME_HUGE(){return DATETIME_HUGE}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS}}function friendlyDateTime(e){if(DateTime.isDateTime(e))return e;if(e&&e.valueOf&&isNumber(e.valueOf()))return DateTime.fromJSDate(e);if(e&&typeof e=="object")return DateTime.fromObject(e);throw new InvalidArgumentError(`Unknown datetime argument: ${e}, of type ${typeof e}`)}/*! * chartjs-adapter-luxon v1.3.1 * https://www.chartjs.org * (c) 2023 chartjs-adapter-luxon Contributors * Released under the MIT license */const FORMATS={datetime:DateTime.DATETIME_MED_WITH_SECONDS,millisecond:"h:mm:ss.SSS a",second:DateTime.TIME_WITH_SECONDS,minute:DateTime.TIME_SIMPLE,hour:{hour:"numeric"},day:{day:"numeric",month:"short"},week:"DD",month:{month:"short",year:"numeric"},quarter:"'Q'q - yyyy",year:{year:"numeric"}};adapters._date.override({_id:"luxon",_create:function(e){return DateTime.fromMillis(e,this.options)},init(e){this.options.locale||(this.options.locale=e.locale)},formats:function(){return FORMATS},parse:function(e,t){const r=this.options,a=typeof e;return e===null||a==="undefined"?null:(a==="number"?e=this._create(e):a==="string"?typeof t=="string"?e=DateTime.fromFormat(e,t,r):e=DateTime.fromISO(e,r):e instanceof Date?e=DateTime.fromJSDate(e,r):a==="object"&&!(e instanceof DateTime)&&(e=DateTime.fromObject(e,r)),e.isValid?e.valueOf():null)},format:function(e,t){const r=this._create(e);return typeof t=="string"?r.toFormat(t):r.toLocaleString(t)},add:function(e,t,r){const a={};return a[r]=t,this._create(e).plus(a).valueOf()},diff:function(e,t,r){return this._create(e).diff(this._create(t)).as(r).valueOf()},startOf:function(e,t,r){if(t==="isoWeek"){r=Math.trunc(Math.min(Math.max(0,r),6));const a=this._create(e);return a.minus({days:(a.weekday-r+7)%7}).startOf("day").valueOf()}return t?this._create(e).startOf(t).valueOf():e},endOf:function(e,t){return this._create(e).endOf(t).valueOf()}});const _sfc_main$m={name:"DBUIChart",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})}},data(){return{chart:null,hasData:!1}},computed:{...mapState("data",["messages"]),radialChart(){return this.props.xAxisType==="radial"}},watch:{"props.label":function(e){this.chart.options.plugins.title.text=e,this.chart.update()},"props.chartType":function(e){this.chart.config.type=e,this.chart.update()},"props.xAxisType":function(e){this.chart.options.scales.x.type=e,this.chart.update()},"props.xAxisFormatType":function(e){this.chart.options.scales.x.time.displayFormats=this.getXDisplayFormats(e),this.chart.update()}},created(){this.$dataTracker(this.id,this.onMsgInput,this.onLoad)},mounted(){var S,E;const e=this.$refs.chart,t={};this.props.xAxisType!=="radial"?(this.props.xAxisProperty&&this.props.xAxisPropertyType==="property"&&(t.xAxisKey=this.props.xAxisProperty),this.props.categoryType!=="json"&&this.props.yAxisProperty&&(t.yAxisKey=this.props.yAxisProperty)):t.key=this.props.yAxisProperty||"y";let r=!1;this.props.stackSeries===!0&&this.props.chartType==="bar"&&(r=!0);let a=Chart.defaults.color,o=Chart.defaults.borderColor;(S=this.props)!=null&&S.textColor&&this.props.textColorDefault!==void 0&&this.props.textColorDefault===!1&&(a=this.props.textColor[0]),(E=this.props)!=null&&E.gridColor&&this.props.gridColorDefault!==void 0&&this.props.gridColorDefault===!1&&(o=this.props.gridColor[0]);const u={title:{display:!!this.props.yAxisLabel,text:this.props.yAxisLabel,color:a},ticks:{color:a},grid:{color:o},border:{color:o},stacked:r};Object.hasOwn(this.props,"ymin")&&this.props.ymin!==""&&(u.min=parseFloat(this.props.ymin)),Object.hasOwn(this.props,"ymax")&&this.props.ymax!==""&&(u.max=parseFloat(this.props.ymax));const d={};this.props.xAxisType!=="radial"&&(d.x={type:this.props.xAxisType||"linear",title:{display:!!this.props.xAxisLabel,text:this.props.xAxisLabel,color:a},time:{displayFormats:this.getXDisplayFormats(this.props.xAxisFormatType)},ticks:{color:a},grid:{color:o},border:{color:o},stacked:r},d.y=u);let f=this.props.showLegend;this.props.categoryType==="none"&&(f=!1);const g={type:this.props.chartType,data:{labels:[],datasets:[]},options:{animation:!1,maintainAspectRatio:!1,borderJoinStyle:"round",scales:d,plugins:{title:{display:!0,text:this.props.label,color:a},legend:{display:f,labels:{color:a}}},parsing:t}},_=new Chart(e,g);this.chart=shallowRef(_)},methods:{getLabel(e,t){return this.props.categoryType!=="property"?t:(t&&t.split(".").forEach(a=>{e&&(e=e[a])}),e)},onLoad(e){e&&e.length>0&&(this.clear(),this.onMsgInput(e))},onMsgInput(e){Array.isArray(e.payload)&&!e.payload.length?this.clear():((e.action==="replace"||this.props.action==="replace"&&e.action!=="append")&&this.clear(),this.add(e))},getXDisplayFormats(e){const t={};return e==="auto"||!e||e===""?t.millisecond="HH:mm:ss":e==="custom"?(t.millisecond=this.props.xAxisFormat,t.second=this.props.xAxisFormat,t.minute=this.props.xAxisFormat,t.hour=this.props.xAxisFormat,t.day=this.props.xAxisFormat,t.week=this.props.xAxisFormat,t.month=this.props.xAxisFormat,t.quarter=this.props.xAxisFormat,t.year=this.props.xAxisFormat):(t.millisecond=e,t.second=e,t.minute=e,t.hour=e,t.day=e,t.week=e,t.month=e,t.quarter=e,t.year=e),t},clear(){this.chart.data.labels=[],this.chart.data.datasets=[],this.chart.update(),this.hasData=!1},add(e){const t=e.payload;if(Array.isArray(e)&&e.length>0)e.forEach((r,a)=>{const o=r.payload,u=r._datapoint,d=u.category;this.addPoints(o,u,d)});else if(Array.isArray(t)&&e.payload.length>0)t.forEach((r,a)=>{const o=e._datapoint?e._datapoint[a]:null,u=o.category;this.addPoints(r,o,u)});else if(t!=null){const r=e._datapoint,a=r.category;this.addPoints(e.payload,r,a)}else console.log("have no payload");(this.props.chartType==="line"||this.props.chartType==="scatter")&&this.limitDataSize(),this.chart.update()},addPoints(e,t,r){const a={...t,...e};if(Array.isArray(r)&&r.length>0)for(let o=0;od.label);!r.includes(e.x)&&(this.props.xAxisType==="category"||this.props.xAxisType==="radial")&&r.push(e.x);const o=a==null?void 0:a.indexOf(t),u=r.indexOf(e.x);if(o===-1){const d=this.props.categoryType==="none"&&this.props.chartType==="bar"||this.props.xAxisType==="radial",f=this.props.pointRadius?this.props.pointRadius:4,g=Array(a.length+1).fill({});u===-1?g[r.length]=e:g[u]=e;const _={backgroundColor:d?this.props.colors:this.props.colors[a.length%this.props.colors.length],pointStyle:this.props.pointShape==="false"?!1:this.props.pointShape||"circle",pointRadius:f,pointHoverRadius:f*1.25,label:t,data:g};d||(_.borderColor=this.props.colors[a.length]),this.chart.data.datasets.push(_)}else{u>=0&&(this.props.xAxisType==="category"||this.props.xAxisType==="radial")?this.chart.data.datasets[o].data[u]=e:this.chart.data.datasets[o].data.push(e);for(let d=0;d"u"&&(this.chart.data.datasets[o].data[d]={})}},limitDataSize(){let e=null,t=null;if(this.props.xAxisType==="time"&&this.props.removeOlder&&this.props.removeOlderUnit){const r=parseFloat(this.props.removeOlder),a=parseFloat(this.props.removeOlderUnit),o=r*a*1e3;e=new Date().getTime()-o}if(this.props.removeOlderPoints&&(t=parseInt(this.props.removeOlderPoints)),t&&this.chart.data.datasets.length>0)for(let r=0;re&&o.x({})}},data(){return{}},computed:{...mapState("data",["messages"]),...mapState("ui",["pages","groups","widgets"]),...mapGetters("ui",["findBy","pageByName"])},watch:{"$route.meta.id":{handler(e){this.routeChanged()}}},mounted(){this.routeChanged();const e=this;this.$socket.on("ui-control:"+this.id,t=>{const r=t.payload;function a(u,d,f,g){const _=e.findBy(u,"name",d)[0];e.$store.commit("ui/setProperty",{item:u,itemId:_.id,property:f,value:g})}function o(u,d,f){const[g,_]=u.split(":"),S=e.findBy("group","name",_);if(S.length===1)a("group",_,d,f);else{const E=e.pageByName(g);if(!E.length)console.error("page not found");else{const v=E[0].id,b=S.find(y=>y.page===v);b?e.$store.commit("ui/setProperty",{item:"group",itemId:b.id,property:d,value:f}):console.error(`group "${_}" not found on page "${g}"`)}}}if("page"in r){let u=r.tab||r.page;const d=r.query,f=Object.values(this.pages).sort((g,_)=>g.order-_.order);if(typeof u=="number")if(u<0||u>f.length-1){console.error("ui-control: page index out of range");return}else try{this.$router.push({name:`Page:${f[u].name}`})}catch(g){console.error(g)}else if(typeof u=="string"){const g=f.findIndex(_=>_.id===this.$route.meta.id);if(u===""){this.$router.go();return}else{u==="+1"?f.length===g+1?u=f[0].name:u=f[g+1].name:u==="-1"&&(g===0?u=f[f.length-1].name:u=f[g-1].name);try{this.$router.push({name:`Page:${u}`})}catch(_){console.error(_)}}}else{console.error("ui-control: page must be a string or number");return}try{this.$router.push({name:`Page:${u}`,query:d})}catch(g){console.error(g)}}"pages"in r&&("show"in r.pages&&r.pages.show.forEach(u=>{a("page",u,"visible",!0)}),"hide"in r.pages&&r.pages.hide.forEach(u=>{a("page",u,"visible",!1)}),"disable"in r.pages&&r.pages.disable.forEach(u=>{a("page",u,"disabled",!0)}),"enable"in r.pages&&r.pages.enable.forEach(u=>{a("page",u,"disabled",!1)})),"groups"in r&&("show"in r.groups&&r.groups.show.forEach(u=>{o(u,"visible",!0)}),"hide"in r.groups&&r.groups.hide.forEach(u=>{o(u,"visible",!1)}),"disable"in r.groups&&r.groups.disable.forEach(u=>{o(u,"disabled",!0)}),"enable"in r.groups&&r.groups.enable.forEach(u=>{o(u,"disabled",!1)})),"url"in r&&(window.location.href=r.url)})},unmounted(){this.$socket.off("ui-control")},methods:{routeChanged(){const t=Object.values(this.pages).sort((r,a)=>r.order-a.order).findIndex(r=>r.id===this.$route.meta.id);this.$socket.emit("ui-control",this.id,"change",{page:t,name:this.pages[this.$route.meta.id].name})}}},_sfc_main$k={name:"DBUIDropdown",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{value:null,items:null}},computed:{...mapState("data",["messages"]),options:{get(){return(this.items||this.getProperty("options")).map(t=>typeof t!="object"?{label:t,value:t}:!("label"in t)||t.label===""?{label:t.value,value:t.value}:t)},set(e){this.items=e}},multiple:function(){return this.getProperty("multiple")},chips:function(){return this.getProperty("chips")},clearable:function(){return this.getProperty("clearable")},label:function(){return this.getProperty("label")},typeIsComboBox:function(){return this.props.typeIsComboBox??!0}},created(){this.$dataTracker(this.id,null,this.onLoad,this.onDynamicProperties),this.$socket.emit("widget-load",this.id)},methods:{onLoad(e){var t;e&&(this.$store.commit("data/bind",{widgetId:this.id,msg:e}),this.select((t=this.messages[this.id])==null?void 0:t.payload))},onDynamicProperties(e){var o;const t=e.options||((o=e.ui_update)==null?void 0:o.options);t&&Array.isArray(t)&&(this.items=t);const r=e.payload;r!==void 0&&this.select(r);const a=e.ui_update;a&&(this.updateDynamicProperty("label",a.label),this.updateDynamicProperty("multiple",a.multiple),this.updateDynamicProperty("chips",a.chips),this.updateDynamicProperty("clearable",a.clearable))},onChange(){const e=this.messages[this.id]||{};this.multiple?e.payload=this.value.map(t=>this.props.typeIsComboBox===!1?t:t.value):this.value?this.props.typeIsComboBox===!1?e.payload=this.value:e.payload=this.value.value:e.payload=null,this.$store.commit("data/bind",{widgetId:this.id,msg:e}),this.$socket.emit("widget-change",this.id,e.payload)},select(e){if(e!==void 0){if(Array.isArray(e)||(e=[e]),e.length>0&&(this.props.multiple?e=this.options.filter(t=>e.includes(t.value)):e=this.options.find(t=>t.value===e[0]),!e))return;this.value=e}}}};function _sfc_render$i(e,t,r,a,o,u){var g,_;const d=resolveComponent("v-combobox"),f=resolveComponent("v-select");return u.typeIsComboBox===!0?(openBlock(),createBlock(d,{key:0,modelValue:o.value,"onUpdate:modelValue":[t[0]||(t[0]=S=>o.value=S),u.onChange],disabled:!r.state.enabled,class:normalizeClass(e.className),label:u.label,multiple:u.multiple,chips:u.chips,clearable:u.clearable,items:u.options,"item-title":"label","item-value":"value",variant:"outlined","hide-details":"auto","auto-select-first":"","error-messages":(g=u.options)!=null&&g.length?"":"No options available"},null,8,["modelValue","disabled","class","label","multiple","chips","clearable","items","error-messages","onUpdate:modelValue"])):(openBlock(),createBlock(f,{key:1,modelValue:o.value,"onUpdate:modelValue":[t[1]||(t[1]=S=>o.value=S),u.onChange],disabled:!r.state.enabled,class:normalizeClass(e.className),label:u.label,multiple:u.multiple,chips:u.chips,clearable:u.clearable,items:u.options,"item-title":"label","item-value":"value",variant:"outlined","hide-details":"auto","error-messages":(_=u.options)!=null&&_.length?"":"No options available"},null,8,["modelValue","disabled","class","label","multiple","chips","clearable","items","error-messages","onUpdate:modelValue"]))}const UIDropdown=_export_sfc(_sfc_main$k,[["render",_sfc_render$i]]),_sfc_main$j={name:"DBUIEvent",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})}},data(){return{page:null}},computed:{...mapState("ui",["pages"])},watch:{"$route.meta.id":{handler(e,t){const r=this.createPayload(this.pages[t]);this.$socket.emit("ui-event",this.id,{topic:"$pageleave",payload:r});const a=this.createPayload(this.pages[e]);this.$socket.emit("ui-event",this.id,{topic:"$pageview",payload:a})}}},created(){this.$dataTracker(this.id),this.page=this.pages[this.$route.meta.id],this.pageview()},unmounted(){this.pageleave()},methods:{pageview(){this.trigger("$pageview")},pageleave(){this.trigger("$pageleave")},trigger(e){const t=this.createPayload(this.page);this.$socket.emit("ui-event",this.id,{topic:e,payload:t})},createPayload(e){return e={...e},e._groups=e._users,delete e._users,{page:e,query:this.$route.query}}}},_sfc_main$i={name:"DBUIFileInput",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{files:null,uploading:!1,uploaded:!1,progress:0}},computed:{...mapState("data",["messages"]),icon:function(){const e=this.props.icon;return e?"mdi-"+e.replace(/^mdi-/,""):null},accept:function(){return this.props.accept},label:function(){return this.props.label},showFileSize:function(){return this.props.showFileSize},multiple:function(){return this.props.allowMultiple},canUpload:function(){if(!this.files||Array.isArray(this.files)&&!this.files.length)return!1;let e=!1;return Array.isArray(this.files)?e=this.files.some(t=>t.size>this.props.maxFileSize):e=this.files.size>this.props.maxFileSize,e?!1:!this.uploading&&!this.uploaded}},created(){this.$dataTracker(this.id)},methods:{formatFileSize(e){if(e===0)return"0 Bytes";const t=1e3,r=2,a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(e)/Math.log(t));return parseFloat((e/Math.pow(t,o)).toFixed(r))+" "+a[o]},reset:function(){this.files=null,this.uploading=!1,this.uploaded=!1,this.progress=0},uploadFile(e){const t=new FileReader;t.onload=()=>{const r={payload:e,file:{name:e.name,size:e.size,type:e.type}};this.uploading=!1,this.uploaded=!0,this.send(r)},this.uploading=!0,t.readAsArrayBuffer(e)},upload:function(e){Array.isArray(e)?e.forEach(t=>this.uploadFile(t)):this.uploadFile(e)},send(e){this.$socket.emit("widget-send",this.id,e)},maxFileSize(e){var t;if(e){const r=(t=e[0])==null?void 0:t.size,a=this.props.maxFileSize;return!e||!e.length||ro.files=S),density:"compact",disabled:!r.state.enabled,label:u.label,"prepend-icon":u.icon,accept:u.accept,multiple:u.multiple,variant:"outlined","hide-details":"auto",rules:[u.maxFileSize]},null,8,["modelValue","disabled","label","prepend-icon","accept","multiple","rules"])):o.uploaded?(openBlock(),createElementBlock("div",_hoisted_3$6,[createVNode(g,{icon:"mdi-check-circle",color:"success"}),createBaseVNode("label",_hoisted_4$4,[createTextVNode("File"),u.multiple?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("s")],64)):createCommentVNode("",!0),createTextVNode(" Uploaded!")]),createBaseVNode("label",{class:"v-label",onClick:t[1]||(t[1]=S=>u.reset())},_hoisted_6$4)])):(openBlock(),createElementBlock("div",_hoisted_2$9,[createVNode(f,{"model-value":o.progress,height:24},{default:withCtx(({value:S})=>[createBaseVNode("strong",null,toDisplayString(Math.ceil(S))+"%",1)]),_:1},8,["model-value"])])),createVNode(_,{variant:"flat",disabled:!u.canUpload,onClick:t[2]||(t[2]=S=>u.upload(o.files))},{default:withCtx(()=>[createTextVNode(toDisplayString(o.uploading?"Uploading...":"Upload"),1)]),_:1},8,["disabled"])])}const UIFileInput=_export_sfc(_sfc_main$i,[["render",_sfc_render$h]]),_sfc_main$h={name:"DBUIForm",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{input:{},isValid:null}},computed:{...mapState("data",["messages"]),label:function(){return this.getProperty("label")},options:function(){return this.getProperty("options")||[]},submitEnabled:function(){return!(this.isValid&&this.getProperty("enabled"))}},created(){this.$dataTracker(this.id,this.onInput,null,this.onDynamicProperties)},mounted(){this.reset()},methods:{onSubmit:function(){const e=this.options,t=e.map(r=>r.key);this.input=Object.keys(this.input).filter(r=>t.includes(r)).reduce((r,a)=>({...r,[a]:this.input[a]}),{}),e.forEach(r=>{r.type==="checkbox"||r.type==="switch"?(typeof this.input[r.key]>"u"||this.input[r.key]===null)&&(this.input[r.key]=!1):r.type==="number"?typeof this.input[r.key]>"u"||this.input[r.key]===null?this.input[r.key]=null:isNaN(this.input[r.key])?this.input[r.key]=null:this.input[r.key]=Number(this.input[r.key]):(typeof this.input[r.key]>"u"||this.input[r.key]===null)&&(this.input[r.key]="")}),this.$socket.emit("widget-action",this.id,{payload:this.input}),this.props.resetOnSubmit&&this.reset()},clear(){this.reset()},reset(){this.$refs.form.reset()},validate(){this.$refs.form.validate()},rules(e){return e.required?[t=>!!t||e.label+" is required"]:[]},onInput(e){if(e.payload){const t=e.payload;for(const r in t)this.input[r]=t[r];this.$nextTick(()=>{this.validate()})}},onDynamicProperties(e){const t=e.ui_update;t&&(this.updateDynamicProperty("label",t.label),this.updateDynamicProperty("options",t.options))}}},_hoisted_1$a={key:0,class:"nrdb-ui-form-label"},_hoisted_2$8=["data-form"],_hoisted_3$5={class:"nrdb-ui-form-actions"};function _sfc_render$g(e,t,r,a,o,u){const d=resolveComponent("v-checkbox"),f=resolveComponent("v-switch"),g=resolveComponent("v-textarea"),_=resolveComponent("v-text-field"),S=resolveComponent("v-btn"),E=resolveComponent("v-form");return openBlock(),createElementBlock(Fragment,null,[u.label?(openBlock(),createElementBlock("label",_hoisted_1$a,toDisplayString(u.label),1)):createCommentVNode("",!0),createVNode(E,{ref:"form",modelValue:o.isValid,"onUpdate:modelValue":t[0]||(t[0]=v=>o.isValid=v),disabled:!r.state.enabled,"validate-on":"input",onSubmit:withModifiers(u.onSubmit,["prevent"])},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["nrdb-ui-form-rows",{"nrdb-ui-form-rows--split":r.props.splitLayout}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.options,v=>(openBlock(),createElementBlock("div",{key:v.key,class:"nrdb-ui-form-row","data-form":`form-row-${v.key}`},[v.type==="checkbox"?(openBlock(),createBlock(d,{key:0,modelValue:o.input[v.key],"onUpdate:modelValue":b=>o.input[v.key]=b,label:v.label,"hide-details":"auto"},null,8,["modelValue","onUpdate:modelValue","label"])):v.type==="switch"?(openBlock(),createBlock(f,{key:1,modelValue:o.input[v.key],"onUpdate:modelValue":b=>o.input[v.key]=b,class:normalizeClass(["nrdb-ui-widget",{active:r.state}]),label:v.label,"hide-details":"auto",color:"primary"},null,8,["modelValue","onUpdate:modelValue","label","class"])):v.type==="multiline"?(openBlock(),createBlock(g,{key:2,modelValue:o.input[v.key],"onUpdate:modelValue":b=>o.input[v.key]=b,rules:u.rules(v),class:"nrdb-ui-widget nrdb-ui-text-field",rows:v.rows,label:v.label,variant:"outlined","hide-details":"auto"},null,8,["modelValue","onUpdate:modelValue","rules","rows","label"])):(openBlock(),createBlock(_,{key:3,modelValue:o.input[v.key],"onUpdate:modelValue":b=>o.input[v.key]=b,rules:u.rules(v),class:"nrdb-ui-widget nrdb-ui-text-field",label:v.label,type:v.type,variant:"outlined","hide-details":"auto"},null,8,["modelValue","onUpdate:modelValue","rules","label","type"]))],8,_hoisted_2$8))),128))],2),createBaseVNode("div",_hoisted_3$5,[createVNode(S,{"data-action":"form-submit",type:"submit",variant:"flat",size:"large",disabled:u.submitEnabled},{default:withCtx(()=>[createTextVNode(toDisplayString(r.props.submit||"submit"),1)]),_:1},8,["disabled"]),r.props.cancel?(openBlock(),createBlock(S,{key:0,"data-action":"form-clear",variant:"outlined",disabled:!r.state.enabled,size:"large",onClick:u.clear},{default:withCtx(()=>[createTextVNode(toDisplayString(r.props.cancel),1)]),_:1},8,["disabled","onClick"])):createCommentVNode("",!0)])]),_:1},8,["modelValue","disabled","onSubmit"])],64)}const UIForm=_export_sfc(_sfc_main$h,[["render",_sfc_render$g]]),_sfc_main$g={},_hoisted_1$9={xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 308 560"},_hoisted_2$7=createBaseVNode("g",null,[createBaseVNode("path",{fill:"currentColor",class:"cls-1",d:"M167.1,0h103.9c15.9,0,25.4,17.6,16.7,30.9l-102.8,157.1h103.3c17.3,0,26.4,20.5,14.9,33.3L0,560l124-282-82.9,2.1c-15.3.4-25.3-15.8-18.2-29.3L149.4,10.7c3.5-6.6,10.3-10.7,17.7-10.7Z"})],-1),_hoisted_3$4=[_hoisted_2$7];function _sfc_render$f(e,t){return openBlock(),createElementBlock("svg",_hoisted_1$9,_hoisted_3$4)}const BatteryIcon=_export_sfc(_sfc_main$g,[["render",_sfc_render$f]]);function valueToColor(e,t){e.sort((a,o)=>a.from-o.from);let r=e[0].color;return e.forEach(a=>{t>=a.from&&(r=a.color)}),r}function getTextColor(e,t){const a=(o=>{const u=parseInt(o.slice(1,3),16),d=parseInt(o.slice(3,5),16),f=parseInt(o.slice(5,7),16);return[u,d,f]})(valueToColor(e,t));return a[0]*.299+a[1]*.587+a[2]*.114>186?"black":"white"}const UIGaugeMethods={valueToColor,getTextColor},_sfc_main$f={name:"DBUIGaugeBattery",components:{BatteryIcon},props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})},value:{type:Number,required:!0}},data(){return{clipWidth:0,clipHeight:0,labelLineHeight:0,svgOffset:0}},computed:{color:function(){return UIGaugeMethods.valueToColor(this.props.segments,this.value)},pc:function(){return typeof this.value<"u"?Math.max(0,Math.min(Math.round((this.value-this.props.min)/(this.props.max-this.props.min)*100),100)):0},orientation:function(){const e=parseInt(this.props.width),t=parseInt(this.props.height);return e>=t?"horizontal":"vertical"},clipId:function(){return`clip-${this.id}`}},watch:{value:function(){this.$nextTick(()=>{this.updateMask()})}},mounted(){this.$nextTick(()=>{this.updateMask()})},methods:{getTextColor:UIGaugeMethods.getTextColor,updateMask(){var t,r;const e=((t=this.$refs.fill)==null?void 0:t.clientHeight)||0;this.clipWidth=`${((r=this.$refs.fill)==null?void 0:r.clientWidth)||0}px`,this.clipHeight=`${e}px`,this.labelLineHeight=this.$refs.labels?`${this.$refs.labels.clientHeight}px`:`${100*e/this.pc}px`,this.orientation==="vertical"&&e>=0&&this.pc!==0?this.svgOffset=e/(this.pc/100)-e:this.svgOffset=0}}},_hoisted_1$8={class:"nrdb-ui-gauge-battery--container"},_hoisted_2$6={key:0,class:"nrdb-ui-gauge-title"},_hoisted_3$3={class:"nrdb-ui-gauge-battery--center"},_hoisted_4$3={class:"nrdb-ui-gauge-battery-icon nrdb-ui-gauge-battery-icon--bg"},_hoisted_5$2={ref:"fill",class:"nrdb-ui-gauge-battery--fill"},_hoisted_6$3={width:"0",height:"0"},_hoisted_7$2=["id"],_hoisted_8$1=["y","width","height"],_hoisted_9$1={class:"nrdb-ui-gauge-battery-icon nrdb-ui-gauge-battery-icon--fill"},_hoisted_10$1={ref:"labels",class:"nrdb-ui-gauge-battery-labels"};function _sfc_render$e(e,t,r,a,o,u){const d=resolveComponent("BatteryIcon");return openBlock(),createElementBlock("div",_hoisted_1$8,[r.props.title?(openBlock(),createElementBlock("label",_hoisted_2$6,toDisplayString(r.props.title),1)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["nrdb-ui-gauge-battery",`nrdb-ui-gauge-battery--${u.orientation}`]),style:normalizeStyle({"--gauge-fill":u.color,"--gauge-fill-pc":u.pc+"%",color:u.getTextColor(r.props.segments,r.value)})},[createBaseVNode("div",_hoisted_3$3,[createBaseVNode("div",_hoisted_4$3,[createVNode(d,{style:normalizeStyle({color:u.color})},null,8,["style"])]),createBaseVNode("div",_hoisted_5$2,null,512),(openBlock(),createElementBlock("svg",_hoisted_6$3,[createBaseVNode("defs",null,[createBaseVNode("clipPath",{id:u.clipId},[createBaseVNode("rect",{x:"0",y:`${o.svgOffset}`,width:`${o.clipWidth}`,height:`${o.clipHeight}`},null,8,_hoisted_8$1)],8,_hoisted_7$2)])])),createBaseVNode("div",_hoisted_9$1,[createVNode(d)]),createBaseVNode("div",_hoisted_10$1,[createBaseVNode("label",{class:"nrdb-ui-gauge-battery--fglabel",style:normalizeStyle({"line-height":o.labelLineHeight,"clip-path":`url(#${u.clipId})`})},toDisplayString(u.pc)+"%",5),createBaseVNode("label",{class:"nrdb-ui-gauge-battery--bglabel",style:normalizeStyle({"line-height":o.labelLineHeight})},toDisplayString(u.pc)+"%",5)],512)])],6)])}const UIGaugeBattery=_export_sfc(_sfc_main$f,[["render",_sfc_render$e],["__scopeId","data-v-14d5337d"]]);var noop$3={value:()=>{}};function dispatch(){for(var e=0,t=arguments.length,r={},a;e=0&&(a=r.slice(o+1),r=r.slice(0,o)),r&&!t.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(e,t){var r=this._,a=parseTypenames$1(e+"",r),o,u=-1,d=a.length;if(arguments.length<2){for(;++u0)for(var r=new Array(o),a=0,o,u;a=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),namespaces.hasOwnProperty(t)?{space:namespaces[t],local:e}:e}function creatorInherit(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===xhtml&&t.documentElement.namespaceURI===xhtml?t.createElement(e):t.createElementNS(r,e)}}function creatorFixed(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function creator(e){var t=namespace(e);return(t.local?creatorFixed:creatorInherit)(t)}function none(){}function selector(e){return e==null?none:function(){return this.querySelector(e)}}function selection_select(e){typeof e!="function"&&(e=selector(e));for(var t=this._groups,r=t.length,a=new Array(r),o=0;o=O&&(O=A+1);!(N=C[O])&&++O=0;)(d=a[o])&&(u&&d.compareDocumentPosition(u)^4&&u.parentNode.insertBefore(d,u),u=d);return this}function selection_sort(e){e||(e=ascending);function t(E,v){return E&&v?e(E.__data__,v.__data__):!E-!v}for(var r=this._groups,a=r.length,o=new Array(a),u=0;ut?1:e>=t?0:NaN}function selection_call(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function selection_nodes(){return Array.from(this)}function selection_node(){for(var e=this._groups,t=0,r=e.length;t1?this.each((t==null?styleRemove$1:typeof t=="function"?styleFunction$1:styleConstant$1)(e,t,r??"")):styleValue(this.node(),e)}function styleValue(e,t){return e.style.getPropertyValue(t)||defaultView(e).getComputedStyle(e,null).getPropertyValue(t)}function propertyRemove(e){return function(){delete this[e]}}function propertyConstant(e,t){return function(){this[e]=t}}function propertyFunction(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function selection_property(e,t){return arguments.length>1?this.each((t==null?propertyRemove:typeof t=="function"?propertyFunction:propertyConstant)(e,t)):this.node()[e]}function classArray(e){return e.trim().split(/^|\s+/)}function classList(e){return e.classList||new ClassList(e)}function ClassList(e){this._node=e,this._names=classArray(e.getAttribute("class")||"")}ClassList.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function classedAdd(e,t){for(var r=classList(e),a=-1,o=t.length;++a=0&&(r=t.slice(a+1),t=t.slice(0,a)),{type:t,name:r}})}function onRemove(e){return function(){var t=this.__on;if(t){for(var r=0,a=-1,o=t.length,u;r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?rgba$2(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?rgba$2(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=reRgbInteger.exec(e))?new Rgb(t[1],t[2],t[3],1):(t=reRgbPercent.exec(e))?new Rgb(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=reRgbaInteger.exec(e))?rgba$2(t[1],t[2],t[3],t[4]):(t=reRgbaPercent.exec(e))?rgba$2(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=reHslPercent.exec(e))?hsla$1(t[1],t[2]/100,t[3]/100,1):(t=reHslaPercent.exec(e))?hsla$1(t[1],t[2]/100,t[3]/100,t[4]):named.hasOwnProperty(e)?rgbn(named[e]):e==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(e){return new Rgb(e>>16&255,e>>8&255,e&255,1)}function rgba$2(e,t,r,a){return a<=0&&(e=t=r=NaN),new Rgb(e,t,r,a)}function rgbConvert(e){return e instanceof Color$1||(e=color(e)),e?(e=e.rgb(),new Rgb(e.r,e.g,e.b,e.opacity)):new Rgb}function rgb$1(e,t,r,a){return arguments.length===1?rgbConvert(e):new Rgb(e,t,r,a??1)}function Rgb(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}define(Rgb,rgb$1,extend$1(Color$1,{brighter(e){return e=e==null?brighter:Math.pow(brighter,e),new Rgb(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?darker:Math.pow(darker,e),new Rgb(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:rgb_formatHex8,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return`#${hex$1(this.r)}${hex$1(this.g)}${hex$1(this.b)}`}function rgb_formatHex8(){return`#${hex$1(this.r)}${hex$1(this.g)}${hex$1(this.b)}${hex$1((isNaN(this.opacity)?1:this.opacity)*255)}`}function rgb_formatRgb(){const e=clampa(this.opacity);return`${e===1?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${e===1?")":`, ${e})`}`}function clampa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function clampi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hex$1(e){return e=clampi(e),(e<16?"0":"")+e.toString(16)}function hsla$1(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Hsl(e,t,r,a)}function hslConvert(e){if(e instanceof Hsl)return new Hsl(e.h,e.s,e.l,e.opacity);if(e instanceof Color$1||(e=color(e)),!e)return new Hsl;if(e instanceof Hsl)return e;e=e.rgb();var t=e.r/255,r=e.g/255,a=e.b/255,o=Math.min(t,r,a),u=Math.max(t,r,a),d=NaN,f=u-o,g=(u+o)/2;return f?(t===u?d=(r-a)/f+(r0&&g<1?0:d,new Hsl(d,f,g,e.opacity)}function hsl$1(e,t,r,a){return arguments.length===1?hslConvert(e):new Hsl(e,t,r,a??1)}function Hsl(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}define(Hsl,hsl$1,extend$1(Color$1,{brighter(e){return e=e==null?brighter:Math.pow(brighter,e),new Hsl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?darker:Math.pow(darker,e),new Hsl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,o=2*r-a;return new Rgb(hsl2rgb(e>=240?e-240:e+120,o,a),hsl2rgb(e,o,a),hsl2rgb(e<120?e+240:e-120,o,a),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=clampa(this.opacity);return`${e===1?"hsl(":"hsla("}${clamph(this.h)}, ${clampt(this.s)*100}%, ${clampt(this.l)*100}%${e===1?")":`, ${e})`}`}}));function clamph(e){return e=(e||0)%360,e<0?e+360:e}function clampt(e){return Math.max(0,Math.min(1,e||0))}function hsl2rgb(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const constant$2=e=>()=>e;function linear(e,t){return function(r){return e+r*t}}function exponential(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(a){return Math.pow(e+a*t,r)}}function hue(e,t){var r=t-e;return r?linear(e,r>180||r<-180?r-360*Math.round(r/360):r):constant$2(isNaN(e)?t:e)}function gamma(e){return(e=+e)==1?nogamma:function(t,r){return r-t?exponential(t,r,e):constant$2(isNaN(t)?r:t)}}function nogamma(e,t){var r=t-e;return r?linear(e,r):constant$2(isNaN(e)?t:e)}const interpolateRgb=function e(t){var r=gamma(t);function a(o,u){var d=r((o=rgb$1(o)).r,(u=rgb$1(u)).r),f=r(o.g,u.g),g=r(o.b,u.b),_=nogamma(o.opacity,u.opacity);return function(S){return o.r=d(S),o.g=f(S),o.b=g(S),o.opacity=_(S),o+""}}return a.gamma=e,a}(1);function numberArray(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,a=t.slice(),o;return function(u){for(o=0;or&&(u=t.slice(r,u),f[d]?f[d]+=u:f[++d]=u),(a=a[0])===(o=o[0])?f[d]?f[d]+=o:f[++d]=o:(f[++d]=null,g.push({i:d,x:interpolateNumber(a,o)})),r=reB.lastIndex;return r180?S+=360:S-_>180&&(_+=360),v.push({i:E.push(o(E)+"rotate(",null,a)-2,x:interpolateNumber(_,S)})):S&&E.push(o(E)+"rotate("+S+a)}function f(_,S,E,v){_!==S?v.push({i:E.push(o(E)+"skewX(",null,a)-2,x:interpolateNumber(_,S)}):S&&E.push(o(E)+"skewX("+S+a)}function g(_,S,E,v,b,y){if(_!==E||S!==v){var T=b.push(o(b)+"scale(",null,",",null,")");y.push({i:T-4,x:interpolateNumber(_,E)},{i:T-2,x:interpolateNumber(S,v)})}else(E!==1||v!==1)&&b.push(o(b)+"scale("+E+","+v+")")}return function(_,S){var E=[],v=[];return _=e(_),S=e(S),u(_.translateX,_.translateY,S.translateX,S.translateY,E,v),d(_.rotate,S.rotate,E,v),f(_.skewX,S.skewX,E,v),g(_.scaleX,_.scaleY,S.scaleX,S.scaleY,E,v),_=S=null,function(b){for(var y=-1,T=v.length,C;++y=0&&e._call.call(void 0,t),e=e._next;--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew,frame=timeout$1=0;try{timerFlush()}finally{frame=0,nap(),clockNow=0}}function poke(){var e=clock.now(),t=e-clockLast;t>pokeDelay&&(clockSkew-=t,clockLast=e)}function nap(){for(var e,t=taskHead,r,a=1/0;t;)t._call?(a>t._time&&(a=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:taskHead=r);taskTail=e,sleep(a)}function sleep(e){if(!frame){timeout$1&&(timeout$1=clearTimeout(timeout$1));var t=e-clockNow;t>24?(e<1/0&&(timeout$1=setTimeout(wake,e-clock.now()-clockSkew)),interval&&(interval=clearInterval(interval))):(interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay)),frame=1,setFrame(wake))}}function timeout(e,t,r){var a=new Timer;return t=t==null?0:+t,a.restart(o=>{a.stop(),e(o+t)},t,r),a}var emptyOn=dispatch("start","end","cancel","interrupt"),emptyTween=[],CREATED=0,SCHEDULED=1,STARTING=2,STARTED=3,RUNNING=4,ENDING=5,ENDED=6;function schedule(e,t,r,a,o,u){var d=e.__transition;if(!d)e.__transition={};else if(r in d)return;create$1(e,r,{name:t,index:a,group:o,on:emptyOn,tween:emptyTween,time:u.time,delay:u.delay,duration:u.duration,ease:u.ease,timer:null,state:CREATED})}function init$1(e,t){var r=get(e,t);if(r.state>CREATED)throw new Error("too late; already scheduled");return r}function set$1(e,t){var r=get(e,t);if(r.state>STARTED)throw new Error("too late; already running");return r}function get(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function create$1(e,t,r){var a=e.__transition,o;a[t]=r,r.timer=timer(u,0,r.time);function u(_){r.state=SCHEDULED,r.timer.restart(d,r.delay,r.time),r.delay<=_&&d(_-r.delay)}function d(_){var S,E,v,b;if(r.state!==SCHEDULED)return g();for(S in a)if(b=a[S],b.name===r.name){if(b.state===STARTED)return timeout(d);b.state===RUNNING?(b.state=ENDED,b.timer.stop(),b.on.call("interrupt",e,e.__data__,b.index,b.group),delete a[S]):+SSTARTING&&a.state=0&&(t=t.slice(0,r)),!t||t==="start"})}function onFunction(e,t,r){var a,o,u=start(t)?init$1:set$1;return function(){var d=u(this,e),f=d.on;f!==a&&(o=(a=f).copy()).on(t,r),d.on=o}}function transition_on(e,t){var r=this._id;return arguments.length<2?get(this.node(),r).on.on(e):this.each(onFunction(r,e,t))}function removeFunction(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function transition_remove(){return this.on("end.remove",removeFunction(this._id))}function transition_select(e){var t=this._name,r=this._id;typeof e!="function"&&(e=selector(e));for(var a=this._groups,o=a.length,u=new Array(o),d=0;d=0))throw new Error(`invalid digits: ${e}`);if(t>15)return append$1;const r=10**t;return function(a){this._+=a[0];for(let o=1,u=a.length;oepsilon$1)if(!(Math.abs(E*g-_*S)>epsilon$1)||!u)this._append`L${this._x1=t},${this._y1=r}`;else{let b=a-d,y=o-f,T=g*g+_*_,C=b*b+y*y,R=Math.sqrt(T),A=Math.sqrt(v),O=u*Math.tan((pi$1-Math.acos((T+v-C)/(2*R*A)))/2),x=O/A,N=O/R;Math.abs(x-1)>epsilon$1&&this._append`L${t+x*S},${r+x*E}`,this._append`A${u},${u},0,0,${+(E*b>S*y)},${this._x1=t+N*g},${this._y1=r+N*_}`}}arc(t,r,a,o,u,d){if(t=+t,r=+r,a=+a,d=!!d,a<0)throw new Error(`negative radius: ${a}`);let f=a*Math.cos(o),g=a*Math.sin(o),_=t+f,S=r+g,E=1^d,v=d?o-u:u-o;this._x1===null?this._append`M${_},${S}`:(Math.abs(this._x1-_)>epsilon$1||Math.abs(this._y1-S)>epsilon$1)&&this._append`L${_},${S}`,a&&(v<0&&(v=v%tau$1+tau$1),v>tauEpsilon?this._append`A${a},${a},0,1,${E},${t-f},${r-g}A${a},${a},0,1,${E},${this._x1=_},${this._y1=S}`:v>epsilon$1&&this._append`A${a},${a},0,${+(v>=pi$1)},${E},${this._x1=t+a*Math.cos(u)},${this._y1=r+a*Math.sin(u)}`)}rect(t,r,a,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${a=+a}v${+o}h${-a}Z`}toString(){return this._}}function constant$1(e){return function(){return e}}const abs$1=Math.abs,atan2=Math.atan2,cos=Math.cos,max=Math.max,min=Math.min,sin=Math.sin,sqrt=Math.sqrt,epsilon=1e-12,pi=Math.PI,halfPi=pi/2,tau=2*pi;function acos(e){return e>1?0:e<-1?pi:Math.acos(e)}function asin(e){return e>=1?halfPi:e<=-1?-halfPi:Math.asin(e)}function withPath(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const a=Math.floor(r);if(!(a>=0))throw new RangeError(`invalid digits: ${r}`);t=a}return e},()=>new Path(t)}function arcInnerRadius(e){return e.innerRadius}function arcOuterRadius(e){return e.outerRadius}function arcStartAngle(e){return e.startAngle}function arcEndAngle(e){return e.endAngle}function arcPadAngle(e){return e&&e.padAngle}function intersect(e,t,r,a,o,u,d,f){var g=r-e,_=a-t,S=d-o,E=f-u,v=E*g-S*_;if(!(v*vU*U+W*W&&(D=L,P=F),{cx:D,cy:P,x01:-S,y01:-E,x11:D*(o/N-1),y11:P*(o/N-1)}}function arc(){var e=arcInnerRadius,t=arcOuterRadius,r=constant$1(0),a=null,o=arcStartAngle,u=arcEndAngle,d=arcPadAngle,f=null,g=withPath(_);function _(){var S,E,v=+e.apply(this,arguments),b=+t.apply(this,arguments),y=o.apply(this,arguments)-halfPi,T=u.apply(this,arguments)-halfPi,C=abs$1(T-y),R=T>y;if(f||(f=S=g()),bepsilon))f.moveTo(0,0);else if(C>tau-epsilon)f.moveTo(b*cos(y),b*sin(y)),f.arc(0,0,b,y,T,!R),v>epsilon&&(f.moveTo(v*cos(T),v*sin(T)),f.arc(0,0,v,T,y,R));else{var A=y,O=T,x=y,N=T,I=C,k=C,D=d.apply(this,arguments)/2,P=D>epsilon&&(a?+a.apply(this,arguments):sqrt(v*v+b*b)),L=min(abs$1(b-v)/2,+r.apply(this,arguments)),F=L,B=L,V,U;if(P>epsilon){var W=asin(P/v*sin(D)),K=asin(P/b*sin(D));(I-=W*2)>epsilon?(W*=R?1:-1,x+=W,N-=W):(I=0,x=N=(y+T)/2),(k-=K*2)>epsilon?(K*=R?1:-1,A+=K,O-=K):(k=0,A=O=(y+T)/2)}var G=b*cos(A),Y=b*sin(A),Q=v*cos(N),Z=v*sin(N);if(L>epsilon){var J=b*cos(O),te=b*sin(O),fe=v*cos(x),ve=v*sin(x),ue;if(Cepsilon?B>epsilon?(V=cornerTangents(fe,ve,G,Y,b,B,R),U=cornerTangents(J,te,Q,Z,b,B,R),f.moveTo(V.cx+V.x01,V.cy+V.y01),Bepsilon)||!(I>epsilon)?f.lineTo(Q,Z):F>epsilon?(V=cornerTangents(Q,Z,J,te,v,-F,R),U=cornerTangents(G,Y,fe,ve,v,-F,R),f.lineTo(V.cx+V.x01,V.cy+V.y01),F0)for(var a=e[0],o=t[0],u=e[r]-a,d=t[r]-o,f=-1,g;++f<=r;)g=f/r,this._basis.point(this._beta*e[f]+(1-this._beta)*(a+g*u),this._beta*t[f]+(1-this._beta)*(o+g*d));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const curveBundle=function e(t){function r(a){return t===1?new Basis(a):new Bundle(a,t)}return r.beta=function(a){return e(+a)},r}(.85);function point$2(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function Cardinal(e,t){this._context=e,this._k=(1-t)/6}Cardinal.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:point$2(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:point$2(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const curveCardinal=function e(t){function r(a){return new Cardinal(a,t)}return r.tension=function(a){return e(+a)},r}(0);function CardinalClosed(e,t){this._context=e,this._k=(1-t)/6}CardinalClosed.prototype={areaStart:noop$2,areaEnd:noop$2,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:point$2(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const curveCardinalClosed=function e(t){function r(a){return new CardinalClosed(a,t)}return r.tension=function(a){return e(+a)},r}(0);function CardinalOpen(e,t){this._context=e,this._k=(1-t)/6}CardinalOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$2(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const curveCardinalOpen=function e(t){function r(a){return new CardinalOpen(a,t)}return r.tension=function(a){return e(+a)},r}(0);function point$1(e,t,r){var a=e._x1,o=e._y1,u=e._x2,d=e._y2;if(e._l01_a>epsilon){var f=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,g=3*e._l01_a*(e._l01_a+e._l12_a);a=(a*f-e._x0*e._l12_2a+e._x2*e._l01_2a)/g,o=(o*f-e._y0*e._l12_2a+e._y2*e._l01_2a)/g}if(e._l23_a>epsilon){var _=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,S=3*e._l23_a*(e._l23_a+e._l12_a);u=(u*_+e._x1*e._l23_2a-t*e._l12_2a)/S,d=(d*_+e._y1*e._l23_2a-r*e._l12_2a)/S}e._context.bezierCurveTo(a,o,u,d,e._x2,e._y2)}function CatmullRom(e,t){this._context=e,this._alpha=t}CatmullRom.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+a*a,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:point$1(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const curveCatmullRom=function e(t){function r(a){return t?new CatmullRom(a,t):new Cardinal(a,0)}return r.alpha=function(a){return e(+a)},r}(.5);function CatmullRomClosed(e,t){this._context=e,this._alpha=t}CatmullRomClosed.prototype={areaStart:noop$2,areaEnd:noop$2,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+a*a,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:point$1(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const curveCatmullRomClosed=function e(t){function r(a){return t?new CatmullRomClosed(a,t):new CardinalClosed(a,0)}return r.alpha=function(a){return e(+a)},r}(.5);function CatmullRomOpen(e,t){this._context=e,this._alpha=t}CatmullRomOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+a*a,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$1(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const curveCatmullRomOpen=function e(t){function r(a){return t?new CatmullRomOpen(a,t):new CardinalOpen(a,0)}return r.alpha=function(a){return e(+a)},r}(.5);function LinearClosed(e){this._context=e}LinearClosed.prototype={areaStart:noop$2,areaEnd:noop$2,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function curveLinearClosed(e){return new LinearClosed(e)}function sign(e){return e<0?-1:1}function slope3(e,t,r){var a=e._x1-e._x0,o=t-e._x1,u=(e._y1-e._y0)/(a||o<0&&-0),d=(r-e._y1)/(o||a<0&&-0),f=(u*o+d*a)/(a+o);return(sign(u)+sign(d))*Math.min(Math.abs(u),Math.abs(d),.5*Math.abs(f))||0}function slope2(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function point(e,t,r){var a=e._x0,o=e._y0,u=e._x1,d=e._y1,f=(u-a)/3;e._context.bezierCurveTo(a+f,o+f*t,u-f,d-f*r,u,d)}function MonotoneX(e){this._context=e}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point(this,this._t0,slope2(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,point(this,slope2(this,r=slope3(this,e,t)),r);break;default:point(this,this._t0,r=slope3(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function MonotoneY(e){this._context=new ReflectContext(e)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(e,t){MonotoneX.prototype.point.call(this,t,e)};function ReflectContext(e){this._context=e}ReflectContext.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,a,o,u){this._context.bezierCurveTo(t,e,a,r,u,o)}};function monotoneX(e){return new MonotoneX(e)}function monotoneY(e){return new MonotoneY(e)}function Natural(e){this._context=e}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var a=controlPoints(e),o=controlPoints(t),u=0,d=1;d=0;--t)o[t]=(d[t]-o[t+1])/u[t];for(u[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function curveStep(e){return new Step(e,.5)}function stepBefore(e){return new Step(e,0)}function stepAfter(e){return new Step(e,1)}function Transform(e,t,r){this.k=e,this.x=t,this.y=r}Transform.prototype={constructor:Transform,scale:function(e){return e===1?this:new Transform(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Transform(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};Transform.prototype;const _sfc_main$e={name:"DBUIGaugeDial",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{svg:null,lastAngle:0,r:0,sizes:{titleHeight:0,gaugeThickness:this.props.sizeThickness,gap:this.props.sizeGap,keyThickness:this.props.sizeKeyThickness,angle:0,fudge:-6},arcs:{backdrop:null,sections:null,gauge:null},size:"default"}},computed:{...mapState("data",["messages"]),value:function(){var e;return(e=this.messages[this.id])==null?void 0:e.payload},icon(){var e;return(e=this.props.icon)==null?void 0:e.replace(/^mdi-/,"")},segments(){return this.props.segments.sort((t,r)=>(a,o)=>a.from-o.from)},iconOnly(){return this.props.icon&&!this.props.units}},watch:{value:function(e,t){this.resize(),this.update(e)}},mounted(){window.addEventListener("resize",this.onResize),this.$nextTick(()=>{this.resize(),this.value===void 0?this.update(this.props.min,0):this.update(this.value,0)})},unmounted(){window.removeEventListener("resize",this.onResize)},methods:{resize(){this.sizes.titleHeight=this.$refs.title?this.$refs.title.clientHeight:0,this.width=this.$refs.container.clientWidth,this.height=this.props.height?this.$refs.container.clientHeight-this.sizes.titleHeight:this.props.gtype==="gauge-half"?150:300;const e=this.width,t=this.height;if(this.$refs.gauge.setAttribute("width",e),this.$refs.gauge.setAttribute("height",t),this.props.gtype==="gauge-half"){const r=Math.min(e/2,t);this.r=r+this.sizes.fudge}else{const r=Math.min(e,t);this.r=r/2}},update(e,t=1e3){this.svg=select(this.$refs.gauge);const r=this,a=this.r-this.sizes.gap-this.sizes.keyThickness;let o="";this.props.gtype==="gauge-half"?(o=`translate(${this.width/2}, ${this.height+this.sizes.fudge})`,this.sizes.angle=Math.PI):(o=`translate(${this.width/2}, ${this.height/2})`,this.sizes.angle=.7*2*Math.PI),this.arcs.backdrop=arc().innerRadius(a-this.sizes.gaugeThickness).outerRadius(a).startAngle(-this.sizes.angle/2).endAngle(this.sizes.angle/2).cornerRadius(()=>this.props.gstyle==="rounded"?this.sizes.gaugeThickness:0),this.svg.select("#backdrop").attr("transform",o).select("path").attr("d",this.arcs.backdrop),this.svg.select("#backdrop").select("path").attr("d",this.arcs.backdrop),this.svg.select("#limits").attr("transform",o);const d=this.svg.select("#backdrop").node().getBBox();select(this.$refs.value).style("transform",()=>{const T=(this.width-d.width)/2;let C;return this.props.gtype==="gauge-half"?C=this.height+this.sizes.titleHeight-d.height:C=(this.height+this.sizes.titleHeight-d.height)/2,`translate(${T}px, ${C}px)`}).style("width",d.width+"px").style("height",d.height+"px");const f=this.svg.select("#arc").attr("transform",o),g=arc().innerRadius(a-this.sizes.gaugeThickness).outerRadius(a).startAngle(-this.sizes.angle/2).cornerRadius(()=>this.props.gstyle==="rounded"?this.sizes.gaugeThickness:0),_=function(T){const C={endAngle:r.lastAngle},R=interpolate$1(C,T);return function(A){const O=R(A);return r.lastAngle=O.endAngle,g(R(A))}};f.select("path").datum({endAngle:this.valueToAngle(e)+-this.sizes.angle/2}).transition().duration(t).attrTween("d",_).style("fill",this.valueToColor(e)),this.updateSegmentArc();const S=this.segments;this.svg.select("#sections").selectAll("path").data(S).enter().append("path"),this.svg.select("#sections").selectAll("path").attr("d",this.arcs.sections).attr("transform",o).style("fill",T=>T.color);const E=this.svg.select("#needle-mask"),v=3,b=parseFloat(this.sizes.gaugeThickness)+parseFloat(this.sizes.gap)+parseFloat(this.sizes.keyThickness);E.attr("width",this.r*2).attr("height",()=>this.sizes.angle>Math.PI?this.r*2:this.r).style("transform-box","fill-box").style("transform-origin",()=>this.sizes.angle>Math.PI?"center center":"center bottom").style("transform",()=>`translate(${this.width/2-this.r}px, 0px)`);const y=this.svg.select("#needle").style("opacity",()=>this.props.gstyle==="needle"?1:0).style("transform",()=>{const T=this.width/2-this.r,C=this.sizes.angle>Math.PI?this.height/2:this.height;return`translate(${T}px, ${C}px)`});y.select("circle").attr("r",v).attr("transform",()=>{const T=-this.r+b;return`translate(${this.r}, ${T})`}),y.select("polygon").attr("points",()=>{const T=this.r,C=-this.r+b;return`${T+v},${C} ${T-v},${C} ${T},${-this.r}`}),this.svg.select("#needle-container").style("transform-origin",()=>this.sizes.angle>Math.PI?"center center":"center bottom").transition().duration(t).styleTween("transform",()=>{const T=this.lastAngle,C=this.valueToNeedleAngle(e);function R(A){const x=interpolate$1(T,C)(A)*(180/Math.PI);return`translate(0, ${r.props.gtype==="gauge-half"?r.sizes.fudge.toString():"0"}px)rotate(${x}deg)`}return R}),this.$nextTick(()=>{this.resizeText(),this.positionMinMaxLabels()})},valueToAngle(e){return this.sizes.angle*(e-this.props.min)/(this.props.max-this.props.min)},valueToNeedleAngle(e){return this.valueToAngle(e)+Math.PI/2-this.sizes.angle/2-Math.PI/2},valueToColor(e){let t="";return this.segments.forEach(r=>{e>=r.from&&(t=r.color)}),t},positionMinMaxLabels(){const e=this.$refs["limits-min"],t=this.$refs["limits-max"],r=this.svg.select("#backdrop").node().getBBox(),a=parseFloat(this.props.sizeThickness),o=this.props.gtype==="gauge-half"?8:16,u=this.props.gtype==="gauge-half"?0:12,d=r.y+r.height+u,f=r.x+a+o;e.style.transform=`translate(${f}px, ${d}px)`;const g=r.x+r.width-a-o;t.style.transform=`translate(${g}px, ${d}px)`},resizeText(){var t;const e=(t=this.$refs.value)==null?void 0:t.clientWidth;e?e<150?this.size="xs":e<225?this.size="sm":e<300?this.size="md":this.size="lg":this.size="default"},updateSegmentArc(){const e=this.segments,t=this.props.min,r=this.props.max;let a=-this.sizes.angle/2;this.arcs.sections=arc().innerRadius(this.r-this.sizes.keyThickness).outerRadius(this.r).startAngle(()=>a).endAngle((o,u)=>{if(e.length>u+1){const d=Math.min(Math.max(e[u+1].from,t),r),f=Math.min(Math.max(o.from,t),r),g=d-f,_=this.sizes.angle*g/(r-t);return a+=_,a}else return this.sizes.angle/2})},onResize(){this.$nextTick(()=>{this.resize(),this.value===void 0?this.update(this.props.min,0):this.update(this.value,0)})}}},_hoisted_1$7={ref:"gauge",width:"0",height:"0"},_hoisted_2$5=createStaticVNode('',4),_hoisted_6$2={id:"limits"},_hoisted_7$1={key:0};function _sfc_render$d(e,t,r,a,o,u){const d=resolveComponent("v-icon");return openBlock(),createElementBlock("div",{ref:"container",class:normalizeClass(["nrdb-ui-gauge-dial",`nrdb-ui-gauge-size-${o.size}${u.iconOnly?" nrdb-ui-gauge-icon-only":""}`]),style:{display:"flex","flex-direction":"column"}},[r.props.title?(openBlock(),createElementBlock("label",{key:0,ref:"title",class:"nrdb-ui-gauge-title"},toDisplayString(r.props.title),513)):createCommentVNode("",!0),(openBlock(),createElementBlock("svg",_hoisted_1$7,[_hoisted_2$5,createBaseVNode("g",_hoisted_6$2,[createBaseVNode("text",{ref:"limits-min"},toDisplayString(r.props.min),513),createBaseVNode("text",{ref:"limits-max",style:{"text-anchor":"end"}},toDisplayString(r.props.max),513)])],512)),createBaseVNode("div",{ref:"value",class:normalizeClass(["nrdb-ui-gauge-value",`nrdb-ui-${r.props.gtype}`])},[createBaseVNode("span",null,toDisplayString(r.props.prefix)+toDisplayString(u.value??r.props.min)+toDisplayString(r.props.suffix),1),r.props.icon||r.props.units?(openBlock(),createElementBlock("label",_hoisted_7$1,[r.props.icon?(openBlock(),createBlock(d,{key:0,icon:`mdi-${u.icon}`},null,8,["icon"])):createCommentVNode("",!0),createTextVNode(toDisplayString(r.props.units),1)])):createCommentVNode("",!0)],2)],2)}const UIGaugeDial=_export_sfc(_sfc_main$e,[["render",_sfc_render$d]]),_sfc_main$d={name:"DBUIGaugeTank",props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})},value:{type:Number,required:!0}},data(){return{labelLineHeight:0,svgBottom:0,amplitude:15,svgScaleRatio:1}},computed:{color:function(){return UIGaugeMethods.valueToColor(this.props.segments,this.value)},pc:function(){return typeof this.value<"u"?Math.max(0,Math.min(Math.round((this.value-this.props.min)/(this.props.max-this.props.min)*100),100)):0},clipId:function(){return`clip-${this.id}`},waves:function(){const e=this.amplitude*this.svgScaleRatio,t=this.svgBottom,r=this.svgScaleRatio;return[`M750,${e} c -125,0 -125,-${e} -250,-${e} s -125,${e} -250,${e} S 125,0, 0,0 v${r*(t+e)}h1000 V0 c-125,0 -125,${e} -250,${e}Z`,`M750,0 c -125,0 -125,${e} -250,${e} S 375,0 250,0, S 125,${e}, 0,${e} v${r*t}h1000 V${e} c-125,0 -125-${e} -250-${e}Z`]}},watch:{value:function(){this.$nextTick(()=>{this.updateMask()})}},mounted(){this.$nextTick(()=>{this.updateMask()})},methods:{getTextColor:UIGaugeMethods.getTextColor,updateMask(){var r,a;const e=((r=this.$refs.fill)==null?void 0:r.clientHeight)||0,t=((a=this.$refs.fill)==null?void 0:a.clientWidth)||0;this.labelLineHeight=this.$refs.labels?`${this.$refs.labels.clientHeight}px`:`${100*e/this.pc}px`,e>=0&&this.pc!==0?(this.svgBottom=e,this.svgScaleRatio=t!==0?1e3/t:1):(this.svgBottom=0,this.svgScaleRatio=1)},onResize(){this.updateMask()}}},_hoisted_1$6={class:"nrdb-ui-gauge-tank--container"},_hoisted_2$4={key:0,class:"nrdb-ui-gauge-title"},_hoisted_3$2={class:"nrdb-ui-gauge-tank--center"},_hoisted_4$2={ref:"fill",class:"nrdb-ui-gauge-tank--fill"},_hoisted_5$1=["viewBox"],_hoisted_6$1=["d"],_hoisted_7=["values"],_hoisted_8=["viewBox"],_hoisted_9=["d"],_hoisted_10=["values"],_hoisted_11={ref:"labels",class:"nrdb-ui-gauge-tank-labels"};function _sfc_render$c(e,t,r,a,o,u){const d=resolveDirective("resize");return withDirectives((openBlock(),createElementBlock("div",_hoisted_1$6,[r.props.title?(openBlock(),createElementBlock("label",_hoisted_2$4,toDisplayString(r.props.title),1)):createCommentVNode("",!0),createBaseVNode("div",{class:"nrdb-ui-gauge-tank",style:normalizeStyle({"--gauge-fill":u.color,"--gauge-fill-pc":u.pc+"%",color:u.getTextColor(r.props.segments,r.value)})},[createBaseVNode("div",_hoisted_3$2,[createBaseVNode("div",_hoisted_4$2,null,512),(openBlock(),createElementBlock("svg",{class:"WaveBG",style:normalizeStyle(`bottom: 0;height: ${o.svgBottom}`),viewBox:`0 ${o.amplitude} 1000 ${Math.min(100,o.svgScaleRatio*o.svgBottom)}`,preserveAspectRatio:"xMinYMin meet"},[createBaseVNode("path",{d:u.waves[0]},[createBaseVNode("animate",{dur:"5s",repeatCount:"indefinite",attributeName:"d",values:`${u.waves[0]}; ${u.waves[1]}; ${u.waves[0]};`},null,8,_hoisted_7)],8,_hoisted_6$1)],12,_hoisted_5$1)),(openBlock(),createElementBlock("svg",{class:"Wave",style:normalizeStyle(`bottom: 0;height: ${o.svgBottom}`),viewBox:`0 ${o.amplitude} 1000 ${Math.min(100,o.svgScaleRatio*o.svgBottom)}`,preserveAspectRatio:"xMinYMin meet"},[createBaseVNode("path",{d:u.waves[0]},[createBaseVNode("animate",{dur:"5s",repeatCount:"indefinite",attributeName:"d",values:`${u.waves[0]}; ${u.waves[1]}; ${u.waves[0]};`},null,8,_hoisted_10)],8,_hoisted_9)],12,_hoisted_8)),createBaseVNode("div",_hoisted_11,[createBaseVNode("label",{class:"nrdb-ui-gauge-tank--fglabel",style:normalizeStyle({"line-height":o.labelLineHeight})},toDisplayString(u.pc)+"%",5)],512)])],4)])),[[d,u.onResize]])}const UIGaugeTank=_export_sfc(_sfc_main$d,[["render",_sfc_render$c],["__scopeId","data-v-ca9aab36"]]),_sfc_main$c={name:"DBUIGaugeTile",props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})},value:{type:Number,required:!0}},methods:{valueToColor:UIGaugeMethods.valueToColor,getTextColor:UIGaugeMethods.getTextColor}};function _sfc_render$b(e,t,r,a,o,u){return openBlock(),createElementBlock("div",{class:"nrdb-ui-gauge-tile",style:normalizeStyle({"background-color":u.valueToColor(r.props.segments,r.value),color:u.getTextColor(r.props.segments,r.value)})},toDisplayString(r.props.title),5)}const UIGaugeTile=_export_sfc(_sfc_main$c,[["render",_sfc_render$b],["__scopeId","data-v-c0f362a7"]]),_sfc_main$b={name:"DBUIGauge",components:{"ui-gauge-battery":UIGaugeBattery,"ui-gauge-tank":UIGaugeTank,"ui-gauge-dial":UIGaugeDial,"ui-gauge-tile":UIGaugeTile},inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},computed:{...mapState("data",["messages"]),value:function(){var e;return(e=this.messages[this.id])==null?void 0:e.payload},icon(){var e;return(e=this.props.icon)==null?void 0:e.replace(/^mdi-/,"")}},created(){this.$dataTracker(this.id)}};function _sfc_render$a(e,t,r,a,o,u){const d=resolveComponent("ui-gauge-tile"),f=resolveComponent("ui-gauge-battery"),g=resolveComponent("ui-gauge-tank"),_=resolveComponent("ui-gauge-dial");return r.props.gtype==="gauge-tile"?(openBlock(),createBlock(d,{key:0,id:r.id,props:r.props,value:u.value},null,8,["id","props","value"])):r.props.gtype==="gauge-battery"?(openBlock(),createBlock(f,{key:1,id:r.id,props:r.props,value:u.value},null,8,["id","props","value"])):r.props.gtype==="gauge-tank"?(openBlock(),createBlock(g,{key:2,id:r.id,props:r.props,value:u.value},null,8,["id","props","value"])):(openBlock(),createBlock(_,{key:3,id:r.id,props:r.props,value:u.value},null,8,["id","props","value"]))}const UIGauge=_export_sfc(_sfc_main$b,[["render",_sfc_render$a]]);/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries,setPrototypeOf,isFrozen,getPrototypeOf,getOwnPropertyDescriptor}=Object;let{freeze,seal,create}=Object,{apply:apply$1,construct}=typeof Reflect<"u"&&Reflect;apply$1||(apply$1=function(t,r,a){return t.apply(r,a)});freeze||(freeze=function(t){return t});seal||(seal=function(t){return t});construct||(construct=function(t,r){return new t(...r)});const arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(t){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i);var EXPRESSIONS=Object.freeze({__proto__:null,MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR,DATA_ATTR,ARIA_ATTR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,ATTR_WHITESPACE,DOCTYPE_NAME});const getGlobal=()=>typeof window>"u"?null:window,_createTrustedTypesPolicy=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let a=null;const o="data-tt-policy-suffix";r&&r.hasAttribute(o)&&(a=r.getAttribute(o));const u="dompurify"+(a?"#"+a:"");try{return t.createPolicy(u,{createHTML(d){return d},createScriptURL(d){return d}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}};function createDOMPurify(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const t=Le=>createDOMPurify(Le);if(t.version="3.0.5",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;const r=e.document,a=r.currentScript;let{document:o}=e;const{DocumentFragment:u,HTMLTemplateElement:d,Node:f,Element:g,NodeFilter:_,NamedNodeMap:S=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:E,DOMParser:v,trustedTypes:b}=e,y=g.prototype,T=lookupGetter(y,"cloneNode"),C=lookupGetter(y,"nextSibling"),R=lookupGetter(y,"childNodes"),A=lookupGetter(y,"parentNode");if(typeof d=="function"){const Le=o.createElement("template");Le.content&&Le.content.ownerDocument&&(o=Le.content.ownerDocument)}let O,x="";const{implementation:N,createNodeIterator:I,createDocumentFragment:k,getElementsByTagName:D}=o,{importNode:P}=r;let L={};t.isSupported=typeof entries=="function"&&typeof A=="function"&&N&&N.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:F,ERB_EXPR:B,TMPLIT_EXPR:V,DATA_ATTR:U,ARIA_ATTR:W,IS_SCRIPT_OR_DATA:K,ATTR_WHITESPACE:G}=EXPRESSIONS;let{IS_ALLOWED_URI:Y}=EXPRESSIONS,Q=null;const Z=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let J=null;const te=addToSet({},[...html,...svg,...mathMl,...xml]);let fe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,ue=null,ie=!0,ee=!0,de=!1,me=!0,oe=!1,Ee=!1,pe=!1,z=!1,j=!1,ne=!1,ae=!1,ce=!0,ye=!1;const he="user-content-";let Ce=!0,Se=!1,ge={},Oe=null;const De=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Re=null;const ke=addToSet({},["audio","video","img","source","image","track"]);let le=null;const Te=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ne="http://www.w3.org/1998/Math/MathML",Me="http://www.w3.org/2000/svg",Fe="http://www.w3.org/1999/xhtml";let Ve=Fe,$e=!1,Ke=null;const qe=addToSet({},[Ne,Me,Fe],stringToString);let He;const Xe=["application/xhtml+xml","text/html"],Ye="text/html";let Ue,Je=null;const it=o.createElement("form"),rt=function(se){return se instanceof RegExp||se instanceof Function},at=function(se){if(!(Je&&Je===se)){if((!se||typeof se!="object")&&(se={}),se=clone(se),He=Xe.indexOf(se.PARSER_MEDIA_TYPE)===-1?He=Ye:He=se.PARSER_MEDIA_TYPE,Ue=He==="application/xhtml+xml"?stringToString:stringToLowerCase,Q="ALLOWED_TAGS"in se?addToSet({},se.ALLOWED_TAGS,Ue):Z,J="ALLOWED_ATTR"in se?addToSet({},se.ALLOWED_ATTR,Ue):te,Ke="ALLOWED_NAMESPACES"in se?addToSet({},se.ALLOWED_NAMESPACES,stringToString):qe,le="ADD_URI_SAFE_ATTR"in se?addToSet(clone(Te),se.ADD_URI_SAFE_ATTR,Ue):Te,Re="ADD_DATA_URI_TAGS"in se?addToSet(clone(ke),se.ADD_DATA_URI_TAGS,Ue):ke,Oe="FORBID_CONTENTS"in se?addToSet({},se.FORBID_CONTENTS,Ue):De,ve="FORBID_TAGS"in se?addToSet({},se.FORBID_TAGS,Ue):{},ue="FORBID_ATTR"in se?addToSet({},se.FORBID_ATTR,Ue):{},ge="USE_PROFILES"in se?se.USE_PROFILES:!1,ie=se.ALLOW_ARIA_ATTR!==!1,ee=se.ALLOW_DATA_ATTR!==!1,de=se.ALLOW_UNKNOWN_PROTOCOLS||!1,me=se.ALLOW_SELF_CLOSE_IN_ATTR!==!1,oe=se.SAFE_FOR_TEMPLATES||!1,Ee=se.WHOLE_DOCUMENT||!1,j=se.RETURN_DOM||!1,ne=se.RETURN_DOM_FRAGMENT||!1,ae=se.RETURN_TRUSTED_TYPE||!1,z=se.FORCE_BODY||!1,ce=se.SANITIZE_DOM!==!1,ye=se.SANITIZE_NAMED_PROPS||!1,Ce=se.KEEP_CONTENT!==!1,Se=se.IN_PLACE||!1,Y=se.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,Ve=se.NAMESPACE||Fe,fe=se.CUSTOM_ELEMENT_HANDLING||{},se.CUSTOM_ELEMENT_HANDLING&&rt(se.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(fe.tagNameCheck=se.CUSTOM_ELEMENT_HANDLING.tagNameCheck),se.CUSTOM_ELEMENT_HANDLING&&rt(se.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(fe.attributeNameCheck=se.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),se.CUSTOM_ELEMENT_HANDLING&&typeof se.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(fe.allowCustomizedBuiltInElements=se.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),oe&&(ee=!1),ne&&(j=!0),ge&&(Q=addToSet({},[...text]),J=[],ge.html===!0&&(addToSet(Q,html$1),addToSet(J,html)),ge.svg===!0&&(addToSet(Q,svg$1),addToSet(J,svg),addToSet(J,xml)),ge.svgFilters===!0&&(addToSet(Q,svgFilters),addToSet(J,svg),addToSet(J,xml)),ge.mathMl===!0&&(addToSet(Q,mathMl$1),addToSet(J,mathMl),addToSet(J,xml))),se.ADD_TAGS&&(Q===Z&&(Q=clone(Q)),addToSet(Q,se.ADD_TAGS,Ue)),se.ADD_ATTR&&(J===te&&(J=clone(J)),addToSet(J,se.ADD_ATTR,Ue)),se.ADD_URI_SAFE_ATTR&&addToSet(le,se.ADD_URI_SAFE_ATTR,Ue),se.FORBID_CONTENTS&&(Oe===De&&(Oe=clone(Oe)),addToSet(Oe,se.FORBID_CONTENTS,Ue)),Ce&&(Q["#text"]=!0),Ee&&addToSet(Q,["html","head","body"]),Q.table&&(addToSet(Q,["tbody"]),delete ve.tbody),se.TRUSTED_TYPES_POLICY){if(typeof se.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof se.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=se.TRUSTED_TYPES_POLICY,x=O.createHTML("")}else O===void 0&&(O=_createTrustedTypesPolicy(b,a)),O!==null&&typeof x=="string"&&(x=O.createHTML(""));freeze&&freeze(se),Je=se}},ct=addToSet({},["mi","mo","mn","ms","mtext"]),M=addToSet({},["foreignobject","desc","title","annotation-xml"]),H=addToSet({},["title","style","font","a","script"]),$=addToSet({},svg$1);addToSet($,svgFilters),addToSet($,svgDisallowed);const q=addToSet({},mathMl$1);addToSet(q,mathMlDisallowed);const X=function(se){let xe=A(se);(!xe||!xe.tagName)&&(xe={namespaceURI:Ve,tagName:"template"});const we=stringToLowerCase(se.tagName),Ge=stringToLowerCase(xe.tagName);return Ke[se.namespaceURI]?se.namespaceURI===Me?xe.namespaceURI===Fe?we==="svg":xe.namespaceURI===Ne?we==="svg"&&(Ge==="annotation-xml"||ct[Ge]):!!$[we]:se.namespaceURI===Ne?xe.namespaceURI===Fe?we==="math":xe.namespaceURI===Me?we==="math"&&M[Ge]:!!q[we]:se.namespaceURI===Fe?xe.namespaceURI===Me&&!M[Ge]||xe.namespaceURI===Ne&&!ct[Ge]?!1:!q[we]&&(H[we]||!$[we]):!!(He==="application/xhtml+xml"&&Ke[se.namespaceURI]):!1},_e=function(se){arrayPush(t.removed,{element:se});try{se.parentNode.removeChild(se)}catch{se.remove()}},be=function(se,xe){try{arrayPush(t.removed,{attribute:xe.getAttributeNode(se),from:xe})}catch{arrayPush(t.removed,{attribute:null,from:xe})}if(xe.removeAttribute(se),se==="is"&&!J[se])if(j||ne)try{_e(xe)}catch{}else try{xe.setAttribute(se,"")}catch{}},Ae=function(se){let xe,we;if(z)se=""+se;else{const et=stringMatch(se,/^[\r\n\t ]+/);we=et&&et[0]}He==="application/xhtml+xml"&&Ve===Fe&&(se=''+se+"");const Ge=O?O.createHTML(se):se;if(Ve===Fe)try{xe=new v().parseFromString(Ge,He)}catch{}if(!xe||!xe.documentElement){xe=N.createDocument(Ve,"template",null);try{xe.documentElement.innerHTML=$e?x:Ge}catch{}}const je=xe.body||xe.documentElement;return se&&we&&je.insertBefore(o.createTextNode(we),je.childNodes[0]||null),Ve===Fe?D.call(xe,Ee?"html":"body")[0]:Ee?xe.documentElement:je},Pe=function(se){return I.call(se.ownerDocument||se,se,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT,null,!1)},Be=function(se){return se instanceof E&&(typeof se.nodeName!="string"||typeof se.textContent!="string"||typeof se.removeChild!="function"||!(se.attributes instanceof S)||typeof se.removeAttribute!="function"||typeof se.setAttribute!="function"||typeof se.namespaceURI!="string"||typeof se.insertBefore!="function"||typeof se.hasChildNodes!="function")},ze=function(se){return typeof f=="object"?se instanceof f:se&&typeof se=="object"&&typeof se.nodeType=="number"&&typeof se.nodeName=="string"},Qe=function(se,xe,we){L[se]&&arrayForEach(L[se],Ge=>{Ge.call(t,xe,we,Je)})},nt=function(se){let xe;if(Qe("beforeSanitizeElements",se,null),Be(se))return _e(se),!0;const we=Ue(se.nodeName);if(Qe("uponSanitizeElement",se,{tagName:we,allowedTags:Q}),se.hasChildNodes()&&!ze(se.firstElementChild)&&(!ze(se.content)||!ze(se.content.firstElementChild))&®ExpTest(/<[/\w]/g,se.innerHTML)&®ExpTest(/<[/\w]/g,se.textContent))return _e(se),!0;if(!Q[we]||ve[we]){if(!ve[we]&&ot(we)&&(fe.tagNameCheck instanceof RegExp&®ExpTest(fe.tagNameCheck,we)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(we)))return!1;if(Ce&&!Oe[we]){const Ge=A(se)||se.parentNode,je=R(se)||se.childNodes;if(je&&Ge){const et=je.length;for(let We=et-1;We>=0;--We)Ge.insertBefore(T(je[We],!0),C(se))}}return _e(se),!0}return se instanceof g&&!X(se)||(we==="noscript"||we==="noembed"||we==="noframes")&®ExpTest(/<\/no(script|embed|frames)/i,se.innerHTML)?(_e(se),!0):(oe&&se.nodeType===3&&(xe=se.textContent,xe=stringReplace(xe,F," "),xe=stringReplace(xe,B," "),xe=stringReplace(xe,V," "),se.textContent!==xe&&(arrayPush(t.removed,{element:se.cloneNode()}),se.textContent=xe)),Qe("afterSanitizeElements",se,null),!1)},st=function(se,xe,we){if(ce&&(xe==="id"||xe==="name")&&(we in o||we in it))return!1;if(!(ee&&!ue[xe]&®ExpTest(U,xe))){if(!(ie&®ExpTest(W,xe))){if(!J[xe]||ue[xe]){if(!(ot(se)&&(fe.tagNameCheck instanceof RegExp&®ExpTest(fe.tagNameCheck,se)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(se))&&(fe.attributeNameCheck instanceof RegExp&®ExpTest(fe.attributeNameCheck,xe)||fe.attributeNameCheck instanceof Function&&fe.attributeNameCheck(xe))||xe==="is"&&fe.allowCustomizedBuiltInElements&&(fe.tagNameCheck instanceof RegExp&®ExpTest(fe.tagNameCheck,we)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(we))))return!1}else if(!le[xe]){if(!regExpTest(Y,stringReplace(we,G,""))){if(!((xe==="src"||xe==="xlink:href"||xe==="href")&&se!=="script"&&stringIndexOf(we,"data:")===0&&Re[se])){if(!(de&&!regExpTest(K,stringReplace(we,G,"")))){if(we)return!1}}}}}}return!0},ot=function(se){return se.indexOf("-")>0},Ze=function(se){let xe,we,Ge,je;Qe("beforeSanitizeAttributes",se,null);const{attributes:et}=se;if(!et)return;const We={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J};for(je=et.length;je--;){xe=et[je];const{name:tt,namespaceURI:ut}=xe;if(we=tt==="value"?xe.value:stringTrim(xe.value),Ge=Ue(tt),We.attrName=Ge,We.attrValue=we,We.keepAttr=!0,We.forceKeepAttr=void 0,Qe("uponSanitizeAttribute",se,We),we=We.attrValue,We.forceKeepAttr||(be(tt,se),!We.keepAttr))continue;if(!me&®ExpTest(/\/>/i,we)){be(tt,se);continue}oe&&(we=stringReplace(we,F," "),we=stringReplace(we,B," "),we=stringReplace(we,V," "));const ft=Ue(se.nodeName);if(st(ft,Ge,we)){if(ye&&(Ge==="id"||Ge==="name")&&(be(tt,se),we=he+we),O&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!ut)switch(b.getAttributeType(ft,Ge)){case"TrustedHTML":{we=O.createHTML(we);break}case"TrustedScriptURL":{we=O.createScriptURL(we);break}}try{ut?se.setAttributeNS(ut,tt,we):se.setAttribute(tt,we),arrayPop(t.removed)}catch{}}}Qe("afterSanitizeAttributes",se,null)},St=function Le(se){let xe;const we=Pe(se);for(Qe("beforeSanitizeShadowDOM",se,null);xe=we.nextNode();)Qe("uponSanitizeShadowNode",xe,null),!nt(xe)&&(xe.content instanceof u&&Le(xe.content),Ze(xe));Qe("afterSanitizeShadowDOM",se,null)};return t.sanitize=function(Le){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xe,we,Ge,je;if($e=!Le,$e&&(Le=""),typeof Le!="string"&&!ze(Le))if(typeof Le.toString=="function"){if(Le=Le.toString(),typeof Le!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!t.isSupported)return Le;if(pe||at(se),t.removed=[],typeof Le=="string"&&(Se=!1),Se){if(Le.nodeName){const tt=Ue(Le.nodeName);if(!Q[tt]||ve[tt])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(Le instanceof f)xe=Ae(""),we=xe.ownerDocument.importNode(Le,!0),we.nodeType===1&&we.nodeName==="BODY"||we.nodeName==="HTML"?xe=we:xe.appendChild(we);else{if(!j&&!oe&&!Ee&&Le.indexOf("<")===-1)return O&&ae?O.createHTML(Le):Le;if(xe=Ae(Le),!xe)return j?null:ae?x:""}xe&&z&&_e(xe.firstChild);const et=Pe(Se?Le:xe);for(;Ge=et.nextNode();)nt(Ge)||(Ge.content instanceof u&&St(Ge.content),Ze(Ge));if(Se)return Le;if(j){if(ne)for(je=k.call(xe.ownerDocument);xe.firstChild;)je.appendChild(xe.firstChild);else je=xe;return(J.shadowroot||J.shadowrootmode)&&(je=P.call(r,je,!0)),je}let We=Ee?xe.outerHTML:xe.innerHTML;return Ee&&Q["!doctype"]&&xe.ownerDocument&&xe.ownerDocument.doctype&&xe.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,xe.ownerDocument.doctype.name)&&(We=" `+We),oe&&(We=stringReplace(We,F," "),We=stringReplace(We,B," "),We=stringReplace(We,V," ")),O&&ae?O.createHTML(We):We},t.setConfig=function(Le){at(Le),pe=!0},t.clearConfig=function(){Je=null,pe=!1},t.isValidAttribute=function(Le,se,xe){Je||at({});const we=Ue(Le),Ge=Ue(se);return st(we,Ge,xe)},t.addHook=function(Le,se){typeof se=="function"&&(L[Le]=L[Le]||[],arrayPush(L[Le],se))},t.removeHook=function(Le){if(L[Le])return arrayPop(L[Le])},t.removeHooks=function(Le){L[Le]&&(L[Le]=[])},t.removeAllHooks=function(){L={}},t}var purify=createDOMPurify(),commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function deepFreeze(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const r=e[t],a=typeof r;(a==="object"||a==="function")&&!Object.isFrozen(r)&&deepFreeze(r)}),e}class Response{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function escapeHTML(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(e,...t){const r=Object.create(null);for(const a in e)r[a]=e[a];return t.forEach(function(a){for(const o in a)r[o]=a[o]}),r}const SPAN_CLOSE="",emitsWrappingTags=e=>!!e.scope,scopeToCSSClass=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((a,o)=>`${a}${"_".repeat(o+1)}`)].join(" ")}return`${t}${e}`};class HTMLRenderer{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=escapeHTML(t)}openNode(t){if(!emitsWrappingTags(t))return;const r=scopeToCSSClass(t.scope,{prefix:this.classPrefix});this.span(r)}closeNode(t){emitsWrappingTags(t)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(t){this.buffer+=``}}const newNode=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=newNode({scope:t});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(a=>this._walk(t,a)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{TokenTree._collapse(r)}))}}class TokenTreeEmitter extends TokenTree{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,r){const a=t.root;r&&(a.scope=`language:${r}`),this.add(a)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(e){return e?typeof e=="string"?e:e.source:null}function lookahead(e){return concat("(?=",e,")")}function anyNumberOfTimes(e){return concat("(?:",e,")*")}function optional(e){return concat("(?:",e,")?")}function concat(...e){return e.map(r=>source(r)).join("")}function stripOptionsFromArgs(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function either(...e){return"("+(stripOptionsFromArgs(e).capture?"":"?:")+e.map(a=>source(a)).join("|")+")"}function countMatchGroups(e){return new RegExp(e.toString()+"|").exec("").length-1}function startsWith(e,t){const r=e&&e.exec(t);return r&&r.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(e,{joinWith:t}){let r=0;return e.map(a=>{r+=1;const o=r;let u=source(a),d="";for(;u.length>0;){const f=BACKREF_RE.exec(u);if(!f){d+=u;break}d+=u.substring(0,f.index),u=u.substring(f.index+f[0].length),f[0][0]==="\\"&&f[1]?d+="\\"+String(Number(f[1])+o):(d+=f[0],f[0]==="("&&r++)}return d}).map(a=>`(${a})`).join(t)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=concat(t,/.*\b/,e.binary,/\b.*/)),inherit$1({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,a)=>{r.index!==0&&a.ignoreMatch()}},e)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT$1=function(e,t,r={}){const a=inherit$1({scope:"comment",begin:e,end:t,contains:[]},r);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:concat(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},C_LINE_COMMENT_MODE=COMMENT$1("//","$"),C_BLOCK_COMMENT_MODE=COMMENT$1("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT$1("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,MATCH_NOTHING_RE,IDENT_RE,UNDERSCORE_IDENT_RE,NUMBER_RE,C_NUMBER_RE,BINARY_NUMBER_RE,RE_STARTERS_RE,SHEBANG,BACKSLASH_ESCAPE,APOS_STRING_MODE,QUOTE_STRING_MODE,PHRASAL_WORDS_MODE,COMMENT:COMMENT$1,C_LINE_COMMENT_MODE,C_BLOCK_COMMENT_MODE,HASH_COMMENT_MODE,NUMBER_MODE,C_NUMBER_MODE,BINARY_NUMBER_MODE,REGEXP_MODE,TITLE_MODE,UNDERSCORE_TITLE_MODE,METHOD_GUARD,END_SAME_AS_BEGIN});function skipIfHasPrecedingDot(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function scopeClassName(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function beginKeywords(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=skipIfHasPrecedingDot,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function compileIllegal(e,t){Array.isArray(e.illegal)&&(e.illegal=either(...e.illegal))}function compileMatch(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function compileRelevance(e,t){e.relevance===void 0&&(e.relevance=1)}const beforeMatchExt=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(a=>{delete e[a]}),e.keywords=r.keywords,e.begin=concat(r.beforeMatch,lookahead(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(e,t,r=DEFAULT_KEYWORD_SCOPE){const a=Object.create(null);return typeof e=="string"?o(r,e.split(" ")):Array.isArray(e)?o(r,e):Object.keys(e).forEach(function(u){Object.assign(a,compileKeywords(e[u],t,u))}),a;function o(u,d){t&&(d=d.map(f=>f.toLowerCase())),d.forEach(function(f){const g=f.split("|");a[g[0]]=[u,scoreForKeyword(g[0],g[1])]})}}function scoreForKeyword(e,t){return t?Number(t):commonKeyword(e)?0:1}function commonKeyword(e){return COMMON_KEYWORDS.includes(e.toLowerCase())}const seenDeprecations={},error=e=>{console.error(e)},warn=(e,...t)=>{console.log(`WARN: ${e}`,...t)},deprecated=(e,t)=>{seenDeprecations[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),seenDeprecations[`${e}/${t}`]=!0)},MultiClassError=new Error;function remapScopeNames(e,t,{key:r}){let a=0;const o=e[r],u={},d={};for(let f=1;f<=t.length;f++)d[f+a]=o[f],u[f+a]=!0,a+=countMatchGroups(t[f-1]);e[r]=d,e[r]._emit=u,e[r]._multi=!0}function beginMultiClass(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw error("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof e.beginScope!="object"||e.beginScope===null)throw error("beginScope must be object"),MultiClassError;remapScopeNames(e,e.begin,{key:"beginScope"}),e.begin=_rewriteBackreferences(e.begin,{joinWith:""})}}function endMultiClass(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw error("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof e.endScope!="object"||e.endScope===null)throw error("endScope must be object"),MultiClassError;remapScopeNames(e,e.end,{key:"endScope"}),e.end=_rewriteBackreferences(e.end,{joinWith:""})}}function scopeSugar(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function MultiClass(e){scopeSugar(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),beginMultiClass(e),endMultiClass(e)}function compileLanguage(e){function t(d,f){return new RegExp(source(d),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(f?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(f,g){g.position=this.position++,this.matchIndexes[this.matchAt]=g,this.regexes.push([g,f]),this.matchAt+=countMatchGroups(f)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const f=this.regexes.map(g=>g[1]);this.matcherRe=t(_rewriteBackreferences(f,{joinWith:"|"}),!0),this.lastIndex=0}exec(f){this.matcherRe.lastIndex=this.lastIndex;const g=this.matcherRe.exec(f);if(!g)return null;const _=g.findIndex((E,v)=>v>0&&E!==void 0),S=this.matchIndexes[_];return g.splice(0,_),Object.assign(g,S)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(f){if(this.multiRegexes[f])return this.multiRegexes[f];const g=new r;return this.rules.slice(f).forEach(([_,S])=>g.addRule(_,S)),g.compile(),this.multiRegexes[f]=g,g}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(f,g){this.rules.push([f,g]),g.type==="begin"&&this.count++}exec(f){const g=this.getMatcher(this.regexIndex);g.lastIndex=this.lastIndex;let _=g.exec(f);if(this.resumingScanAtSamePosition()&&!(_&&_.index===this.lastIndex)){const S=this.getMatcher(0);S.lastIndex=this.lastIndex+1,_=S.exec(f)}return _&&(this.regexIndex+=_.position+1,this.regexIndex===this.count&&this.considerAll()),_}}function o(d){const f=new a;return d.contains.forEach(g=>f.addRule(g.begin,{rule:g,type:"begin"})),d.terminatorEnd&&f.addRule(d.terminatorEnd,{type:"end"}),d.illegal&&f.addRule(d.illegal,{type:"illegal"}),f}function u(d,f){const g=d;if(d.isCompiled)return g;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(S=>S(d,f)),e.compilerExtensions.forEach(S=>S(d,f)),d.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(S=>S(d,f)),d.isCompiled=!0;let _=null;return typeof d.keywords=="object"&&d.keywords.$pattern&&(d.keywords=Object.assign({},d.keywords),_=d.keywords.$pattern,delete d.keywords.$pattern),_=_||/\w+/,d.keywords&&(d.keywords=compileKeywords(d.keywords,e.case_insensitive)),g.keywordPatternRe=t(_,!0),f&&(d.begin||(d.begin=/\B|\b/),g.beginRe=t(g.begin),!d.end&&!d.endsWithParent&&(d.end=/\B|\b/),d.end&&(g.endRe=t(g.end)),g.terminatorEnd=source(g.end)||"",d.endsWithParent&&f.terminatorEnd&&(g.terminatorEnd+=(d.end?"|":"")+f.terminatorEnd)),d.illegal&&(g.illegalRe=t(d.illegal)),d.contains||(d.contains=[]),d.contains=[].concat(...d.contains.map(function(S){return expandOrCloneMode(S==="self"?d:S)})),d.contains.forEach(function(S){u(S,g)}),d.starts&&u(d.starts,f),g.matcher=o(g),g}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=inherit$1(e.classNameAliases||{}),u(e)}function dependencyOnParent(e){return e?e.endsWithParent||dependencyOnParent(e.starts):!1}function expandOrCloneMode(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return inherit$1(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:dependencyOnParent(e)?inherit$1(e,{starts:e.starts?inherit$1(e.starts):null}):Object.isFrozen(e)?inherit$1(e):e}var version$4="11.8.0";class HTMLInjectionError extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const escape$2=escapeHTML,inherit=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(e){const t=Object.create(null),r=Object.create(null),a=[];let o=!0;const u="Could not find the language '{}', did you forget to load/include a language module?",d={disableAutodetect:!0,name:"Plain text",contains:[]};let f={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function g(G){return f.noHighlightRe.test(G)}function _(G){let Y=G.className+" ";Y+=G.parentNode?G.parentNode.className:"";const Q=f.languageDetectRe.exec(Y);if(Q){const Z=P(Q[1]);return Z||(warn(u.replace("{}",Q[1])),warn("Falling back to no-highlight mode for this block.",G)),Z?Q[1]:"no-highlight"}return Y.split(/\s+/).find(Z=>g(Z)||P(Z))}function S(G,Y,Q){let Z="",J="";typeof Y=="object"?(Z=G,Q=Y.ignoreIllegals,J=Y.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),J=G,Z=Y),Q===void 0&&(Q=!0);const te={code:Z,language:J};W("before:highlight",te);const fe=te.result?te.result:E(te.language,te.code,Q);return fe.code=te.code,W("after:highlight",fe),fe}function E(G,Y,Q,Z){const J=Object.create(null);function te(le,Te){return le.keywords[Te]}function fe(){if(!he.keywords){Se.addText(ge);return}let le=0;he.keywordPatternRe.lastIndex=0;let Te=he.keywordPatternRe.exec(ge),Ne="";for(;Te;){Ne+=ge.substring(le,Te.index);const Me=ae.case_insensitive?Te[0].toLowerCase():Te[0],Fe=te(he,Me);if(Fe){const[Ve,$e]=Fe;if(Se.addText(Ne),Ne="",J[Me]=(J[Me]||0)+1,J[Me]<=MAX_KEYWORD_HITS&&(Oe+=$e),Ve.startsWith("_"))Ne+=Te[0];else{const Ke=ae.classNameAliases[Ve]||Ve;ie(Te[0],Ke)}}else Ne+=Te[0];le=he.keywordPatternRe.lastIndex,Te=he.keywordPatternRe.exec(ge)}Ne+=ge.substring(le),Se.addText(Ne)}function ve(){if(ge==="")return;let le=null;if(typeof he.subLanguage=="string"){if(!t[he.subLanguage]){Se.addText(ge);return}le=E(he.subLanguage,ge,!0,Ce[he.subLanguage]),Ce[he.subLanguage]=le._top}else le=b(ge,he.subLanguage.length?he.subLanguage:null);he.relevance>0&&(Oe+=le.relevance),Se.__addSublanguage(le._emitter,le.language)}function ue(){he.subLanguage!=null?ve():fe(),ge=""}function ie(le,Te){le!==""&&(Se.startScope(Te),Se.addText(le),Se.endScope())}function ee(le,Te){let Ne=1;const Me=Te.length-1;for(;Ne<=Me;){if(!le._emit[Ne]){Ne++;continue}const Fe=ae.classNameAliases[le[Ne]]||le[Ne],Ve=Te[Ne];Fe?ie(Ve,Fe):(ge=Ve,fe(),ge=""),Ne++}}function de(le,Te){return le.scope&&typeof le.scope=="string"&&Se.openNode(ae.classNameAliases[le.scope]||le.scope),le.beginScope&&(le.beginScope._wrap?(ie(ge,ae.classNameAliases[le.beginScope._wrap]||le.beginScope._wrap),ge=""):le.beginScope._multi&&(ee(le.beginScope,Te),ge="")),he=Object.create(le,{parent:{value:he}}),he}function me(le,Te,Ne){let Me=startsWith(le.endRe,Ne);if(Me){if(le["on:end"]){const Fe=new Response(le);le["on:end"](Te,Fe),Fe.isMatchIgnored&&(Me=!1)}if(Me){for(;le.endsParent&&le.parent;)le=le.parent;return le}}if(le.endsWithParent)return me(le.parent,Te,Ne)}function oe(le){return he.matcher.regexIndex===0?(ge+=le[0],1):(ke=!0,0)}function Ee(le){const Te=le[0],Ne=le.rule,Me=new Response(Ne),Fe=[Ne.__beforeBegin,Ne["on:begin"]];for(const Ve of Fe)if(Ve&&(Ve(le,Me),Me.isMatchIgnored))return oe(Te);return Ne.skip?ge+=Te:(Ne.excludeBegin&&(ge+=Te),ue(),!Ne.returnBegin&&!Ne.excludeBegin&&(ge=Te)),de(Ne,le),Ne.returnBegin?0:Te.length}function pe(le){const Te=le[0],Ne=Y.substring(le.index),Me=me(he,le,Ne);if(!Me)return NO_MATCH;const Fe=he;he.endScope&&he.endScope._wrap?(ue(),ie(Te,he.endScope._wrap)):he.endScope&&he.endScope._multi?(ue(),ee(he.endScope,le)):Fe.skip?ge+=Te:(Fe.returnEnd||Fe.excludeEnd||(ge+=Te),ue(),Fe.excludeEnd&&(ge=Te));do he.scope&&Se.closeNode(),!he.skip&&!he.subLanguage&&(Oe+=he.relevance),he=he.parent;while(he!==Me.parent);return Me.starts&&de(Me.starts,le),Fe.returnEnd?0:Te.length}function z(){const le=[];for(let Te=he;Te!==ae;Te=Te.parent)Te.scope&&le.unshift(Te.scope);le.forEach(Te=>Se.openNode(Te))}let j={};function ne(le,Te){const Ne=Te&&Te[0];if(ge+=le,Ne==null)return ue(),0;if(j.type==="begin"&&Te.type==="end"&&j.index===Te.index&&Ne===""){if(ge+=Y.slice(Te.index,Te.index+1),!o){const Me=new Error(`0 width match regex (${G})`);throw Me.languageName=G,Me.badRule=j.rule,Me}return 1}if(j=Te,Te.type==="begin")return Ee(Te);if(Te.type==="illegal"&&!Q){const Me=new Error('Illegal lexeme "'+Ne+'" for mode "'+(he.scope||"")+'"');throw Me.mode=he,Me}else if(Te.type==="end"){const Me=pe(Te);if(Me!==NO_MATCH)return Me}if(Te.type==="illegal"&&Ne==="")return 1;if(Re>1e5&&Re>Te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ge+=Ne,Ne.length}const ae=P(G);if(!ae)throw error(u.replace("{}",G)),new Error('Unknown language: "'+G+'"');const ce=compileLanguage(ae);let ye="",he=Z||ce;const Ce={},Se=new f.__emitter(f);z();let ge="",Oe=0,De=0,Re=0,ke=!1;try{if(ae.__emitTokens)ae.__emitTokens(Y,Se);else{for(he.matcher.considerAll();;){Re++,ke?ke=!1:he.matcher.considerAll(),he.matcher.lastIndex=De;const le=he.matcher.exec(Y);if(!le)break;const Te=Y.substring(De,le.index),Ne=ne(Te,le);De=le.index+Ne}ne(Y.substring(De))}return Se.finalize(),ye=Se.toHTML(),{language:G,value:ye,relevance:Oe,illegal:!1,_emitter:Se,_top:he}}catch(le){if(le.message&&le.message.includes("Illegal"))return{language:G,value:escape$2(Y),illegal:!0,relevance:0,_illegalBy:{message:le.message,index:De,context:Y.slice(De-100,De+100),mode:le.mode,resultSoFar:ye},_emitter:Se};if(o)return{language:G,value:escape$2(Y),illegal:!1,relevance:0,errorRaised:le,_emitter:Se,_top:he};throw le}}function v(G){const Y={value:escape$2(G),illegal:!1,relevance:0,_top:d,_emitter:new f.__emitter(f)};return Y._emitter.addText(G),Y}function b(G,Y){Y=Y||f.languages||Object.keys(t);const Q=v(G),Z=Y.filter(P).filter(F).map(ue=>E(ue,G,!1));Z.unshift(Q);const J=Z.sort((ue,ie)=>{if(ue.relevance!==ie.relevance)return ie.relevance-ue.relevance;if(ue.language&&ie.language){if(P(ue.language).supersetOf===ie.language)return 1;if(P(ie.language).supersetOf===ue.language)return-1}return 0}),[te,fe]=J,ve=te;return ve.secondBest=fe,ve}function y(G,Y,Q){const Z=Y&&r[Y]||Q;G.classList.add("hljs"),G.classList.add(`language-${Z}`)}function T(G){let Y=null;const Q=_(G);if(g(Q))return;if(W("before:highlightElement",{el:G,language:Q}),G.children.length>0&&(f.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(G)),f.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",G.innerHTML);Y=G;const Z=Y.textContent,J=Q?S(Z,{language:Q,ignoreIllegals:!0}):b(Z);G.innerHTML=J.value,y(G,Q,J.language),G.result={language:J.language,re:J.relevance,relevance:J.relevance},J.secondBest&&(G.secondBest={language:J.secondBest.language,relevance:J.secondBest.relevance}),W("after:highlightElement",{el:G,result:J,text:Z})}function C(G){f=inherit(f,G)}const R=()=>{x(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function A(){x(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let O=!1;function x(){if(document.readyState==="loading"){O=!0;return}document.querySelectorAll(f.cssSelector).forEach(T)}function N(){O&&x()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1);function I(G,Y){let Q=null;try{Q=Y(e)}catch(Z){if(error("Language definition for '{}' could not be registered.".replace("{}",G)),o)error(Z);else throw Z;Q=d}Q.name||(Q.name=G),t[G]=Q,Q.rawDefinition=Y.bind(null,e),Q.aliases&&L(Q.aliases,{languageName:G})}function k(G){delete t[G];for(const Y of Object.keys(r))r[Y]===G&&delete r[Y]}function D(){return Object.keys(t)}function P(G){return G=(G||"").toLowerCase(),t[G]||t[r[G]]}function L(G,{languageName:Y}){typeof G=="string"&&(G=[G]),G.forEach(Q=>{r[Q.toLowerCase()]=Y})}function F(G){const Y=P(G);return Y&&!Y.disableAutodetect}function B(G){G["before:highlightBlock"]&&!G["before:highlightElement"]&&(G["before:highlightElement"]=Y=>{G["before:highlightBlock"](Object.assign({block:Y.el},Y))}),G["after:highlightBlock"]&&!G["after:highlightElement"]&&(G["after:highlightElement"]=Y=>{G["after:highlightBlock"](Object.assign({block:Y.el},Y))})}function V(G){B(G),a.push(G)}function U(G){const Y=a.indexOf(G);Y!==-1&&a.splice(Y,1)}function W(G,Y){const Q=G;a.forEach(function(Z){Z[Q]&&Z[Q](Y)})}function K(G){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),T(G)}Object.assign(e,{highlight:S,highlightAuto:b,highlightAll:x,highlightElement:T,highlightBlock:K,configure:C,initHighlighting:R,initHighlightingOnLoad:A,registerLanguage:I,unregisterLanguage:k,listLanguages:D,getLanguage:P,registerAliases:L,autoDetection:F,inherit,addPlugin:V,removePlugin:U}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=version$4,e.regex={concat,lookahead,either,optional,anyNumberOfTimes};for(const G in MODES)typeof MODES[G]=="object"&&deepFreeze(MODES[G]);return Object.assign(e,MODES),e},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core$1=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function e(t){const r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",u="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",g="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",b="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",Z="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",fe="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",ve="null истина ложь неопределено",ue=t.inherit(t.NUMBER_MODE),ie={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},ee={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},de=t.inherit(t.C_LINE_COMMENT_MODE),me={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:r,keyword:u+g},contains:[de]},oe={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ee={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:r,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:r,keyword:"знач",literal:ve},contains:[ue,ie,ee]},de]},t.inherit(t.TITLE_MODE,{begin:r})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:r,keyword:u,built_in:b,class:Z,type:fe,literal:ve},contains:[me,Ee,de,oe,ue,ie,ee]}}return _1c_1=e,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function e(t){const r=t.regex,a=/^[a-zA-Z][a-zA-Z0-9-]*/,o=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],u=t.COMMENT(/;/,/$/),d={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},f={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},g={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},_={scope:"symbol",match:/%[si](?=".*")/},S={scope:"attribute",match:r.concat(a,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:o,contains:[{scope:"operator",match:/=\/?/},S,u,d,f,g,_,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return abnf_1=e,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function e(t){const r=t.regex,a=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:r.concat(/"/,r.either(...a)),end:/"/,keywords:a,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=e,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function e(t){const r=t.regex,a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,o=r.concat(a,r.concat("(\\.",a,")*")),u=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,d={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[t.inherit(t.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,d]},{begin:r.concat(/:\s*/,u)}]},t.METHOD_GUARD],illegal:/#/}}return actionscript_1=e,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function e(t){const r="\\d(_|\\d)*",a="[eE][-+]?"+r,o=r+"(\\."+r+")?("+a+")?",u="\\w+",f="\\b("+(r+"#"+u+"(\\."+u+")?#("+a+")?")+"|"+o+")",g="[A-Za-z](_?[A-Za-z0-9.])*",_=`[]\\{\\}%#'"`,S=t.COMMENT("--","$"),E={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:_,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:g,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[S,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:f,relevance:0},{className:"symbol",begin:"'"+g},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:_},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[S,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:_},E,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:_}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:_},E]}}return ada_1=e,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function e(t){const r={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},o={className:"keyword",begin:"<",end:">",contains:[r,a]};return r.contains=[o],a.contains=[o],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},r,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=e,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function e(t){const r={className:"number",begin:/[$%]\d+/},a={className:"number",begin:/\b\d+/},o={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},u={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[o,u,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",r]},o,a,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=e,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function e(t){const r=t.regex,a=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"params",begin:/\(/,end:/\)/,contains:["self",t.C_NUMBER_MODE,a]},u=t.COMMENT(/--/,/$/),d=t.COMMENT(/\(\*/,/\*\)/,{contains:["self",u]}),f=[u,d,t.HASH_COMMENT_MODE],g=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],_=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[a,t.C_NUMBER_MODE,{className:"built_in",begin:r.concat(/\b/,r.either(..._),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:r.concat(/\b/,r.either(...g),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[t.UNDERSCORE_TITLE_MODE,o]},...f],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=e,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function e(t){const r="[A-Za-z_][0-9A-Za-z_]*",a={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},o={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},u={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},f={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]};d.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,f,u,t.REGEXP_MODE];const g=d.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:a,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,f,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,u,{begin:/[{,]\s*/,relevance:0,contains:[{begin:r+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:r,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+r+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:r},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:g}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{className:"title.function",begin:r}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:g}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=e,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function e(r){const a=r.regex,o=r.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),u="decltype\\(auto\\)",d="[a-zA-Z_]\\w*::",g="(?!struct)("+u+"|"+a.optional(d)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",_={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},E={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},r.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},v={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},b={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},r.inherit(E,{className:"string"}),{className:"string",begin:/<.*?>/},o,r.C_BLOCK_COMMENT_MODE]},y={className:"title",begin:a.optional(d)+r.IDENT_RE,relevance:0},T=a.optional(d)+r.IDENT_RE+"\\s*\\(",C=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],R=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],A=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],O=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],I={type:R,keyword:C,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:A},k={className:"function.dispatch",relevance:0,keywords:{_hint:O},begin:a.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,r.IDENT_RE,a.lookahead(/(<[^<>]+>|)\s*\(/))},D=[k,b,_,o,r.C_BLOCK_COMMENT_MODE,v,E],P={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:I,contains:D.concat([{begin:/\(/,end:/\)/,keywords:I,contains:D.concat(["self"]),relevance:0}]),relevance:0},L={className:"function",begin:"("+g+"[\\*&\\s]+)+"+T,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:I,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:u,keywords:I,relevance:0},{begin:T,returnBegin:!0,contains:[y],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[E,v]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:[o,r.C_BLOCK_COMMENT_MODE,E,v,_,{begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:["self",o,r.C_BLOCK_COMMENT_MODE,E,v,_]}]},_,o,r.C_BLOCK_COMMENT_MODE,b]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:I,illegal:"",keywords:I,contains:["self",_]},{begin:r.IDENT_RE+"::",keywords:I},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function t(r){const a={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},o=e(r),u=o.keywords;return u.type=[...u.type,...a.type],u.literal=[...u.literal,...a.literal],u.built_in=[...u.built_in,...a.built_in],u._hints=a._hints,o.name="Arduino",o.aliases=["ino"],o.supersetOf="cpp",o}return arduino_1=t,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function e(t){const r={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},r,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=e,armasm_1}var xml_1,hasRequiredXml;function requireXml(){if(hasRequiredXml)return xml_1;hasRequiredXml=1;function e(t){const r=t.regex,a=r.concat(/[\p{L}_]/u,r.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},f=t.inherit(d,{begin:/\(/,end:/\)/}),g=t.inherit(t.APOS_STRING_MODE,{className:"string"}),_=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),S={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,_,g,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,f,_,g]}]}]},t.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[_]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[S],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[S],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:S}]},{className:"tag",begin:r.concat(/<\//,r.lookahead(r.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=e,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function e(t){const r=t.regex,a={begin:"^'{3,}[ \\t]*$",relevance:10},o=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],u=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:r.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],d=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:r.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],f={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},g={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[t.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),t.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},g,f,...o,...u,...d,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=e,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function e(t){const r=t.regex,a=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],o=["get","set","args","call"];return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[t.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},t.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a.concat(o),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:r.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[t.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:r.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a.concat(o),relevance:0},t.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:r.concat(t.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=e,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function e(t){const r={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[r,t.inherit(t.QUOTE_STRING_MODE,{contains:[r]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=e,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function e(t){const r="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",a=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],o="True False And Null Not Or Default",u="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",d={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},f={begin:"\\$[A-z0-9_]+"},g={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},_={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},S={className:"meta",begin:"#",end:"$",keywords:{keyword:a},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[g,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},g,d]},E={className:"symbol",begin:"@[A-z0-9_]+"},v={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[f,g,_]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:r,built_in:u,literal:o},contains:[d,f,g,_,S,E,v]}}return autoit_1=e,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function e(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=e,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function e(t){const r={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",o={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:a},contains:[r,o,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}return awk_1=e,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function e(t){const r=t.UNDERSCORE_IDENT_RE,d={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},f={variants:[{match:[/(class|interface)\s+/,r,/\s+(extends|implements)\s+/,r]},{match:[/class\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d};return{name:"X++",aliases:["x++"],keywords:d,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},f]}}return axapta_1=e,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function e(t){const r=t.regex,a={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:r.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const u={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},d={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},f={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,a,u]};u.contains.push(f);const g={className:"",begin:/\\"/},_={className:"string",begin:/'/,end:/'/},S={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,a]},E=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],v=t.SHEBANG({binary:`(${E.join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},y=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],T=["true","false"],C={match:/(\/[a-z._-]+)+/},R=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],A=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],O=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],x=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:y,literal:T,built_in:[...R,...A,"set","shopt",...O,...x]},contains:[v,t.SHEBANG(),b,S,t.HASH_COMMENT_MODE,d,C,f,g,_,a]}}return bash_1=e,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function e(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=e,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function e(t){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}return bnf_1=e,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function e(t){const r={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[r]},r]}}return brainfuck_1=e,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function e(t){const r=t.regex,a=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",f="("+o+"|"+r.optional(u)+"[a-zA-Z_]\\w*"+r.optional("<[^<>]+>")+")",g={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},S={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},E={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(S,{className:"string"}),{className:"string",begin:/<.*?>/},a,t.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:r.optional(u)+t.IDENT_RE,relevance:0},y=r.optional(u)+t.IDENT_RE+"\\s*\\(",R={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},A=[v,g,a,t.C_BLOCK_COMMENT_MODE,E,S],O={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:A.concat([{begin:/\(/,end:/\)/,keywords:R,contains:A.concat(["self"]),relevance:0}]),relevance:0},x={begin:"("+f+"[\\*&\\s]+)+"+y,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:y,returnBegin:!0,contains:[t.inherit(b,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[a,t.C_BLOCK_COMMENT_MODE,S,E,g,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",a,t.C_BLOCK_COMMENT_MODE,S,E,g]}]},g,a,t.C_BLOCK_COMMENT_MODE,v]};return{name:"C",aliases:["h"],keywords:R,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:v,strings:S,keywords:R}}}return c_1=e,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function e(t){const r=t.regex,a=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],o="false true",u=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],d={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},f={className:"string",begin:/(#\d+)+/},g={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},_={className:"string",begin:'"',end:'"'},S={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:[d,f,t.NUMBER_MODE]},...u]},E=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],v={match:[/OBJECT/,/\s+/,r.either(...E),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:a,literal:o},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},d,f,g,_,t.NUMBER_MODE,v,S]}}return cal_1=e,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function e(t){const r=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],a=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],o=["true","false"],u={variants:[{match:[/(struct|enum|interface)/,/\s+/,t.IDENT_RE]},{match:[/extends/,/\s*\(/,t.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:r,type:a,literal:o},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},u]}}return capnproto_1=e,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function e(t){const r=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],a=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],o=["doc","by","license","see","throws","tagged"],u={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:r,relevance:10},d=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[u]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return u.contains=d,{name:"Ceylon",keywords:{keyword:r.concat(a),meta:o},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(d)}}return ceylon_1=e,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function e(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=e,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function e(t){const r="a-zA-Z_\\-!.?+*=<>&'",a="[#]?["+r+"]["+r+"0-9/;:$#]*",o="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",u={$pattern:a,built_in:o+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},d={begin:a,relevance:0},f={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},g={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},_={scope:"regex",begin:/#"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]},S=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),E={scope:"punctuation",match:/,/,relevance:0},v=t.COMMENT(";","$",{relevance:0}),b={className:"literal",begin:/\b(true|false|nil)\b/},y={begin:"\\[|(#::?"+a+")?\\{",end:"[\\]\\}]",relevance:0},T={className:"symbol",begin:"[:]{1,2}"+a},C={begin:"\\(",end:"\\)"},R={endsWithParent:!0,relevance:0},A={keywords:u,className:"name",begin:a,relevance:0,starts:R},O=[E,C,g,_,S,v,T,y,f,b,d],x={beginKeywords:o,keywords:{$pattern:a,keyword:o},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:a,relevance:0,excludeEnd:!0,endsParent:!0}].concat(O)};return C.contains=[x,A,R],R.contains=O,y.contains=O,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[E,C,g,_,S,v,T,y,f,b]}}return clojure_1=e,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function e(t){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=e,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function e(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.COMMENT(/#\[\[/,/]]/),t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return cmake_1=e,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],u=[].concat(o,r,a);function d(f){const g=["npm","print"],_=["yes","no","on","off"],S=["then","unless","until","loop","by","when","and","or","is","isnt","not"],E=["var","const","let","function","static"],v=N=>I=>!N.includes(I),b={keyword:e.concat(S).filter(v(E)),literal:t.concat(_),built_in:u.concat(g)},y="[A-Za-z$_][0-9A-Za-z$_]*",T={className:"subst",begin:/#\{/,end:/\}/,keywords:b},C=[f.BINARY_NUMBER_MODE,f.inherit(f.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[f.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[f.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[f.BACKSLASH_ESCAPE,T]},{begin:/"/,end:/"/,contains:[f.BACKSLASH_ESCAPE,T]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[T,f.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+y},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];T.contains=C;const R=f.inherit(f.TITLE_MODE,{begin:y}),A="(\\(.*\\)\\s*)?\\B[-=]>",O={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(C)}]},x={variants:[{match:[/class\s+/,y,/\s+extends\s+/,y]},{match:[/class\s+/,y]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:b};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:b,illegal:/\/\*/,contains:[...C,f.COMMENT("###","###"),f.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+y+"\\s*=\\s*"+A,end:"[-=]>",returnBegin:!0,contains:[R,O]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:A,end:"[-=]>",returnBegin:!0,contains:[O]}]},x,{begin:y+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=d,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function e(t){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=e,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function e(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return cos_1=e,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function e(t){const r=t.regex,a=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",f="(?!struct)("+o+"|"+r.optional(u)+"[a-zA-Z_]\\w*"+r.optional("<[^<>]+>")+")",g={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},S={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},E={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(S,{className:"string"}),{className:"string",begin:/<.*?>/},a,t.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:r.optional(u)+t.IDENT_RE,relevance:0},y=r.optional(u)+t.IDENT_RE+"\\s*\\(",T=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],C=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],A=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],N={type:C,keyword:T,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},I={className:"function.dispatch",relevance:0,keywords:{_hint:A},begin:r.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,r.lookahead(/(<[^<>]+>|)\s*\(/))},k=[I,v,g,a,t.C_BLOCK_COMMENT_MODE,E,S],D={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:N,contains:k.concat([{begin:/\(/,end:/\)/,keywords:N,contains:k.concat(["self"]),relevance:0}]),relevance:0},P={className:"function",begin:"("+f+"[\\*&\\s]+)+"+y,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:N,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:N,relevance:0},{begin:y,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[S,E]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:[a,t.C_BLOCK_COMMENT_MODE,S,E,g,{begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:["self",a,t.C_BLOCK_COMMENT_MODE,S,E,g]}]},g,a,t.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:N,illegal:"",keywords:N,contains:["self",g]},{begin:t.IDENT_RE+"::",keywords:N},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=e,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function e(t){const r="primitive rsc_template",a="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:r,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+a.split(" ").join("|")+")\\s+",keywords:a,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return crmsh_1=e,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function e(t){const r="(_?[ui](8|16|32|64|128))?",a="(_?f(32|64))?",o="[a-zA-Z_]\\w*[!?=]?",u="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",d="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",f={$pattern:o,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},g={className:"subst",begin:/#\{/,end:/\}/,keywords:f},_={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},S={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:f};function E(A,O){const x=[{begin:A,end:O}];return x[0].contains=x,x}const v={className:"string",contains:[t.BACKSLASH_ESCAPE,g],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:E("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:E("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:E(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:E("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},b={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:E("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:E("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:E(/\{/,/\}/)},{begin:"%q<",end:">",contains:E("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},y={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,g],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},T={className:"regexp",contains:[t.BACKSLASH_ESCAPE,g],variants:[{begin:"%r\\(",end:"\\)",contains:E("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:E("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:E(/\{/,/\}/)},{begin:"%r<",end:">",contains:E("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},C={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"})]},R=[S,v,b,T,y,C,_,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:d}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:d})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:d})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:u,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:u,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[v,{begin:u}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+a+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+r}],relevance:0}];return g.contains=R,S.contains=R.slice(1),{name:"Crystal",aliases:["cr"],keywords:f,contains:R}}return crystal_1=e,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function e(t){const r=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],u=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],d=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],f={keyword:u.concat(d),built_in:r,literal:o},g=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),_={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},S={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},E=t.inherit(S,{illegal:/\n/}),v={className:"subst",begin:/\{/,end:/\}/,keywords:f},b=t.inherit(v,{illegal:/\n/}),y={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,b]},T={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]},C=t.inherit(T,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},b]});v.contains=[T,y,S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,_,t.C_BLOCK_COMMENT_MODE],b.contains=[C,y,E,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,_,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const R={variants:[T,y,S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},A={begin:"<",end:">",contains:[{beginKeywords:"in out"},g]},O=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",x={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:f,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},R,_,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},g,A,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[g,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[g,A,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+O+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:f,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,A],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,relevance:0,contains:[R,_,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},x]}}return csharp_1=e,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function e(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=e,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const e=f=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:f.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:[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:f.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","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],u=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function d(f){const g=f.regex,_=e(f),S={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},E="and or not only",v=/@-?\w[\w]*(-\w+)*/,b="[a-zA-Z-][a-zA-Z0-9_-]*",y=[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[_.BLOCK_COMMENT,S,_.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+b,relevance:0},_.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},_.CSS_VARIABLE,{className:"attribute",begin:"\\b("+u.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[_.BLOCK_COMMENT,_.HEXCOLOR,_.IMPORTANT,_.CSS_NUMBER_MODE,...y,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...y,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},_.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:v},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:E,attribute:r.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...y,_.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b"}]}}return css_1=d,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function e(t){const r={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},a="(0|[1-9][\\d_]*)",o="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",u="0[bB][01_]+",d="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",f="0[xX]"+d,g="([eE][+-]?"+o+")",_="("+o+"(\\.\\d*|"+g+")|\\d+\\."+o+"|\\."+a+g+"?)",S="(0[xX]("+d+"\\."+d+"|\\.?"+d+")[pP][+-]?"+o+")",E="("+a+"|"+u+"|"+f+")",v="("+S+"|"+_+")",b=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,y={className:"number",begin:"\\b"+E+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},T={className:"number",begin:"\\b("+v+"([fF]|L|i|[fF]i|Li)?|"+E+"(i|[fF]i|Li))",relevance:0},C={className:"string",begin:"'("+b+"|.)",end:"'",illegal:"."},A={className:"string",begin:'"',contains:[{begin:b,relevance:0}],end:'"[cwd]?'},O={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},x={className:"string",begin:"`",end:"`[cwd]?"},N={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},I={className:"string",begin:'q"\\{',end:'\\}"'},k={className:"meta",begin:"^#!",end:"$",relevance:5},D={className:"meta",begin:"#(line)",end:"$",relevance:5},P={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},L=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:r,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,L,N,A,O,x,I,T,y,C,k,D,P]}}return d_1=e,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function e(t){const r=t.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},u={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},d={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},f={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},g=/[A-Za-z][A-Za-z0-9+.-]*/,_={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:r.concat(/\[.+?\]\(/,g,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},S={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},E={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},v=t.inherit(S,{contains:[]}),b=t.inherit(E,{contains:[]});S.contains.push(b),E.contains.push(v);let y=[a,_];return[S,E,v,b].forEach(R=>{R.contains=R.contains.concat(y)}),y=y.concat(S,E),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:y},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:y}]}]},a,d,S,E,{className:"quote",begin:"^>\\s+",contains:y,end:"$"},u,o,_,f]}}return markdown_1=e,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function e(t){const r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},o={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,r,a]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,r,a]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r,a]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r,a]}]};a.contains=[t.C_NUMBER_MODE,o];const u=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],d=u.map(_=>`${_}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:u.concat(d).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[o,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=e,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function e(t){const r=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],a=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},u={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},d={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},f={className:"string",begin:/(#\d+)+/},g={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},_={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:[u,f,o].concat(a)},o].concat(a)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:r,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[u,f,t.NUMBER_MODE,d,g,_,o].concat(a)}}return delphi_1=e,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function e(t){const r=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:r.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:r.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=e,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function e(t){const r={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[r],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[r]}]}}return django_1=e,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function e(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=e,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function e(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},r,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},u={className:"variable",begin:/&[a-z\d_]*\b/},d={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},f={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},g={className:"params",relevance:0,begin:"<",end:">",contains:[a,u]},_={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},S={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},E={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},v={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},b={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[S,u,d,f,_,v,E,g,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,r,o,b,{begin:t.IDENT_RE+"::",keywords:""}]}}return dts_1=e,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function e(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return dust_1=e,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function e(t){const r=t.COMMENT(/\(\*/,/\*\)/),a={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},u={begin:/=/,end:/[.;]/,contains:[r,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[r,a,u]}}return ebnf_1=e,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function e(t){const r=t.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",o="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",f={$pattern:a,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},g={className:"subst",begin:/#\{/,end:/\}/,keywords:f},_={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},E={match:/\\[\s\S]/,scope:"char.escape",relevance:0},v=`[/|([{<"']`,b=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],y=I=>({scope:"char.escape",begin:r.concat(/\\/,I),relevance:0}),T={className:"string",begin:"~[a-z](?="+v+")",contains:b.map(I=>t.inherit(I,{contains:[y(I.end),E,g]}))},C={className:"string",begin:"~[A-Z](?="+v+")",contains:b.map(I=>t.inherit(I,{contains:[y(I.end)]}))},R={className:"regex",variants:[{begin:"~r(?="+v+")",contains:b.map(I=>t.inherit(I,{end:r.concat(I.end,/[uismxfU]{0,7}/),contains:[y(I.end),E,g]}))},{begin:"~R(?="+v+")",contains:b.map(I=>t.inherit(I,{end:r.concat(I.end,/[uismxfU]{0,7}/),contains:[y(I.end)]}))}]},A={className:"string",contains:[t.BACKSLASH_ESCAPE,g],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},O={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:a,endsParent:!0})]},x=t.inherit(O,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),N=[A,R,C,T,t.HASH_COMMENT_MODE,x,O,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[A,{begin:o}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return g.contains=N,{name:"Elixir",aliases:["ex","exs"],keywords:f,contains:N}}return elixir_1=e,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function e(t){const r={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},r]},u={begin:/\{/,end:/\}/,contains:o.contains},d={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[o,r],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[o,r],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[a,o,u,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,r]},{begin:"port",end:"$",keywords:"port",contains:[r]},d,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,a,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),r,{begin:"->|<-"}],illegal:/;/}}return elm_1=e,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function e(t){const r=t.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=r.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),u=r.concat(o,/(::\w+)*/),f={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},g={className:"doctag",begin:"@[A-Za-z]+"},_={begin:"#<",end:">"},S=[t.COMMENT("#","$",{contains:[g]}),t.COMMENT("^=begin","^=end",{contains:[g],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],E={className:"subst",begin:/#\{/,end:/\}/,keywords:f},v={className:"string",contains:[t.BACKSLASH_ESCAPE,E],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:r.concat(/<<[-~]?'?/,r.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,E]})]}]},b="[1-9](_?[0-9])*|0",y="[0-9](_?[0-9])*",T={className:"number",relevance:0,variants:[{begin:`\\b(${b})(\\.(${y}))?([eE][+-]?(${y})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},C={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:f}]},k=[v,{variants:[{match:[/class\s+/,u,/\s+<\s+/,u]},{match:[/\b(class|module)\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:f},{match:[/(include|extend)\s+/,u],scope:{2:"title.class"},keywords:f},{relevance:0,match:[u,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[C]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[v,{begin:a}],relevance:0},T,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:f},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,E],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(_,S),relevance:0}].concat(_,S);E.contains=k,C.contains=k;const F=[{begin:/^\s*=>/,starts:{end:"$",contains:k}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:f,contains:k}}];return S.unshift(_),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:f,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(F).concat(S).concat(k)}}return ruby_1=e,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function e(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=e,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function e(t){const r=t.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},t.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:r.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=e,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function e(t){const r="[a-z'][a-zA-Z0-9_']*",a="("+r+":"+r+"|"+r+")",o={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},u=t.COMMENT("%","$"),d={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},f={begin:"fun\\s+"+r+"/\\d+"},g={begin:a+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:a,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},_={begin:/\{/,end:/\}/,relevance:0},S={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},E={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},v={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},b={beginKeywords:"fun receive if try case",end:"end",keywords:o};b.contains=[u,f,t.inherit(t.APOS_STRING_MODE,{className:""}),b,g,t.QUOTE_STRING_MODE,d,_,S,E,v];const y=[u,f,b,g,t.QUOTE_STRING_MODE,d,_,S,E,v];g.contains[1].contains=y,_.contains=y,v.contains[1].contains=y;const T=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],C={className:"params",begin:"\\(",end:"\\)",contains:y};return{name:"Erlang",aliases:["erl"],keywords:o,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[C,t.inherit(t.TITLE_MODE,{begin:r})],starts:{end:";|\\.",keywords:o,contains:y}},u,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:T.map(R=>`${R}|1.5`).join(" ")},contains:[C]},d,t.QUOTE_STRING_MODE,v,S,E,_,{begin:/\.$/}]}}return erlang_1=e,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function e(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=e,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function e(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=e,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function e(t){const r={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},a={className:"string",variants:[{begin:'"',end:'"'}]},u={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,a,u,t.C_NUMBER_MODE]}}return flix_1=e,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function e(t){const r=t.regex,a={className:"params",begin:"\\(",end:"\\)"},o={variants:[t.COMMENT("!","$",{relevance:0}),t.COMMENT("^C[ ]","$",{relevance:0}),t.COMMENT("^C$","$",{relevance:0})]},u=/(_[a-z_\d]+)?/,d=/([de][+-]?\d+)?/,f={className:"number",variants:[{begin:r.concat(/\b\d+/,/\.(\d*)/,d,u)},{begin:r.concat(/\b\d+/,d,u)},{begin:r.concat(/\.\d+/,d,u)}],relevance:0},g={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,a]},_={className:"string",relevance:0,variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[_,g,{begin:/^C\s*=(?!=)/,relevance:0},o,f]}}return fortran_1=e,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function e(f){return new RegExp(f.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function t(f){return f?typeof f=="string"?f:f.source:null}function r(f){return a("(?=",f,")")}function a(...f){return f.map(_=>t(_)).join("")}function o(f){const g=f[f.length-1];return typeof g=="object"&&g.constructor===Object?(f.splice(f.length-1,1),g):{}}function u(...f){return"("+(o(f).capture?"":"?:")+f.map(S=>t(S)).join("|")+")"}function d(f){const g=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],_={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},S=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],E=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],v=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],b=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],T={keyword:g,literal:E,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":v},R={variants:[f.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),f.C_LINE_COMMENT_MODE]},A=/[a-zA-Z_](\w|')*/,O={scope:"variable",begin:/``/,end:/``/},x=/\B('|\^)/,N={scope:"symbol",variants:[{match:a(x,/``.*?``/)},{match:a(x,f.UNDERSCORE_IDENT_RE)}],relevance:0},I=function({includeEqual:ue}){let ie;ue?ie="!%&*+-/<=>@^|~?":ie="!%&*+-/<>@^|~?";const ee=Array.from(ie),de=a("[",...ee.map(e),"]"),me=u(de,/\./),oe=a(me,r(me)),Ee=u(a(oe,me,"*"),a(de,"+"));return{scope:"operator",match:u(Ee,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},k=I({includeEqual:!0}),D=I({includeEqual:!1}),P=function(ue,ie){return{begin:a(ue,r(a(/\s*/,u(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ie,end:r(u(/\n/,/=/)),relevance:0,keywords:f.inherit(T,{type:b}),contains:[R,N,f.inherit(O,{scope:null}),D]}},L=P(/:/,"operator"),F=P(/\bof\b/,"keyword"),B={begin:[/(^|\s+)/,/type/,/\s+/,A],beginScope:{2:"keyword",4:"title.class"},end:r(/\(|=|$/),keywords:T,contains:[R,f.inherit(O,{scope:null}),N,{scope:"operator",match:/<|>/},L]},V={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},U={begin:[/^\s*/,a(/#/,u(...S)),/\b/],beginScope:{2:"meta"},end:r(/\s|$/)},W={variants:[f.BINARY_NUMBER_MODE,f.C_NUMBER_MODE]},K={scope:"string",begin:/"/,end:/"/,contains:[f.BACKSLASH_ESCAPE]},G={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},f.BACKSLASH_ESCAPE]},Y={scope:"string",begin:/"""/,end:/"""/,relevance:2},Q={scope:"subst",begin:/\{/,end:/\}/,keywords:T},Z={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},f.BACKSLASH_ESCAPE,Q]},J={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},f.BACKSLASH_ESCAPE,Q]},te={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Q],relevance:2},fe={scope:"string",match:a(/'/,u(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Q.contains=[J,Z,G,K,fe,_,R,O,L,V,U,W,N,k],{name:"F#",aliases:["fs","f#"],keywords:T,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[_,{variants:[te,J,Z,Y,G,K,fe]},R,O,B,{scope:"meta",begin:/\[\]/,relevance:2,contains:[O,Y,G,K,fe,W]},F,L,V,U,W,N,k]}}return fsharp_1=d,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function e(t){const r=t.regex,a={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},u={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},d={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},f={begin:"/",end:"/",keywords:a,contains:[d,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},g=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,_={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[d,f,{className:"comment",begin:r.concat(g,r.anyNumberOfTimes(r.concat(/[ ]+/,g))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:a,contains:[t.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,f,_]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[_]},t.COMMENT("^\\*","$"),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},o,u]},t.C_NUMBER_MODE,u]}}return gams_1=e,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function e(t){const r={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},a=t.COMMENT("@","@"),o={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a]},u={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},d=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,a,u]}],f={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},g=function(b,y,T){const C=t.inherit({className:"function",beginKeywords:b,end:y,excludeEnd:!0,contains:[].concat(d)},T||{});return C.contains.push(f),C.contains.push(t.C_NUMBER_MODE),C.contains.push(t.C_BLOCK_COMMENT_MODE),C.contains.push(a),C},_={className:"built_in",begin:"\\b("+r.built_in.split(" ").join("|")+")\\b"},S={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},E={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:r,relevance:0,contains:[{beginKeywords:r.keyword},_,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},v={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:r.built_in,literal:r.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,a,_,E,S,"self"]};return E.contains.push(v),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:r,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,S,o,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},g("proc keyword",";"),g("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,a,v]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},E,u]}}return gauss_1=e,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function e(t){const r="[A-Z_][A-Z0-9_.]*",a="%",o={$pattern:r,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},u={className:"meta",begin:"([O])([0-9]+)"},d=t.inherit(t.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+t.C_NUMBER_RE}),f=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\(/,/\)/),d,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[d],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:o,contains:[{className:"meta",begin:a},u].concat(f)}}return gcode_1=e,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function e(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}return gherkin_1=e,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function e(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=e,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function e(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return gml_1=e,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function e(t){const d={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:d,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=e,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function e(t){const r=t.regex,a={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},o={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},u=/""|"[^"]+"/,d=/''|'[^']+'/,f=/\[\]|\[[^\]]+\]/,g=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,_=/(\.|\/)/,S=r.either(u,d,f,g),E=r.concat(r.optional(/\.|\.\/|\//),S,r.anyNumberOfTimes(r.concat(_,S))),v=r.concat("(",f,"|",g,")(?==)"),b={begin:E},y=t.inherit(b,{keywords:o}),T={begin:/\(/,end:/\)/},C={className:"attr",begin:v,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,y,T]}}},R={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},A={contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,R,C,y,T],returnEnd:!0},O=t.inherit(b,{className:"name",keywords:a,starts:t.inherit(A,{end:/\)/})});T.contains=[O];const x=t.inherit(b,{keywords:a,className:"name",starts:t.inherit(A,{end:/\}\}/})}),N=t.inherit(b,{keywords:a,className:"name"}),I=t.inherit(b,{className:"name",keywords:a,starts:t.inherit(A,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},t.COMMENT(/\{\{!--/,/--\}\}/),t.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[x],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[N]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[x]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[N]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[I]}]}}return handlebars_1=e,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function e(t){const r={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"meta",begin:/\{-#/,end:/#-\}/},o={className:"meta",begin:"^#",end:"$"},u={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},d={begin:"\\(",end:"\\)",illegal:'"',contains:[a,o,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),r]},f={begin:/\{/,end:/\}/,contains:d.contains},g="([0-9]_*)+",_="([0-9a-fA-F]_*)+",v={className:"number",relevance:0,variants:[{match:`\\b(${g})(\\.(${g}))?([eE][+-]?(${g}))?\\b`},{match:`\\b0[xX]_*(${_})(\\.(${_}))?([pP][+-]?(${g}))?\\b`},{match:"\\b0[oO](([0-7]_*)+)\\b"},{match:"\\b0[bB](([01]_*)+)\\b"}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[d,r],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[d,r],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[u,d,r]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[a,u,d,f,r]},{beginKeywords:"default",end:"$",contains:[u,d,r]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,r]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[u,t.QUOTE_STRING_MODE,r]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},a,o,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},t.QUOTE_STRING_MODE,v,u,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),r,{begin:"->|<-"}]}}return haskell_1=e,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function e(t){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:":[ ]*",end:"[^A-Za-z0-9_ \\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ ]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[t.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[t.TITLE_MODE]}],illegal:/<\//}}return haxe_1=e,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function e(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}return hsp_1=e,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function e(t){const r=t.regex,a="HTTP/([32]|1\\.[01])",o=/[A-Za-z][A-Za-z0-9-]*/,u={className:"attribute",begin:r.concat("^",o,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},d=[u,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:d}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:d}},t.inherit(u,{relevance:0})]}}return http_1=e,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function e(t){const r="a-zA-Z_\\-!.?+*=<>&#'",a="["+r+"]["+r+"0-9/;:]*",o={$pattern:a,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},u="[-+]?\\d+(\\.\\d+)?",d={begin:a,relevance:0},f={className:"number",begin:u,relevance:0},g=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),_=t.COMMENT(";","$",{relevance:0}),S={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},E={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},v={className:"comment",begin:"\\^"+a},b=t.COMMENT("\\^\\{","\\}"),y={className:"symbol",begin:"[:]{1,2}"+a},T={begin:"\\(",end:"\\)"},C={endsWithParent:!0,relevance:0},R={className:"name",relevance:0,keywords:o,begin:a,starts:C},A=[T,g,v,b,_,y,E,f,S,d];return T.contains=[t.COMMENT("comment",""),R,C],C.contains=A,E.contains=A,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),T,g,v,b,_,y,E,f,S]}}return hy_1=e,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function e(t){const r="\\[",a="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:r,end:a}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:r,end:a,contains:["self"]}]}}return inform7_1=e,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function e(t){const r=t.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},o=t.COMMENT();o.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const u={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},d={className:"literal",begin:/\bon|off|true|false|yes|no\b/},f={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},g={begin:/\[/,end:/\]/,contains:[o,d,u,f,a,"self"],relevance:0},_=/[A-Za-z0-9_-]+/,S=/"(\\"|[^"])*"/,E=/'[^']*'/,v=r.either(_,S,E),b=r.concat(v,"(\\s*\\.\\s*",v,")*",r.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[o,{className:"section",begin:/\[+/,end:/\]+/},{begin:b,className:"attr",starts:{end:/$/,contains:[o,g,d,u,f,a]}}]}}return ini_1=e,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function e(t){const r=t.regex,a={className:"params",begin:"\\(",end:"\\)"},o=/(_[a-z_\d]+)?/,u=/([de][+-]?\d+)?/,d={className:"number",variants:[{begin:r.concat(/\b\d+/,/\.(\d*)/,u,o)},{begin:r.concat(/\b\d+/,u,o)},{begin:r.concat(/\.\d+/,u,o)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[t.UNDERSCORE_TITLE_MODE,a]},t.COMMENT("!","$",{relevance:0}),t.COMMENT("begin_doc","end_doc",{relevance:10}),d]}}return irpf90_1=e,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function e(t){const r="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",a="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",o="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",ue="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",xt="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",Ot="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",It="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Dt="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",kt=ue+xt,wt=It,Pt="null true false nil ",Et={className:"number",begin:t.NUMBER_RE,relevance:0},vt={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},bt={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Mt={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,bt]},Lt={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,bt]},yt={variants:[Mt,Lt]},dt={$pattern:r,keyword:o,built_in:kt,class:wt,literal:Pt},ht={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:dt,relevance:0},Tt={className:"type",begin:":[ \\t]*("+Dt.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Ct={className:"variable",keywords:dt,begin:r,relevance:0,contains:[Tt,ht]},Rt=a+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:dt,illegal:"\\$|\\?|%|,|;$|~|#|@|o(d,f,g-1))}function u(d){const f=d.regex,g="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",_=g+o("(?:<"+g+"~~~(?:\\s*,\\s*"+g+"~~~)*>)?",/~~~/g,2),y={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},T={className:"meta",begin:"@"+g,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},C={className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[d.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:y,illegal:/<\/|#/,contains:[d.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},d.C_LINE_COMMENT_MODE,d.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[d.BACKSLASH_ESCAPE]},d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,g],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[f.concat(/(?!else)/,g),/\s+/,g,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,g],className:{1:"keyword",3:"title.class"},contains:[C,d.C_LINE_COMMENT_MODE,d.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+_+"\\s+)",d.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:y,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[T,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,a,d.C_BLOCK_COMMENT_MODE]},d.C_LINE_COMMENT_MODE,d.C_BLOCK_COMMENT_MODE]},a,T]}}return java_1=u,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],u=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],d=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],f=[].concat(u,a,o);function g(_){const S=_.regex,E=(ee,{after:de})=>{const me="",end:""},y=/<[A-Za-z0-9\\._:-]+\s*\/>/,T={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ee,de)=>{const me=ee[0].length+ee.index,oe=ee.input[me];if(oe==="<"||oe===","){de.ignoreMatch();return}oe===">"&&(E(ee,{after:me})||de.ignoreMatch());let Ee;const pe=ee.input.substring(me);if(Ee=pe.match(/^\s*=/)){de.ignoreMatch();return}if((Ee=pe.match(/^\s+extends\s+/))&&Ee.index===0){de.ignoreMatch();return}}},C={$pattern:e,keyword:t,literal:r,built_in:f,"variable.language":d},R="[0-9](_?[0-9])*",A=`\\.(${R})`,O="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",x={className:"number",variants:[{begin:`(\\b(${O})((${A})|\\.)?|(${A}))[eE][+-]?(${R})\\b`},{begin:`\\b(${O})\\b((${A})\\b|\\.)?|(${A})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:C,contains:[]},I={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},k={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,N],subLanguage:"css"}},D={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,N],subLanguage:"graphql"}},P={className:"string",begin:"`",end:"`",contains:[_.BACKSLASH_ESCAPE,N]},F={className:"comment",variants:[_.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:v+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),_.C_BLOCK_COMMENT_MODE,_.C_LINE_COMMENT_MODE]},B=[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,I,k,D,P,{match:/\$\d+/},x];N.contains=B.concat({begin:/\{/,end:/\}/,keywords:C,contains:["self"].concat(B)});const V=[].concat(F,N.contains),U=V.concat([{begin:/\(/,end:/\)/,keywords:C,contains:["self"].concat(V)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:C,contains:U},K={variants:[{match:[/class/,/\s+/,v,/\s+/,/extends/,/\s+/,S.concat(v,"(",S.concat(/\./,v),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,v],scope:{1:"keyword",3:"title.class"}}]},G={relevance:0,match:S.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...o]}},Y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Q={variants:[{match:[/function/,/\s+/,v,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function J(ee){return S.concat("(?!",ee.join("|"),")")}const te={match:S.concat(/\b/,J([...u,"super","import"]),v,S.lookahead(/\(/)),className:"title.function",relevance:0},fe={begin:S.concat(/\./,S.lookahead(S.concat(v,/(?![0-9A-Za-z$_(])/))),end:v,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ve={match:[/get|set/,/\s+/,v,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},ue="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+_.UNDERSCORE_IDENT_RE+")\\s*=>",ie={match:[/const|var|let/,/\s+/,v,/\s*/,/=\s*/,/(async\s*)?/,S.lookahead(ue)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:C,exports:{PARAMS_CONTAINS:U,CLASS_REFERENCE:G},illegal:/#(?![$_A-z])/,contains:[_.SHEBANG({label:"shebang",binary:"node",relevance:5}),Y,_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,I,k,D,P,F,{match:/\$\d+/},x,G,{className:"attr",begin:v+S.lookahead(":"),relevance:0},ie,{begin:"("+_.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,_.REGEXP_MODE,{className:"function",begin:ue,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:_.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:C,contains:U}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:y},{begin:T.begin,"on:begin":T.isTrulyOpeningTag,end:T.end}],subLanguage:"xml",contains:[{begin:T.begin,end:T.end,skip:!0,contains:["self"]}]}]},Q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+_.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,_.inherit(_.TITLE_MODE,{begin:v,className:"title.function"})]},{match:/\.\.\./,relevance:0},fe,{match:"\\$"+v,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},te,Z,K,ve,{match:/\$[(.]/}]}}return javascript_1=g,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function e(t){const a={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},o={className:"function",begin:/:[\w\-.]+/,relevance:0},u={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},d={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,d,o,u,a]}}return jbossCli_1=e,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function e(t){const r={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],u={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[r,a,t.QUOTE_STRING_MODE,u,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=e,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function e(t){const r="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",d={$pattern:r,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},f={keywords:d,illegal:/<\//},g={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},_={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},S={className:"subst",begin:/\$\(/,end:/\)/,keywords:d},E={className:"variable",begin:"\\$"+r},v={className:"string",contains:[t.BACKSLASH_ESCAPE,S,E],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},b={className:"string",contains:[t.BACKSLASH_ESCAPE,S,E],begin:"`",end:"`"},y={className:"meta",begin:"@"+r},T={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return f.name="Julia",f.contains=[g,_,v,b,y,T,t.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],S.contains=f.contains,f}return julia_1=e,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function e(t){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=e,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,r="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${r})\\.?|(${r})?\\.(${r}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${r})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(u){const d={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},f={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},g={className:"symbol",begin:u.UNDERSCORE_IDENT_RE+"@"},_={className:"subst",begin:/\$\{/,end:/\}/,contains:[u.C_NUMBER_MODE]},S={className:"variable",begin:"\\$"+u.UNDERSCORE_IDENT_RE},E={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[S,_]},{begin:"'",end:"'",illegal:/\n/,contains:[u.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[u.BACKSLASH_ESCAPE,S,_]}]};_.contains.push(E);const v={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+u.UNDERSCORE_IDENT_RE+")?"},b={className:"meta",begin:"@"+u.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[u.inherit(E,{className:"string"}),"self"]}]},y=a,T=u.COMMENT("/\\*","\\*/",{contains:[u.C_BLOCK_COMMENT_MODE]}),C={variants:[{className:"type",begin:u.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},R=C;return R.variants[1].contains=[C],C.variants[1].contains=[R],{name:"Kotlin",aliases:["kt","kts"],keywords:d,contains:[u.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),u.C_LINE_COMMENT_MODE,T,f,g,v,b,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:d,relevance:5,contains:[{begin:u.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[u.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:d,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[C,u.C_LINE_COMMENT_MODE,T],relevance:0},u.C_LINE_COMMENT_MODE,T,v,b,E,u.C_NUMBER_MODE]},T]},{begin:[/class|interface|trait/,/\s+/,u.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},u.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},v,b]},E,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` `},y]}}return kotlin_1=o,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function e(t){const r="[a-zA-Z_][\\w.]*",a="<\\?(lasso(script)?|=)",o="\\]|\\?>",u={$pattern:r+"|&[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"},d=t.COMMENT("",{relevance:0}),f={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[d]}},g={className:"meta",begin:"\\[/noprocess|"+a},_={className:"symbol",begin:"'"+r+"'"},S=[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:"[#$]"+r},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:r,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+r,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[_]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:r+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:u,contains:[{className:"meta",begin:o,relevance:0,starts:{end:"\\[|"+a,returnEnd:!0,relevance:0,contains:[d]}},f,g,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:u,contains:[{className:"meta",begin:o,relevance:0,starts:{end:"\\[noprocess\\]|"+a,returnEnd:!0,contains:[d]}},f,g].concat(S)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(S)}}return lasso_1=e,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function e(t){const a=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?dot|hat|tilde|bar)"].map(F=>F+"(?![a-zA-Z@:_])")),o=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(F=>F+"(?![a-zA-Z:_])").join("|")),u=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],d=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],f={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a},{endsParent:!0,begin:o},{endsParent:!0,variants:d},{endsParent:!0,relevance:0,variants:u}]},g={className:"params",relevance:0,begin:/#+\d?/},_={variants:d},S={className:"built_in",relevance:0,begin:/[$&^_]/},E={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},v=t.COMMENT("%","$",{relevance:0}),b=[f,g,_,S,E,v],y={begin:/\{/,end:/\}/,relevance:0,contains:["self",...b]},T=t.inherit(y,{relevance:0,endsParent:!0,contains:[y,...b]}),C={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[y,...b]},R={begin:/\s+/,relevance:0},A=[T],O=[C],x=function(F,B){return{contains:[R],starts:{relevance:0,contains:F,starts:B}}},N=function(F,B){return{begin:"\\\\"+F+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+F},relevance:0,contains:[R],starts:B}},I=function(F,B){return t.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+F+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},x(A,B))},k=(F="string")=>t.END_SAME_AS_BEGIN({className:F,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),D=function(F){return{className:"string",end:"(?=\\\\end\\{"+F+"\\})"}},P=(F="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:F,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),L=[...["verb","lstinline"].map(F=>N(F,{contains:[k()]})),N("mint",x(A,{contains:[k()]})),N("mintinline",x(A,{contains:[P(),k()]})),N("url",{contains:[P("link"),P("link")]}),N("hyperref",{contains:[P("link")]}),N("href",x(O,{contains:[P("link")]})),...[].concat(...["","\\*"].map(F=>[I("verbatim"+F,D("verbatim"+F)),I("filecontents"+F,x(A,D("filecontents"+F))),...["","B","L"].map(B=>I(B+"Verbatim"+F,x(O,D(B+"Verbatim"+F))))])),I("minted",x(O,x(A,D("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...L,...b]}}return latex_1=e,latex_1}var ldif_1,hasRequiredLdif;function requireLdif(){if(hasRequiredLdif)return ldif_1;hasRequiredLdif=1;function e(t){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},t.HASH_COMMENT_MODE]}}return ldif_1=e,ldif_1}var leaf_1,hasRequiredLeaf;function requireLeaf(){if(hasRequiredLeaf)return leaf_1;hasRequiredLeaf=1;function e(t){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}return leaf_1=e,leaf_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1;const e=g=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:g.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:[g.APOS_STRING_MODE,g.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:g.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","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],u=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),d=a.concat(o);function f(g){const _=e(g),S=d,E="and or not only",v="[\\w-]+",b="("+v+"|@\\{"+v+"\\})",y=[],T=[],C=function(F){return{className:"string",begin:"~?"+F+".*?"+F}},R=function(F,B,V){return{className:F,begin:B,relevance:V}},A={$pattern:/[a-z-]+/,keyword:E,attribute:r.join(" ")},O={begin:"\\(",end:"\\)",contains:T,keywords:A,relevance:0};T.push(g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE,C("'"),C('"'),_.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},_.HEXCOLOR,O,R("variable","@@?"+v,10),R("variable","@\\{"+v+"\\}"),R("built_in","~?`[^`]*?`"),{className:"attribute",begin:v+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},_.IMPORTANT,{beginKeywords:"and not"},_.FUNCTION_DISPATCH);const x=T.concat({begin:/\{/,end:/\}/,contains:y}),N={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(T)},I={begin:b+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},_.CSS_VARIABLE,{className:"attribute",begin:"\\b("+u.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:T}}]},k={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:A,returnEnd:!0,contains:T,relevance:0}},D={className:"variable",variants:[{begin:"@"+v+"\\s*:",relevance:15},{begin:"@"+v}],starts:{end:"[;}]",returnEnd:!0,contains:x}},P={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:b,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE,N,R("keyword","all\\b"),R("variable","@\\{"+v+"\\}"),{begin:"\\b("+t.join("|")+")\\b",className:"selector-tag"},_.CSS_NUMBER_MODE,R("selector-tag",b,0),R("selector-id","#"+b),R("selector-class","\\."+b,0),R("selector-tag","&",0),_.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:x},{begin:"!important"},_.FUNCTION_DISPATCH]},L={begin:v+`:(:)?(${S.join("|")})`,returnBegin:!0,contains:[P]};return y.push(g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE,k,D,L,I,P,N,_.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:y}}return less_1=f,less_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1;function e(t){const r="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",a="\\|[^]*?\\|",o="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",u={className:"literal",begin:"\\b(t{1}|nil)\\b"},d={className:"number",variants:[{begin:o,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+o+" +"+o,end:"\\)"}]},f=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),g=t.COMMENT(";","$",{relevance:0}),_={begin:"\\*",end:"\\*"},S={className:"symbol",begin:"[:&]"+r},E={begin:r,relevance:0},v={begin:a},y={contains:[d,f,_,S,{begin:"\\(",end:"\\)",contains:["self",u,f,d,E]},E],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+a}]},T={variants:[{begin:"'"+r},{begin:"#'"+r+"(::"+r+")*"}]},C={begin:"\\(\\s*",end:"\\)"},R={endsWithParent:!0,relevance:0};return C.contains=[{className:"name",variants:[{begin:r,relevance:0},{begin:a}]},R],R.contains=[y,T,C,u,d,f,g,_,S,v,E],{name:"Lisp",illegal:/\S/,contains:[d,t.SHEBANG(),u,f,g,y,T,C,E]}}return lisp_1=e,lisp_1}var livecodeserver_1,hasRequiredLivecodeserver;function requireLivecodeserver(){if(hasRequiredLivecodeserver)return livecodeserver_1;hasRequiredLivecodeserver=1;function e(t){const r={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},a=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],o=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),u=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[r,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[r,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,o]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[u,o],relevance:0},{beginKeywords:"command on",end:"$",contains:[r,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,o]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,o].concat(a),illegal:";$|^\\[|^=|&|\\{"}}return livecodeserver_1=e,livecodeserver_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],u=[].concat(o,r,a);function d(f){const g=["npm","print"],_=["yes","no","on","off","it","that","void"],S=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],E={keyword:e.concat(S),literal:t.concat(_),built_in:u.concat(g)},v="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",b=f.inherit(f.TITLE_MODE,{begin:v}),y={className:"subst",begin:/#\{/,end:/\}/,keywords:E},T={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:E},C=[f.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[f.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[f.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[f.BACKSLASH_ESCAPE,y,T]},{begin:/"/,end:/"/,contains:[f.BACKSLASH_ESCAPE,y,T]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[y,f.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+v},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];y.contains=C;const R={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(C)}]},A={begin:"(#=>|=>|\\|>>|-?->|!->)"},O={variants:[{match:[/class\s+/,v,/\s+extends\s+/,v]},{match:[/class\s+/,v]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:E};return{name:"LiveScript",aliases:["ls"],keywords:E,illegal:/\/\*/,contains:C.concat([f.COMMENT("\\/\\*","\\*\\/"),f.HASH_COMMENT_MODE,A,{className:"function",contains:[b,R],returnBegin:!0,variants:[{begin:"("+v+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+v+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+v+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},O,{begin:v+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=d,livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1;function e(t){const r=t.regex,a=/([-a-zA-Z$._][\w$.-]*)/,o={className:"type",begin:/\bi\d+(?=\s|\b)/},u={className:"operator",relevance:0,begin:/=/},d={className:"punctuation",relevance:0,begin:/,/},f={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},g={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},_={className:"variable",variants:[{begin:r.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},S={className:"title",variants:[{begin:r.concat(/@/,a)},{begin:/@\d+/},{begin:r.concat(/!/,a)},{begin:r.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[o,t.COMMENT(/;\s*$/,null,{relevance:0}),t.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},S,d,u,_,g,f]}}return llvm_1=e,llvm_1}var lsl_1,hasRequiredLsl;function requireLsl(){if(hasRequiredLsl)return lsl_1;hasRequiredLsl=1;function e(t){const a={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},o={className:"number",relevance:0,begin:t.C_NUMBER_RE},u={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},d={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[a,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},o,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},d,u,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return lsl_1=e,lsl_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1;function e(t){const r="\\[=*\\[",a="\\]=*\\]",o={begin:r,end:a,contains:["self"]},u=[t.COMMENT("--(?!"+r+")","$"),t.COMMENT("--"+r,a,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:u.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:u}].concat(u)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:r,end:a,contains:[o],relevance:5}])}}return lua_1=e,lua_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1;function e(t){const r={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%{T.has(k[0])||D.ignoreMatch()}},{className:"symbol",relevance:0,begin:y}]},R={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},A={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},O={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},x={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},N={className:"brace",relevance:0,begin:/[[\](){}]/},I={className:"message-name",relevance:0,begin:a.concat("::",y)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[r.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),O,x,I,C,R,r.QUOTE_STRING_MODE,b,A,N]}}return mathematica_1=t,mathematica_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1;function e(t){const r="('|\\.')+",a={relevance:0,contains:[{begin:r}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+r,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:a},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}return matlab_1=e,matlab_1}var maxima_1,hasRequiredMaxima;function requireMaxima(){if(hasRequiredMaxima)return maxima_1;hasRequiredMaxima=1;function e(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return maxima_1=e,maxima_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1;function e(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},a,t.C_BLOCK_COMMENT_MODE,o,t.NUMBER_MODE,u,d,{begin:/:-/},{begin:/\.$/}]}}return mercury_1=e,mercury_1}var mipsasm_1,hasRequiredMipsasm;function requireMipsasm(){if(hasRequiredMipsasm)return mipsasm_1;hasRequiredMipsasm=1;function e(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return mipsasm_1=e,mipsasm_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1;function e(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}return mizar_1=e,mizar_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1;function e(t){const r=t.regex,a=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,u={$pattern:/[\w.]+/,keyword:a.join(" ")},d={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:u},f={begin:/->\{/,end:/\}/},g={variants:[{begin:/\$\d/},{begin:r.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},_=[t.BACKSLASH_ESCAPE,d,g],S=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],E=(y,T,C="\\1")=>{const R=C==="\\1"?C:r.concat(C,T);return r.concat(r.concat("(?:",y,")"),T,/(?:\\.|[^\\\/])*?/,R,/(?:\\.|[^\\\/])*?/,C,o)},v=(y,T,C)=>r.concat(r.concat("(?:",y,")"),T,/(?:\\.|[^\\\/])*?/,C,o),b=[g,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),f,{className:"string",contains:_,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:E("s|tr|y",r.either(...S,{capture:!0}))},{begin:E("s|tr|y","\\(","\\)")},{begin:E("s|tr|y","\\[","\\]")},{begin:E("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:v("(?:m|qr)?",/\//,/\//)},{begin:v("m|qr",r.either(...S,{capture:!0}),/\1/)},{begin:v("m|qr",/\(/,/\)/)},{begin:v("m|qr",/\[/,/\]/)},{begin:v("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return d.contains=b,f.contains=b,{name:"Perl",aliases:["pl","pm"],keywords:u,contains:b}}return perl_1=e,perl_1}var mojolicious_1,hasRequiredMojolicious;function requireMojolicious(){if(hasRequiredMojolicious)return mojolicious_1;hasRequiredMojolicious=1;function e(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return mojolicious_1=e,mojolicious_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1;function e(t){const r={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]},a={variants:[{match:[/(function|method)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},o={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),a,o,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,r]}}return monkey_1=e,monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1;function e(t){const r={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},a="[A-Za-z$_][0-9A-Za-z$_]*",o={className:"subst",begin:/#\{/,end:/\}/,keywords:r},u=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,o]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];o.contains=u;const d=t.inherit(t.TITLE_MODE,{begin:a}),f="(\\(.*\\)\\s*)?\\B[-=]>",g={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:r,contains:["self"].concat(u)}]};return{name:"MoonScript",aliases:["moon"],keywords:r,illegal:/\/\*/,contains:u.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+f,end:"[-=]>",returnBegin:!0,contains:[d,g]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:f,end:"[-=]>",returnBegin:!0,contains:[g]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[d]},d]},{className:"name",begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return moonscript_1=e,moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1;function e(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}return n1ql_1=e,n1ql_1}var nestedtext_1,hasRequiredNestedtext;function requireNestedtext(){if(hasRequiredNestedtext)return nestedtext_1;hasRequiredNestedtext=1;function e(t){const r={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},a={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},o={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},u={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[t.inherit(t.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),u,o,r,a]}}return nestedtext_1=e,nestedtext_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1;function e(t){const r=t.regex,a={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:r.concat(/[$@]/,t.UNDERSCORE_IDENT_RE)}]},u={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[a]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,a],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},a]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:u.contains,keywords:{section:"upstream location"}},{className:"section",begin:r.concat(t.UNDERSCORE_IDENT_RE+r.lookahead(/\s+\{/)),relevance:0},{begin:r.lookahead(t.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:u}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return nginx_1=e,nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1;function e(t){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}return nim_1=e,nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1;function e(t){const r={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},a={className:"subst",begin:/\$\{/,end:/\}/,keywords:r},o={className:"char.escape",begin:/''\$/},u={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},d={className:"string",contains:[o,a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},f=[t.NUMBER_MODE,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,d,u];return a.contains=f,{name:"Nix",aliases:["nixos"],keywords:r,contains:f}}return nix_1=e,nix_1}var nodeRepl_1,hasRequiredNodeRepl;function requireNodeRepl(){if(hasRequiredNodeRepl)return nodeRepl_1;hasRequiredNodeRepl=1;function e(t){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return nodeRepl_1=e,nodeRepl_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1;function e(t){const r=t.regex,a=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],o=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],u=["addincludedir","addplugindir","appendfile","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],d={className:"variable.constant",begin:r.concat(/\$/,r.either(...a))},f={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},g={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},_={className:"variable",begin:/\$+\([\w^.:!-]+\)/},S={className:"params",begin:r.either(...o)},E={className:"keyword",begin:r.concat(/!/,r.either(...u))},v={className:"char.escape",begin:/\$(\\[nrt]|\$)/},b={className:"title.function",begin:/\w+::\w+/},y={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[v,d,f,g,_]},T=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],C=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],R={match:[/Function/,/\s+/,r.concat(/(\.)?/,t.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},O={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:T,literal:C},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),O,R,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},y,E,f,g,_,S,b,t.NUMBER_MODE]}}return nsis_1=e,nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;function e(t){const r={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,g={"variable.language":["this","super"],$pattern:a,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},_={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:g,illegal:"/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+_.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:_,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return objectivec_1=e,objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1;function e(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ocaml_1=e,ocaml_1}var openscad_1,hasRequiredOpenscad;function requireOpenscad(){if(hasRequiredOpenscad)return openscad_1;hasRequiredOpenscad=1;function e(t){const r={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},a={className:"literal",begin:"false|true|PI|undef"},o={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},u=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),d={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},f={className:"params",begin:"\\(",end:"\\)",contains:["self",o,u,r,a]},g={begin:"[*!#%]",relevance:0},_={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[f,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,d,u,r,g,_]}}return openscad_1=e,openscad_1}var oxygene_1,hasRequiredOxygene;function requireOxygene(){if(hasRequiredOxygene)return oxygene_1;hasRequiredOxygene=1;function e(t){const r={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},a=t.COMMENT(/\{/,/\}/,{relevance:0}),o=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),u={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},d={className:"string",begin:"(#\\d+)+"},f={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.inherit(t.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:r,contains:[u,d]},a,o]},g={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:r,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[a,o,t.C_LINE_COMMENT_MODE,u,d,t.NUMBER_MODE,f,g]}}return oxygene_1=e,oxygene_1}var parser3_1,hasRequiredParser3;function requireParser3(){if(hasRequiredParser3)return parser3_1;hasRequiredParser3=1;function e(t){const r=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[r]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}return parser3_1=e,parser3_1}var pf_1,hasRequiredPf;function requirePf(){if(hasRequiredPf)return pf_1;hasRequiredPf=1;function e(t){const r={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},a={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,r,a]}}return pf_1=e,pf_1}var pgsql_1,hasRequiredPgsql;function requirePgsql(){if(hasRequiredPgsql)return pgsql_1;hasRequiredPgsql=1;function e(t){const r=t.COMMENT("--","$"),a="[a-zA-Z_][a-zA-Z_0-9$]*",o="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",u="<<\\s*"+a+"\\s*>>",d="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",f="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",g="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",_="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",S=_.trim().split(" ").map(function(C){return C.split("|")[0]}).join("|"),E="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",v="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",b="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",T="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(C){return C.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:d+g+f,built_in:E+v+b},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+T+")\\s*\\("},{begin:"\\.("+S+")\\b"},{begin:"\\b("+S+")\\s+PATH\\b",keywords:{keyword:"PATH",type:_.replace("PATH ","")}},{className:"type",begin:"\\b("+S+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:o,end:o,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:u,relevance:10}]}}return pgsql_1=e,pgsql_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;function e(t){const r=t.regex,a=/(?![A-Za-z0-9])(?![$])/,o=r.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),u=r.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),d={scope:"variable",match:"\\$+"+o},f={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},g={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},_=t.inherit(t.APOS_STRING_MODE,{illegal:null}),S=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(g)}),E={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(g),"on:begin":(U,W)=>{W.data._beginMatch=U[1]||U[2]},"on:end":(U,W)=>{W.data._beginMatch!==U[1]&&W.ignoreMatch()}},v=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),b=`[ ]`,y={scope:"string",variants:[S,_,E,v]},T={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},C=["false","null","true"],R=["__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"],A=["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"],x={keyword:R,literal:(U=>{const W=[];return U.forEach(K=>{W.push(K),K.toLowerCase()===K?W.push(K.toUpperCase()):W.push(K.toLowerCase())}),W})(C),built_in:A},N=U=>U.map(W=>W.replace(/\|\d+$/,"")),I={variants:[{match:[/new/,r.concat(b,"+"),r.concat("(?!",N(A).join("\\b|"),"\\b)"),u],scope:{1:"keyword",4:"title.class"}}]},k=r.concat(o,"\\b(?!\\()"),D={variants:[{match:[r.concat(/::/,r.lookahead(/(?!class\b)/)),k],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[u,r.concat(/::/,r.lookahead(/(?!class\b)/)),k],scope:{1:"title.class",3:"variable.constant"}},{match:[u,r.concat("::",r.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[u,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},P={scope:"attr",match:r.concat(o,r.lookahead(":"),r.lookahead(/(?!::)/))},L={relevance:0,begin:/\(/,end:/\)/,keywords:x,contains:[P,d,D,t.C_BLOCK_COMMENT_MODE,y,T,I]},F={relevance:0,match:[/\b/,r.concat("(?!fn\\b|function\\b|",N(R).join("\\b|"),"|",N(A).join("\\b|"),"\\b)"),o,r.concat(b,"*"),r.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[L]};L.contains.push(F);const B=[P,D,t.C_BLOCK_COMMENT_MODE,y,T,I],V={begin:r.concat(/#\[\s*/,u),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:C,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:C,keyword:["new","array"]},contains:["self",...B]},...B,{scope:"meta",match:u}]};return{case_insensitive:!1,keywords:x,contains:[V,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},f,{scope:"variable.language",match:/\$this\b/},d,F,D,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},I,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:x,contains:["self",d,D,t.C_BLOCK_COMMENT_MODE,y,T]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},y,T]}}return php_1=e,php_1}var phpTemplate_1,hasRequiredPhpTemplate;function requirePhpTemplate(){if(hasRequiredPhpTemplate)return phpTemplate_1;hasRequiredPhpTemplate=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return phpTemplate_1=e,phpTemplate_1}var plaintext_1,hasRequiredPlaintext;function requirePlaintext(){if(hasRequiredPlaintext)return plaintext_1;hasRequiredPlaintext=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return plaintext_1=e,plaintext_1}var pony_1,hasRequiredPony;function requirePony(){if(hasRequiredPony)return pony_1;hasRequiredPony=1;function e(t){const r={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},a={className:"string",begin:'"""',end:'"""',relevance:10},o={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},u={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},d={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},f={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:r,contains:[d,a,o,u,f,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return pony_1=e,pony_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1;function e(t){const r=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],a="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",o="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",u={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},d=/\w[\w\d]*((-)[\w\d]+)*/,f={begin:"`[\\s\\S]",relevance:0},g={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},_={className:"literal",begin:/\$(null|true|false)\b/},S={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[f,g,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},E={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},v={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},b=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[v]}),y={className:"built_in",variants:[{begin:"(".concat(a,")+(-)[\\w\\d]+")}]},T={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},C={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:d,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[g]}]},R={begin:/using\s/,end:/$/,returnBegin:!0,contains:[S,E,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},A={variants:[{className:"operator",begin:"(".concat(o,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},O={className:"selector-tag",begin:/@\B/,relevance:0},x={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(u.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},N=[x,b,f,t.NUMBER_MODE,S,E,y,g,_,O],I={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",N,{begin:"("+r.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return x.contains.unshift(I),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:u,contains:N.concat(T,C,R,A,I)}}return powershell_1=e,powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1;function e(t){const r=t.regex,a=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],o=t.IDENT_RE,u={variants:[{match:r.concat(r.either(...a),r.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:r.concat(/\b(?!for|if|while)/,o,r.lookahead(/\s*\(/)),className:"title.function"}]},d={match:[/new\s+/,o],className:{1:"keyword",2:"class.title"}},f={relevance:0,match:[/\./,o],className:{2:"property"}},g={variants:[{match:[/class/,/\s+/,o,/\s+/,/extends/,/\s+/,o]},{match:[/class/,/\s+/,o]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},_=["boolean","byte","char","color","double","float","int","long","short"],S=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...a,...S],type:_},contains:[g,d,u,f,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return processing_1=e,processing_1}var profile_1,hasRequiredProfile;function requireProfile(){if(hasRequiredProfile)return profile_1;hasRequiredProfile=1;function e(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return profile_1=e,profile_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1;function e(t){const r={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},a={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},o={begin:/\(/,end:/\)/,relevance:0},u={begin:/\[/,end:/\]/},d={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},f={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},g={className:"string",begin:/0'(\\'|.)/},_={className:"string",begin:/0'\\s/},E=[r,a,o,{begin:/:-/},u,d,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,f,g,_,t.C_NUMBER_MODE];return o.contains=E,u.contains=E,{name:"Prolog",contains:E.concat([{begin:/\.$/}])}}return prolog_1=e,prolog_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1;function e(t){const r="[ \\t\\f]*",a="[ \\t\\f]+",o=r+"[:=]"+r,u=a,d="("+o+"|"+u+")",f="([^\\\\:= \\t\\f\\n]|\\\\.)+",g={end:d,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:f+o},{begin:f+u}],contains:[{className:"attr",begin:f,endsParent:!0}],starts:g},{className:"attr",begin:f+r+"$"}]}}return properties_1=e,properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1;function e(t){const r=["package","import","option","optional","required","repeated","group","oneof"],a=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],o={match:[/(message|enum|service)\s+/,t.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:r,type:a,literal:["true","false"]},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,o,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return protobuf_1=e,protobuf_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1;function e(t){const r={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},a=t.COMMENT("#","$"),o="([A-Za-z_]|::)(\\w|::)*",u=t.inherit(t.TITLE_MODE,{begin:o}),d={className:"variable",begin:"\\$"+o},f={className:"string",contains:[t.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[a,d,f,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[u,a]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:r,relevance:0,contains:[f,a,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},d]}],relevance:0}]}}return puppet_1=e,puppet_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1;function e(t){const r={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},a={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},r,a]}}return purebasic_1=e,purebasic_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1;function e(t){const r=t.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],g={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},_={className:"meta",begin:/^(>>>|\.\.\.) /},S={className:"subst",begin:/\{/,end:/\}/,keywords:g,illegal:/#/},E={begin:/\{\{/,relevance:0},v={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,_],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,_],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,_,E,S]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,_,E,S]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,E,S]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,E,S]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},b="[0-9](_?[0-9])*",y=`(\\b(${b}))?\\.(${b})|\\b(${b})\\.`,T=`\\b|${o.join("|")}`,C={className:"number",relevance:0,variants:[{begin:`(\\b(${b})|(${y}))[eE][+-]?(${b})[jJ]?(?=${T})`},{begin:`(${y})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${T})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${T})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${T})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${T})`},{begin:`\\b(${b})[jJ](?=${T})`}]},R={className:"comment",begin:r.lookahead(/# type:/),end:/$/,keywords:g,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},A={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:["self",_,C,v,t.HASH_COMMENT_MODE]}]};return S.contains=[v,C,_],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:g,illegal:/(<\/|\?)|=>/,contains:[_,C,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},v,R,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[A]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[C,A,v]}]}}return python_1=e,python_1}var pythonRepl_1,hasRequiredPythonRepl;function requirePythonRepl(){if(hasRequiredPythonRepl)return pythonRepl_1;hasRequiredPythonRepl=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return pythonRepl_1=e,pythonRepl_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1;function e(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return q_1=e,q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1;function e(t){const r=t.regex,a={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},o="[a-zA-Z_][a-zA-Z0-9\\._]*",u={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},d={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},f={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:o,returnEnd:!1}},g={begin:o+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:o,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},_={begin:r.concat(o,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[t.inherit(t.TITLE_MODE,{begin:o})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:a,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},d,u,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+t.IDENT_RE,relevance:0},f,g,_],illegal:/#/}}return qml_1=e,qml_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1;function e(t){const r=t.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=r.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),u=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,d=r.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:r.lookahead(r.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[u,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[d,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:u},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:d},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return r_1=e,r_1}var reasonml_1,hasRequiredReasonml;function requireReasonml(){if(hasRequiredReasonml)return reasonml_1;hasRequiredReasonml=1;function e(t){function r(I){return I.map(function(k){return k.split("").map(function(D){return"\\"+D}).join("")}).join("|")}const a="~?[a-z$_][0-9a-zA-Z$_]*",o="`?[A-Z$_][0-9a-zA-Z$_]*",u="'?[a-z$_][0-9a-z$_]*",d="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+u+"\\s*(,"+u+"\\s*)*)?\\))?",f=a+"("+d+"){0,2}",g="("+r(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",_="\\s+"+g+"\\s+",S={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},E="\\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_]+)?)?)",v={className:"number",relevance:0,variants:[{begin:E},{begin:"\\(-"+E+"\\)"}]},b={className:"operator",relevance:0,begin:g},y=[{className:"identifier",relevance:0,begin:a},b,v],T=[t.QUOTE_STRING_MODE,b,{className:"module",begin:"\\b"+o,returnBegin:!0,relevance:0,end:".",contains:[{className:"identifier",begin:o,relevance:0}]}],C=[{className:"module",begin:"\\b"+o,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:o,relevance:0}]}],R={begin:a,end:"(,|\\n|\\))",relevance:0,contains:[b,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:C}]},A={className:"function",relevance:0,keywords:S,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+a+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:a},{begin:f},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[R]}]},{begin:"\\(\\.\\s"+a+"\\)\\s*=>"}]};T.push(A);const O={className:"constructor",begin:o+"\\(",end:"\\)",illegal:"\\n",keywords:S,contains:[t.QUOTE_STRING_MODE,b,{className:"params",begin:"\\b"+a}]},x={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:S,end:"=>",relevance:0,contains:[O,b,{relevance:0,className:"constructor",begin:o}]},N={className:"module-access",keywords:S,returnBegin:!0,variants:[{begin:"\\b("+o+"\\.)+"+a},{begin:"\\b("+o+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[A,{begin:"\\(",end:"\\)",relevance:0,skip:!0}].concat(T)},{begin:"\\b("+o+"\\.)+\\{",end:/\}/}],contains:T};return C.push(N),{name:"ReasonML",aliases:["re"],keywords:S,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[t.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},t.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:y},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:y},O,{className:"operator",begin:_,illegal:"-->",relevance:0},v,t.C_LINE_COMMENT_MODE,x,A,{className:"module-def",begin:"\\bmodule\\s+"+a+"\\s+"+o+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:S,relevance:0,contains:[{className:"module",relevance:0,begin:o},{begin:/\{/,end:/\}/,relevance:0,skip:!0}].concat(T)},N]}}return reasonml_1=e,reasonml_1}var rib_1,hasRequiredRib;function requireRib(){if(hasRequiredRib)return rib_1;hasRequiredRib=1;function e(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},t.COMMENT("^#","$"),g,_,f,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[g,_,f,{className:"literal",begin:"\\b("+u.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+o.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+d.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return routeros_1=e,routeros_1}var rsl_1,hasRequiredRsl;function requireRsl(){if(hasRequiredRsl)return rsl_1;hasRequiredRsl=1;function e(t){const r=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],a=["matrix","float","color","point","normal","vector"],o=["while","for","if","do","return","else","break","extern","continue"],u={match:[/(surface|displacement|light|volume|imager)/,/\s+/,t.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:o,built_in:r,type:a},illegal:""},a]}}return rust_1=e,rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1;function e(t){const r=t.regex,a=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],o=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],u=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:a},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+r.either(...u)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:r.either(...o)+"(?=\\()"},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},t.COMMENT("\\*",";"),t.C_BLOCK_COMMENT_MODE]}}return sas_1=e,sas_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;function e(t){const r=t.regex,a={className:"meta",begin:"@[A-Za-z]+"},o={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},u={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,o]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[o],relevance:10}]},d={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},f={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},g={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[d]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[d]},f]},_={className:"function",beginKeywords:"def",end:r.lookahead(/[:={\[(\n;]/),contains:[f]},S={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},E={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},v=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],b={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,u,d,_,g,t.C_NUMBER_MODE,S,E,...v,b,a]}}return scala_1=e,scala_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1;function e(t){const r="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",a="(-|\\+)?\\d+([./]\\d+)?",o=a+"[+\\-]"+a+"i",u={$pattern:r,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},d={className:"literal",begin:"(#t|#f|#\\\\"+r+"|#\\\\.)"},f={className:"number",variants:[{begin:a,relevance:0},{begin:o,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},g=t.QUOTE_STRING_MODE,_=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],S={begin:r,relevance:0},E={className:"symbol",begin:"'"+r},v={endsWithParent:!0,relevance:0},b={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",d,g,f,S,E]}]},y={className:"name",relevance:0,begin:r,keywords:u},C={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[y,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[S]}]},y,v]};return v.contains=[d,f,g,S,E,b,C].concat(_),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[t.SHEBANG(),f,g,E,b,C].concat(_)}}return scheme_1=e,scheme_1}var scilab_1,hasRequiredScilab;function requireScilab(){if(hasRequiredScilab)return scilab_1;hasRequiredScilab=1;function e(t){const r=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:r},t.COMMENT("//","$")].concat(r)}}return scilab_1=e,scilab_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1;const e=f=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:f.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:[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:f.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","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],u=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function d(f){const g=e(f),_=o,S=a,E="@[a-z-]+",v="and or not only",y={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[f.C_LINE_COMMENT_MODE,f.C_BLOCK_COMMENT_MODE,g.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},g.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+S.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+_.join("|")+")"},y,{begin:/\(/,end:/\)/,contains:[g.CSS_NUMBER_MODE]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+u.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[g.BLOCK_COMMENT,y,g.HEXCOLOR,g.CSS_NUMBER_MODE,f.QUOTE_STRING_MODE,f.APOS_STRING_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:E,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:v,attribute:r.join(" ")},contains:[{begin:E,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},y,f.QUOTE_STRING_MODE,f.APOS_STRING_MODE,g.HEXCOLOR,g.CSS_NUMBER_MODE]},g.FUNCTION_DISPATCH]}}return scss_1=d,scss_1}var shell_1,hasRequiredShell;function requireShell(){if(hasRequiredShell)return shell_1;hasRequiredShell=1;function e(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return shell_1=e,shell_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1;function e(t){const r=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],a=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],o=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+o.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+r.join("|")+")\\s"},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+a.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: ]*;`,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 r="[a-z][a-zA-Z0-9_]*",a={className:"string",begin:"\\$.{1}"},o={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:r+":",relevance:0},t.C_NUMBER_MODE,o,a,{begin:"\\|[ ]*"+r+"([ ]+"+r+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+r}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,a,t.C_NUMBER_MODE,o]}]}}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 r={className:"variable",begin:/\b_+[a-zA-Z]\w*/},a={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},o={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},u=["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"],d=["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"],f=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},t.inherit(o,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:u,built_in:f,literal:d},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,r,a,o,g],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return sqf_1=e,sqf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1;function e(t){const r=t.regex,a=t.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},u={begin:/"/,end:/"/,contains:[{begin:/""/}]},d=["true","false","unknown"],f=["double precision","large object","with timezone","without timezone"],g=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],_=["add","asc","collation","desc","final","first","last","view"],S=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],E=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],v=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],b=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],y=E,T=[...S,..._].filter(x=>!E.includes(x)),C={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},R={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},A={begin:r.concat(/\b/,r.either(...y),/\s*\(/),relevance:0,keywords:{built_in:y}};function O(x,{exceptions:N,when:I}={}){const k=I;return N=N||[],x.map(D=>D.match(/\|\d+$/)||N.includes(D)?D:k(D)?`${D}|0`:D)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:O(T,{when:x=>x.length<3}),literal:d,type:g,built_in:v},contains:[{begin:r.either(...b),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:T.concat(b),literal:d,type:g}},{className:"type",begin:r.either(...f)},A,C,o,u,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,a,R]}}return sql_1=e,sql_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1;function e(t){const r=t.regex,a=["functions","model","data","parameters","quantities","transformed","generated"],o=["for","in","if","else","while","break","continue","return"],u=["array","complex","int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],d=["Phi","Phi_approx","abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","binomial_coefficient_log","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","distance","dot_product","dot_self","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","expm1","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_lp","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","int_step","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_cloglog","inv_logit","inv_sqrt","inv_square","inverse","inverse_spd","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","logit","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_log","multiply_lower_tri_self_transpose","negative_infinity","norm","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","polar","positive_infinity","pow","print","prod","proj","qr_Q","qr_R","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],f=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","multinomial_logit","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","student_t","uniform","von_mises","weibull","wiener","wishart"],g=t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),_={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},t.C_LINE_COMMENT_MODE]},S=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:a,type:u,keyword:o,built_in:d},contains:[t.C_LINE_COMMENT_MODE,_,t.HASH_COMMENT_MODE,g,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:r.concat(/[<,]\s*/,r.either(...S),/\s*=/),keywords:S},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,r.either(...f),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:f,begin:r.concat(/\w*/,r.either(...f),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,r.concat(r.either(...f),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+r.either(...f)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:r.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return stan_1=e,stan_1}var stata_1,hasRequiredStata;function requireStata(){if(hasRequiredStata)return stata_1;hasRequiredStata=1;function e(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{begin:`"[^\r "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},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=f=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:f.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:[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:f.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","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],u=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function d(f){const g=e(f),_="and or not only",S={className:"variable",begin:"\\$"+f.IDENT_RE},E=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],v="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[f.QUOTE_STRING_MODE,f.APOS_STRING_MODE,f.C_LINE_COMMENT_MODE,f.C_BLOCK_COMMENT_MODE,g.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+v,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+v,className:"selector-id"},{begin:"\\b("+t.join("|")+")"+v,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+a.join("|")+")"+v},{className:"selector-pseudo",begin:"&?:(:)?("+o.join("|")+")"+v},g.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:_,attribute:r.join(" ")},contains:[g.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+E.join("|")+"))\\b"},S,g.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[g.HEXCOLOR,S,f.APOS_STRING_MODE,g.CSS_NUMBER_MODE,f.QUOTE_STRING_MODE]}]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+u.join("|")+")\\b",starts:{end:/;|$/,contains:[g.HEXCOLOR,S,f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,g.CSS_NUMBER_MODE,f.C_BLOCK_COMMENT_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},g.FUNCTION_DISPATCH]}}return stylus_1=d,stylus_1}var subunit_1,hasRequiredSubunit;function requireSubunit(){if(hasRequiredSubunit)return subunit_1;hasRequiredSubunit=1;function e(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] `},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=e,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function e(D){return D?typeof D=="string"?D:D.source:null}function t(D){return r("(?=",D,")")}function r(...D){return D.map(L=>e(L)).join("")}function a(D){const P=D[D.length-1];return typeof P=="object"&&P.constructor===Object?(D.splice(D.length-1,1),P):{}}function o(...D){return"("+(a(D).capture?"":"?:")+D.map(F=>e(F)).join("|")+")"}const u=D=>r(/\b/,D,/\w$/.test(D)?/\b/:/\B/),d=["Protocol","Type"].map(u),f=["init","self"].map(u),g=["Any","Self"],_=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],S=["false","nil","true"],E=["assignment","associativity","higherThan","left","lowerThan","none","right"],v=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],b=["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"],y=o(/[/=\-+!*%<>&|^~?]/,/[\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]/),T=o(y,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),C=r(y,T,"*"),R=o(/[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]/),A=o(R,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),O=r(R,A,"*"),x=r(/[A-Z]/,A,"*"),N=["autoclosure",r(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",r(/objc\(/,O,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],I=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function k(D){const P={match:/\s+/,relevance:0},L=D.COMMENT("/\\*","\\*/",{contains:["self"]}),F=[D.C_LINE_COMMENT_MODE,L],B={match:[/\./,o(...d,...f)],className:{2:"keyword"}},V={match:r(/\./,o(..._)),relevance:0},U=_.filter($e=>typeof $e=="string").concat(["_|0"]),W=_.filter($e=>typeof $e!="string").concat(g).map(u),K={variants:[{className:"keyword",match:o(...W,...f)}]},G={$pattern:o(/\b\w+/,/#\w+/),keyword:U.concat(v),literal:S},Y=[B,V,K],Q={match:r(/\./,o(...b)),relevance:0},Z={className:"built_in",match:r(/\b/,o(...b),/(?=\()/)},J=[Q,Z],te={match:/->/,relevance:0},fe={className:"operator",relevance:0,variants:[{match:C},{match:`\\.(\\.|${T})+`}]},ve=[te,fe],ue="([0-9]_*)+",ie="([0-9a-fA-F]_*)+",ee={className:"number",relevance:0,variants:[{match:`\\b(${ue})(\\.(${ue}))?([eE][+-]?(${ue}))?\\b`},{match:`\\b0x(${ie})(\\.(${ie}))?([pP][+-]?(${ue}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},de=($e="")=>({className:"subst",variants:[{match:r(/\\/,$e,/[0\\tnr"']/)},{match:r(/\\/,$e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),me=($e="")=>({className:"subst",match:r(/\\/,$e,/[\t ]*(?:[\r\n]|\r\n)/)}),oe=($e="")=>({className:"subst",label:"interpol",begin:r(/\\/,$e,/\(/),end:/\)/}),Ee=($e="")=>({begin:r($e,/"""/),end:r(/"""/,$e),contains:[de($e),me($e),oe($e)]}),pe=($e="")=>({begin:r($e,/"/),end:r(/"/,$e),contains:[de($e),oe($e)]}),z={className:"string",variants:[Ee(),Ee("#"),Ee("##"),Ee("###"),pe(),pe("#"),pe("##"),pe("###")]},j={match:r(/`/,O,/`/)},ne={className:"variable",match:/\$\d+/},ae={className:"variable",match:`\\$${A}+`},ce=[j,ne,ae],ye={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:I,contains:[...ve,ee,z]}]}},he={className:"keyword",match:r(/@/,o(...N))},Ce={className:"meta",match:r(/@/,O)},Se=[ye,he,Ce],ge={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:r(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,A,"+")},{className:"type",match:x,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:r(/\s+&\s+/,t(x)),relevance:0}]},Oe={begin://,keywords:G,contains:[...F,...Y,...Se,te,ge]};ge.contains.push(Oe);const De={match:r(O,/\s*:/),keywords:"_|0",relevance:0},Re={begin:/\(/,end:/\)/,relevance:0,keywords:G,contains:["self",De,...F,...Y,...J,...ve,ee,z,...ce,...Se,ge]},ke={begin://,contains:[...F,ge]},le={begin:o(t(r(O,/\s*:/)),t(r(O,/\s+/,O,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:O}]},Te={begin:/\(/,end:/\)/,keywords:G,contains:[le,...F,...Y,...ve,ee,z,...Se,ge,Re],endsParent:!0,illegal:/["']/},Ne={match:[/func/,/\s+/,o(j.match,O,C)],className:{1:"keyword",3:"title.function"},contains:[ke,Te,P],illegal:[/\[/,/%/]},Me={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ke,Te,P],illegal:/\[|%/},Fe={match:[/operator/,/\s+/,C],className:{1:"keyword",3:"title"}},Ve={begin:[/precedencegroup/,/\s+/,x],className:{1:"keyword",3:"title"},contains:[ge],keywords:[...E,...S],end:/}/};for(const $e of z.variants){const Ke=$e.contains.find(He=>He.label==="interpol");Ke.keywords=G;const qe=[...Y,...J,...ve,ee,z,...ce];Ke.contains=[...qe,{begin:/\(/,end:/\)/,contains:["self",...qe]}]}return{name:"Swift",keywords:G,contains:[...F,Ne,Me,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:G,contains:[D.inherit(D.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...Y]},Fe,Ve,{beginKeywords:"import",end:/$/,contains:[...F],relevance:0},...Y,...J,...ve,ee,z,...ce,...Se,ge,Re]}}return swift_1=k,swift_1}var taggerscript_1,hasRequiredTaggerscript;function requireTaggerscript(){if(hasRequiredTaggerscript)return taggerscript_1;hasRequiredTaggerscript=1;function e(t){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return taggerscript_1=e,taggerscript_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1;function e(t){const r="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},u={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},d={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,u]},f=t.inherit(d,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),v={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},b={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},y={begin:/\{/,end:/\}/,contains:[b],illegal:"\\n",relevance:0},T={begin:"\\[",end:"\\]",contains:[b],illegal:"\\n",relevance:0},C=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},v,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},y,T,d],R=[...C];return R.pop(),R.push(f),b.contains=R,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:C}}return yaml_1=e,yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;function e(t){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return tap_1=e,tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1;function e(t){const r=t.regex,a=/[a-zA-Z_][a-zA-Z0-9_]*/,o={className:"number",variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[t.COMMENT(";[ \\t]*#","$"),t.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:r.concat(/\$/,r.optional(/::/),a,"(::",a,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[o]}]},{className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},o]}}return tcl_1=e,tcl_1}var thrift_1,hasRequiredThrift;function requireThrift(){if(hasRequiredThrift)return thrift_1;hasRequiredThrift=1;function e(t){const r=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:r,literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...r,"set","list","map"]},end:">",contains:["self"]}]}}return thrift_1=e,thrift_1}var tp_1,hasRequiredTp;function requireTp(){if(hasRequiredTp)return tp_1;hasRequiredTp=1;function e(t){const r={className:"number",begin:"[1-9][0-9]*",relevance:0},a={className:"symbol",begin:":[^\\]]+"},o={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",r,a]},u={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",r,t.QUOTE_STRING_MODE,a]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[o,u,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},t.COMMENT("//","[;$]"),t.COMMENT("!","[;$]"),t.COMMENT("--eg:","$"),t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},t.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return tp_1=e,tp_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;function e(t){const r=t.regex,a=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],o=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let u=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];u=u.concat(u.map(T=>`end${T}`));const d={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},f={scope:"number",match:/\d+/},g={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[d,f]},_={beginKeywords:a.join(" "),keywords:{name:a},relevance:0,contains:[g]},S={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:o}]},E=(T,{relevance:C})=>({beginScope:{1:"template-tag",3:"name"},relevance:C||2,endScope:"template-tag",begin:[/\{%/,/\s*/,r.either(...T)],end:/%\}/,keywords:"in",contains:[S,_,d,f]}),v=/[a-z_]+/,b=E(u,{relevance:2}),y=E([v],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{#/,/#\}/),b,y,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",S,_,d,f]}]}}return twig_1=e,twig_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],u=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],d=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],f=[].concat(u,a,o);function g(S){const E=S.regex,v=(de,{after:me})=>{const oe="",end:""},T=/<[A-Za-z0-9\\._:-]+\s*\/>/,C={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(de,me)=>{const oe=de[0].length+de.index,Ee=de.input[oe];if(Ee==="<"||Ee===","){me.ignoreMatch();return}Ee===">"&&(v(de,{after:oe})||me.ignoreMatch());let pe;const z=de.input.substring(oe);if(pe=z.match(/^\s*=/)){me.ignoreMatch();return}if((pe=z.match(/^\s+extends\s+/))&&pe.index===0){me.ignoreMatch();return}}},R={$pattern:e,keyword:t,literal:r,built_in:f,"variable.language":d},A="[0-9](_?[0-9])*",O=`\\.(${A})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",N={className:"number",variants:[{begin:`(\\b(${x})((${O})|\\.)?|(${O}))[eE][+-]?(${A})\\b`},{begin:`\\b(${x})\\b((${O})\\b|\\.)?|(${O})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},I={className:"subst",begin:"\\$\\{",end:"\\}",keywords:R,contains:[]},k={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[S.BACKSLASH_ESCAPE,I],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[S.BACKSLASH_ESCAPE,I],subLanguage:"css"}},P={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[S.BACKSLASH_ESCAPE,I],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[S.BACKSLASH_ESCAPE,I]},B={className:"comment",variants:[S.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:b+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),S.C_BLOCK_COMMENT_MODE,S.C_LINE_COMMENT_MODE]},V=[S.APOS_STRING_MODE,S.QUOTE_STRING_MODE,k,D,P,L,{match:/\$\d+/},N];I.contains=V.concat({begin:/\{/,end:/\}/,keywords:R,contains:["self"].concat(V)});const U=[].concat(B,I.contains),W=U.concat([{begin:/\(/,end:/\)/,keywords:R,contains:["self"].concat(U)}]),K={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:R,contains:W},G={variants:[{match:[/class/,/\s+/,b,/\s+/,/extends/,/\s+/,E.concat(b,"(",E.concat(/\./,b),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,b],scope:{1:"keyword",3:"title.class"}}]},Y={relevance:0,match:E.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...o]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Z={variants:[{match:[/function/,/\s+/,b,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[K],illegal:/%/},J={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function te(de){return E.concat("(?!",de.join("|"),")")}const fe={match:E.concat(/\b/,te([...u,"super","import"]),b,E.lookahead(/\(/)),className:"title.function",relevance:0},ve={begin:E.concat(/\./,E.lookahead(E.concat(b,/(?![0-9A-Za-z$_(])/))),end:b,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ue={match:[/get|set/,/\s+/,b,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},K]},ie="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+S.UNDERSCORE_IDENT_RE+")\\s*=>",ee={match:[/const|var|let/,/\s+/,b,/\s*/,/=\s*/,/(async\s*)?/,E.lookahead(ie)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[K]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:R,exports:{PARAMS_CONTAINS:W,CLASS_REFERENCE:Y},illegal:/#(?![$_A-z])/,contains:[S.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,S.APOS_STRING_MODE,S.QUOTE_STRING_MODE,k,D,P,L,B,{match:/\$\d+/},N,Y,{className:"attr",begin:b+E.lookahead(":"),relevance:0},ee,{begin:"("+S.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,S.REGEXP_MODE,{className:"function",begin:ie,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:S.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:R,contains:W}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:y.begin,end:y.end},{match:T},{begin:C.begin,"on:begin":C.isTrulyOpeningTag,end:C.end}],subLanguage:"xml",contains:[{begin:C.begin,end:C.end,skip:!0,contains:["self"]}]}]},Z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+S.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[K,S.inherit(S.TITLE_MODE,{begin:b,className:"title.function"})]},{match:/\.\.\./,relevance:0},ve,{match:"\\$"+b,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[K]},fe,J,G,ue,{match:/\$[(.]/}]}}function _(S){const E=g(S),v=e,b=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],y={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[E.exports.CLASS_REFERENCE]},T={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:b},contains:[E.exports.CLASS_REFERENCE]},C={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},R=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],A={$pattern:e,keyword:t.concat(R),literal:r,built_in:f.concat(b),"variable.language":d},O={className:"meta",begin:"@"+v},x=(I,k,D)=>{const P=I.contains.findIndex(L=>L.label===k);if(P===-1)throw new Error("can not find mode to replace");I.contains.splice(P,1,D)};Object.assign(E.keywords,A),E.exports.PARAMS_CONTAINS.push(O),E.contains=E.contains.concat([O,y,T]),x(E,"shebang",S.SHEBANG()),x(E,"use_strict",C);const N=E.contains.find(I=>I.label==="func.def");return N.relevance=0,Object.assign(E,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),E}return typescript_1=_,typescript_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1;function e(t){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[t.UNDERSCORE_TITLE_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return vala_1=e,vala_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;function e(t){const r=t.regex,a={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},u=/\d{1,2}\/\d{1,2}\/\d{4}/,d=/\d{4}-\d{1,2}-\d{1,2}/,f=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,g=/\d{1,2}(:\d{1,2}){1,2}/,_={className:"literal",variants:[{begin:r.concat(/# */,r.either(d,u),/ *#/)},{begin:r.concat(/# */,g,/ *#/)},{begin:r.concat(/# */,f,/ *#/)},{begin:r.concat(/# */,r.either(d,u),/ +/,r.either(f,g),/ *#/)}]},S={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},E={className:"label",begin:/^\w+:/},v=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),b=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[a,o,_,S,E,v,b,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[b]}]}}return vbnet_1=e,vbnet_1}var vbscript_1,hasRequiredVbscript;function requireVbscript(){if(hasRequiredVbscript)return vbscript_1;hasRequiredVbscript=1;function e(t){const r=t.regex,a=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],o=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],u={begin:r.concat(r.either(...a),"\\s*\\("),relevance:0,keywords:{built_in:a}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:o,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[u,t.inherit(t.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),t.COMMENT(/'/,/$/,{relevance:0}),t.C_NUMBER_MODE]}}return vbscript_1=e,vbscript_1}var vbscriptHtml_1,hasRequiredVbscriptHtml;function requireVbscriptHtml(){if(hasRequiredVbscriptHtml)return vbscriptHtml_1;hasRequiredVbscriptHtml=1;function e(t){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return vbscriptHtml_1=e,vbscriptHtml_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1;function e(t){const r=t.regex,a={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},o=["__FILE__","__LINE__"],u=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:a,contains:[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,{scope:"number",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:r.concat(/`/,r.either(...o))},{scope:"meta",begin:r.concat(/`/,r.either(...u)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:u}]}}return verilog_1=e,verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1;function e(t){const r="\\d(_|\\d)*",a="[eE][-+]?"+r,o=r+"(\\."+r+")?("+a+")?",u="\\w+",f="\\b("+(r+"#"+u+"(\\."+u+")?#("+a+")?")+"|"+o+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT("--","$"),t.QUOTE_STRING_MODE,{className:"number",begin:f,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[t.BACKSLASH_ESCAPE]}]}}return vhdl_1=e,vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1;function e(t){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[t.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},t.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,t.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return vim_1=e,vim_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1;function e(t){t.regex;const r=t.COMMENT(/\(;/,/;\)/);r.contains.push("self");const a=t.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],u={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},d={className:"variable",begin:/\$[\w_]+/},f={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},g={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},_={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},S={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[a,r,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},d,f,u,t.QUOTE_STRING_MODE,_,S,g]}}return wasm_1=e,wasm_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1;function e(t){const r=t.regex,a=/[a-zA-Z]\w*/,o=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],u=["true","false","null"],d=["this","super"],f=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],g=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],_={relevance:0,match:r.concat(/\b(?!(if|while|for|else|super)\b)/,a,/(?=\s*[({])/),className:"title.function"},S={match:r.concat(r.either(r.concat(/\b(?!(if|while|for|else|super)\b)/,a),r.either(...g)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:a}]}]}},E={variants:[{match:[/class\s+/,a,/\s+is\s+/,a]},{match:[/class\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},v={relevance:0,match:r.either(...g),className:"operator"},b={className:"string",begin:/"""/,end:/"""/},y={className:"property",begin:r.concat(/\./,r.lookahead(a)),end:a,excludeBegin:!0,relevance:0},T={relevance:0,match:r.concat(/\b_/,a),scope:"variable"},C={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:f}},R=t.C_NUMBER_MODE,A={match:[a,/\s*/,/=/,/\s*/,/\(/,a,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},O=t.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),x={scope:"subst",begin:/%\(/,end:/\)/,contains:[R,C,_,T,v]},N={scope:"string",begin:/"/,end:/"/,contains:[x,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};x.contains.push(N);const I=[...o,...d,...u],k={relevance:0,match:r.concat("\\b(?!",I.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:o,"variable.language":d,literal:u},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:u},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},R,N,b,O,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,C,E,A,S,_,v,T,y,k]}}return wren_1=e,wren_1}var x86asm_1,hasRequiredX86asm;function requireX86asm(){if(hasRequiredX86asm)return x86asm_1;hasRequiredX86asm=1;function e(t){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+t.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},t.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return x86asm_1=e,x86asm_1}var xl_1,hasRequiredXl;function requireXl(){if(hasRequiredXl)return xl_1;hasRequiredXl=1;function e(t){const r=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],a=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],o=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],d={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:r,literal:["true","false","nil"],built_in:a.concat(o)},f={className:"string",begin:'"',end:'"',illegal:"\\n"},g={className:"string",begin:"'",end:"'",illegal:"\\n"},_={className:"string",begin:"<<",end:">>"},S={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},E={beginKeywords:"import",end:"$",keywords:d,contains:[f]},v={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,keywords:d}})]};return{name:"XL",aliases:["tao"],keywords:d,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,f,g,_,v,E,S,t.NUMBER_MODE]}}return xl_1=e,xl_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1;function e(t){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return xquery_1=e,xquery_1}var zephir_1,hasRequiredZephir;function requireZephir(){if(hasRequiredZephir)return zephir_1;hasRequiredZephir=1;function e(t){const r={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},a=t.UNDERSCORE_TITLE_MODE,o={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},u="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:u,contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[t.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[a,{className:"params",begin:/\(/,end:/\)/,keywords:u,contains:["self",t.C_BLOCK_COMMENT_MODE,r,o]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},a]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[a]},{beginKeywords:"use",end:/;/,contains:[a]},{begin:/=>/},r,o]}}return zephir_1=e,zephir_1}var hljs=core$1;hljs.registerLanguage("1c",require_1c());hljs.registerLanguage("abnf",requireAbnf());hljs.registerLanguage("accesslog",requireAccesslog());hljs.registerLanguage("actionscript",requireActionscript());hljs.registerLanguage("ada",requireAda());hljs.registerLanguage("angelscript",requireAngelscript());hljs.registerLanguage("apache",requireApache());hljs.registerLanguage("applescript",requireApplescript());hljs.registerLanguage("arcade",requireArcade());hljs.registerLanguage("arduino",requireArduino());hljs.registerLanguage("armasm",requireArmasm());hljs.registerLanguage("xml",requireXml());hljs.registerLanguage("asciidoc",requireAsciidoc());hljs.registerLanguage("aspectj",requireAspectj());hljs.registerLanguage("autohotkey",requireAutohotkey());hljs.registerLanguage("autoit",requireAutoit());hljs.registerLanguage("avrasm",requireAvrasm());hljs.registerLanguage("awk",requireAwk());hljs.registerLanguage("axapta",requireAxapta());hljs.registerLanguage("bash",requireBash());hljs.registerLanguage("basic",requireBasic());hljs.registerLanguage("bnf",requireBnf());hljs.registerLanguage("brainfuck",requireBrainfuck());hljs.registerLanguage("c",requireC());hljs.registerLanguage("cal",requireCal());hljs.registerLanguage("capnproto",requireCapnproto());hljs.registerLanguage("ceylon",requireCeylon());hljs.registerLanguage("clean",requireClean());hljs.registerLanguage("clojure",requireClojure());hljs.registerLanguage("clojure-repl",requireClojureRepl());hljs.registerLanguage("cmake",requireCmake());hljs.registerLanguage("coffeescript",requireCoffeescript());hljs.registerLanguage("coq",requireCoq());hljs.registerLanguage("cos",requireCos());hljs.registerLanguage("cpp",requireCpp());hljs.registerLanguage("crmsh",requireCrmsh());hljs.registerLanguage("crystal",requireCrystal());hljs.registerLanguage("csharp",requireCsharp());hljs.registerLanguage("csp",requireCsp());hljs.registerLanguage("css",requireCss());hljs.registerLanguage("d",requireD());hljs.registerLanguage("markdown",requireMarkdown());hljs.registerLanguage("dart",requireDart());hljs.registerLanguage("delphi",requireDelphi());hljs.registerLanguage("diff",requireDiff());hljs.registerLanguage("django",requireDjango());hljs.registerLanguage("dns",requireDns());hljs.registerLanguage("dockerfile",requireDockerfile());hljs.registerLanguage("dos",requireDos());hljs.registerLanguage("dsconfig",requireDsconfig());hljs.registerLanguage("dts",requireDts());hljs.registerLanguage("dust",requireDust());hljs.registerLanguage("ebnf",requireEbnf());hljs.registerLanguage("elixir",requireElixir());hljs.registerLanguage("elm",requireElm());hljs.registerLanguage("ruby",requireRuby());hljs.registerLanguage("erb",requireErb());hljs.registerLanguage("erlang-repl",requireErlangRepl());hljs.registerLanguage("erlang",requireErlang());hljs.registerLanguage("excel",requireExcel());hljs.registerLanguage("fix",requireFix());hljs.registerLanguage("flix",requireFlix());hljs.registerLanguage("fortran",requireFortran());hljs.registerLanguage("fsharp",requireFsharp());hljs.registerLanguage("gams",requireGams());hljs.registerLanguage("gauss",requireGauss());hljs.registerLanguage("gcode",requireGcode());hljs.registerLanguage("gherkin",requireGherkin());hljs.registerLanguage("glsl",requireGlsl());hljs.registerLanguage("gml",requireGml());hljs.registerLanguage("go",requireGo());hljs.registerLanguage("golo",requireGolo());hljs.registerLanguage("gradle",requireGradle());hljs.registerLanguage("graphql",requireGraphql());hljs.registerLanguage("groovy",requireGroovy());hljs.registerLanguage("haml",requireHaml());hljs.registerLanguage("handlebars",requireHandlebars());hljs.registerLanguage("haskell",requireHaskell());hljs.registerLanguage("haxe",requireHaxe());hljs.registerLanguage("hsp",requireHsp());hljs.registerLanguage("http",requireHttp());hljs.registerLanguage("hy",requireHy());hljs.registerLanguage("inform7",requireInform7());hljs.registerLanguage("ini",requireIni());hljs.registerLanguage("irpf90",requireIrpf90());hljs.registerLanguage("isbl",requireIsbl());hljs.registerLanguage("java",requireJava());hljs.registerLanguage("javascript",requireJavascript());hljs.registerLanguage("jboss-cli",requireJbossCli());hljs.registerLanguage("json",requireJson());hljs.registerLanguage("julia",requireJulia());hljs.registerLanguage("julia-repl",requireJuliaRepl());hljs.registerLanguage("kotlin",requireKotlin());hljs.registerLanguage("lasso",requireLasso());hljs.registerLanguage("latex",requireLatex());hljs.registerLanguage("ldif",requireLdif());hljs.registerLanguage("leaf",requireLeaf());hljs.registerLanguage("less",requireLess());hljs.registerLanguage("lisp",requireLisp());hljs.registerLanguage("livecodeserver",requireLivecodeserver());hljs.registerLanguage("livescript",requireLivescript());hljs.registerLanguage("llvm",requireLlvm());hljs.registerLanguage("lsl",requireLsl());hljs.registerLanguage("lua",requireLua());hljs.registerLanguage("makefile",requireMakefile());hljs.registerLanguage("mathematica",requireMathematica());hljs.registerLanguage("matlab",requireMatlab());hljs.registerLanguage("maxima",requireMaxima());hljs.registerLanguage("mel",requireMel());hljs.registerLanguage("mercury",requireMercury());hljs.registerLanguage("mipsasm",requireMipsasm());hljs.registerLanguage("mizar",requireMizar());hljs.registerLanguage("perl",requirePerl());hljs.registerLanguage("mojolicious",requireMojolicious());hljs.registerLanguage("monkey",requireMonkey());hljs.registerLanguage("moonscript",requireMoonscript());hljs.registerLanguage("n1ql",requireN1ql());hljs.registerLanguage("nestedtext",requireNestedtext());hljs.registerLanguage("nginx",requireNginx());hljs.registerLanguage("nim",requireNim());hljs.registerLanguage("nix",requireNix());hljs.registerLanguage("node-repl",requireNodeRepl());hljs.registerLanguage("nsis",requireNsis());hljs.registerLanguage("objectivec",requireObjectivec());hljs.registerLanguage("ocaml",requireOcaml());hljs.registerLanguage("openscad",requireOpenscad());hljs.registerLanguage("oxygene",requireOxygene());hljs.registerLanguage("parser3",requireParser3());hljs.registerLanguage("pf",requirePf());hljs.registerLanguage("pgsql",requirePgsql());hljs.registerLanguage("php",requirePhp());hljs.registerLanguage("php-template",requirePhpTemplate());hljs.registerLanguage("plaintext",requirePlaintext());hljs.registerLanguage("pony",requirePony());hljs.registerLanguage("powershell",requirePowershell());hljs.registerLanguage("processing",requireProcessing());hljs.registerLanguage("profile",requireProfile());hljs.registerLanguage("prolog",requireProlog());hljs.registerLanguage("properties",requireProperties());hljs.registerLanguage("protobuf",requireProtobuf());hljs.registerLanguage("puppet",requirePuppet());hljs.registerLanguage("purebasic",requirePurebasic());hljs.registerLanguage("python",requirePython());hljs.registerLanguage("python-repl",requirePythonRepl());hljs.registerLanguage("q",requireQ());hljs.registerLanguage("qml",requireQml());hljs.registerLanguage("r",requireR());hljs.registerLanguage("reasonml",requireReasonml());hljs.registerLanguage("rib",requireRib());hljs.registerLanguage("roboconf",requireRoboconf());hljs.registerLanguage("routeros",requireRouteros());hljs.registerLanguage("rsl",requireRsl());hljs.registerLanguage("ruleslanguage",requireRuleslanguage());hljs.registerLanguage("rust",requireRust());hljs.registerLanguage("sas",requireSas());hljs.registerLanguage("scala",requireScala());hljs.registerLanguage("scheme",requireScheme());hljs.registerLanguage("scilab",requireScilab());hljs.registerLanguage("scss",requireScss());hljs.registerLanguage("shell",requireShell());hljs.registerLanguage("smali",requireSmali());hljs.registerLanguage("smalltalk",requireSmalltalk());hljs.registerLanguage("sml",requireSml());hljs.registerLanguage("sqf",requireSqf());hljs.registerLanguage("sql",requireSql());hljs.registerLanguage("stan",requireStan());hljs.registerLanguage("stata",requireStata());hljs.registerLanguage("step21",requireStep21());hljs.registerLanguage("stylus",requireStylus());hljs.registerLanguage("subunit",requireSubunit());hljs.registerLanguage("swift",requireSwift());hljs.registerLanguage("taggerscript",requireTaggerscript());hljs.registerLanguage("yaml",requireYaml());hljs.registerLanguage("tap",requireTap());hljs.registerLanguage("tcl",requireTcl());hljs.registerLanguage("thrift",requireThrift());hljs.registerLanguage("tp",requireTp());hljs.registerLanguage("twig",requireTwig());hljs.registerLanguage("typescript",requireTypescript());hljs.registerLanguage("vala",requireVala());hljs.registerLanguage("vbnet",requireVbnet());hljs.registerLanguage("vbscript",requireVbscript());hljs.registerLanguage("vbscript-html",requireVbscriptHtml());hljs.registerLanguage("verilog",requireVerilog());hljs.registerLanguage("vhdl",requireVhdl());hljs.registerLanguage("vim",requireVim());hljs.registerLanguage("wasm",requireWasm());hljs.registerLanguage("wren",requireWren());hljs.registerLanguage("x86asm",requireX86asm());hljs.registerLanguage("xl",requireXl());hljs.registerLanguage("xquery",requireXquery());hljs.registerLanguage("zephir",requireZephir());hljs.HighlightJS=hljs;hljs.default=hljs;var lib=hljs;const HighlightJS=getDefaultExportFromCjs(lib);function getDefaults(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let defaults=getDefaults();function changeDefaults(e){defaults=e}const escapeTest=/[&<>"']/,escapeReplace=new RegExp(escapeTest.source,"g"),escapeTestNoEncode=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode=new RegExp(escapeTestNoEncode.source,"g"),escapeReplacements={"&":"&","<":"<",">":">",'"':""","'":"'"},getEscapeReplacement=e=>escapeReplacements[e];function escape$1(e,t){if(t){if(escapeTest.test(e))return e.replace(escapeReplace,getEscapeReplacement)}else if(escapeTestNoEncode.test(e))return e.replace(escapeReplaceNoEncode,getEscapeReplacement);return e}const unescapeTest=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function unescape$1(e){return e.replace(unescapeTest,(t,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}const caret$1=/(^|[^\[])\^/g;function edit(e,t){e=typeof e=="string"?e:e.source,t=t||"";const r={replace:(a,o)=>(o=o.source||o,o=o.replace(caret$1,"$1"),e=e.replace(a,o),r),getRegex:()=>new RegExp(e,t)};return r}const nonWordAndColonTest=/[^\w:]/g,originIndependentUrl=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function cleanUrl(e,t,r){if(e){let a;try{a=decodeURIComponent(unescape$1(r)).replace(nonWordAndColonTest,"").toLowerCase()}catch{return null}if(a.indexOf("javascript:")===0||a.indexOf("vbscript:")===0||a.indexOf("data:")===0)return null}t&&!originIndependentUrl.test(r)&&(r=resolveUrl(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const baseUrls={},justDomain=/^[^:]+:\/*[^/]*$/,protocol$2=/^([^:]+:)[\s\S]*$/,domain=/^([^:]+:\/*[^/]*)[\s\S]*$/;function resolveUrl(e,t){baseUrls[" "+e]||(justDomain.test(e)?baseUrls[" "+e]=e+"/":baseUrls[" "+e]=rtrim(e,"/",!0)),e=baseUrls[" "+e];const r=e.indexOf(":")===-1;return t.substring(0,2)==="//"?r?t:e.replace(protocol$2,"$1")+t:t.charAt(0)==="/"?r?t:e.replace(domain,"$1")+t:e+t}const noopTest={exec:function(){}};function splitCells(e,t){const r=e.replace(/\|/g,(u,d,f)=>{let g=!1,_=d;for(;--_>=0&&f[_]==="\\";)g=!g;return g?"|":" |"}),a=r.split(/ \|/);let o=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),a.length>t)a.splice(t);else for(;a.length1;)t&1&&(r+=e),t>>=1,e+=e;return r+e}function outputLink(e,t,r,a){const o=t.href,u=t.title?escape$1(t.title):null,d=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){a.state.inLink=!0;const f={type:"link",raw:r,href:o,title:u,text:d,tokens:a.inlineTokens(d)};return a.state.inLink=!1,f}return{type:"image",raw:r,href:o,title:u,text:escape$1(d)}}function indentCodeCompensation(e,t){const r=e.match(/^(\s+)(?:```)/);if(r===null)return t;const a=r[1];return t.split(` `).map(o=>{const u=o.match(/^\s+/);if(u===null)return o;const[d]=u;return d.length>=a.length?o.slice(a.length):o}).join(` `)}class Tokenizer{constructor(t){this.options=t||defaults}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const a=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?a:rtrim(a,` `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const a=r[0],o=indentCodeCompensation(a,r[3]||"");return{type:"code",raw:a,lang:r[2]?r[2].trim().replace(this.rules.inline._escapes,"$1"):r[2],text:o}}}heading(t){const r=this.rules.block.heading.exec(t);if(r){let a=r[2].trim();if(/#$/.test(a)){const o=rtrim(a,"#");(this.options.pedantic||!o||/ $/.test(o))&&(a=o.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:r[0]}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){const a=r[0].replace(/^ *>[ \t]?/gm,""),o=this.lexer.state.top;this.lexer.state.top=!0;const u=this.lexer.blockTokens(a);return this.lexer.state.top=o,{type:"blockquote",raw:r[0],tokens:u,text:a}}}list(t){let r=this.rules.block.list.exec(t);if(r){let a,o,u,d,f,g,_,S,E,v,b,y,T=r[1].trim();const C=T.length>1,R={type:"list",raw:"",ordered:C,start:C?+T.slice(0,-1):"",loose:!1,items:[]};T=C?`\\d{1,9}\\${T.slice(-1)}`:`\\${T}`,this.options.pedantic&&(T=C?T:"[*+-]");const A=new RegExp(`^( {0,3}${T})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(y=!1,!(!(r=A.exec(t))||this.rules.block.hr.test(t)));){if(a=r[0],t=t.substring(a.length),S=r[2].split(` `,1)[0].replace(/^\t+/,x=>" ".repeat(3*x.length)),E=t.split(` `,1)[0],this.options.pedantic?(d=2,b=S.trimLeft()):(d=r[2].search(/[^ ]/),d=d>4?1:d,b=S.slice(d),d+=r[1].length),g=!1,!S&&/^ *$/.test(E)&&(a+=E+` `,t=t.substring(E.length+1),y=!0),!y){const x=new RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),N=new RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),I=new RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),k=new RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;t&&(v=t.split(` `,1)[0],E=v,this.options.pedantic&&(E=E.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(I.test(E)||k.test(E)||x.test(E)||N.test(t)));){if(E.search(/[^ ]/)>=d||!E.trim())b+=` `+E.slice(d);else{if(g||S.search(/[^ ]/)>=4||I.test(S)||k.test(S)||N.test(S))break;b+=` `+E}!g&&!E.trim()&&(g=!0),a+=v+` `,t=t.substring(v.length+1),S=E.slice(d)}}R.loose||(_?R.loose=!0:/\n *\n *$/.test(a)&&(_=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(b),o&&(u=o[0]!=="[ ] ",b=b.replace(/^\[[ xX]\] +/,""))),R.items.push({type:"list_item",raw:a,task:!!o,checked:u,loose:!1,text:b}),R.raw+=a}R.items[R.items.length-1].raw=a.trimRight(),R.items[R.items.length-1].text=b.trimRight(),R.raw=R.raw.trimRight();const O=R.items.length;for(f=0;fI.type==="space"),N=x.length>0&&x.some(I=>/\n.*\n/.test(I.raw));R.loose=N}if(R.loose)for(f=0;f$/,"$1").replace(this.rules.inline._escapes,"$1"):"",u=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline._escapes,"$1"):r[3];return{type:"def",tag:a,raw:r[0],href:o,title:u}}}table(t){const r=this.rules.block.table.exec(t);if(r){const a={type:"table",header:splitCells(r[1]).map(o=>({text:o})),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(` `):[]};if(a.header.length===a.align.length){a.raw=r[0];let o=a.align.length,u,d,f,g;for(u=0;u({text:_}));for(o=a.header.length,d=0;d/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):escape$1(r[0]):r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const a=r[2].trim();if(!this.options.pedantic&&/^$/.test(a))return;const d=rtrim(a.slice(0,-1),"\\");if((a.length-d.length)%2===0)return}else{const d=findClosingBracket(r[2],"()");if(d>-1){const g=(r[0].indexOf("!")===0?5:4)+r[1].length+d;r[2]=r[2].substring(0,d),r[0]=r[0].substring(0,g).trim(),r[3]=""}}let o=r[2],u="";if(this.options.pedantic){const d=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);d&&(o=d[1],u=d[3])}else u=r[3]?r[3].slice(1,-1):"";return o=o.trim(),/^$/.test(a)?o=o.slice(1):o=o.slice(1,-1)),outputLink(r,{href:o&&o.replace(this.rules.inline._escapes,"$1"),title:u&&u.replace(this.rules.inline._escapes,"$1")},r[0],this.lexer)}}reflink(t,r){let a;if((a=this.rules.inline.reflink.exec(t))||(a=this.rules.inline.nolink.exec(t))){let o=(a[2]||a[1]).replace(/\s+/g," ");if(o=r[o.toLowerCase()],!o){const u=a[0].charAt(0);return{type:"text",raw:u,text:u}}return outputLink(a,o,a[0],this.lexer)}}emStrong(t,r,a=""){let o=this.rules.inline.emStrong.lDelim.exec(t);if(!o||o[3]&&a.match(/[\p{L}\p{N}]/u))return;const u=o[1]||o[2]||"";if(!u||u&&(a===""||this.rules.inline.punctuation.exec(a))){const d=o[0].length-1;let f,g,_=d,S=0;const E=o[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(E.lastIndex=0,r=r.slice(-1*t.length+d);(o=E.exec(r))!=null;){if(f=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!f)continue;if(g=f.length,o[3]||o[4]){_+=g;continue}else if((o[5]||o[6])&&d%3&&!((d+g)%3)){S+=g;continue}if(_-=g,_>0)continue;g=Math.min(g,g+_+S);const v=t.slice(0,d+o.index+(o[0].length-f.length)+g);if(Math.min(d,g)%2){const y=v.slice(1,-1);return{type:"em",raw:v,text:y,tokens:this.lexer.inlineTokens(y)}}const b=v.slice(2,-2);return{type:"strong",raw:v,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let a=r[2].replace(/\n/g," ");const o=/[^ ]/.test(a),u=/^ /.test(a)&&/ $/.test(a);return o&&u&&(a=a.substring(1,a.length-1)),a=escape$1(a,!0),{type:"codespan",raw:r[0],text:a}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t,r){const a=this.rules.inline.autolink.exec(t);if(a){let o,u;return a[2]==="@"?(o=escape$1(this.options.mangle?r(a[1]):a[1]),u="mailto:"+o):(o=escape$1(a[1]),u=o),{type:"link",raw:a[0],text:o,href:u,tokens:[{type:"text",raw:o,text:o}]}}}url(t,r){let a;if(a=this.rules.inline.url.exec(t)){let o,u;if(a[2]==="@")o=escape$1(this.options.mangle?r(a[0]):a[0]),u="mailto:"+o;else{let d;do d=a[0],a[0]=this.rules.inline._backpedal.exec(a[0])[0];while(d!==a[0]);o=escape$1(a[0]),a[1]==="www."?u="http://"+a[0]:u=a[0]}return{type:"link",raw:a[0],text:o,href:u,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t,r){const a=this.rules.inline.text.exec(t);if(a){let o;return this.lexer.state.inRawBlock?o=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):escape$1(a[0]):a[0]:o=escape$1(this.options.smartypants?r(a[0]):a[0]),{type:"text",raw:a[0],text:o}}}}const block$1={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:noopTest,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};block$1._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;block$1._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;block$1.def=edit(block$1.def).replace("label",block$1._label).replace("title",block$1._title).getRegex();block$1.bullet=/(?:[*+-]|\d{1,9}[.)])/;block$1.listItemStart=edit(/^( *)(bull) */).replace("bull",block$1.bullet).getRegex();block$1.list=edit(block$1.list).replace(/bull/g,block$1.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+block$1.def.source+")").getRegex();block$1._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";block$1._comment=/|$)/;block$1.html=edit(block$1.html,"i").replace("comment",block$1._comment).replace("tag",block$1._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();block$1.paragraph=edit(block$1._paragraph).replace("hr",block$1.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",block$1._tag).getRegex();block$1.blockquote=edit(block$1.blockquote).replace("paragraph",block$1.paragraph).getRegex();block$1.normal={...block$1};block$1.gfm={...block$1.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};block$1.gfm.table=edit(block$1.gfm.table).replace("hr",block$1.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",block$1._tag).getRegex();block$1.gfm.paragraph=edit(block$1._paragraph).replace("hr",block$1.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",block$1.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",block$1._tag).getRegex();block$1.pedantic={...block$1.normal,html:edit(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",block$1._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit(block$1.normal._paragraph).replace("hr",block$1.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",block$1.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-]*(?:attribute)*?\\s*/?>|^<\\?[\\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]*?(?:(?=[\\?@\\[\\]`^{|}~";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$1._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$1._label).getRegex();inline$1.nolink=edit(inline$1.nolink).replace("ref",block$1._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:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(a="x"+a.toString(16)),t+="&#"+a+";";return t}class Lexer{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||defaults,this.options.tokenizer=this.options.tokenizer||new Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:block$1.normal,inline:inline$1.normal};this.options.pedantic?(r.block=block$1.pedantic,r.inline=inline$1.pedantic):this.options.gfm&&(r.block=block$1.gfm,this.options.breaks?r.inline=inline$1.breaks:r.inline=inline$1.gfm),this.tokenizer.rules=r}static get rules(){return{block:block$1,inline:inline$1}}static lex(t,r){return new Lexer(r).lex(t)}static lexInline(t,r){return new Lexer(r).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` `),this.blockTokens(t,this.tokens);let r;for(;r=this.inlineQueue.shift();)this.inlineTokens(r.src,r.tokens);return this.tokens}blockTokens(t,r=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(f,g,_)=>g+" ".repeat(_.length));let a,o,u,d;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(f=>(a=f.call({lexer:this},t,r))?(t=t.substring(a.raw.length),r.push(a),!0):!1))){if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length),a.raw.length===1&&r.length>0?r[r.length-1].raw+=` `:r.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length),o=r[r.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=` `+a.raw,o.text+=` `+a.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text):r.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length),o=r[r.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=` `+a.raw,o.text+=` `+a.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title});continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),r.push(a);continue}if(u=t,this.options.extensions&&this.options.extensions.startBlock){let f=1/0;const g=t.slice(1);let _;this.options.extensions.startBlock.forEach(function(S){_=S.call({lexer:this},g),typeof _=="number"&&_>=0&&(f=Math.min(f,_))}),f<1/0&&f>=0&&(u=t.substring(0,f+1))}if(this.state.top&&(a=this.tokenizer.paragraph(u))){o=r[r.length-1],d&&o.type==="paragraph"?(o.raw+=` `+a.raw,o.text+=` `+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):r.push(a),d=u.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length),o=r[r.length-1],o&&o.type==="text"?(o.raw+=` `+a.raw,o.text+=` `+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):r.push(a);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let a,o,u,d=t,f,g,_;if(this.tokens.links){const S=Object.keys(this.tokens.links);if(S.length>0)for(;(f=this.tokenizer.rules.inline.reflinkSearch.exec(d))!=null;)S.includes(f[0].slice(f[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,f.index)+"["+repeatString("a",f[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(f=this.tokenizer.rules.inline.blockSkip.exec(d))!=null;)d=d.slice(0,f.index)+"["+repeatString("a",f[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(f=this.tokenizer.rules.inline.escapedEmSt.exec(d))!=null;)d=d.slice(0,f.index+f[0].length-2)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(g||(_=""),g=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(S=>(a=S.call({lexer:this},t,r))?(t=t.substring(a.raw.length),r.push(a),!0):!1))){if(a=this.tokenizer.escape(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.tag(t)){t=t.substring(a.raw.length),o=r[r.length-1],o&&a.type==="text"&&o.type==="text"?(o.raw+=a.raw,o.text+=a.text):r.push(a);continue}if(a=this.tokenizer.link(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(a.raw.length),o=r[r.length-1],o&&a.type==="text"&&o.type==="text"?(o.raw+=a.raw,o.text+=a.text):r.push(a);continue}if(a=this.tokenizer.emStrong(t,d,_)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.codespan(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.br(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.del(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.autolink(t,mangle)){t=t.substring(a.raw.length),r.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(t,mangle))){t=t.substring(a.raw.length),r.push(a);continue}if(u=t,this.options.extensions&&this.options.extensions.startInline){let S=1/0;const E=t.slice(1);let v;this.options.extensions.startInline.forEach(function(b){v=b.call({lexer:this},E),typeof v=="number"&&v>=0&&(S=Math.min(S,v))}),S<1/0&&S>=0&&(u=t.substring(0,S+1))}if(a=this.tokenizer.inlineText(u,smartypants)){t=t.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(_=a.raw.slice(-1)),g=!0,o=r[r.length-1],o&&o.type==="text"?(o.raw+=a.raw,o.text+=a.text):r.push(a);continue}if(t){const S="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(S);break}else throw new Error(S)}}return r}}class Renderer{constructor(t){this.options=t||defaults}code(t,r,a){const o=(r||"").match(/\S*/)[0];if(this.options.highlight){const u=this.options.highlight(t,o);u!=null&&u!==t&&(a=!0,t=u)}return t=t.replace(/\n$/,"")+` `,o?'
'+(a?t:escape$1(t,!0))+`
`:"
"+(a?t:escape$1(t,!0))+`
`}blockquote(t){return`
${t}
`}html(t){return t}heading(t,r,a,o){if(this.options.headerIds){const u=this.options.headerPrefix+o.slug(a);return`${t} `}return`${t} `}hr(){return this.options.xhtml?`
`:`
`}list(t,r,a){const o=r?"ol":"ul",u=r&&a!==1?' start="'+a+'"':"";return"<"+o+u+`> `+t+" `}listitem(t){return`
  • ${t}
  • `}checkbox(t){return" "}paragraph(t){return`

    ${t}

    `}table(t,r){return r&&(r=`${r}`),` `+t+` `+r+`
    `}tablerow(t){return` ${t} `}tablecell(t,r){const a=r.header?"th":"td";return(r.align?`<${a} align="${r.align}">`:`<${a}>`)+t+` `}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
    ":"
    "}del(t){return`${t}`}link(t,r,a){if(t=cleanUrl(this.options.sanitize,this.options.baseUrl,t),t===null)return a;let o='
    ",o}image(t,r,a){if(t=cleanUrl(this.options.sanitize,this.options.baseUrl,t),t===null)return a;let o=`${a}":">",o}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,r,a){return""+a}image(t,r,a){return""+a}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,r){let a=t,o=0;if(this.seen.hasOwnProperty(a)){o=this.seen[t];do o++,a=t+"-"+o;while(this.seen.hasOwnProperty(a))}return r||(this.seen[t]=o,this.seen[a]=0),a}slug(t,r={}){const a=this.serialize(t);return this.getNextSafeSlug(a,r.dryrun)}}let Parser$1=class _t{constructor(t){this.options=t||defaults,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,r){return new _t(r).parse(t)}static parseInline(t,r){return new _t(r).parseInline(t)}parse(t,r=!0){let a="",o,u,d,f,g,_,S,E,v,b,y,T,C,R,A,O,x,N,I;const k=t.length;for(o=0;o0&&A.tokens[0].type==="paragraph"?(A.tokens[0].text=N+" "+A.tokens[0].text,A.tokens[0].tokens&&A.tokens[0].tokens.length>0&&A.tokens[0].tokens[0].type==="text"&&(A.tokens[0].tokens[0].text=N+" "+A.tokens[0].tokens[0].text)):A.tokens.unshift({type:"text",text:N}):R+=N),R+=this.parse(A.tokens,C),v+=this.renderer.listitem(R,x,O);a+=this.renderer.list(v,y,T);continue}case"html":{a+=this.renderer.html(b.text);continue}case"paragraph":{a+=this.renderer.paragraph(this.parseInline(b.tokens));continue}case"text":{for(v=b.tokens?this.parseInline(b.tokens):b.text;o+1{if(a.message+=` Please report this to https://github.com/markedjs/marked.`,e){const o="

    An error occurred:

    "+escape$1(a.message+"",!0)+"
    ";if(t)return Promise.resolve(o);if(r){r(null,o);return}return o}if(t)return Promise.reject(a);if(r){r(a);return}throw a}}function parseMarkdown(e,t){return(r,a,o)=>{typeof a=="function"&&(o=a,a=null);const u={...a};a={...marked.defaults,...u};const d=onError(a.silent,a.async,o);if(typeof r>"u"||r===null)return d(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return d(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(checkSanitizeDeprecation(a),a.hooks&&(a.hooks.options=a),o){const f=a.highlight;let g;try{a.hooks&&(r=a.hooks.preprocess(r)),g=e(r,a)}catch(E){return d(E)}const _=function(E){let v;if(!E)try{a.walkTokens&&marked.walkTokens(g,a.walkTokens),v=t(g,a),a.hooks&&(v=a.hooks.postprocess(v))}catch(b){E=b}return a.highlight=f,E?d(E):o(null,v)};if(!f||f.length<3||(delete a.highlight,!g.length))return _();let S=0;marked.walkTokens(g,function(E){E.type==="code"&&(S++,setTimeout(()=>{f(E.text,E.lang,function(v,b){if(v)return _(v);b!=null&&b!==E.text&&(E.text=b,E.escaped=!0),S--,S===0&&_()})},0))}),S===0&&_();return}if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(f=>e(f,a)).then(f=>a.walkTokens?Promise.all(marked.walkTokens(f,a.walkTokens)).then(()=>f):f).then(f=>t(f,a)).then(f=>a.hooks?a.hooks.postprocess(f):f).catch(d);try{a.hooks&&(r=a.hooks.preprocess(r));const f=e(r,a);a.walkTokens&&marked.walkTokens(f,a.walkTokens);let g=t(f,a);return a.hooks&&(g=a.hooks.postprocess(g)),g}catch(f){return d(f)}}}function marked(e,t,r){return parseMarkdown(Lexer.lex,Parser$1.parse)(e,t,r)}marked.options=marked.setOptions=function(e){return marked.defaults={...marked.defaults,...e},changeDefaults(marked.defaults),marked};marked.getDefaults=getDefaults;marked.defaults=defaults;marked.use=function(...e){const t=marked.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(r=>{const a={...r};if(a.async=marked.defaults.async||a.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if(o.renderer){const u=t.renderers[o.name];u?t.renderers[o.name]=function(...d){let f=o.renderer.apply(this,d);return f===!1&&(f=u.apply(this,d)),f}:t.renderers[o.name]=o.renderer}if(o.tokenizer){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[o.level]?t[o.level].unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&(o.level==="block"?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:o.level==="inline"&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),a.extensions=t),r.renderer){const o=marked.defaults.renderer||new Renderer;for(const u in r.renderer){const d=o[u];o[u]=(...f)=>{let g=r.renderer[u].apply(o,f);return g===!1&&(g=d.apply(o,f)),g}}a.renderer=o}if(r.tokenizer){const o=marked.defaults.tokenizer||new Tokenizer;for(const u in r.tokenizer){const d=o[u];o[u]=(...f)=>{let g=r.tokenizer[u].apply(o,f);return g===!1&&(g=d.apply(o,f)),g}}a.tokenizer=o}if(r.hooks){const o=marked.defaults.hooks||new Hooks;for(const u in r.hooks){const d=o[u];Hooks.passThroughHooks.has(u)?o[u]=f=>{if(marked.defaults.async)return Promise.resolve(r.hooks[u].call(o,f)).then(_=>d.call(o,_));const g=r.hooks[u].call(o,f);return d.call(o,g)}:o[u]=(...f)=>{let g=r.hooks[u].apply(o,f);return g===!1&&(g=d.apply(o,f)),g}}a.hooks=o}if(r.walkTokens){const o=marked.defaults.walkTokens;a.walkTokens=function(u){let d=[];return d.push(r.walkTokens.call(this,u)),o&&(d=d.concat(o.call(this,u))),d}}marked.setOptions(a)})};marked.walkTokens=function(e,t){let r=[];for(const a of e)switch(r=r.concat(t.call(marked,a)),a.type){case"table":{for(const o of a.header)r=r.concat(marked.walkTokens(o.tokens,t));for(const o of a.rows)for(const u of o)r=r.concat(marked.walkTokens(u.tokens,t));break}case"list":{r=r.concat(marked.walkTokens(a.items,t));break}default:marked.defaults.extensions&&marked.defaults.extensions.childTokens&&marked.defaults.extensions.childTokens[a.type]?marked.defaults.extensions.childTokens[a.type].forEach(function(o){r=r.concat(marked.walkTokens(a[o],t))}):a.tokens&&(r=r.concat(marked.walkTokens(a.tokens,t)))}return r};marked.parseInline=parseMarkdown(Lexer.lexInline,Parser$1.parseInline);marked.Parser=Parser$1;marked.parser=Parser$1.parse;marked.Renderer=Renderer;marked.TextRenderer=TextRenderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.Tokenizer=Tokenizer;marked.Slugger=Slugger;marked.Hooks=Hooks;marked.parse=marked;marked.options;marked.setOptions;marked.use;marked.walkTokens;marked.parseInline;Parser$1.parse;Lexer.lex;function dedent(e){for(var t=[],r=1;r=U?V:""+Array(U+1-K.length).join(W)+V},x={s:O,z:function(V){var U=-V.utcOffset(),W=Math.abs(U),K=Math.floor(W/60),G=W%60;return(U<=0?"+":"-")+O(K,2,"0")+":"+O(G,2,"0")},m:function V(U,W){if(U.date()1)return V(Q[0])}else{var Z=U.name;I[Z]=U,G=Z}return!K&&G&&(N=G),G||!K&&N},P=function(V,U){if(k(V))return V.clone();var W=typeof U=="object"?U:{};return W.date=V,W.args=arguments,new F(W)},L=x;L.l=D,L.i=k,L.w=function(V,U){return P(V,{locale:U.$L,utc:U.$u,x:U.$x,$offset:U.$offset})};var F=function(){function V(W){this.$L=D(W.locale,null,!0),this.parse(W)}var U=V.prototype;return U.parse=function(W){this.$d=function(K){var G=K.date,Y=K.utc;if(G===null)return new Date(NaN);if(L.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var Q=G.match(C);if(Q){var Z=Q[2]-1||0,J=(Q[7]||"0").substring(0,3);return Y?new Date(Date.UTC(Q[1],Z,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,J)):new Date(Q[1],Z,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,J)}}return new Date(G)}(W),this.$x=W.x||{},this.init()},U.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},U.$utils=function(){return L},U.isValid=function(){return this.$d.toString()!==T},U.isSame=function(W,K){var G=P(W);return this.startOf(K)<=G&&G<=this.endOf(K)},U.isAfter=function(W,K){return P(W)-1}function g(S){var E=S.replace(o,"");return E.replace(r,function(v,b){return String.fromCharCode(b)})}function _(S){if(!S)return e.BLANK_URL;var E=g(S).replace(a,"").replace(o,"").trim();if(!E)return e.BLANK_URL;if(f(E))return E;var v=E.match(u);if(!v)return E;var b=v[0];return t.test(b)?e.BLANK_URL:E}e.sanitizeUrl=_})(dist);const Channel={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{const t=e/255;return e>.03928?Math.pow((t+.055)/1.055,2.4):t/12.92},hue2rgb:(e,t,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e),hsl2rgb:({h:e,s:t,l:r},a)=>{if(!t)return r*2.55;e/=360,t/=100,r/=100;const o=r<.5?r*(1+t):r+t-r*t,u=2*r-o;switch(a){case"r":return Channel.hue2rgb(u,o,e+1/3)*255;case"g":return Channel.hue2rgb(u,o,e)*255;case"b":return Channel.hue2rgb(u,o,e-1/3)*255}},rgb2hsl:({r:e,g:t,b:r},a)=>{e/=255,t/=255,r/=255;const o=Math.max(e,t,r),u=Math.min(e,t,r),d=(o+u)/2;if(a==="l")return d*100;if(o===u)return 0;const f=o-u,g=d>.5?f/(2-o-u):f/(o+u);if(a==="s")return g*100;switch(o){case e:return((t-r)/f+(tt>r?Math.min(t,Math.max(r,e)):Math.min(r,Math.max(t,e)),round:e=>Math.round(e*1e10)/1e10},lang=Lang,Unit={dec2hex:e=>{const t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}},unit=Unit,Utils={channel:Channel,lang,unit},DEC2HEX={};for(let e=0;e<=255;e++)DEC2HEX[e]=Utils.unit.dec2hex(e);const TYPE={ALL:0,RGB:1,HSL:2};class Type{constructor(){this.type=TYPE.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=TYPE.ALL}is(t){return this.type===t}}class Channels{constructor(t,r){this.color=r,this.changed=!1,this.data=t,this.type=new Type}set(t,r){return this.color=r,this.changed=!1,this.data=t,this.type.type=TYPE.ALL,this}_ensureHSL(){const t=this.data,{h:r,s:a,l:o}=t;r===void 0&&(t.h=Utils.channel.rgb2hsl(t,"h")),a===void 0&&(t.s=Utils.channel.rgb2hsl(t,"s")),o===void 0&&(t.l=Utils.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r,g:a,b:o}=t;r===void 0&&(t.r=Utils.channel.hsl2rgb(t,"r")),a===void 0&&(t.g=Utils.channel.hsl2rgb(t,"g")),o===void 0&&(t.b=Utils.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,r=t.r;return!this.type.is(TYPE.HSL)&&r!==void 0?r:(this._ensureHSL(),Utils.channel.hsl2rgb(t,"r"))}get g(){const t=this.data,r=t.g;return!this.type.is(TYPE.HSL)&&r!==void 0?r:(this._ensureHSL(),Utils.channel.hsl2rgb(t,"g"))}get b(){const t=this.data,r=t.b;return!this.type.is(TYPE.HSL)&&r!==void 0?r:(this._ensureHSL(),Utils.channel.hsl2rgb(t,"b"))}get h(){const t=this.data,r=t.h;return!this.type.is(TYPE.RGB)&&r!==void 0?r:(this._ensureRGB(),Utils.channel.rgb2hsl(t,"h"))}get s(){const t=this.data,r=t.s;return!this.type.is(TYPE.RGB)&&r!==void 0?r:(this._ensureRGB(),Utils.channel.rgb2hsl(t,"s"))}get l(){const t=this.data,r=t.l;return!this.type.is(TYPE.RGB)&&r!==void 0?r:(this._ensureRGB(),Utils.channel.rgb2hsl(t,"l"))}get a(){return this.data.a}set r(t){this.type.set(TYPE.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(TYPE.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(TYPE.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(TYPE.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(TYPE.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(TYPE.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const Channels$1=Channels,channels=new Channels$1({r:0,g:0,b:0,a:0},"transparent"),Hex={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const t=e.match(Hex.re);if(!t)return;const r=t[1],a=parseInt(r,16),o=r.length,u=o%4===0,d=o>4,f=d?1:17,g=d?8:4,_=u?0:-1,S=d?255:15;return channels.set({r:(a>>g*(_+3)&S)*f,g:(a>>g*(_+2)&S)*f,b:(a>>g*(_+1)&S)*f,a:u?(a&S)*f/255:1},e)},stringify:e=>{const{r:t,g:r,b:a,a:o}=e;return o<1?`#${DEC2HEX[Math.round(t)]}${DEC2HEX[Math.round(r)]}${DEC2HEX[Math.round(a)]}${DEC2HEX[Math.round(o*255)]}`:`#${DEC2HEX[Math.round(t)]}${DEC2HEX[Math.round(r)]}${DEC2HEX[Math.round(a)]}`}},HSL={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{const t=e.match(HSL.hueRe);if(t){const[,r,a]=t;switch(a){case"grad":return Utils.channel.clamp.h(parseFloat(r)*.9);case"rad":return Utils.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return Utils.channel.clamp.h(parseFloat(r)*360)}}return Utils.channel.clamp.h(parseFloat(e))},parse:e=>{const t=e.charCodeAt(0);if(t!==104&&t!==72)return;const r=e.match(HSL.re);if(!r)return;const[,a,o,u,d,f]=r;return channels.set({h:HSL._hue2deg(a),s:Utils.channel.clamp.s(parseFloat(o)),l:Utils.channel.clamp.l(parseFloat(u)),a:d?Utils.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},e)},stringify:e=>{const{h:t,s:r,l:a,a:o}=e;return o<1?`hsla(${Utils.lang.round(t)}, ${Utils.lang.round(r)}%, ${Utils.lang.round(a)}%, ${o})`:`hsl(${Utils.lang.round(t)}, ${Utils.lang.round(r)}%, ${Utils.lang.round(a)}%)`}},Keyword={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();const t=Keyword.colors[e];if(t)return Hex.parse(t)},stringify:e=>{const t=Hex.stringify(e);for(const r in Keyword.colors)if(Keyword.colors[r]===t)return r}},RGB={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{const t=e.charCodeAt(0);if(t!==114&&t!==82)return;const r=e.match(RGB.re);if(!r)return;const[,a,o,u,d,f,g,_,S]=r;return channels.set({r:Utils.channel.clamp.r(o?parseFloat(a)*2.55:parseFloat(a)),g:Utils.channel.clamp.g(d?parseFloat(u)*2.55:parseFloat(u)),b:Utils.channel.clamp.b(g?parseFloat(f)*2.55:parseFloat(f)),a:_?Utils.channel.clamp.a(S?parseFloat(_)/100:parseFloat(_)):1},e)},stringify:e=>{const{r:t,g:r,b:a,a:o}=e;return o<1?`rgba(${Utils.lang.round(t)}, ${Utils.lang.round(r)}, ${Utils.lang.round(a)}, ${Utils.lang.round(o)})`:`rgb(${Utils.lang.round(t)}, ${Utils.lang.round(r)}, ${Utils.lang.round(a)})`}},Color={format:{keyword:Keyword,hex:Hex,rgb:RGB,rgba:RGB,hsl:HSL,hsla:HSL},parse:e=>{if(typeof e!="string")return e;const t=Hex.parse(e)||RGB.parse(e)||HSL.parse(e)||Keyword.parse(e);if(t)return t;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(TYPE.HSL)||e.data.r===void 0?HSL.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?RGB.stringify(e):Hex.stringify(e)},change=(e,t)=>{const r=Color.parse(e);for(const a in t)r[a]=Utils.channel.clamp[a](t[a]);return Color.stringify(r)},rgba$1=(e,t,r=0,a=1)=>{if(typeof e!="number")return change(e,{a:t});const o=channels.set({r:Utils.channel.clamp.r(e),g:Utils.channel.clamp.g(t),b:Utils.channel.clamp.b(r),a:Utils.channel.clamp.a(a)});return Color.stringify(o)},luminance=e=>{const{r:t,g:r,b:a}=Color.parse(e),o=.2126*Utils.channel.toLinear(t)+.7152*Utils.channel.toLinear(r)+.0722*Utils.channel.toLinear(a);return Utils.lang.round(o)},isLight=e=>luminance(e)>=.5,isLight$1=isLight,isDark=e=>!isLight$1(e),adjustChannel=(e,t,r)=>{const a=Color.parse(e),o=a[t],u=Utils.channel.clamp[t](o+r);return o!==u&&(a[t]=u),Color.stringify(a)},lighten$1=(e,t)=>adjustChannel(e,"l",t),darken$1=(e,t)=>adjustChannel(e,"l",-t),adjust=(e,t)=>{const r=Color.parse(e),a={};for(const o in t)t[o]&&(a[o]=r[o]+t[o]);return change(e,a)},mix=(e,t,r=50)=>{const{r:a,g:o,b:u,a:d}=Color.parse(e),{r:f,g,b:_,a:S}=Color.parse(t),E=r/100,v=E*2-1,b=d-S,T=((v*b===-1?v:(v+b)/(1+v*b))+1)/2,C=1-T,R=a*T+f*C,A=o*T+g*C,O=u*T+_*C,x=d*E+S*(1-E);return rgba$1(R,A,O,x)},invert=(e,t=100)=>{const r=Color.parse(e);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,mix(r,e,t)};var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root.Symbol,objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty$b.call(e,symToStringTag$1),r=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var a=!0}catch{}var o=nativeObjectToString$1.call(e);return a&&(t?e[symToStringTag$1]=r:delete e[symToStringTag$1]),o}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObject$3(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject$3(e))return!1;var t=baseGetTag(e);return t==funcTag$1||t==genTag||t==asyncTag||t==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(e){if(e!=null){try{return funcToString$2.call(e)}catch{}try{return e+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$a=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$a=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject$3(e)||isMasked(e))return!1;var t=isFunction(e)?reIsNative:reIsHostCtor;return t.test(toSource(e))}function getValue(e,t){return e==null?void 0:e[t]}function getNative(e,t){var r=getValue(e,t);return baseIsNative(r)?r:void 0}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$9=Object.prototype,hasOwnProperty$9=objectProto$9.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate){var r=t[e];return r===HASH_UNDEFINED$1?void 0:r}return hasOwnProperty$9.call(t,e)?t[e]:void 0}var objectProto$8=Object.prototype,hasOwnProperty$8=objectProto$8.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate?t[e]!==void 0:hasOwnProperty$8.call(t,e)}var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate&&t===void 0?HASH_UNDEFINED:t,this}function Hash(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}function listCacheSet(e,t){var r=this.__data__,a=assocIndexOf(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}function stubFalse(){return!1}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,Buffer=moduleExports$1?root.Buffer:void 0,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse;const isBuffer$1=isBuffer;var objectTag$2="[object Object]",funcProto=Function.prototype,objectProto$5=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$6=objectProto$5.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=objectTag$2)return!1;var t=getPrototype$1(e);if(t===null)return!0;var r=hasOwnProperty$6.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&funcToString.call(r)==objectCtorString}var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag="[object Number]",objectTag$1="[object Object]",regexpTag="[object RegExp]",setTag$2="[object Set]",stringTag="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag]=typedArrayTags[objectTag$1]=typedArrayTags[regexpTag]=typedArrayTags[setTag$2]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag$1]=!1;function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var e=freeModule&&freeModule.require&&freeModule.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;const isTypedArray$1=isTypedArray;function safeGet(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var objectProto$4=Object.prototype,hasOwnProperty$5=objectProto$4.hasOwnProperty;function assignValue(e,t,r){var a=e[t];(!(hasOwnProperty$5.call(e,t)&&eq(a,r))||r===void 0&&!(t in e))&&baseAssignValue(e,t,r)}function copyObject(e,t,r,a){var o=!r;r||(r={});for(var u=-1,d=t.length;++u-1&&e%1==0&&e0){if(++t>=HOT_COUNT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var setToString=shortOut(baseSetToString$1);function baseRest(e,t){return setToString(overRest(e,t,identity),e+"")}function isIterateeCall(e,t,r){if(!isObject$3(r))return!1;var a=typeof t;return(a=="number"?isArrayLike(r)&&isIndex(t,r.length):a=="string"&&t in r)?eq(r[t],e):!1}function createAssigner(e){return baseRest(function(t,r){var a=-1,o=r.length,u=o>1?r[o-1]:void 0,d=o>2?r[2]:void 0;for(u=e.length>3&&typeof u=="function"?(o--,u):void 0,d&&isIterateeCall(r[0],r[1],d)&&(u=o<3?void 0:u,o=1),t=Object(t);++a0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token(character)>3?"":" "}function escaping(e,t){for(;--t&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(e,caret()+(t<6&&peek()==32&&next()==32))}function delimiter(e){for(;next();)switch(character){case e:return position;case 34:case 39:e!==34&&e!==39&&delimiter(character);break;case 40:e===41&&delimiter(e);break;case 92:next();break}return position}function commenter(e,t){for(;next()&&e+character!==57;)if(e+character===84&&peek()===47)break;return"/*"+slice(t,position-1)+"*"+from(e===47?e:next())}function identifier(e){for(;!token(peek());)next();return slice(e,position)}function compile(e){return dealloc(parse$4("",null,null,null,[""],e=alloc(e),0,[0],e))}function parse$4(e,t,r,a,o,u,d,f,g){for(var _=0,S=0,E=d,v=0,b=0,y=0,T=1,C=1,R=1,A=0,O="",x=o,N=u,I=a,k=O;C;)switch(y=A,A=next()){case 40:if(y!=108&&charat(k,E-1)==58){indexof(k+=replace$1(delimit(A),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:k+=delimit(A);break;case 9:case 10:case 13:case 32:k+=whitespace(y);break;case 92:k+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),t,r,g),g);break;default:k+="/"}break;case 123*T:f[_++]=strlen(k)*R;case 125*T:case 59:case 0:switch(A){case 0:case 125:C=0;case 59+S:R==-1&&(k=replace$1(k,/\f/g,"")),b>0&&strlen(k)-E&&append(b>32?declaration(k+";",a,r,E-1,g):declaration(replace$1(k," ","")+";",a,r,E-2,g),g);break;case 59:k+=";";default:if(append(I=ruleset(k,t,r,_,S,o,f,O,x=[],N=[],E,u),u),A===123)if(S===0)parse$4(k,t,I,I,x,u,E,f,N);else switch(v===99&&charat(k,3)===110?100:v){case 100:case 108:case 109:case 115:parse$4(e,I,I,a&&append(ruleset(e,I,I,0,0,o,f,O,o,x=[],E,N),N),o,N,E,f,a?x:N);break;default:parse$4(k,I,I,I,[""],N,0,f,N)}}_=S=b=0,T=R=1,O=k="",E=d;break;case 58:E=1+strlen(k),b=y;default:if(T<1){if(A==123)--T;else if(A==125&&T++==0&&prev$1()==125)continue}switch(k+=from(A),A*T){case 38:R=S>0?1:(k+="\f",-1);break;case 44:f[_++]=(strlen(k)-1)*R,R=1;break;case 64:peek()===45&&(k+=delimit(next())),v=peek(),S=E=strlen(O=k+=identifier(caret())),A++;break;case 45:y===45&&strlen(k)==2&&(T=0)}}return u}function ruleset(e,t,r,a,o,u,d,f,g,_,S,E){for(var v=o-1,b=o===0?u:[""],y=sizeof(b),T=0,C=0,R=0;T0?b[A]+" "+O:replace$1(O,/&\f/g,b[A])))&&(g[R++]=x);return node(e,t,r,o===0?RULESET:f,g,_,S,E)}function comment(e,t,r,a){return node(e,t,r,COMMENT,from(char()),substr(e,2,-2),0,a)}function declaration(e,t,r,a,o){return node(e,t,r,DECLARATION,substr(e,0,a),substr(e,a+1,-1),a,o)}function serialize(e,t){for(var r="",a=0;a{},debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{},fatal:(...e)=>{}},setLogLevel$1=function(e="fatal"){let t=LEVELS.fatal;typeof e=="string"?(e=e.toLowerCase(),e in LEVELS&&(t=LEVELS[e])):typeof e=="number"&&(t=e),log$1.trace=()=>{},log$1.debug=()=>{},log$1.info=()=>{},log$1.warn=()=>{},log$1.error=()=>{},log$1.fatal=()=>{},t<=LEVELS.fatal&&(log$1.fatal=console.error?console.error.bind(console,format$1("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",format$1("FATAL"))),t<=LEVELS.error&&(log$1.error=console.error?console.error.bind(console,format$1("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",format$1("ERROR"))),t<=LEVELS.warn&&(log$1.warn=console.warn?console.warn.bind(console,format$1("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",format$1("WARN"))),t<=LEVELS.info&&(log$1.info=console.info?console.info.bind(console,format$1("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",format$1("INFO"))),t<=LEVELS.debug&&(log$1.debug=console.debug?console.debug.bind(console,format$1("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",format$1("DEBUG"))),t<=LEVELS.trace&&(log$1.trace=console.debug?console.debug.bind(console,format$1("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",format$1("TRACE")))},format$1=e=>`%c${dayjs().format("ss.SSS")} : ${e} : `,lineBreakRegex=//gi,getRows=e=>e?breakToPlaceholder(e).replace(/\\n/g,"#br#").split("#br#"):[""],removeScript=e=>purify.sanitize(e),sanitizeMore=(e,t)=>{var r;if(((r=t.flowchart)==null?void 0:r.htmlLabels)!==!1){const a=t.securityLevel;a==="antiscript"||a==="strict"?e=removeScript(e):a!=="loose"&&(e=breakToPlaceholder(e),e=e.replace(//g,">"),e=e.replace(/=/g,"="),e=placeholderToBreak(e))}return e},sanitizeText$2=(e,t)=>e&&(t.dompurifyConfig?e=purify.sanitize(sanitizeMore(e,t),t.dompurifyConfig).toString():e=purify.sanitize(sanitizeMore(e,t),{FORBID_TAGS:["style"]}).toString(),e),sanitizeTextOrArray=(e,t)=>typeof e=="string"?sanitizeText$2(e,t):e.flat().map(r=>sanitizeText$2(r,t)),hasBreaks=e=>lineBreakRegex.test(e),splitBreaks=e=>e.split(lineBreakRegex),placeholderToBreak=e=>e.replace(/#br#/g,"
    "),breakToPlaceholder=e=>e.replace(lineBreakRegex,"#br#"),getUrl=e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=t.replaceAll(/\(/g,"\\("),t=t.replaceAll(/\)/g,"\\)")),t},evaluate=e=>!(e===!1||["false","null","0"].includes(String(e).trim().toLowerCase())),getMax=function(...e){const t=e.filter(r=>!isNaN(r));return Math.max(...t)},getMin=function(...e){const t=e.filter(r=>!isNaN(r));return Math.min(...t)},parseGenericTypes=function(e){let t=e;if(e.split("~").length-1>=2){let r=t;do t=r,r=t.replace(/~([^\s,:;]+)~/,"<$1>");while(r!=t);return parseGenericTypes(r)}else return t},common$1={getRows,sanitizeText:sanitizeText$2,sanitizeTextOrArray,hasBreaks,splitBreaks,lineBreakRegex,removeScript,getUrl,evaluate,getMax,getMin},mkBorder=(e,t)=>t?adjust(e,{s:-40,l:10}):adjust(e,{s:-40,l:-10}),oldAttributeBackgroundColorOdd="#ffffff",oldAttributeBackgroundColorEven="#f2f2f2";let Theme$4=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||adjust(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||adjust(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||mkBorder(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||mkBorder(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||invert(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||invert(this.tertiaryColor),this.lineColor=this.lineColor||invert(this.background),this.arrowheadColor=this.arrowheadColor||invert(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?darken$1(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||darken$1(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||invert(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||lighten$1(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r{this[a]=t[a]}),this.updateColors(),r.forEach(a=>{this[a]=t[a]})}};const getThemeVariables$4=e=>{const t=new Theme$4;return t.calculate(e),t};let Theme$3=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=lighten$1(this.primaryColor,16),this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=invert(this.background),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=lighten$1(invert("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=rgba$1(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=darken$1("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=darken$1(this.sectionBkgColor,10),this.taskBorderColor=rgba$1(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=rgba$1(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=lighten$1(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=lighten$1(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=lighten$1(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330});for(let t=0;t{this[a]=t[a]}),this.updateColors(),r.forEach(a=>{this[a]=t[a]})}};const getThemeVariables$3=e=>{const t=new Theme$3;return t.calculate(e),t};let Theme$2=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=adjust(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=rgba$1(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||darken$1(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||darken$1(this.tertiaryColor,40);for(let t=0;t{this[a]=t[a]}),this.updateColors(),r.forEach(a=>{this[a]=t[a]})}};const getThemeVariables$2=e=>{const t=new Theme$2;return t.calculate(e),t};let Theme$1=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=lighten$1("#cde498",10),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.primaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=darken$1(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||darken$1(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||darken$1(this.tertiaryColor,40);for(let t=0;t{this[a]=t[a]}),this.updateColors(),r.forEach(a=>{this[a]=t[a]})}};const getThemeVariables$1=e=>{const t=new Theme$1;return t.calculate(e),t};class Theme5{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=lighten$1(this.contrast,55),this.background="#ffffff",this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=lighten$1(this.contrast,55),this.border2=this.contrast,this.actorBorder=lighten$1(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t{this[a]=t[a]}),this.updateColors(),r.forEach(a=>{this[a]=t[a]})}}const getThemeVariables=e=>{const t=new Theme5;return t.calculate(e),t},theme$1={base:{getThemeVariables:getThemeVariables$4},dark:{getThemeVariables:getThemeVariables$3},default:{getThemeVariables:getThemeVariables$2},forest:{getThemeVariables:getThemeVariables$1},neutral:{getThemeVariables}},defaultConfigJson={flowchart:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},config$1={...defaultConfigJson,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:theme$1.default.getThemeVariables(),sequence:{...defaultConfigJson.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...defaultConfigJson.gantt,tickInterval:void 0,useWidth:void 0},c4:{...defaultConfigJson.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...defaultConfigJson.pie,useWidth:984},requirement:{...defaultConfigJson.requirement,useWidth:void 0},gitGraph:{...defaultConfigJson.gitGraph,useMaxWidth:!1},sankey:{...defaultConfigJson.sankey,useMaxWidth:!1}},keyify=(e,t="")=>Object.keys(e).reduce((r,a)=>Array.isArray(e[a])?r:typeof e[a]=="object"&&e[a]!==null?[...r,t+a,...keyify(e[a],"")]:[...r,t+a],[]),configKeys=new Set(keyify(config$1,"")),defaultConfig$1=config$1,frontMatterRegex=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,directiveRegex=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,anyCommentRegex=/\s*%%.*\n/gm;class UnknownDiagramError extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const detectors={},detectType=function(e,t){e=e.replace(frontMatterRegex,"").replace(directiveRegex,"").replace(anyCommentRegex,` `);for(const[r,{detector:a}]of Object.entries(detectors))if(a(e,t))return r;throw new UnknownDiagramError(`No diagram type detected matching given configuration for text: ${e}`)},registerLazyLoadedDiagrams=(...e)=>{for(const{id:t,detector:r,loader:a}of e)addDetector(t,r,a)},addDetector=(e,t,r)=>{detectors[e]?log$1.error(`Detector with key ${e} already exists`):detectors[e]={detector:t,loader:r},log$1.debug(`Detector with key ${e} added${r?" with loader":""}`)},getDiagramLoader=e=>detectors[e].loader,assignWithDepth=(e,t,{depth:r=2,clobber:a=!1}={})=>{const o={depth:r,clobber:a};return Array.isArray(t)&&!Array.isArray(e)?(t.forEach(u=>assignWithDepth(e,u,o)),e):Array.isArray(t)&&Array.isArray(e)?(t.forEach(u=>{e.includes(u)||e.push(u)}),e):e===void 0||r<=0?e!=null&&typeof e=="object"&&typeof t=="object"?Object.assign(e,t):t:(t!==void 0&&typeof e=="object"&&typeof t=="object"&&Object.keys(t).forEach(u=>{typeof t[u]=="object"&&(e[u]===void 0||typeof e[u]=="object")?(e[u]===void 0&&(e[u]=Array.isArray(t[u])?[]:{}),e[u]=assignWithDepth(e[u],t[u],{depth:r-1,clobber:a})):(a||typeof e[u]!="object"&&typeof t[u]!="object")&&(e[u]=t[u])}),e)},assignWithDepth$1=assignWithDepth,ZERO_WIDTH_SPACE="​",d3CurveTypes={curveBasis,curveBasisClosed,curveBasisOpen,curveBumpX:bumpX,curveBumpY:bumpY,curveBundle,curveCardinalClosed,curveCardinalOpen,curveCardinal,curveCatmullRomClosed,curveCatmullRomOpen,curveCatmullRom,curveLinear,curveLinearClosed,curveMonotoneX:monotoneX,curveMonotoneY:monotoneY,curveNatural,curveStep,curveStepAfter:stepAfter,curveStepBefore:stepBefore},directiveWithoutOpen=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,detectInit=function(e,t){const r=detectDirective(e,/(?:init\b)|(?:initialize\b)/);let a={};if(Array.isArray(r)){const u=r.map(d=>d.args);sanitizeDirective(u),a=assignWithDepth$1(a,[...u])}else a=r.args;if(!a)return;let o=detectType(e,t);return["config"].forEach(u=>{a[u]!==void 0&&(o==="flowchart-v2"&&(o="flowchart"),a[o]=a[u],delete a[u])}),a},detectDirective=function(e,t=null){try{const r=new RegExp(`[%]{2}(?![{]${directiveWithoutOpen.source})(?=[}][%]{2}).* `,"ig");e=e.trim().replace(r,"").replace(/'/gm,'"'),log$1.debug(`Detecting diagram directive${t!==null?" type:"+t:""} based on the text:${e}`);let a;const o=[];for(;(a=directiveRegex.exec(e))!==null;)if(a.index===directiveRegex.lastIndex&&directiveRegex.lastIndex++,a&&!t||t&&a[1]&&a[1].match(t)||t&&a[2]&&a[2].match(t)){const u=a[1]?a[1]:a[2],d=a[3]?a[3].trim():a[4]?JSON.parse(a[4].trim()):null;o.push({type:u,args:d})}return o.length===0&&o.push({type:e,args:null}),o.length===1?o[0]:o}catch(r){return log$1.error(`ERROR: ${r.message} - Unable to parse directive ${t!==null?" type:"+t:""} based on the text:${e}`),{type:null,args:null}}},isSubstringInArray=function(e,t){for(const[r,a]of t.entries())if(a.match(e))return r;return-1};function interpolateToCurve(e,t){if(!e)return t;const r=`curve${e.charAt(0).toUpperCase()+e.slice(1)}`;return d3CurveTypes[r]||t}function formatUrl(e,t){const r=e.trim();if(r)return t.securityLevel!=="loose"?dist.sanitizeUrl(r):r}const runFunc=(e,...t)=>{const r=e.split("."),a=r.length-1,o=r[a];let u=window;for(let d=0;d{r+=distance(u,t),t=u});let a=r/2,o;return t=void 0,e.forEach(u=>{if(t&&!o){const d=distance(u,t);if(d=1&&(o={x:u.x,y:u.y}),f>0&&f<1&&(o={x:(1-f)*t.x+f*u.x,y:(1-f)*t.y+f*u.y})}}t=u}),o}function calcLabelPosition(e){return e.length===1?e[0]:traverseEdge(e)}const calcCardinalityPosition=(e,t,r)=>{let a;log$1.info(`our points ${JSON.stringify(t)}`),t[0]!==r&&(t=t.reverse());let u=25,d;a=void 0,t.forEach(S=>{if(a&&!d){const E=distance(S,a);if(E=1&&(d={x:S.x,y:S.y}),v>0&&v<1&&(d={x:(1-v)*a.x+v*S.x,y:(1-v)*a.y+v*S.y})}}a=S});const f=e?10:5,g=Math.atan2(t[0].y-d.y,t[0].x-d.x),_={x:0,y:0};return _.x=Math.sin(g)*f+(t[0].x+d.x)/2,_.y=-Math.cos(g)*f+(t[0].y+d.y)/2,_};function calcTerminalLabelPosition(e,t,r){let a=JSON.parse(JSON.stringify(r)),o;log$1.info("our points",a),t!=="start_left"&&t!=="start_right"&&(a=a.reverse()),a.forEach(E=>{o=E});let d=25+e,f;o=void 0,a.forEach(E=>{if(o&&!f){const v=distance(E,o);if(v=1&&(f={x:E.x,y:E.y}),b>0&&b<1&&(f={x:(1-b)*o.x+b*E.x,y:(1-b)*o.y+b*E.y})}}o=E});const g=10+e*.5,_=Math.atan2(a[0].y-f.y,a[0].x-f.x),S={x:0,y:0};return S.x=Math.sin(_)*g+(a[0].x+f.x)/2,S.y=-Math.cos(_)*g+(a[0].y+f.y)/2,t==="start_left"&&(S.x=Math.sin(_+Math.PI)*g+(a[0].x+f.x)/2,S.y=-Math.cos(_+Math.PI)*g+(a[0].y+f.y)/2),t==="end_right"&&(S.x=Math.sin(_-Math.PI)*g+(a[0].x+f.x)/2-5,S.y=-Math.cos(_-Math.PI)*g+(a[0].y+f.y)/2-5),t==="end_left"&&(S.x=Math.sin(_)*g+(a[0].x+f.x)/2-5,S.y=-Math.cos(_)*g+(a[0].y+f.y)/2-5),S}function getStylesFromArray(e){let t="",r="";for(const a of e)a!==void 0&&(a.startsWith("color:")||a.startsWith("text-align:")?r=r+a+";":t=t+a+";");return{style:t,labelStyle:r}}let cnt=0;const generateId=()=>(cnt++,"id-"+Math.random().toString(36).substr(2,12)+"-"+cnt);function makeid(e){let t="";const r="0123456789abcdef",a=r.length;for(let o=0;omakeid(e.length),getTextObj=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},drawSimpleText=function(e,t){const r=t.text.replace(common$1.lineBreakRegex," "),[,a]=parseFontSize(t.fontSize),o=e.append("text");o.attr("x",t.x),o.attr("y",t.y),o.style("text-anchor",t.anchor),o.style("font-family",t.fontFamily),o.style("font-size",a),o.style("font-weight",t.fontWeight),o.attr("fill",t.fill),t.class!==void 0&&o.attr("class",t.class);const u=o.append("tspan");return u.attr("x",t.x+t.textMargin*2),u.attr("fill",t.fill),u.text(r),o},wrapLabel=memoize((e,t,r)=>{if(!e||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},r),common$1.lineBreakRegex.test(e)))return e;const a=e.split(" "),o=[];let u="";return a.forEach((d,f)=>{const g=calculateTextWidth(`${d} `,r),_=calculateTextWidth(u,r);if(g>t){const{hyphenatedStrings:v,remainingWord:b}=breakString(d,t,"-",r);o.push(u,...v),u=b}else _+g>=t?(o.push(u),u=d):u=[u,d].filter(Boolean).join(" ");f+1===a.length&&o.push(u)}),o.filter(d=>d!=="").join(r.joinWith)},(e,t,r)=>`${e}${t}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),breakString=memoize((e,t,r="-",a)=>{a=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},a);const o=[...e],u=[];let d="";return o.forEach((f,g)=>{const _=`${d}${f}`;if(calculateTextWidth(_,a)>=t){const E=g+1,v=o.length===E,b=`${_}${r}`;u.push(v?_:b),d=""}else d=_}),{hyphenatedStrings:u,remainingWord:d}},(e,t,r="-",a)=>`${e}${t}${r}${a.fontSize}${a.fontWeight}${a.fontFamily}`);function calculateTextHeight(e,t){return t=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},t),calculateTextDimensions(e,t).height}function calculateTextWidth(e,t){return t=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},t),calculateTextDimensions(e,t).width}const calculateTextDimensions=memoize((e,t)=>{t=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},t);const{fontSize:r,fontFamily:a,fontWeight:o}=t;if(!e)return{width:0,height:0};const[,u]=parseFontSize(r),d=["sans-serif",a],f=e.split(common$1.lineBreakRegex),g=[],_=select("body");if(!_.remove)return{width:0,height:0,lineHeight:0};const S=_.append("svg");for(const v of d){let b=0;const y={width:0,height:0,lineHeight:0};for(const T of f){const C=getTextObj();C.text=T||ZERO_WIDTH_SPACE;const R=drawSimpleText(S,C).style("font-size",u).style("font-weight",o).style("font-family",v),A=(R._groups||R)[0][0].getBBox();if(A.width===0&&A.height===0)throw new Error("svg element not in render tree");y.width=Math.round(Math.max(y.width,A.width)),b=Math.round(A.height),y.height+=b,y.lineHeight=Math.round(Math.max(y.lineHeight,b))}g.push(y)}S.remove();const E=isNaN(g[1].height)||isNaN(g[1].width)||isNaN(g[1].lineHeight)||g[0].height>g[1].height&&g[0].width>g[1].width&&g[0].lineHeight>g[1].lineHeight?0:1;return g[E]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),initIdGenerator=class{constructor(t,r){this.deterministic=t,this.seed=r,this.count=r?r.length:0}next(){return this.deterministic?this.count++:Date.now()}};let decoder;const entityDecode=function(e){return decoder=decoder||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),decoder.innerHTML=e,unescape(decoder.textContent)},sanitizeDirective=e=>{if(log$1.debug("sanitizeDirective called with",e),!(typeof e!="object"||e==null)){if(Array.isArray(e)){e.forEach(t=>sanitizeDirective(t));return}for(const t of Object.keys(e)){if(log$1.debug("Checking key",t),t.startsWith("__")||t.includes("proto")||t.includes("constr")||!configKeys.has(t)||e[t]==null){log$1.debug("sanitize deleting key: ",t),delete e[t];continue}if(typeof e[t]=="object"){log$1.debug("sanitizing object",t),sanitizeDirective(e[t]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const a of r)t.includes(a)&&(log$1.debug("sanitizing css option",t),e[t]=sanitizeCss(e[t]))}if(e.themeVariables)for(const t of Object.keys(e.themeVariables)){const r=e.themeVariables[t];r!=null&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(e.themeVariables[t]="")}log$1.debug("After sanitization",e)}},sanitizeCss=e=>{let t=0,r=0;for(const a of e){if(t{if(!a)return;const o=e.node().getBBox();e.append("text").text(a).attr("x",o.x+o.width/2).attr("y",-r).attr("class",t)},parseFontSize=e=>{if(typeof e=="number")return[e,e+"px"];const t=parseInt(e,10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+"px"]:[t,e]};function cleanAndMerge(e,t){return merge$2({},e,t)}const utils$1={assignWithDepth:assignWithDepth$1,wrapLabel,calculateTextHeight,calculateTextWidth,calculateTextDimensions,cleanAndMerge,detectInit,detectDirective,isSubstringInArray,interpolateToCurve,calcLabelPosition,calcCardinalityPosition,calcTerminalLabelPosition,formatUrl,getStylesFromArray,generateId,random,runFunc,entityDecode,initIdGenerator,sanitizeDirective,sanitizeCss,insertTitle,parseFontSize},version$3="10.4.0",defaultConfig=Object.freeze(defaultConfig$1);let siteConfig=assignWithDepth$1({},defaultConfig),configFromInitialize,directives$1=[],currentConfig=assignWithDepth$1({},defaultConfig);const updateCurrentConfig=(e,t)=>{let r=assignWithDepth$1({},e),a={};for(const o of t)sanitize(o),a=assignWithDepth$1(a,o);if(r=assignWithDepth$1(r,a),a.theme&&a.theme in theme$1){const o=assignWithDepth$1({},configFromInitialize),u=assignWithDepth$1(o.themeVariables||{},a.themeVariables);r.theme&&r.theme in theme$1&&(r.themeVariables=theme$1[r.theme].getThemeVariables(u))}return currentConfig=r,checkConfig(currentConfig),currentConfig},setSiteConfig=e=>(siteConfig=assignWithDepth$1({},defaultConfig),siteConfig=assignWithDepth$1(siteConfig,e),e.theme&&theme$1[e.theme]&&(siteConfig.themeVariables=theme$1[e.theme].getThemeVariables(e.themeVariables)),updateCurrentConfig(siteConfig,directives$1),siteConfig),saveConfigFromInitialize=e=>{configFromInitialize=assignWithDepth$1({},e)},updateSiteConfig=e=>(siteConfig=assignWithDepth$1(siteConfig,e),updateCurrentConfig(siteConfig,directives$1),siteConfig),getSiteConfig=()=>assignWithDepth$1({},siteConfig),setConfig=e=>(checkConfig(e),assignWithDepth$1(currentConfig,e),getConfig$1()),getConfig$1=()=>assignWithDepth$1({},currentConfig),sanitize=e=>{e&&(["secure",...siteConfig.secure??[]].forEach(t=>{Object.hasOwn(e,t)&&(log$1.debug(`Denied attempt to modify a secure key ${t}`,e[t]),delete e[t])}),Object.keys(e).forEach(t=>{t.startsWith("__")&&delete e[t]}),Object.keys(e).forEach(t=>{typeof e[t]=="string"&&(e[t].includes("<")||e[t].includes(">")||e[t].includes("url(data:"))&&delete e[t],typeof e[t]=="object"&&sanitize(e[t])}))},addDirective=e=>{sanitizeDirective(e),e.fontFamily&&(!e.themeVariables||!e.themeVariables.fontFamily)&&(e.themeVariables={fontFamily:e.fontFamily}),directives$1.push(e),updateCurrentConfig(siteConfig,directives$1)},reset=(e=siteConfig)=>{directives$1=[],updateCurrentConfig(e,directives$1)},ConfigWarning={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},issuedWarnings={},issueWarning=e=>{issuedWarnings[e]||(log$1.warn(ConfigWarning[e]),issuedWarnings[e]=!0)},checkConfig=e=>{e&&(e.lazyLoadedDiagrams||e.loadExternalDiagramsAtStartup)&&issueWarning("LAZY_LOAD_DEPRECATED")},id$j="c4",detector$j=e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),loader$k=async()=>{const{diagram:e}=await __vitePreload(()=>import("./c4Diagram-c0b17d02-BbabBQ0b.js"),__vite__mapDeps([0,1]),import.meta.url);return{id:id$j,diagram:e}},plugin$h={id:id$j,detector:detector$j,loader:loader$k},c4=plugin$h,id$i="flowchart",detector$i=(e,t)=>{var r,a;return((r=t==null?void 0:t.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((a=t==null?void 0:t.flowchart)==null?void 0:a.defaultRenderer)==="elk"?!1:/^\s*graph/.test(e)},loader$j=async()=>{const{diagram:e}=await __vitePreload(()=>import("./flowDiagram-d6f8fe3a-7u7sIj1R.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11]),import.meta.url);return{id:id$i,diagram:e}},plugin$g={id:id$i,detector:detector$i,loader:loader$j},flowchart=plugin$g,id$h="flowchart-v2",detector$h=(e,t)=>{var r,a,o;return((r=t==null?void 0:t.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"||((a=t==null?void 0:t.flowchart)==null?void 0:a.defaultRenderer)==="elk"?!1:/^\s*graph/.test(e)&&((o=t==null?void 0:t.flowchart)==null?void 0:o.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(e)},loader$i=async()=>{const{diagram:e}=await __vitePreload(()=>import("./flowDiagram-v2-58f49b84-Uh8t1wXl.js"),__vite__mapDeps([12,3,5,4,6,7,8,9,10,11]),import.meta.url);return{id:id$h,diagram:e}},plugin$f={id:id$h,detector:detector$h,loader:loader$i},flowchartV2=plugin$f,id$g="er",detector$g=e=>/^\s*erDiagram/.test(e),loader$h=async()=>{const{diagram:e}=await __vitePreload(()=>import("./erDiagram-dedf2781-UypcrLiV.js"),__vite__mapDeps([13,4,10,11]),import.meta.url);return{id:id$g,diagram:e}},plugin$e={id:id$g,detector:detector$g,loader:loader$h},er=plugin$e,id$f="gitGraph",detector$f=e=>/^\s*gitGraph/.test(e),loader$g=async()=>{const{diagram:e}=await __vitePreload(()=>import("./gitGraphDiagram-e0ffc2d1-CGZsAiT6.js"),[],import.meta.url);return{id:id$f,diagram:e}},plugin$d={id:id$f,detector:detector$f,loader:loader$g},git=plugin$d,id$e="gantt",detector$e=e=>/^\s*gantt/.test(e),loader$f=async()=>{const{diagram:e}=await __vitePreload(()=>import("./ganttDiagram-088dbd90-CCT2OGMU.js"),__vite__mapDeps([14,15,16]),import.meta.url);return{id:id$e,diagram:e}},plugin$c={id:id$e,detector:detector$e,loader:loader$f},gantt=plugin$c,id$d="info",detector$d=e=>/^\s*info/.test(e),loader$e=async()=>{const{diagram:e}=await __vitePreload(()=>import("./infoDiagram-64895a6e-P5TVdk8z.js"),[],import.meta.url);return{id:id$d,diagram:e}},info={id:id$d,detector:detector$d,loader:loader$e},id$c="pie",detector$c=e=>/^\s*pie/.test(e),loader$d=async()=>{const{diagram:e}=await __vitePreload(()=>import("./pieDiagram-3fca7ce7-BHW_2pxx.js"),__vite__mapDeps([17,18,16,11]),import.meta.url);return{id:id$c,diagram:e}},pie={id:id$c,detector:detector$c,loader:loader$d},id$b="quadrantChart",detector$b=e=>/^\s*quadrantChart/.test(e),loader$c=async()=>{const{diagram:e}=await __vitePreload(()=>import("./quadrantDiagram-0ca4be02-CgS2VYwn.js"),__vite__mapDeps([19,15,16]),import.meta.url);return{id:id$b,diagram:e}},plugin$b={id:id$b,detector:detector$b,loader:loader$c},quadrantChart=plugin$b,id$a="requirement",detector$a=e=>/^\s*requirement(Diagram)?/.test(e),loader$b=async()=>{const{diagram:e}=await __vitePreload(()=>import("./requirementDiagram-e13af0f0-A36FzTFs.js"),__vite__mapDeps([20,4,10,11]),import.meta.url);return{id:id$a,diagram:e}},plugin$a={id:id$a,detector:detector$a,loader:loader$b},requirement=plugin$a,id$9="sequence",detector$9=e=>/^\s*sequenceDiagram/.test(e),loader$a=async()=>{const{diagram:e}=await __vitePreload(()=>import("./sequenceDiagram-84aa38e3-cRYkMtox.js"),__vite__mapDeps([21,1]),import.meta.url);return{id:id$9,diagram:e}},plugin$9={id:id$9,detector:detector$9,loader:loader$a},sequence=plugin$9,id$8="class",detector$8=(e,t)=>{var r;return((r=t==null?void 0:t.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(e)},loader$9=async()=>{const{diagram:e}=await __vitePreload(()=>import("./classDiagram-a8cc8886-Cb1pwH4D.js"),__vite__mapDeps([22,23,4,9,10,11]),import.meta.url);return{id:id$8,diagram:e}},plugin$8={id:id$8,detector:detector$8,loader:loader$9},classDiagram=plugin$8,id$7="classDiagram",detector$7=(e,t)=>{var r;return/^\s*classDiagram/.test(e)&&((r=t==null?void 0:t.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(e)},loader$8=async()=>{const{diagram:e}=await __vitePreload(()=>import("./classDiagram-v2-802a48d3-B2afvXL5.js"),__vite__mapDeps([24,23,4,6,7,8,9,10,11]),import.meta.url);return{id:id$7,diagram:e}},plugin$7={id:id$7,detector:detector$7,loader:loader$8},classDiagramV2=plugin$7,id$6="state",detector$6=(e,t)=>{var r;return((r=t==null?void 0:t.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(e)},loader$7=async()=>{const{diagram:e}=await __vitePreload(()=>import("./stateDiagram-9a586ac6-F5S0TN6m.js"),__vite__mapDeps([25,26,4,10,11]),import.meta.url);return{id:id$6,diagram:e}},plugin$6={id:id$6,detector:detector$6,loader:loader$7},state=plugin$6,id$5="stateDiagram",detector$5=(e,t)=>{var r;return!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&((r=t==null?void 0:t.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},loader$6=async()=>{const{diagram:e}=await __vitePreload(()=>import("./stateDiagram-v2-96f2b9df-sN1qYj9L.js"),__vite__mapDeps([27,26,4,6,7,8,9,10,11]),import.meta.url);return{id:id$5,diagram:e}},plugin$5={id:id$5,detector:detector$5,loader:loader$6},stateV2=plugin$5,id$4="journey",detector$4=e=>/^\s*journey/.test(e),loader$5=async()=>{const{diagram:e}=await __vitePreload(()=>import("./journeyDiagram-adaa34f8-DJehzvup.js"),__vite__mapDeps([28,1]),import.meta.url);return{id:id$4,diagram:e}},plugin$4={id:id$4,detector:detector$4,loader:loader$5},journey=plugin$4,selectSvgElement=e=>{var t;const{securityLevel:r}=getConfig$1();let a=select("body");if(r==="sandbox"){const d=((t=select(`#i${e}`).node())==null?void 0:t.contentDocument)??document;a=select(d.body)}return a.select(`#${e}`)},d3Attrs=function(e,t){for(let r of t)e.attr(r[0],r[1])},calculateSvgSizeAttrs=function(e,t,r){let a=new Map;return r?(a.set("width","100%"),a.set("style",`max-width: ${t}px;`)):(a.set("height",e),a.set("width",t)),a},configureSvgSize=function(e,t,r,a){const o=calculateSvgSizeAttrs(t,r,a);d3Attrs(e,o)},setupGraphViewbox$1=function(e,t,r,a){const o=t.node().getBBox(),u=o.width,d=o.height;log$1.info(`SVG bounds: ${u}x${d}`,o);let f=0,g=0;log$1.info(`Graph bounds: ${f}x${g}`,e),f=u+r*2,g=d+r*2,log$1.info(`Calculated bounds: ${f}x${g}`),configureSvgSize(t,g,f,a);const _=`${o.x-r} ${o.y-r} ${o.width+2*r} ${o.height+2*r}`;t.attr("viewBox",_)},draw=(e,t,r)=>{log$1.debug(`renering svg for syntax error `);const a=selectSvgElement(t);a.attr("viewBox","0 0 2412 512"),configureSvgSize(a,100,512,!0);const o=a.append("g");o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},renderer={draw},errorRenderer=renderer,diagram={db:{},renderer,parser:{parser:{yy:{}},parse:()=>{}}},errorDiagram=diagram,id$3="flowchart-elk",detector$3=(e,t)=>{var r;return!!(/^\s*flowchart-elk/.test(e)||/^\s*flowchart|graph/.test(e)&&((r=t==null?void 0:t.flowchart)==null?void 0:r.defaultRenderer)==="elk")},loader$4=async()=>{const{diagram:e}=await __vitePreload(()=>import("./flowchart-elk-definition-56584a6c-N1aEE1b6.js"),__vite__mapDeps([29,3,7,8,9,10,11]),import.meta.url);return{id:id$3,diagram:e}},plugin$3={id:id$3,detector:detector$3,loader:loader$4},flowchartElk=plugin$3,id$2="timeline",detector$2=e=>/^\s*timeline/.test(e),loader$3=async()=>{const{diagram:e}=await __vitePreload(()=>import("./timeline-definition-1a90b03d-ikWN4tal.js"),[],import.meta.url);return{id:id$2,diagram:e}},plugin$2={id:id$2,detector:detector$2,loader:loader$3},timeline=plugin$2,id$1="mindmap",detector$1=e=>/^\s*mindmap/.test(e),loader$2=async()=>{const{diagram:e}=await __vitePreload(()=>import("./mindmap-definition-57868176-BtpU4SME.js"),__vite__mapDeps([30,8]),import.meta.url);return{id:id$1,diagram:e}},plugin$1={id:id$1,detector:detector$1,loader:loader$2},mindmap=plugin$1,id="sankey",detector=e=>/^\s*sankey-beta/.test(e),loader$1=async()=>{const{diagram:e}=await __vitePreload(()=>import("./sankeyDiagram-a7f8e230-BqJxOJ7I.js"),__vite__mapDeps([31,18,16]),import.meta.url);return{id,diagram:e}},plugin={id,detector,loader:loader$1},sankey=plugin,themes={},getStyles=(e,t,r)=>{let a="";return e in themes&&themes[e]?a=themes[e](r):log$1.warn(`No theme found for ${e}`),` & { font-family: ${r.fontFamily}; font-size: ${r.fontSize}; fill: ${r.textColor} } /* Classes common for multiple diagrams */ & .error-icon { fill: ${r.errorBkgColor}; } & .error-text { fill: ${r.errorTextColor}; stroke: ${r.errorTextColor}; } & .edge-thickness-normal { stroke-width: 2px; } & .edge-thickness-thick { stroke-width: 3.5px } & .edge-pattern-solid { stroke-dasharray: 0; } & .edge-pattern-dashed{ stroke-dasharray: 3; } .edge-pattern-dotted { stroke-dasharray: 2; } & .marker { fill: ${r.lineColor}; stroke: ${r.lineColor}; } & .marker.cross { stroke: ${r.lineColor}; } & svg { font-family: ${r.fontFamily}; font-size: ${r.fontSize}; } ${a} ${t} `},addStylesForDiagram=(e,t)=>{t!==void 0&&(themes[e]=t)},getStyles$1=getStyles;let title="",diagramTitle="",description$1="";const sanitizeText$1=e=>sanitizeText$2(e,getConfig$1()),clear=function(){title="",description$1="",diagramTitle=""},setAccTitle=function(e){title=sanitizeText$1(e).replace(/^\s+/g,"")},getAccTitle=function(){return title||diagramTitle},setAccDescription=function(e){description$1=sanitizeText$1(e).replace(/\n\s+/g,` `)},getAccDescription=function(){return description$1},setDiagramTitle=function(e){diagramTitle=sanitizeText$1(e)},getDiagramTitle=function(){return diagramTitle},commonDb={getAccTitle,setAccTitle,getDiagramTitle,setDiagramTitle,getAccDescription,setAccDescription,clear},commonDb$1=Object.freeze(Object.defineProperty({__proto__:null,clear,default:commonDb,getAccDescription,getAccTitle,getDiagramTitle,setAccDescription,setAccTitle,setDiagramTitle},Symbol.toStringTag,{value:"Module"}));let currentDirective={};const parseDirective$1=function(e,t,r,a){log$1.debug("parseDirective is being called",t,r,a);try{if(t!==void 0)switch(t=t.trim(),r){case"open_directive":currentDirective={};break;case"type_directive":if(!currentDirective)throw new Error("currentDirective is undefined");currentDirective.type=t.toLowerCase();break;case"arg_directive":if(!currentDirective)throw new Error("currentDirective is undefined");currentDirective.args=JSON.parse(t);break;case"close_directive":handleDirective(e,currentDirective,a),currentDirective=void 0;break}}catch(o){log$1.error(`Error while rendering sequenceDiagram directive: ${t} jison context: ${r}`),log$1.error(o.message)}},handleDirective=function(e,t,r){switch(log$1.info(`Directive type=${t.type} with args:`,t.args),t.type){case"init":case"initialize":{["config"].forEach(a=>{t.args[a]!==void 0&&(r==="flowchart-v2"&&(r="flowchart"),t.args[r]=t.args[a],delete t.args[a])}),addDirective(t.args);break}case"wrap":case"nowrap":e&&e.setWrap&&e.setWrap(t.type==="wrap");break;case"themeCss":log$1.warn("themeCss encountered");break;default:log$1.warn(`Unhandled directive: source: '%%{${t.type}: ${JSON.stringify(t.args?t.args:{})}}%%`,t);break}},log=log$1,setLogLevel=setLogLevel$1,getConfig=getConfig$1,sanitizeText=e=>sanitizeText$2(e,getConfig()),setupGraphViewbox=setupGraphViewbox$1,getCommonDb=()=>commonDb$1,parseDirective=(e,t,r,a)=>parseDirective$1(e,t,r,a),diagrams={},registerDiagram=(e,t,r)=>{if(diagrams[e])throw new Error(`Diagram ${e} already registered.`);diagrams[e]=t,r&&addDetector(e,r),addStylesForDiagram(e,t.styles),t.injectUtils&&t.injectUtils(log,setLogLevel,getConfig,sanitizeText,setupGraphViewbox,getCommonDb(),parseDirective)},getDiagram=e=>{if(e in diagrams)return diagrams[e];throw new DiagramNotFoundError(e)};class DiagramNotFoundError extends Error{constructor(t){super(`Diagram ${t} not found.`)}}let hasLoadedDiagrams=!1;const addDiagrams=()=>{hasLoadedDiagrams||(hasLoadedDiagrams=!0,registerDiagram("error",errorDiagram,e=>e.toLowerCase().trim()==="error"),registerDiagram("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},e=>e.toLowerCase().trimStart().startsWith("---")),registerLazyLoadedDiagrams(c4,classDiagramV2,classDiagram,er,gantt,info,pie,requirement,sequence,flowchartElk,flowchartV2,flowchart,mindmap,timeline,git,stateV2,state,journey,quadrantChart,sankey))};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function isNothing(e){return typeof e>"u"||e===null}function isObject$2(e){return typeof e=="object"&&e!==null}function toArray$1(e){return Array.isArray(e)?e:isNothing(e)?[]:[e]}function extend(e,t){var r,a,o,u;if(t)for(u=Object.keys(t),r=0,a=u.length;rf&&(u=" ... ",t=a-f+u.length),r-a>f&&(d=" ...",r=a+f-d.length),{str:u+e.slice(t,r).replace(/\t/g,"→")+d,pos:a-t+u.length}}function padStart$1(e,t){return common.repeat(" ",t-e.length)+e}function makeSnippet(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,a=[0],o=[],u,d=-1;u=r.exec(e.buffer);)o.push(u.index),a.push(u.index+u[0].length),e.position<=u.index&&d<0&&(d=a.length-2);d<0&&(d=a.length-1);var f="",g,_,S=Math.min(e.line+t.linesAfter,o.length).toString().length,E=t.maxLength-(t.indent+S+3);for(g=1;g<=t.linesBefore&&!(d-g<0);g++)_=getLine(e.buffer,a[d-g],o[d-g],e.position-(a[d]-a[d-g]),E),f=common.repeat(" ",t.indent)+padStart$1((e.line-g+1).toString(),S)+" | "+_.str+` `+f;for(_=getLine(e.buffer,a[d],o[d],e.position,E),f+=common.repeat(" ",t.indent)+padStart$1((e.line+1).toString(),S)+" | "+_.str+` `,f+=common.repeat("-",t.indent+S+3+_.pos)+`^ `,g=1;g<=t.linesAfter&&!(d+g>=o.length);g++)_=getLine(e.buffer,a[d+g],o[d+g],e.position-(a[d]-a[d+g]),E),f+=common.repeat(" ",t.indent)+padStart$1((e.line+g+1).toString(),S)+" | "+_.str+` `;return f.replace(/\n$/,"")}var snippet=makeSnippet,TYPE_CONSTRUCTOR_OPTIONS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(a){t[String(a)]=r})}),t}function Type$1(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(TYPE_CONSTRUCTOR_OPTIONS.indexOf(r)===-1)throw new exception('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=compileStyleAliases(t.styleAliases||null),YAML_NODE_KINDS.indexOf(this.kind)===-1)throw new exception('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var type=Type$1;function compileList(e,t){var r=[];return e[t].forEach(function(a){var o=r.length;r.forEach(function(u,d){u.tag===a.tag&&u.kind===a.kind&&u.multi===a.multi&&(o=d)}),r[o]=a}),r}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function a(o){o.multi?(e.multi[o.kind].push(o),e.multi.fallback.push(o)):e[o.kind][o.tag]=e.fallback[o.tag]=o}for(t=0,r=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){return!(e===null||!YAML_FLOAT_PATTERN.test(e)||e[e.length-1]==="_")}function constructYamlFloat(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common.isNegativeZero(e))return"-0.0";return r=e.toString(10),SCIENTIFIC_WITHOUT_DOT.test(r)?r.replace("e",".e"):r}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||common.isNegativeZero(e))}var float=new type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"}),json=failsafe.extend({implicit:[_null,bool,int$1,float]}),core=json,YAML_DATE_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){return e===null?!1:YAML_DATE_REGEXP.exec(e)!==null||YAML_TIMESTAMP_REGEXP.exec(e)!==null}function constructYamlTimestamp(e){var t,r,a,o,u,d,f,g=0,_=null,S,E,v;if(t=YAML_DATE_REGEXP.exec(e),t===null&&(t=YAML_TIMESTAMP_REGEXP.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],a=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,a,o));if(u=+t[4],d=+t[5],f=+t[6],t[7]){for(g=t[7].slice(0,3);g.length<3;)g+="0";g=+g}return t[9]&&(S=+t[10],E=+(t[11]||0),_=(S*60+E)*6e4,t[9]==="-"&&(_=-_)),v=new Date(Date.UTC(r,a,o,u,d,f,g)),_&&v.setTime(v.getTime()-_),v}function representYamlTimestamp(e){return e.toISOString()}var timestamp=new type("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});function resolveYamlMerge(e){return e==="<<"||e===null}var merge=new type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge}),BASE64_MAP=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= \r`;function resolveYamlBinary(e){if(e===null)return!1;var t,r,a=0,o=e.length,u=BASE64_MAP;for(r=0;r64)){if(t<0)return!1;a+=6}return a%8===0}function constructYamlBinary(e){var t,r,a=e.replace(/[\r\n=]/g,""),o=a.length,u=BASE64_MAP,d=0,f=[];for(t=0;t>16&255),f.push(d>>8&255),f.push(d&255)),d=d<<6|u.indexOf(a.charAt(t));return r=o%4*6,r===0?(f.push(d>>16&255),f.push(d>>8&255),f.push(d&255)):r===18?(f.push(d>>10&255),f.push(d>>2&255)):r===12&&f.push(d>>4&255),new Uint8Array(f)}function representYamlBinary(e){var t="",r=0,a,o,u=e.length,d=BASE64_MAP;for(a=0;a>18&63],t+=d[r>>12&63],t+=d[r>>6&63],t+=d[r&63]),r=(r<<8)+e[a];return o=u%3,o===0?(t+=d[r>>18&63],t+=d[r>>12&63],t+=d[r>>6&63],t+=d[r&63]):o===2?(t+=d[r>>10&63],t+=d[r>>4&63],t+=d[r<<2&63],t+=d[64]):o===1&&(t+=d[r>>2&63],t+=d[r<<4&63],t+=d[64],t+=d[64]),t}function isBinary$1(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var binary=new type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary$1,represent:representYamlBinary}),_hasOwnProperty$3=Object.prototype.hasOwnProperty,_toString$2=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return!0;var t=[],r,a,o,u,d,f=e;for(r=0,a=f.length;r>10)+55296,(e-65536&1023)+56320)}var simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256);for(var i$2=0;i$2<256;i$2++)simpleEscapeCheck[i$2]=simpleEscapeSequence(i$2)?1:0,simpleEscapeMap[i$2]=simpleEscapeSequence(i$2);function State$1(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||_default,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function generateError(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=snippet(r),new exception(t,r)}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){e.onWarning&&e.onWarning.call(null,generateError(e,t))}var directiveHandlers={YAML:function(t,r,a){var o,u,d;t.version!==null&&throwError(t,"duplication of %YAML directive"),a.length!==1&&throwError(t,"YAML directive accepts exactly one argument"),o=/^([0-9]+)\.([0-9]+)$/.exec(a[0]),o===null&&throwError(t,"ill-formed argument of the YAML directive"),u=parseInt(o[1],10),d=parseInt(o[2],10),u!==1&&throwError(t,"unacceptable YAML version of the document"),t.version=a[0],t.checkLineBreaks=d<2,d!==1&&d!==2&&throwWarning(t,"unsupported YAML version of the document")},TAG:function(t,r,a){var o,u;a.length!==2&&throwError(t,"TAG directive accepts exactly two arguments"),o=a[0],u=a[1],PATTERN_TAG_HANDLE.test(o)||throwError(t,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty$1.call(t.tagMap,o)&&throwError(t,'there is a previously declared suffix for "'+o+'" tag handle'),PATTERN_TAG_URI.test(u)||throwError(t,"ill-formed tag prefix (second argument) of the TAG directive");try{u=decodeURIComponent(u)}catch{throwError(t,"tag prefix is malformed: "+u)}t.tagMap[o]=u}};function captureSegment(e,t,r,a){var o,u,d,f;if(t1&&(e.result+=common.repeat(` `,t-1))}function readPlainScalar(e,t,r){var a,o,u,d,f,g,_,S,E=e.kind,v=e.result,b;if(b=e.input.charCodeAt(e.position),is_WS_OR_EOL(b)||is_FLOW_INDICATOR(b)||b===35||b===38||b===42||b===33||b===124||b===62||b===39||b===34||b===37||b===64||b===96||(b===63||b===45)&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||r&&is_FLOW_INDICATOR(o)))return!1;for(e.kind="scalar",e.result="",u=d=e.position,f=!1;b!==0;){if(b===58){if(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||r&&is_FLOW_INDICATOR(o))break}else if(b===35){if(a=e.input.charCodeAt(e.position-1),is_WS_OR_EOL(a))break}else{if(e.position===e.lineStart&&testDocumentSeparator(e)||r&&is_FLOW_INDICATOR(b))break;if(is_EOL(b))if(g=e.line,_=e.lineStart,S=e.lineIndent,skipSeparationSpace(e,!1,-1),e.lineIndent>=t){f=!0,b=e.input.charCodeAt(e.position);continue}else{e.position=d,e.line=g,e.lineStart=_,e.lineIndent=S;break}}f&&(captureSegment(e,u,d,!1),writeFoldedLines(e,e.line-g),u=d=e.position,f=!1),is_WHITE_SPACE(b)||(d=e.position+1),b=e.input.charCodeAt(++e.position)}return captureSegment(e,u,d,!1),e.result?!0:(e.kind=E,e.result=v,!1)}function readSingleQuotedScalar(e,t){var r,a,o;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,a=o=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(captureSegment(e,a,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)a=e.position,e.position++,o=e.position;else return!0;else is_EOL(r)?(captureSegment(e,a,o,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),a=o=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var r,a,o,u,d,f;if(f=e.input.charCodeAt(e.position),f!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=a=e.position;(f=e.input.charCodeAt(e.position))!==0;){if(f===34)return captureSegment(e,r,e.position,!0),e.position++,!0;if(f===92){if(captureSegment(e,r,e.position,!0),f=e.input.charCodeAt(++e.position),is_EOL(f))skipSeparationSpace(e,!1,t);else if(f<256&&simpleEscapeCheck[f])e.result+=simpleEscapeMap[f],e.position++;else if((d=escapedHexLen(f))>0){for(o=d,u=0;o>0;o--)f=e.input.charCodeAt(++e.position),(d=fromHexCode(f))>=0?u=(u<<4)+d:throwError(e,"expected hexadecimal character");e.result+=charFromCodepoint(u),e.position++}else throwError(e,"unknown escape sequence");r=a=e.position}else is_EOL(f)?(captureSegment(e,r,a,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),r=a=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a double quoted scalar"):(e.position++,a=e.position)}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var r=!0,a,o,u,d=e.tag,f,g=e.anchor,_,S,E,v,b,y=Object.create(null),T,C,R,A;if(A=e.input.charCodeAt(e.position),A===91)S=93,b=!1,f=[];else if(A===123)S=125,b=!0,f={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=f),A=e.input.charCodeAt(++e.position);A!==0;){if(skipSeparationSpace(e,!0,t),A=e.input.charCodeAt(e.position),A===S)return e.position++,e.tag=d,e.anchor=g,e.kind=b?"mapping":"sequence",e.result=f,!0;r?A===44&&throwError(e,"expected the node content, but found ','"):throwError(e,"missed comma between flow collection entries"),C=T=R=null,E=v=!1,A===63&&(_=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(_)&&(E=v=!0,e.position++,skipSeparationSpace(e,!0,t))),a=e.line,o=e.lineStart,u=e.position,composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),C=e.tag,T=e.result,skipSeparationSpace(e,!0,t),A=e.input.charCodeAt(e.position),(v||e.line===a)&&A===58&&(E=!0,A=e.input.charCodeAt(++e.position),skipSeparationSpace(e,!0,t),composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),R=e.result),b?storeMappingPair(e,f,y,C,T,R,a,o,u):E?f.push(storeMappingPair(e,null,y,C,T,R,a,o,u)):f.push(T),skipSeparationSpace(e,!0,t),A=e.input.charCodeAt(e.position),A===44?(r=!0,A=e.input.charCodeAt(++e.position)):r=!1}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var r,a,o=CHOMPING_CLIP,u=!1,d=!1,f=t,g=0,_=!1,S,E;if(E=e.input.charCodeAt(e.position),E===124)a=!1;else if(E===62)a=!0;else return!1;for(e.kind="scalar",e.result="";E!==0;)if(E=e.input.charCodeAt(++e.position),E===43||E===45)CHOMPING_CLIP===o?o=E===43?CHOMPING_KEEP:CHOMPING_STRIP:throwError(e,"repeat of a chomping mode identifier");else if((S=fromDecimalCode(E))>=0)S===0?throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):d?throwError(e,"repeat of an indentation width identifier"):(f=t+S-1,d=!0);else break;if(is_WHITE_SPACE(E)){do E=e.input.charCodeAt(++e.position);while(is_WHITE_SPACE(E));if(E===35)do E=e.input.charCodeAt(++e.position);while(!is_EOL(E)&&E!==0)}for(;E!==0;){for(readLineBreak(e),e.lineIndent=0,E=e.input.charCodeAt(e.position);(!d||e.lineIndentf&&(f=e.lineIndent),is_EOL(E)){g++;continue}if(e.lineIndentt)&&g!==0)throwError(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(C&&(d=e.line,f=e.lineStart,g=e.position),composeNode(e,t,CONTEXT_BLOCK_OUT,!0,o)&&(C?y=e.result:T=e.result),C||(storeMappingPair(e,E,v,b,y,T,d,f,g),b=y=T=null),skipSeparationSpace(e,!0,-1),A=e.input.charCodeAt(e.position)),(e.line===u||e.lineIndent>t)&&A!==0)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndentt?g=1:e.lineIndent===t?g=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),E=0,v=e.implicitTypes.length;E"),e.result!==null&&y.kind!==e.kind&&throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+y.kind+'", not "'+e.kind+'"'),y.resolve(e.result,e.tag)?(e.result=y.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||S}function readDocument(e){var t=e.position,r,a,o,u=!1,d;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(d=e.input.charCodeAt(e.position))!==0&&(skipSeparationSpace(e,!0,-1),d=e.input.charCodeAt(e.position),!(e.lineIndent>0||d!==37));){for(u=!0,d=e.input.charCodeAt(++e.position),r=e.position;d!==0&&!is_WS_OR_EOL(d);)d=e.input.charCodeAt(++e.position);for(a=e.input.slice(r,e.position),o=[],a.length<1&&throwError(e,"directive name must not be less than one character in length");d!==0;){for(;is_WHITE_SPACE(d);)d=e.input.charCodeAt(++e.position);if(d===35){do d=e.input.charCodeAt(++e.position);while(d!==0&&!is_EOL(d));break}if(is_EOL(d))break;for(r=e.position;d!==0&&!is_WS_OR_EOL(d);)d=e.input.charCodeAt(++e.position);o.push(e.input.slice(r,e.position))}d!==0&&readLineBreak(e),_hasOwnProperty$1.call(directiveHandlers,a)?directiveHandlers[a](e,a,o):throwWarning(e,'unknown document directive "'+a+'"')}if(skipSeparationSpace(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,skipSeparationSpace(e,!0,-1)):u&&throwError(e,"directives end mark is expected"),composeNode(e,e.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(e,!0,-1),e.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(e.input.slice(t,e.position))&&throwWarning(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&testDocumentSeparator(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,skipSeparationSpace(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var a=loadDocuments(e,r);if(typeof t!="function")return a;for(var o=0,u=a.length;oe.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,"");class Diagram{constructor(t){this.text=t,this.type="graph",this.text+=` `;const r=getConfig$1();try{this.type=detectType(t,r)}catch(u){this.type="error",this.detectError=u}const a=getDiagram(this.type);log$1.debug("Type "+this.type),this.db=a.db,this.renderer=a.renderer,this.parser=a.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=u=>o(cleanupComments(extractFrontMatter(u,this.db,addDirective))),this.parser.parser.yy=this.db,this.init=a.init,this.parse()}parse(){var t,r,a;if(this.detectError)throw this.detectError;(r=(t=this.db).clear)==null||r.call(t),(a=this.init)==null||a.call(this,getConfig$1()),this.parser.parse(this.text)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}}const getDiagramFromText=async e=>{const t=detectType(e,getConfig$1());try{getDiagram(t)}catch{const a=getDiagramLoader(t);if(!a)throw new UnknownDiagramError(`Diagram ${t} not found.`);const{id:o,diagram:u}=await a();registerDiagram(o,u)}return new Diagram(e)};let interactionFunctions=[];const addFunction=e=>{interactionFunctions.push(e)},attachFunctions=()=>{interactionFunctions.forEach(e=>{e()}),interactionFunctions=[]},SVG_ROLE="graphics-document document";function setA11yDiagramInfo(e,t){e.attr("role",SVG_ROLE),t!==""&&e.attr("aria-roledescription",t)}function addSVGa11yTitleDescription(e,t,r,a){if(e.insert!==void 0){if(r){const o=`chart-desc-${a}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${a}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}const CLASSDEF_DIAGRAMS=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],MAX_TEXTLENGTH=5e4,MAX_TEXTLENGTH_EXCEEDED_MSG="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",SECURITY_LVL_SANDBOX="sandbox",SECURITY_LVL_LOOSE="loose",XMLNS_SVG_STD="http://www.w3.org/2000/svg",XMLNS_XLINK_STD="http://www.w3.org/1999/xlink",XMLNS_XHTML_STD="http://www.w3.org/1999/xhtml",IFRAME_WIDTH="100%",IFRAME_HEIGHT="100%",IFRAME_STYLES="border:0;margin:0;",IFRAME_BODY_STYLE="margin:0",IFRAME_SANDBOX_OPTS="allow-top-navigation-by-user-activation allow-popups",IFRAME_NOT_SUPPORTED_MSG='The "iframe" tag is not supported by your browser.',DOMPURIFY_TAGS=["foreignobject"],DOMPURIFY_ATTR=["dominant-baseline"];async function parse$1$1(e,t){addDiagrams();try{await getDiagramFromText(e)}catch(r){if(t!=null&&t.suppressErrors)return!1;throw r}return!0}const encodeEntities=function(e){let t=e;return t=t.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),t=t.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),t=t.replace(/#\w+;/g,function(r){const a=r.substring(1,r.length-1);return/^\+?\d+$/.test(a)?"fl°°"+a+"¶ß":"fl°"+a+"¶ß"}),t},decodeEntities=function(e){return e.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},cssImportantStyles=(e,t,r=[])=>` .${e} ${t} { ${r.join(" !important; ")} !important; }`,createCssStyles=(e,t,r={})=>{var a;let o="";if(e.themeCSS!==void 0&&(o+=` ${e.themeCSS}`),e.fontFamily!==void 0&&(o+=` :root { --mermaid-font-family: ${e.fontFamily}}`),e.altFontFamily!==void 0&&(o+=` :root { --mermaid-alt-font-family: ${e.altFontFamily}}`),!isEmpty$1(r)&&CLASSDEF_DIAGRAMS.includes(t)){const g=e.htmlLabels||((a=e.flowchart)==null?void 0:a.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const _ in r){const S=r[_];isEmpty$1(S.styles)||g.forEach(E=>{o+=cssImportantStyles(S.id,E,S.styles)}),isEmpty$1(S.textStyles)||(o+=cssImportantStyles(S.id,"tspan",S.textStyles))}}return o},createUserStyles=(e,t,r,a)=>{const o=createCssStyles(e,t,r),u=getStyles$1(t,o,e.themeVariables);return serialize(compile(`${a}{${u}}`),stringify)},cleanUpSvgCode=(e="",t,r)=>{let a=e;return!r&&!t&&(a=a.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),a=decodeEntities(a),a=a.replace(/
    /g,"
    "),a},putIntoIFrame=(e="",t)=>{var r,a;const o=(a=(r=t==null?void 0:t.viewBox)==null?void 0:r.baseVal)!=null&&a.height?t.viewBox.baseVal.height+"px":IFRAME_HEIGHT,u=btoa(''+e+"");return``},appendDivSvgG=(e,t,r,a,o)=>{const u=e.append("div");u.attr("id",r),a&&u.attr("style",a);const d=u.append("svg").attr("id",t).attr("width","100%").attr("xmlns",XMLNS_SVG_STD);return o&&d.attr("xmlns:xlink",o),d.append("g"),e};function sandboxedIframe(e,t){return e.append("iframe").attr("id",t).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const removeExistingElements=(e,t,r,a)=>{var o,u,d;(o=e.getElementById(t))==null||o.remove(),(u=e.getElementById(r))==null||u.remove(),(d=e.getElementById(a))==null||d.remove()},render$1=async function(e,t,r){var a,o,u,d;addDiagrams(),reset(),extractFrontMatter(t,{},addDirective);const f=utils$1.detectInit(t);f&&addDirective(f);const g=getConfig$1();log$1.debug(g),t.length>((g==null?void 0:g.maxTextSize)??MAX_TEXTLENGTH)&&(t=MAX_TEXTLENGTH_EXCEEDED_MSG),t=t.replace(/\r\n?/g,` `),t=t.replace(/<(\w+)([^>]*)>/g,(G,Y,Q)=>"<"+Y+Q.replace(/="([^"]*)"/g,"='$1'")+">");const _="#"+e,S="i"+e,E="#"+S,v="d"+e,b="#"+v;let y=select("body");const T=g.securityLevel===SECURITY_LVL_SANDBOX,C=g.securityLevel===SECURITY_LVL_LOOSE,R=g.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),T){const G=sandboxedIframe(select(r),S);y=select(G.nodes()[0].contentDocument.body),y.node().style.margin=0}else y=select(r);appendDivSvgG(y,e,v,`font-family: ${R}`,XMLNS_XLINK_STD)}else{if(removeExistingElements(document,e,v,S),T){const G=sandboxedIframe(select("body"),S);y=select(G.nodes()[0].contentDocument.body),y.node().style.margin=0}else y=select("body");appendDivSvgG(y,e,v)}t=encodeEntities(t);let A,O;try{A=await getDiagramFromText(t)}catch(G){A=new Diagram("error"),O=G}const x=y.select(b).node(),N=A.type,I=x.firstChild,k=I.firstChild,D=CLASSDEF_DIAGRAMS.includes(N)?A.renderer.getClasses(t,A):{},P=createUserStyles(g,N,D,_),L=document.createElement("style");L.innerHTML=P,I.insertBefore(L,k);try{await A.renderer.draw(t,e,version$3,A)}catch(G){throw errorRenderer.draw(t,e,version$3),G}const F=y.select(`${b} svg`),B=(o=(a=A.db).getAccTitle)==null?void 0:o.call(a),V=(d=(u=A.db).getAccDescription)==null?void 0:d.call(u);addA11yInfo(N,F,B,V),y.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns",XMLNS_XHTML_STD);let U=y.select(b).node().innerHTML;if(log$1.debug("config.arrowMarkerAbsolute",g.arrowMarkerAbsolute),U=cleanUpSvgCode(U,T,evaluate(g.arrowMarkerAbsolute)),T){const G=y.select(b+" svg").node();U=putIntoIFrame(U,G)}else C||(U=purify.sanitize(U,{ADD_TAGS:DOMPURIFY_TAGS,ADD_ATTR:DOMPURIFY_ATTR}));if(attachFunctions(),O)throw O;const K=select(T?E:b).node();return K&&"remove"in K&&K.remove(),{svg:U,bindFunctions:A.db.bindFunctions}};function initialize$1(e={}){var t;e!=null&&e.fontFamily&&!((t=e.themeVariables)!=null&&t.fontFamily)&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),saveConfigFromInitialize(e),e!=null&&e.theme&&e.theme in theme$1?e.themeVariables=theme$1[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=theme$1.default.getThemeVariables(e.themeVariables));const r=typeof e=="object"?setSiteConfig(e):getSiteConfig();setLogLevel$1(r.logLevel),addDiagrams()}function addA11yInfo(e,t,r,a){setA11yDiagramInfo(t,e),addSVGa11yTitleDescription(t,r,a,t.attr("id"))}const mermaidAPI=Object.freeze({render:render$1,parse:parse$1$1,parseDirective:parseDirective$1,getDiagramFromText,initialize:initialize$1,getConfig:getConfig$1,setConfig,getSiteConfig,updateSiteConfig,reset:()=>{reset()},globalReset:()=>{reset(defaultConfig)},defaultConfig});setLogLevel$1(getConfig$1().logLevel);reset(getConfig$1());const loadRegisteredDiagrams=async()=>{log$1.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(detectors).map(async([r,{detector:a,loader:o}])=>{if(o)try{getDiagram(r)}catch{try{const{diagram:d,id:f}=await o();registerDiagram(f,d,a)}catch(d){throw log$1.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete detectors[r],d}}}))).filter(r=>r.status==="rejected");if(t.length>0){log$1.error(`Failed to load ${t.length} external diagrams`);for(const r of t)log$1.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},handleError=(e,t,r)=>{log$1.warn(e),isDetailedError(e)?(r&&r(e.str,e.hash),t.push({...e,message:e.str,error:e})):(r&&r(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},run$1=async function(e={querySelector:".mermaid"}){try{await runThrowsErrors(e)}catch(t){if(isDetailedError(t)&&log$1.error(t.str),mermaid.parseError&&mermaid.parseError(t),!e.suppressErrors)throw log$1.error("Use the suppressErrors option to suppress these errors"),t}},runThrowsErrors=async function({postRenderCallback:e,querySelector:t,nodes:r}={querySelector:".mermaid"}){const a=mermaidAPI.getConfig();log$1.debug(`${e?"":"No "}Callback function found`);let o;if(r)o=r;else if(t)o=document.querySelectorAll(t);else throw new Error("Nodes and querySelector are both undefined");log$1.debug(`Found ${o.length} diagrams`),(a==null?void 0:a.startOnLoad)!==void 0&&(log$1.debug("Start On Load: "+(a==null?void 0:a.startOnLoad)),mermaidAPI.updateSiteConfig({startOnLoad:a==null?void 0:a.startOnLoad}));const u=new utils$1.initIdGenerator(a.deterministicIds,a.deterministicIDSeed);let d;const f=[];for(const g of Array.from(o)){log$1.info("Rendering diagram: "+g.id);/*! Check if previously processed */if(g.getAttribute("data-processed"))continue;g.setAttribute("data-processed","true");const _=`mermaid-${u.next()}`;d=g.innerHTML,d=dedent(utils$1.entityDecode(d)).trim().replace(//gi,"
    ");const S=utils$1.detectInit(d);S&&log$1.debug("Detected early reinit: ",S);try{const{svg:E,bindFunctions:v}=await render(_,d,g);g.innerHTML=E,e&&await e(_),v&&v(g)}catch(E){handleError(E,f,mermaid.parseError)}}if(f.length>0)throw f[0]},initialize=function(e){mermaidAPI.initialize(e)},init=async function(e,t,r){log$1.warn("mermaid.init is deprecated. Please use run instead."),e&&initialize(e);const a={postRenderCallback:r,querySelector:".mermaid"};typeof t=="string"?a.querySelector=t:t&&(t instanceof HTMLElement?a.nodes=[t]:a.nodes=t),await run$1(a)},registerExternalDiagrams=async(e,{lazyLoad:t=!0}={})=>{registerLazyLoadedDiagrams(...e),t===!1&&await loadRegisteredDiagrams()},contentLoaded=function(){if(mermaid.startOnLoad){const{startOnLoad:e}=mermaidAPI.getConfig();e&&mermaid.run().catch(t=>log$1.error("Mermaid failed to initialize",t))}};if(typeof document<"u"){/*! * Wait for document loaded before starting the execution */window.addEventListener("load",contentLoaded,!1)}const setParseErrorHandler=function(e){mermaid.parseError=e},executionQueue=[];let executionQueueRunning=!1;const executeQueue=async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const e=executionQueue.shift();if(e)try{await e()}catch(t){log$1.error("Error executing queue",t)}}executionQueueRunning=!1}},parse$3=async(e,t)=>new Promise((r,a)=>{const o=()=>new Promise((u,d)=>{mermaidAPI.parse(e,t).then(f=>{u(f),r(f)},f=>{var g;log$1.error("Error parsing",f),(g=mermaid.parseError)==null||g.call(mermaid,f),d(f),a(f)})});executionQueue.push(o),executeQueue().catch(a)}),render=(e,t,r)=>new Promise((a,o)=>{const u=()=>new Promise((d,f)=>{mermaidAPI.render(e,t,r).then(g=>{d(g),a(g)},g=>{var _;log$1.error("Error parsing",g),(_=mermaid.parseError)==null||_.call(mermaid,g),f(g),o(g)})});executionQueue.push(u),executeQueue().catch(o)}),mermaid={startOnLoad:!0,mermaidAPI,parse:parse$3,render,init,run:run$1,registerExternalDiagrams,initialize,parseError:void 0,contentLoaded,setParseErrorHandler,detectType},config={securityLevel:"loose",startOnLoad:!1,class:"mermaid",flowchart:{curve:"linear"},darkMode:!1};mermaid.initialize(config);const customRenderer={name:"code",renderer(e){const{lang:t,text:r}=e;if(t==="mermaid")return`
    ${r}
    `;const a=HighlightJS.getLanguage(t)?t:"plaintext",o=` class="hljs language-${escapeHTML$1(a)}"`,u=r.replace(/\n$/,""),d=HighlightJS.highlight(u,{language:a}).value;return`
    ${d}
    
    `}};marked.use({extensions:[customRenderer]});const _sfc_main$a={name:"DBUIMarkdown",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})}},data(){return{content:null}},computed:{...mapState("data",["messages"]),msg(){return this.messages[this.id]||{}}},watch:{"props.content":function(){this.update()}},created(){this.$dataTracker(this.id,this.onMsgInput,this.onMsgLoad)},mounted(){this.update()},errorCaptured:(e,t,r)=>(console.error("errorCaptured",e,t,r),!1),methods:{update(){this.parseContent(),this.renderMermaid()},onMsgLoad:function(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e}),this.update()},onMsgInput:function(e){this.msgChanged(this.$store.state.data.messages[this.id],e)&&this.$store.commit("data/bind",{widgetId:this.id,msg:e}),this.update()},msgChanged(e,t){const r=["_event","_msgid"];if(!e||Object.keys(e).length!==Object.keys(t).length)return!0;for(const a of Object.keys(e))if(!r.includes(a)&&e[a]!==t[a])return!0},parseContent(){const e=this.props.content.replace(/\|\|/g,"mdORmd");let t=marked.parse(e);t=t.replaceAll("mdORmd","||");const r=purify.sanitize(t),a={props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},msg:{type:Object,default:()=>({})}},template:`
    ${r}
    `};this.content=a},renderMermaid(){this.$nextTick(()=>{var e,t;this.$refs.markdown&&((t=(e=this.$refs.markdown)==null?void 0:e.querySelector(".mermaid"))==null||t.removeAttribute("data-processed")),mermaid.run({querySelector:".mermaid",suppressErrors:!0})})}}},_hoisted_1$5={ref:"markdown",class:"nrdb-ui-markdown-content"};function _sfc_render$9(e,t,r,a,o,u){return openBlock(),createElementBlock("div",_hoisted_1$5,[o.content?(openBlock(),createBlock(resolveDynamicComponent(o.content),{key:0,id:r.id,props:r.props,msg:u.msg},null,8,["id","props","msg"])):createCommentVNode("",!0)],512)}const UIMarkdown=_export_sfc(_sfc_main$a,[["render",_sfc_render$9]]),IN_BROWSER=typeof window<"u",SUPPORTS_INTERSECTION=IN_BROWSER&&"IntersectionObserver"in window,SUPPORTS_TOUCH=IN_BROWSER&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),SUPPORTS_EYE_DROPPER=IN_BROWSER&&"EyeDropper"in window;function _classPrivateFieldInitSpec(e,t,r){_checkPrivateRedeclaration(e,t),t.set(e,r)}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(e,t,r){return e.set(_assertClassBrand(e,t),r),r}function _classPrivateFieldGet(e,t){return e.get(_assertClassBrand(e,t))}function _assertClassBrand(e,t,r){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function getNestedValue(e,t,r){const a=t.length-1;if(a<0)return e===void 0?r:e;for(let o=0;odeepEqual(e[a],t[a]))}function getObjectValueByPath(e,t,r){return e==null||!t||typeof t!="string"?r:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),getNestedValue(e,t.split("."),r))}function getPropertyFromItem(e,t,r){if(t===!0)return e===void 0?r:e;if(t==null||typeof t=="boolean")return r;if(e!==Object(e)){if(typeof t!="function")return r;const o=t(e,r);return typeof o>"u"?r:o}if(typeof t=="string")return getObjectValueByPath(e,t,r);if(Array.isArray(t))return getNestedValue(e,t,r);if(typeof t!="function")return r;const a=t(e,r);return typeof a>"u"?r:a}function createRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(r,a)=>t+a)}function convertToUnit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function isObject$1(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function refElement(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const keyCodes=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),keyValues=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function keys(e){return Object.keys(e)}function has(e,t){return t.every(r=>e.hasOwnProperty(r))}function pick$1(e,t){const r={},a=new Set(Object.keys(e));for(const o of t)a.has(o)&&(r[o]=e[o]);return r}function pickWithRest(e,t,r){const a=Object.create(null),o=Object.create(null);for(const u in e)t.some(d=>d instanceof RegExp?d.test(u):d===u)&&!(r!=null&&r.some(d=>d===u))?a[u]=e[u]:o[u]=e[u];return[a,o]}function omit(e,t){const r={...e};return t.forEach(a=>delete r[a]),r}function only(e,t){const r={};return t.forEach(a=>r[a]=e[a]),r}const onRE=/^on[^a-z]/,isOn=e=>onRE.test(e),bubblingEvents=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],compositionIgnoreKeys=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function isComposingIgnoreKey(e){return e.isComposing&&compositionIgnoreKeys.includes(e.key)}function filterInputAttrs(e){const[t,r]=pickWithRest(e,[onRE]),a=omit(t,bubblingEvents),[o,u]=pickWithRest(r,["class","style","id",/^data-/]);return Object.assign(o,t),Object.assign(u,a),[o,u]}function wrapInArray(e){return e==null?[]:Array.isArray(e)?e:[e]}function debounce(e,t){let r=0;const a=function(){for(var o=arguments.length,u=new Array(o),d=0;de(...u),unref(t))};return a.clear=()=>{clearTimeout(r)},a.immediate=e,a}function clamp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(r,e))}function getDecimals(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function padEnd(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+r.repeat(Math.max(0,t-e.length))}function padStart(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function chunk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let a=0;for(;a1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&a0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const a={};for(const o in e)a[o]=e[o];for(const o in t){const u=e[o],d=t[o];if(isObject$1(u)&&isObject$1(d)){a[o]=mergeDeep(u,d,r);continue}if(Array.isArray(u)&&Array.isArray(d)&&r){a[o]=r(u,d);continue}a[o]=d}return a}function flattenFragments(e){return e.map(t=>t.type===Fragment?flattenFragments(t.children):t).flat()}function toKebabCase(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(toKebabCase.cache.has(e))return toKebabCase.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return toKebabCase.cache.set(e,t),t}toKebabCase.cache=new Map;function findChildrenWithProvide(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(r=>findChildrenWithProvide(e,r)).flat(1);if(t.suspense)return findChildrenWithProvide(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(r=>findChildrenWithProvide(e,r)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return findChildrenWithProvide(e,t.component.subTree).flat(1)}return[]}var _arr=new WeakMap,_pointer=new WeakMap;class CircularBuffer{constructor(t){_classPrivateFieldInitSpec(this,_arr,[]),_classPrivateFieldInitSpec(this,_pointer,0),this.size=t}push(t){_classPrivateFieldGet(_arr,this)[_classPrivateFieldGet(_pointer,this)]=t,_classPrivateFieldSet(_pointer,this,(_classPrivateFieldGet(_pointer,this)+1)%this.size)}values(){return _classPrivateFieldGet(_arr,this).slice(_classPrivateFieldGet(_pointer,this)).concat(_classPrivateFieldGet(_arr,this).slice(0,_classPrivateFieldGet(_pointer,this)))}}function getEventCoordinates(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function destructComputed(e){const t=reactive({}),r=computed(e);return watchEffect(()=>{for(const a in r.value)t[a]=r.value[a]},{flush:"sync"}),toRefs(t)}function includes(e,t){return e.includes(t)}function eventName(e){return e[2].toLowerCase()+e.slice(3)}const EventProp=()=>[Function,Array];function hasEvent(e,t){return t="on"+capitalize(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function callEvent(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(a=>`${a}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(r)]}function getNextElement(e,t,r){let a,o=e.indexOf(document.activeElement);const u=t==="next"?1:-1;do o+=u,a=e[o];while((!a||a.offsetParent==null||!((r==null?void 0:r(a))??!0))&&o=0);return a}function focusChild(e,t){var a,o,u,d;const r=focusableChildren(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((a=r[0])==null||a.focus());else if(t==="first")(o=r[0])==null||o.focus();else if(t==="last")(u=r.at(-1))==null||u.focus();else if(typeof t=="number")(d=r[t])==null||d.focus();else{const f=getNextElement(r,t);f?f.focus():focusChild(e,t==="next"?"first":"last")}}function isEmpty(e){return e==null||typeof e=="string"&&e.trim()===""}function noop$1(){}function matchesSelector(e,t){if(!(IN_BROWSER&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function ensureValidVNode(e){return e.some(t=>isVNode(t)?t.type===Comment?!1:t.type!==Fragment||ensureValidVNode(t.children):!0)?e:null}function defer(e,t){if(!IN_BROWSER||e===0)return t(),()=>{};const r=window.setTimeout(t,e);return()=>window.clearTimeout(r)}function eagerComputed(e,t){const r=shallowRef();return watchEffect(()=>{r.value=e()},{flush:"sync",...t}),readonly(r)}function isClickInsideElement(e,t){const r=e.clientX,a=e.clientY,o=t.getBoundingClientRect(),u=o.left,d=o.top,f=o.right,g=o.bottom;return r>=u&&r<=f&&a>=d&&a<=g}function templateRef(){const e=shallowRef(),t=r=>{e.value=r};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:r=>e.value=r}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>refElement(e.value)}),t}const block=["top","bottom"],inline=["start","end","left","right"];function parseAnchor(e,t){let[r,a]=e.split(" ");return a||(a=includes(block,r)?"start":includes(inline,r)?"top":"center"),{side:toPhysical(r,t),align:toPhysical(a,t)}}function toPhysical(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function flipSide(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function flipAlign(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function flipCorner(e){return{side:e.align,align:e.side}}function getAxis(e){return includes(block,e.side)?"y":"x"}class Box{constructor(t){let{x:r,y:a,width:o,height:u}=t;this.x=r,this.y=a,this.width=o,this.height=u}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function getOverflow(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function getTargetBox(e){return Array.isArray(e)?new Box({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function nullifyTransforms(e){const t=e.getBoundingClientRect(),r=getComputedStyle(e),a=r.transform;if(a){let o,u,d,f,g;if(a.startsWith("matrix3d("))o=a.slice(9,-1).split(/, /),u=+o[0],d=+o[5],f=+o[12],g=+o[13];else if(a.startsWith("matrix("))o=a.slice(7,-1).split(/, /),u=+o[0],d=+o[3],f=+o[4],g=+o[5];else return new Box(t);const _=r.transformOrigin,S=t.x-f-(1-u)*parseFloat(_),E=t.y-g-(1-d)*parseFloat(_.slice(_.indexOf(" ")+1)),v=u?t.width/u:e.offsetWidth+1,b=d?t.height/d:e.offsetHeight+1;return new Box({x:S,y:E,width:v,height:b})}else return new Box(t)}function animate(e,t,r){if(typeof e.animate>"u")return{finished:Promise.resolve()};let a;try{a=e.animate(t,r)}catch{return{finished:Promise.resolve()}}return typeof a.finished>"u"&&(a.finished=new Promise(o=>{a.onfinish=()=>{o(a)}})),a}const handlers=new WeakMap;function bindProps(e,t){Object.keys(t).forEach(r=>{if(isOn(r)){const a=eventName(r),o=handlers.get(e);if(t[r]==null)o==null||o.forEach(u=>{const[d,f]=u;d===a&&(e.removeEventListener(a,f),o.delete(u))});else if(!o||![...o].some(u=>u[0]===a&&u[1]===t[r])){e.addEventListener(a,t[r]);const u=o||new Set;u.add([a,t[r]]),handlers.has(e)||handlers.set(e,u)}}else t[r]==null?e.removeAttribute(r):e.setAttribute(r,t[r])})}function unbindProps(e,t){Object.keys(t).forEach(r=>{if(isOn(r)){const a=eventName(r),o=handlers.get(e);o==null||o.forEach(u=>{const[d,f]=u;d===a&&(e.removeEventListener(a,f),o.delete(u))})}else e.removeAttribute(r)})}const mainTRC=2.4,Rco=.2126729,Gco=.7151522,Bco=.072175,normBG=.55,normTXT=.58,revTXT=.57,revBG=.62,blkThrs=.03,blkClmp=1.45,deltaYmin=5e-4,scaleBoW=1.25,scaleWoB=1.25,loConThresh=.078,loConFactor=12.82051282051282,loConOffset=.06,loClip=.001;function APCAcontrast(e,t){const r=(e.r/255)**mainTRC,a=(e.g/255)**mainTRC,o=(e.b/255)**mainTRC,u=(t.r/255)**mainTRC,d=(t.g/255)**mainTRC,f=(t.b/255)**mainTRC;let g=r*Rco+a*Gco+o*Bco,_=u*Rco+d*Gco+f*Bco;if(g<=blkThrs&&(g+=(blkThrs-g)**blkClmp),_<=blkThrs&&(_+=(blkThrs-_)**blkClmp),Math.abs(_-g)g){const E=(_**normBG-g**normTXT)*scaleBoW;S=E-loClip?0:E>-loConThresh?E-E*loConFactor*loConOffset:E+loConOffset}return S*100}function consoleWarn(e){}function consoleError(e){}function deprecate(e,t){t=Array.isArray(t)?t.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const delta=.20689655172413793,cielabForwardTransform=e=>e>delta**3?Math.cbrt(e):e/(3*delta**2)+4/29,cielabReverseTransform=e=>e>delta?e**3:3*delta**2*(e-4/29);function fromXYZ$1(e){const t=cielabForwardTransform,r=t(e[1]);return[116*r-16,500*(t(e[0]/.95047)-r),200*(r-t(e[2]/1.08883))]}function toXYZ$1(e){const t=cielabReverseTransform,r=(e[0]+16)/116;return[t(r+e[1]/500)*.95047,t(r),t(r-e[2]/200)*1.08883]}const srgbForwardMatrix=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],srgbForwardTransform=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,srgbReverseMatrix=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],srgbReverseTransform=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function fromXYZ(e){const t=Array(3),r=srgbForwardTransform,a=srgbForwardMatrix;for(let o=0;o<3;++o)t[o]=Math.round(clamp(r(a[o][0]*e[0]+a[o][1]*e[1]+a[o][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function toXYZ(e){let{r:t,g:r,b:a}=e;const o=[0,0,0],u=srgbReverseTransform,d=srgbReverseMatrix;t=u(t/255),r=u(r/255),a=u(a/255);for(let f=0;f<3;++f)o[f]=d[f][0]*t+d[f][1]*r+d[f][2]*a;return o}function isCssColor(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function isParsableColor(e){return isCssColor(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const cssColorRe=/^(?(?:rgb|hsl)a?)\((?.+)\)/,mappers={rgb:(e,t,r,a)=>({r:e,g:t,b:r,a}),rgba:(e,t,r,a)=>({r:e,g:t,b:r,a}),hsl:(e,t,r,a)=>HSLtoRGB({h:e,s:t,l:r,a}),hsla:(e,t,r,a)=>HSLtoRGB({h:e,s:t,l:r,a}),hsv:(e,t,r,a)=>HSVtoRGB({h:e,s:t,v:r,a}),hsva:(e,t,r,a)=>HSVtoRGB({h:e,s:t,v:r,a})};function parseColor(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&cssColorRe.test(e)){const{groups:t}=e.match(cssColorRe),{fn:r,values:a}=t,o=a.split(/,\s*/).map(u=>u.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(u)/100:parseFloat(u));return mappers[r](...o)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(r=>r+r).join(""):[6,8].includes(t.length),HexToRGB(t)}else if(typeof e=="object"){if(has(e,["r","g","b"]))return e;if(has(e,["h","s","l"]))return HSVtoRGB(HSLtoHSV(e));if(has(e,["h","s","v"]))return HSVtoRGB(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function HSVtoRGB(e){const{h:t,s:r,v:a,a:o}=e,u=f=>{const g=(f+t/60)%6;return a-a*r*Math.max(Math.min(g,4-g,1),0)},d=[u(5),u(3),u(1)].map(f=>Math.round(f*255));return{r:d[0],g:d[1],b:d[2],a:o}}function HSLtoRGB(e){return HSVtoRGB(HSLtoHSV(e))}function RGBtoHSV(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,r=e.g/255,a=e.b/255,o=Math.max(t,r,a),u=Math.min(t,r,a);let d=0;o!==u&&(o===t?d=60*(0+(r-a)/(o-u)):o===r?d=60*(2+(a-t)/(o-u)):o===a&&(d=60*(4+(t-r)/(o-u)))),d<0&&(d=d+360);const f=o===0?0:(o-u)/o,g=[d,f,o];return{h:g[0],s:g[1],v:g[2],a:e.a}}function HSVtoHSL(e){const{h:t,s:r,v:a,a:o}=e,u=a-a*r/2,d=u===1||u===0?0:(a-u)/Math.min(u,1-u);return{h:t,s:d,l:u,a:o}}function HSLtoHSV(e){const{h:t,s:r,l:a,a:o}=e,u=a+r*Math.min(a,1-a),d=u===0?0:2-2*a/u;return{h:t,s:d,v:u,a:o}}function RGBtoCSS(e){let{r:t,g:r,b:a,a:o}=e;return o===void 0?`rgb(${t}, ${r}, ${a})`:`rgba(${t}, ${r}, ${a}, ${o})`}function HSVtoCSS(e){return RGBtoCSS(HSVtoRGB(e))}function toHex(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function RGBtoHex(e){let{r:t,g:r,b:a,a:o}=e;return`#${[toHex(t),toHex(r),toHex(a),o!==void 0?toHex(Math.round(o*255)):""].join("")}`}function HexToRGB(e){e=parseHex(e);let[t,r,a,o]=chunk(e,2).map(u=>parseInt(u,16));return o=o===void 0?o:o/255,{r:t,g:r,b:a,a:o}}function HexToHSV(e){const t=HexToRGB(e);return RGBtoHSV(t)}function HSVtoHex(e){return RGBtoHex(HSVtoRGB(e))}function parseHex(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=padEnd(padEnd(e,6),8,"F")),e}function lighten(e,t){const r=fromXYZ$1(toXYZ(e));return r[0]=r[0]+t*10,fromXYZ(toXYZ$1(r))}function darken(e,t){const r=fromXYZ$1(toXYZ(e));return r[0]=r[0]-t*10,fromXYZ(toXYZ$1(r))}function getLuma(e){const t=parseColor(e);return toXYZ(t)[1]}function getContrast(e,t){const r=getLuma(e),a=getLuma(t),o=Math.max(r,a),u=Math.min(r,a);return(o+.05)/(u+.05)}function getForeground(e){const t=Math.abs(APCAcontrast(parseColor(0),parseColor(e)));return Math.abs(APCAcontrast(parseColor(16777215),parseColor(e)))>Math.min(t,50)?"#fff":"#000"}function propsFactory(e,t){return r=>Object.keys(e).reduce((a,o)=>{const d=typeof e[o]=="object"&&e[o]!=null&&!Array.isArray(e[o])?e[o]:{type:e[o]};return r&&o in r?a[o]={...d,default:r[o]}:a[o]=d,t&&!a[o].source&&(a[o].source=t),a},{})}const makeComponentProps=propsFactory({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function getCurrentInstance(e,t){const r=getCurrentInstance$1();if(!r)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return r}function getCurrentInstanceName(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=getCurrentInstance(e).type;return toKebabCase((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let _uid=0,_map=new WeakMap;function getUid(){const e=getCurrentInstance("getUid");if(_map.has(e))return _map.get(e);{const t=_uid++;return _map.set(e,t),t}}getUid.reset=()=>{_uid=0,_map=new WeakMap};function injectSelf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstance("injectSelf");const{provides:r}=t;if(r&&e in r)return r[e]}const DefaultsSymbol=Symbol.for("vuetify:defaults");function createDefaults(e){return ref$1(e)}function injectDefaults(){const e=inject$1(DefaultsSymbol);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function provideDefaults(e,t){const r=injectDefaults(),a=ref$1(e),o=computed(()=>{if(unref(t==null?void 0:t.disabled))return r.value;const d=unref(t==null?void 0:t.scoped),f=unref(t==null?void 0:t.reset),g=unref(t==null?void 0:t.root);if(a.value==null&&!(d||f||g))return r.value;let _=mergeDeep(a.value,{prev:r.value});if(d)return _;if(f||g){const S=Number(f||1/0);for(let E=0;E<=S&&!(!_||!("prev"in _));E++)_=_.prev;return _&&typeof g=="string"&&g in _&&(_=mergeDeep(mergeDeep(_,{prev:_}),_[g])),_}return _.prev?mergeDeep(_.prev,_):_});return provide(DefaultsSymbol,o),o}function propIsDefined(e,t){var r,a;return typeof((r=e.props)==null?void 0:r[t])<"u"||typeof((a=e.props)==null?void 0:a[toKebabCase(t)])<"u"}function internalUseDefaults(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:injectDefaults();const a=getCurrentInstance("useDefaults");if(t=t??a.type.name??a.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const o=computed(()=>{var g;return(g=r.value)==null?void 0:g[e._as??t]}),u=new Proxy(e,{get(g,_){var E,v,b,y,T,C,R;const S=Reflect.get(g,_);return _==="class"||_==="style"?[(E=o.value)==null?void 0:E[_],S].filter(A=>A!=null):typeof _=="string"&&!propIsDefined(a.vnode,_)?((v=o.value)==null?void 0:v[_])!==void 0?(b=o.value)==null?void 0:b[_]:((T=(y=r.value)==null?void 0:y.global)==null?void 0:T[_])!==void 0?(R=(C=r.value)==null?void 0:C.global)==null?void 0:R[_]:S:S}}),d=shallowRef();watchEffect(()=>{if(o.value){const g=Object.entries(o.value).filter(_=>{let[S]=_;return S.startsWith(S[0].toUpperCase())});d.value=g.length?Object.fromEntries(g):void 0}else d.value=void 0});function f(){const g=injectSelf(DefaultsSymbol,a);provide(DefaultsSymbol,computed(()=>d.value?mergeDeep((g==null?void 0:g.value)??{},d.value):g==null?void 0:g.value))}return{props:u,provideSubDefaults:f}}function defineComponent(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=propsFactory(e.props??{},e.name)();const t=Object.keys(e.props).filter(r=>r!=="class"&&r!=="style");e.filterProps=function(a){return pick$1(a,t)},e.props._as=String,e.setup=function(a,o){const u=injectDefaults();if(!u.value)return e._setup(a,o);const{props:d,provideSubDefaults:f}=internalUseDefaults(a,a._as??e.name,u),g=e._setup(d,o);return f(),g}}return e}function genericComponent(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?defineComponent:defineComponent$1)(t)}function defineFunctionalComponent(e,t){return t.props=e,t}function createSimpleFunctional(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return genericComponent()({name:r??capitalize(camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...makeComponentProps()},setup(a,o){let{slots:u}=o;return()=>{var d;return h(a.tag,{class:[e,a.class],style:a.style},(d=u.default)==null?void 0:d.call(u))}}})}function attachedRoot(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const standardEasing="cubic-bezier(0.4, 0, 0.2, 1)",deceleratedEasing="cubic-bezier(0.0, 0, 0.2, 1)",acceleratedEasing="cubic-bezier(0.4, 0, 1, 1)";function getPrefixedEventHandlers(e,t,r){return Object.keys(e).filter(a=>isOn(a)&&a.endsWith(t)).reduce((a,o)=>(a[o.slice(0,-t.length)]=u=>e[o](u,r(u)),a),{})}function getScrollParent(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?isPotentiallyScrollable(e):hasScrollbar(e))return e;e=e.parentElement}return document.scrollingElement}function getScrollParents(e,t){const r=[];if(t&&e&&!t.contains(e))return r;for(;e&&(hasScrollbar(e)&&r.push(e),e!==t);)e=e.parentElement;return r}function hasScrollbar(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function isPotentiallyScrollable(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function isFixedPosition(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function useRender(e){const t=getCurrentInstance("useRender");t.render=e}const makeBorderProps=propsFactory({border:[Boolean,Number,String]},"border");function useBorder(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{borderClasses:computed(()=>{const a=isRef(e)?e.value:e.border,o=[];if(a===!0||a==="")o.push(`${t}--border`);else if(typeof a=="string"||a===0)for(const u of String(a).split(" "))o.push(`border-${u}`);return o})}}const allowedDensities$1=[null,"default","comfortable","compact"],makeDensityProps=propsFactory({density:{type:String,default:"default",validator:e=>allowedDensities$1.includes(e)}},"density");function useDensity(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{densityClasses:computed(()=>`${t}--density-${e.density}`)}}const makeElevationProps=propsFactory({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function useElevation(e){return{elevationClasses:computed(()=>{const r=isRef(e)?e.value:e.elevation,a=[];return r==null||a.push(`elevation-${r}`),a})}}const makeRoundedProps=propsFactory({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function useRounded(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{roundedClasses:computed(()=>{const a=isRef(e)?e.value:e.rounded,o=isRef(e)?e.value:e.tile,u=[];if(a===!0||a==="")u.push(`${t}--rounded`);else if(typeof a=="string"||a===0)for(const d of String(a).split(" "))u.push(`rounded-${d}`);else(o||a===!1)&&u.push("rounded-0");return u})}}const makeTagProps=propsFactory({tag:{type:String,default:"div"}},"tag"),ThemeSymbol=Symbol.for("vuetify:theme"),makeThemeProps=propsFactory({theme:String},"theme");function genDefaults$3(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function parseThemeOptions(){var a,o;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:genDefaults$3();const t=genDefaults$3();if(!e)return{...t,isDisabled:!0};const r={};for(const[u,d]of Object.entries(e.themes??{})){const f=d.dark||u==="dark"?(a=t.themes)==null?void 0:a.dark:(o=t.themes)==null?void 0:o.light;r[u]=mergeDeep(f,d)}return mergeDeep(t,{...e,themes:r})}function createTheme(e){const t=parseThemeOptions(e),r=ref$1(t.defaultTheme),a=ref$1(t.themes),o=computed(()=>{const S={};for(const[E,v]of Object.entries(a.value)){const b=S[E]={...v,colors:{...v.colors}};if(t.variations)for(const y of t.variations.colors){const T=b.colors[y];if(T)for(const C of["lighten","darken"]){const R=C==="lighten"?lighten:darken;for(const A of createRange(t.variations[C],1))b.colors[`${y}-${C}-${A}`]=RGBtoHex(R(parseColor(T),A))}}for(const y of Object.keys(b.colors)){if(/^on-[a-z]/.test(y)||b.colors[`on-${y}`])continue;const T=`on-${y}`,C=parseColor(b.colors[y]);b.colors[T]=getForeground(C)}}return S}),u=computed(()=>o.value[r.value]),d=computed(()=>{var y;const S=[];(y=u.value)!=null&&y.dark&&createCssClass(S,":root",["color-scheme: dark"]),createCssClass(S,":root",genCssVariables(u.value));for(const[T,C]of Object.entries(o.value))createCssClass(S,`.v-theme--${T}`,[`color-scheme: ${C.dark?"dark":"normal"}`,...genCssVariables(C)]);const E=[],v=[],b=new Set(Object.values(o.value).flatMap(T=>Object.keys(T.colors)));for(const T of b)/^on-[a-z]/.test(T)?createCssClass(v,`.${T}`,[`color: rgb(var(--v-theme-${T})) !important`]):(createCssClass(E,`.bg-${T}`,[`--v-theme-overlay-multiplier: var(--v-theme-${T}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${T})) !important`,`color: rgb(var(--v-theme-on-${T})) !important`]),createCssClass(v,`.text-${T}`,[`color: rgb(var(--v-theme-${T})) !important`]),createCssClass(v,`.border-${T}`,[`--v-border-color: var(--v-theme-${T})`]));return S.push(...E,...v),S.map((T,C)=>C===0?T:` ${T}`).join("")});function f(){return{style:[{children:d.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function g(S){if(t.isDisabled)return;const E=S._context.provides.usehead;if(E)if(E.push){const v=E.push(f);IN_BROWSER&&watch(d,()=>{v.patch(f)})}else IN_BROWSER?(E.addHeadObjs(computed(f)),watchEffect(()=>E.updateDOM())):E.addHeadObjs(f());else{let b=function(){if(typeof document<"u"&&!v){const y=document.createElement("style");y.type="text/css",y.id="vuetify-theme-stylesheet",t.cspNonce&&y.setAttribute("nonce",t.cspNonce),v=y,document.head.appendChild(v)}v&&(v.innerHTML=d.value)},v=IN_BROWSER?document.getElementById("vuetify-theme-stylesheet"):null;IN_BROWSER?watch(d,b,{immediate:!0}):b()}}const _=computed(()=>t.isDisabled?void 0:`v-theme--${r.value}`);return{install:g,isDisabled:t.isDisabled,name:r,themes:a,current:u,computedThemes:o,themeClasses:_,styles:d,global:{name:r,current:u}}}function provideTheme(e){getCurrentInstance("provideTheme");const t=inject$1(ThemeSymbol,null);if(!t)throw new Error("Could not find Vuetify theme injection");const r=computed(()=>e.theme??t.name.value),a=computed(()=>t.themes.value[r.value]),o=computed(()=>t.isDisabled?void 0:`v-theme--${r.value}`),u={...t,name:r,current:a,themeClasses:o};return provide(ThemeSymbol,u),u}function useTheme(){getCurrentInstance("useTheme");const e=inject$1(ThemeSymbol,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function createCssClass(e,t,r){e.push(`${t} { `,...r.map(a=>` ${a}; `),`} `)}function genCssVariables(e){const t=e.dark?2:1,r=e.dark?1:2,a=[];for(const[o,u]of Object.entries(e.colors)){const d=parseColor(u);a.push(`--v-theme-${o}: ${d.r},${d.g},${d.b}`),o.startsWith("on-")||a.push(`--v-theme-${o}-overlay-multiplier: ${getLuma(u)>.18?t:r}`)}for(const[o,u]of Object.entries(e.variables)){const d=typeof u=="string"&&u.startsWith("#")?parseColor(u):void 0,f=d?`${d.r}, ${d.g}, ${d.b}`:void 0;a.push(`--v-${o}: ${f??u}`)}return a}function useColor(e){return destructComputed(()=>{const t=[],r={};if(e.value.background)if(isCssColor(e.value.background)){if(r.backgroundColor=e.value.background,!e.value.text&&isParsableColor(e.value.background)){const a=parseColor(e.value.background);if(a.a==null||a.a===1){const o=getForeground(a);r.color=o,r.caretColor=o}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(isCssColor(e.value.text)?(r.color=e.value.text,r.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:r}})}function useTextColor(e,t){const r=computed(()=>({text:isRef(e)?e.value:t?e[t]:null})),{colorClasses:a,colorStyles:o}=useColor(r);return{textColorClasses:a,textColorStyles:o}}function useBackgroundColor(e,t){const r=computed(()=>({background:isRef(e)?e.value:t?e[t]:null})),{colorClasses:a,colorStyles:o}=useColor(r);return{backgroundColorClasses:a,backgroundColorStyles:o}}const allowedVariants$2=["elevated","flat","tonal","outlined","text","plain"];function genOverlays(e,t){return createVNode(Fragment,null,[e&&createVNode("span",{key:"overlay",class:`${t}__overlay`},null),createVNode("span",{key:"underlay",class:`${t}__underlay`},null)])}const makeVariantProps=propsFactory({color:String,variant:{type:String,default:"elevated",validator:e=>allowedVariants$2.includes(e)}},"variant");function useVariant(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=computed(()=>{const{variant:u}=unref(e);return`${t}--variant-${u}`}),{colorClasses:a,colorStyles:o}=useColor(computed(()=>{const{variant:u,color:d}=unref(e);return{[["elevated","flat"].includes(u)?"background":"text"]:d}}));return{colorClasses:a,colorStyles:o,variantClasses:r}}const makeVBtnGroupProps=propsFactory({baseColor:String,divided:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps()},"VBtnGroup"),VBtnGroup=genericComponent()({name:"VBtnGroup",props:makeVBtnGroupProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{densityClasses:o}=useDensity(e),{borderClasses:u}=useBorder(e),{elevationClasses:d}=useElevation(e),{roundedClasses:f}=useRounded(e);provideDefaults({VBtn:{height:"auto",baseColor:toRef(e,"baseColor"),color:toRef(e,"color"),density:toRef(e,"density"),flat:!0,variant:toRef(e,"variant")}}),useRender(()=>createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},a.value,u.value,o.value,d.value,f.value,e.class],style:e.style},r))}});function useToggleScope(e,t){let r;function a(){r=effectScope(),r.run(()=>t.length?t(()=>{r==null||r.stop(),a()}):t())}watch(e,o=>{o&&!r?a():o||(r==null||r.stop(),r=void 0)},{immediate:!0}),onScopeDispose(()=>{r==null||r.stop()})}function useProxiedModel(e,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:E=>E,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:E=>E;const u=getCurrentInstance("useProxiedModel"),d=ref$1(e[t]!==void 0?e[t]:r),f=toKebabCase(t),_=computed(f!==t?()=>{var E,v,b,y;return e[t],!!(((E=u.vnode.props)!=null&&E.hasOwnProperty(t)||(v=u.vnode.props)!=null&&v.hasOwnProperty(f))&&((b=u.vnode.props)!=null&&b.hasOwnProperty(`onUpdate:${t}`)||(y=u.vnode.props)!=null&&y.hasOwnProperty(`onUpdate:${f}`)))}:()=>{var E,v;return e[t],!!((E=u.vnode.props)!=null&&E.hasOwnProperty(t)&&((v=u.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${t}`)))});useToggleScope(()=>!_.value,()=>{watch(()=>e[t],E=>{d.value=E})});const S=computed({get(){const E=e[t];return a(_.value?E:d.value)},set(E){const v=o(E),b=toRaw(_.value?e[t]:d.value);b===v||a(b)===E||(d.value=v,u==null||u.emit(`update:${t}`,v))}});return Object.defineProperty(S,"externalValue",{get:()=>_.value?e[t]:d.value}),S}const makeGroupProps=propsFactory({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),makeGroupItemProps=propsFactory({value:null,disabled:Boolean,selectedClass:String},"group-item");function useGroupItem(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const a=getCurrentInstance("useGroupItem");if(!a)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const o=getUid();provide(Symbol.for(`${t.description}:id`),o);const u=inject$1(t,null);if(!u){if(!r)return u;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const d=toRef(e,"value"),f=computed(()=>!!(u.disabled.value||e.disabled));u.register({id:o,value:d,disabled:f},a),onBeforeUnmount(()=>{u.unregister(o)});const g=computed(()=>u.isSelected(o)),_=computed(()=>u.items.value[0].id===o),S=computed(()=>u.items.value[u.items.value.length-1].id===o),E=computed(()=>g.value&&[u.selectedClass.value,e.selectedClass]);return watch(g,v=>{a.emit("group:selected",{value:v})},{flush:"sync"}),{id:o,isSelected:g,isFirst:_,isLast:S,toggle:()=>u.select(o,!g.value),select:v=>u.select(o,v),selectedClass:E,value:d,disabled:f,group:u}}function useGroup(e,t){let r=!1;const a=reactive([]),o=useProxiedModel(e,"modelValue",[],v=>v==null?[]:getIds(a,wrapInArray(v)),v=>{const b=getValues(a,v);return e.multiple?b:b[0]}),u=getCurrentInstance("useGroup");function d(v,b){const y=v,T=Symbol.for(`${t.description}:id`),R=findChildrenWithProvide(T,u==null?void 0:u.vnode).indexOf(b);unref(y.value)==null&&(y.value=R,y.useIndexAsValue=!0),R>-1?a.splice(R,0,y):a.push(y)}function f(v){if(r)return;g();const b=a.findIndex(y=>y.id===v);a.splice(b,1)}function g(){const v=a.find(b=>!b.disabled);v&&e.mandatory==="force"&&!o.value.length&&(o.value=[v.id])}onMounted(()=>{g()}),onBeforeUnmount(()=>{r=!0}),onUpdated(()=>{for(let v=0;vT.id===v);if(!(b&&(y!=null&&y.disabled)))if(e.multiple){const T=o.value.slice(),C=T.findIndex(A=>A===v),R=~C;if(b=b??!R,R&&e.mandatory&&T.length<=1||!R&&e.max!=null&&T.length+1>e.max)return;C<0&&b?T.push(v):C>=0&&!b&&T.splice(C,1),o.value=T}else{const T=o.value.includes(v);if(e.mandatory&&T)return;o.value=b??!T?[v]:[]}}function S(v){if(e.multiple,o.value.length){const b=o.value[0],y=a.findIndex(R=>R.id===b);let T=(y+v)%a.length,C=a[T];for(;C.disabled&&T!==y;)T=(T+v)%a.length,C=a[T];if(C.disabled)return;o.value=[a[T].id]}else{const b=a.find(y=>!y.disabled);b&&(o.value=[b.id])}}const E={register:d,unregister:f,selected:o,select:_,disabled:toRef(e,"disabled"),prev:()=>S(a.length-1),next:()=>S(1),isSelected:v=>o.value.includes(v),selectedClass:computed(()=>e.selectedClass),items:computed(()=>a),getItemIndex:v=>getItemIndex(a,v)};return provide(t,E),E}function getItemIndex(e,t){const r=getIds(e,[t]);return r.length?e.findIndex(a=>a.id===r[0]):-1}function getIds(e,t){const r=[];return t.forEach(a=>{const o=e.find(d=>deepEqual(a,d.value)),u=e[a];(o==null?void 0:o.value)!=null?r.push(o.id):u!=null&&r.push(u.id)}),r}function getValues(e,t){const r=[];return t.forEach(a=>{const o=e.findIndex(u=>u.id===a);if(~o){const u=e[o];r.push(u.value!=null?u.value:o)}}),r}const VBtnToggleSymbol=Symbol.for("vuetify:v-btn-toggle"),makeVBtnToggleProps=propsFactory({...makeVBtnGroupProps(),...makeGroupProps()},"VBtnToggle"),VBtnToggle=genericComponent()({name:"VBtnToggle",props:makeVBtnToggleProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{isSelected:a,next:o,prev:u,select:d,selected:f}=useGroup(e,VBtnToggleSymbol);return useRender(()=>{const g=VBtnGroup.filterProps(e);return createVNode(VBtnGroup,mergeProps({class:["v-btn-toggle",e.class]},g,{style:e.style}),{default:()=>{var _;return[(_=r.default)==null?void 0:_.call(r,{isSelected:a,next:o,prev:u,select:d,selected:f})]}})}),{next:o,prev:u,select:d}}}),makeVDefaultsProviderProps=propsFactory({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),VDefaultsProvider=genericComponent(!1)({name:"VDefaultsProvider",props:makeVDefaultsProviderProps(),setup(e,t){let{slots:r}=t;const{defaults:a,disabled:o,reset:u,root:d,scoped:f}=toRefs(e);return provideDefaults(a,{reset:u,root:d,scoped:f,disabled:o}),()=>{var g;return(g=r.default)==null?void 0:g.call(r)}}}),aliases={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},mdi={component:e=>h(VClassIcon,{...e,class:"mdi"})},IconValue=[String,Function,Object,Array],IconSymbol=Symbol.for("vuetify:icons"),makeIconProps=propsFactory({icon:{type:IconValue},tag:{type:String,required:!0}},"icon"),VComponentIcon=genericComponent()({name:"VComponentIcon",props:makeIconProps(),setup(e,t){let{slots:r}=t;return()=>{const a=e.icon;return createVNode(e.tag,null,{default:()=>{var o;return[e.icon?createVNode(a,null,null):(o=r.default)==null?void 0:o.call(r)]}})}}}),VSvgIcon=defineComponent({name:"VSvgIcon",inheritAttrs:!1,props:makeIconProps(),setup(e,t){let{attrs:r}=t;return()=>createVNode(e.tag,mergeProps(r,{style:null}),{default:()=>[createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(a=>Array.isArray(a)?createVNode("path",{d:a[0],"fill-opacity":a[1]},null):createVNode("path",{d:a},null)):createVNode("path",{d:e.icon},null)])]})}}),VLigatureIcon=defineComponent({name:"VLigatureIcon",props:makeIconProps(),setup(e){return()=>createVNode(e.tag,null,{default:()=>[e.icon]})}}),VClassIcon=defineComponent({name:"VClassIcon",props:makeIconProps(),setup(e){return()=>createVNode(e.tag,{class:e.icon},null)}});function genDefaults$2(){return{svg:{component:VSvgIcon},class:{component:VClassIcon}}}function createIcons(e){const t=genDefaults$2(),r=(e==null?void 0:e.defaultSet)??"mdi";return r==="mdi"&&!t.mdi&&(t.mdi=mdi),mergeDeep({defaultSet:r,sets:t,aliases:{...aliases,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const useIcon=e=>{const t=inject$1(IconSymbol);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:computed(()=>{var g;const a=unref(e);if(!a)return{component:VComponentIcon};let o=a;if(typeof o=="string"&&(o=o.trim(),o.startsWith("$")&&(o=(g=t.aliases)==null?void 0:g[o.slice(1)])),Array.isArray(o))return{component:VSvgIcon,icon:o};if(typeof o!="string")return{component:VComponentIcon,icon:o};const u=Object.keys(t.sets).find(_=>typeof o=="string"&&o.startsWith(`${_}:`)),d=u?o.slice(u.length+1):o;return{component:t.sets[u??t.defaultSet].component,icon:d}})}},predefinedSizes=["x-small","small","default","large","x-large"],makeSizeProps=propsFactory({size:{type:[String,Number],default:"default"}},"size");function useSize(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return destructComputed(()=>{let r,a;return includes(predefinedSizes,e.size)?r=`${t}--size-${e.size}`:e.size&&(a={width:convertToUnit(e.size),height:convertToUnit(e.size)}),{sizeClasses:r,sizeStyles:a}})}const makeVIconProps=propsFactory({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:IconValue,...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"i"}),...makeThemeProps()},"VIcon"),VIcon=genericComponent()({name:"VIcon",props:makeVIconProps(),setup(e,t){let{attrs:r,slots:a}=t;const o=ref$1(),{themeClasses:u}=provideTheme(e),{iconData:d}=useIcon(computed(()=>o.value||e.icon)),{sizeClasses:f}=useSize(e),{textColorClasses:g,textColorStyles:_}=useTextColor(toRef(e,"color"));return useRender(()=>{var v,b;const S=(v=a.default)==null?void 0:v.call(a);S&&(o.value=(b=flattenFragments(S).filter(y=>y.type===Text&&y.children&&typeof y.children=="string")[0])==null?void 0:b.children);const E=!!(r.onClick||r.onClickOnce);return createVNode(d.value.component,{tag:e.tag,icon:d.value.icon,class:["v-icon","notranslate",u.value,f.value,g.value,{"v-icon--clickable":E,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[f.value?void 0:{fontSize:convertToUnit(e.size),height:convertToUnit(e.size),width:convertToUnit(e.size)},_.value,e.style],role:E?"button":void 0,"aria-hidden":!E,tabindex:E?e.disabled?-1:0:void 0},{default:()=>[S]})}),{}}});function useIntersectionObserver(e,t){const r=ref$1(),a=shallowRef(!1);if(SUPPORTS_INTERSECTION){const o=new IntersectionObserver(u=>{e==null||e(u,o),a.value=!!u.find(d=>d.isIntersecting)},t);onBeforeUnmount(()=>{o.disconnect()}),watch(r,(u,d)=>{d&&(o.unobserve(d),a.value=!1),u&&o.observe(u)},{flush:"post"})}return{intersectionRef:r,isIntersecting:a}}function useResizeObserver(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const r=templateRef(),a=ref$1();if(IN_BROWSER){const o=new ResizeObserver(u=>{e==null||e(u,o),u.length&&(t==="content"?a.value=u[0].contentRect:a.value=u[0].target.getBoundingClientRect())});onBeforeUnmount(()=>{o.disconnect()}),watch(()=>r.el,(u,d)=>{d&&(o.unobserve(d),a.value=void 0),u&&o.observe(u)},{flush:"post"})}return{resizeRef:r,contentRect:readonly(a)}}const makeVProgressCircularProps=propsFactory({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"div"}),...makeThemeProps()},"VProgressCircular"),VProgressCircular=genericComponent()({name:"VProgressCircular",props:makeVProgressCircularProps(),setup(e,t){let{slots:r}=t;const a=20,o=2*Math.PI*a,u=ref$1(),{themeClasses:d}=provideTheme(e),{sizeClasses:f,sizeStyles:g}=useSize(e),{textColorClasses:_,textColorStyles:S}=useTextColor(toRef(e,"color")),{textColorClasses:E,textColorStyles:v}=useTextColor(toRef(e,"bgColor")),{intersectionRef:b,isIntersecting:y}=useIntersectionObserver(),{resizeRef:T,contentRect:C}=useResizeObserver(),R=computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),A=computed(()=>Number(e.width)),O=computed(()=>g.value?Number(e.size):C.value?C.value.width:Math.max(A.value,32)),x=computed(()=>a/(1-A.value/O.value)*2),N=computed(()=>A.value/O.value*x.value),I=computed(()=>convertToUnit((100-R.value)/100*o));return watchEffect(()=>{b.value=u.value,T.value=u.value}),useRender(()=>createVNode(e.tag,{ref:u,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":y.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},d.value,f.value,_.value,e.class],style:[g.value,S.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:R.value},{default:()=>[createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${x.value} ${x.value}`},[createVNode("circle",{class:["v-progress-circular__underlay",E.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":N.value,"stroke-dasharray":o,"stroke-dashoffset":0},null),createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":N.value,"stroke-dasharray":o,"stroke-dashoffset":I.value},null)]),r.default&&createVNode("div",{class:"v-progress-circular__content"},[r.default({value:R.value})])]})),{}}}),makeDimensionProps=propsFactory({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function useDimension(e){return{dimensionStyles:computed(()=>{const r={},a=convertToUnit(e.height),o=convertToUnit(e.maxHeight),u=convertToUnit(e.maxWidth),d=convertToUnit(e.minHeight),f=convertToUnit(e.minWidth),g=convertToUnit(e.width);return a!=null&&(r.height=a),o!=null&&(r.maxHeight=o),u!=null&&(r.maxWidth=u),d!=null&&(r.minHeight=d),f!=null&&(r.minWidth=f),g!=null&&(r.width=g),r})}}const en={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},LANG_PREFIX="$vuetify.",replace=(e,t)=>e.replace(/\{(\d+)\}/g,(r,a)=>String(t[+a])),createTranslateFunction=(e,t,r)=>function(a){for(var o=arguments.length,u=new Array(o>1?o-1:0),d=1;dnew Intl.NumberFormat([e.value,t.value],a).format(r)}function useProvided(e,t,r){const a=useProxiedModel(e,t,e[t]??r.value);return a.value=e[t]??r.value,watch(r,o=>{e[t]==null&&(a.value=r.value)}),a}function createProvideFunction(e){return t=>{const r=useProvided(t,"locale",e.current),a=useProvided(t,"fallback",e.fallback),o=useProvided(t,"messages",e.messages);return{name:"vuetify",current:r,fallback:a,messages:o,t:createTranslateFunction(r,a,o),n:createNumberFunction(r,a),provide:createProvideFunction({current:r,fallback:a,messages:o})}}}function createVuetifyAdapter(e){const t=shallowRef((e==null?void 0:e.locale)??"en"),r=shallowRef((e==null?void 0:e.fallback)??"en"),a=ref$1({en,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:r,messages:a,t:createTranslateFunction(t,r,a),n:createNumberFunction(t,r),provide:createProvideFunction({current:t,fallback:r,messages:a})}}const LocaleSymbol=Symbol.for("vuetify:locale");function isLocaleInstance(e){return e.name!=null}function createLocale(e){const t=e!=null&&e.adapter&&isLocaleInstance(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:createVuetifyAdapter(e),r=createRtl(t,e);return{...t,...r}}function useLocale(){const e=inject$1(LocaleSymbol);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function provideLocale(e){const t=inject$1(LocaleSymbol);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");const r=t.provide(e),a=provideRtl(r,t.rtl,e),o={...r,...a};return provide(LocaleSymbol,o),o}function genDefaults$1(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function createRtl(e,t){const r=ref$1((t==null?void 0:t.rtl)??genDefaults$1()),a=computed(()=>r.value[e.current.value]??!1);return{isRtl:a,rtl:r,rtlClasses:computed(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function provideRtl(e,t,r){const a=computed(()=>r.rtl??t.value[e.current.value]??!1);return{isRtl:a,rtl:t,rtlClasses:computed(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function useRtl(){const e=inject$1(LocaleSymbol);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const oppositeMap={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},makeLocationProps=propsFactory({location:String},"location");function useLocation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=useRtl();return{locationStyles:computed(()=>{if(!e.location)return{};const{side:u,align:d}=parseAnchor(e.location.split(" ").length>1?e.location:`${e.location} center`,a.value);function f(_){return r?r(_):0}const g={};return u!=="center"&&(t?g[oppositeMap[u]]=`calc(100% - ${f(u)}px)`:g[u]=0),d!=="center"?t?g[oppositeMap[d]]=`calc(100% - ${f(d)}px)`:g[d]=0:(u==="center"?g.top=g.left="50%":g[{top:"left",bottom:"left",left:"top",right:"top"}[u]]="50%",g.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[u]),g})}}const makeVProgressLinearProps=propsFactory({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...makeComponentProps(),...makeLocationProps({location:"top"}),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VProgressLinear"),VProgressLinear=genericComponent()({name:"VProgressLinear",props:makeVProgressLinearProps(),emits:{"update:modelValue":e=>!0},setup(e,t){var F;let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),{isRtl:o,rtlClasses:u}=useRtl(),{themeClasses:d}=provideTheme(e),{locationStyles:f}=useLocation(e),{textColorClasses:g,textColorStyles:_}=useTextColor(e,"color"),{backgroundColorClasses:S,backgroundColorStyles:E}=useBackgroundColor(computed(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:b}=useBackgroundColor(computed(()=>e.bufferColor||e.bgColor||e.color)),{backgroundColorClasses:y,backgroundColorStyles:T}=useBackgroundColor(e,"color"),{roundedClasses:C}=useRounded(e),{intersectionRef:R,isIntersecting:A}=useIntersectionObserver(),O=computed(()=>parseFloat(e.max)),x=computed(()=>parseFloat(e.height)),N=computed(()=>clamp(parseFloat(e.bufferValue)/O.value*100,0,100)),I=computed(()=>clamp(parseFloat(a.value)/O.value*100,0,100)),k=computed(()=>o.value!==e.reverse),D=computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),P=IN_BROWSER&&((F=window.matchMedia)==null?void 0:F.call(window,"(forced-colors: active)").matches);function L(B){if(!R.value)return;const{left:V,right:U,width:W}=R.value.getBoundingClientRect(),K=k.value?W-B.clientX+(U-W):B.clientX-V;a.value=Math.round(K/W*O.value)}return useRender(()=>createVNode(e.tag,{ref:R,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&A.value,"v-progress-linear--reverse":k.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},C.value,d.value,u.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?convertToUnit(x.value):0,"--v-progress-linear-height":convertToUnit(x.value),...e.absolute?f.value:{}},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:I.value,onClick:e.clickable&&L},{default:()=>[e.stream&&createVNode("div",{key:"stream",class:["v-progress-linear__stream",g.value],style:{..._.value,[k.value?"left":"right"]:convertToUnit(-x.value),borderTop:`${convertToUnit(x.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${convertToUnit(x.value/4)})`,width:convertToUnit(100-N.value,"%"),"--v-progress-linear-stream-to":convertToUnit(x.value*(k.value?1:-1))}},null),createVNode("div",{class:["v-progress-linear__background",P?void 0:S.value],style:[E.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}]},null),createVNode("div",{class:["v-progress-linear__buffer",P?void 0:v.value],style:[b.value,{opacity:parseFloat(e.bufferOpacity),width:convertToUnit(N.value,"%")}]},null),createVNode(Transition$1,{name:D.value},{default:()=>[e.indeterminate?createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(B=>createVNode("div",{key:B,class:["v-progress-linear__indeterminate",B,P?void 0:y.value],style:T.value},null))]):createVNode("div",{class:["v-progress-linear__determinate",P?void 0:y.value],style:[T.value,{width:convertToUnit(I.value,"%")}]},null)]}),r.default&&createVNode("div",{class:"v-progress-linear__content"},[r.default({value:I.value,buffer:N.value})])]})),{}}}),makeLoaderProps=propsFactory({loading:[Boolean,String]},"loader");function useLoader(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{loaderClasses:computed(()=>({[`${t}--loading`]:e.loading}))}}function LoaderSlot(e,t){var a;let{slots:r}=t;return createVNode("div",{class:`${e.name}__loader`},[((a=r.default)==null?void 0:a.call(r,{color:e.color,isActive:e.active}))||createVNode(VProgressLinear,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const positionValues=["static","relative","fixed","absolute","sticky"],makePositionProps=propsFactory({position:{type:String,validator:e=>positionValues.includes(e)}},"position");function usePosition(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{positionClasses:computed(()=>e.position?`${t}--${e.position}`:void 0)}}function useRoute(){const e=getCurrentInstance("useRoute");return computed(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function useRouter(){var e,t;return(t=(e=getCurrentInstance("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function useLink$1(e,t){var _,S;const r=resolveDynamicComponent("RouterLink"),a=computed(()=>!!(e.href||e.to)),o=computed(()=>(a==null?void 0:a.value)||hasEvent(t,"click")||hasEvent(e,"click"));if(typeof r=="string"||!("useLink"in r))return{isLink:a,isClickable:o,href:toRef(e,"href")};const u=computed(()=>({...e,to:toRef(()=>e.to||"")})),d=r.useLink(u.value),f=computed(()=>e.to?d:void 0),g=useRoute();return{isLink:a,isClickable:o,route:(_=f.value)==null?void 0:_.route,navigate:(S=f.value)==null?void 0:S.navigate,isActive:computed(()=>{var E,v,b;return f.value?e.exact?g.value?((b=f.value.isExactActive)==null?void 0:b.value)&&deepEqual(f.value.route.value.query,g.value.query):((v=f.value.isExactActive)==null?void 0:v.value)??!1:((E=f.value.isActive)==null?void 0:E.value)??!1:!1}),href:computed(()=>{var E;return e.to?(E=f.value)==null?void 0:E.route.value.href:e.href})}}const makeRouterProps=propsFactory({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let inTransition=!1;function useBackButton(e,t){let r=!1,a,o;IN_BROWSER&&(nextTick$1(()=>{window.addEventListener("popstate",u),a=e==null?void 0:e.beforeEach((d,f,g)=>{inTransition?r?t(g):g():setTimeout(()=>r?t(g):g()),inTransition=!0}),o=e==null?void 0:e.afterEach(()=>{inTransition=!1})}),onScopeDispose(()=>{window.removeEventListener("popstate",u),a==null||a(),o==null||o()}));function u(d){var f;(f=d.state)!=null&&f.replaced||(r=!0,setTimeout(()=>r=!1))}}function useSelectLink(e,t){watch(()=>{var r;return(r=e.isActive)==null?void 0:r.value},r=>{e.isLink.value&&r&&t&&nextTick$1(()=>{t(!0)})},{immediate:!0})}const stopSymbol=Symbol("rippleStop"),DELAY_RIPPLE=80;function transform(e,t){e.style.transform=t,e.style.webkitTransform=t}function isTouchEvent(e){return e.constructor.name==="TouchEvent"}function isKeyboardEvent(e){return e.constructor.name==="KeyboardEvent"}const calculate=function(e,t){var E;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,o=0;if(!isKeyboardEvent(e)){const v=t.getBoundingClientRect(),b=isTouchEvent(e)?e.touches[e.touches.length-1]:e;a=b.clientX-v.left,o=b.clientY-v.top}let u=0,d=.3;(E=t._ripple)!=null&&E.circle?(d=.15,u=t.clientWidth/2,u=r.center?u:u+Math.sqrt((a-u)**2+(o-u)**2)/4):u=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const f=`${(t.clientWidth-u*2)/2}px`,g=`${(t.clientHeight-u*2)/2}px`,_=r.center?f:`${a-u}px`,S=r.center?g:`${o-u}px`;return{radius:u,scale:d,x:_,y:S,centerX:f,centerY:g}},ripples={show(e,t){var b;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((b=t==null?void 0:t._ripple)!=null&&b.enabled))return;const a=document.createElement("span"),o=document.createElement("span");a.appendChild(o),a.className="v-ripple__container",r.class&&(a.className+=` ${r.class}`);const{radius:u,scale:d,x:f,y:g,centerX:_,centerY:S}=calculate(e,t,r),E=`${u*2}px`;o.className="v-ripple__animation",o.style.width=E,o.style.height=E,t.appendChild(a);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),o.classList.add("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--visible"),transform(o,`translate(${f}, ${g}) scale3d(${d},${d},${d})`),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove("v-ripple__animation--enter"),o.classList.add("v-ripple__animation--in"),transform(o,`translate(${_}, ${S}) scale3d(1,1,1)`)},0)},hide(e){var u;if(!((u=e==null?void 0:e._ripple)!=null&&u.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const r=t[t.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const a=performance.now()-Number(r.dataset.activated),o=Math.max(250-a,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var f;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((f=r.parentNode)==null?void 0:f.parentNode)===e&&e.removeChild(r.parentNode)},300)},o)}};function isRippleEnabled(e){return typeof e>"u"||!!e}function rippleShow(e){const t={},r=e.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||e[stopSymbol])){if(e[stopSymbol]=!0,isTouchEvent(e))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(t.center=r._ripple.centered||isKeyboardEvent(e),r._ripple.class&&(t.class=r._ripple.class),isTouchEvent(e)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{ripples.show(e,r,t)},r._ripple.showTimer=window.setTimeout(()=>{var a;(a=r==null?void 0:r._ripple)!=null&&a.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},DELAY_RIPPLE)}else ripples.show(e,r,t)}}function rippleStop(e){e[stopSymbol]=!0}function rippleHide(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{rippleHide(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),ripples.hide(t)}}function rippleCancelShow(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let keyboardRipple=!1;function keyboardRippleShow(e){!keyboardRipple&&(e.keyCode===keyCodes.enter||e.keyCode===keyCodes.space)&&(keyboardRipple=!0,rippleShow(e))}function keyboardRippleHide(e){keyboardRipple=!1,rippleHide(e)}function focusRippleHide(e){keyboardRipple&&(keyboardRipple=!1,rippleHide(e))}function updateRipple(e,t,r){const{value:a,modifiers:o}=t,u=isRippleEnabled(a);if(u||ripples.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=u,e._ripple.centered=o.center,e._ripple.circle=o.circle,isObject$1(a)&&a.class&&(e._ripple.class=a.class),u&&!r){if(o.stop){e.addEventListener("touchstart",rippleStop,{passive:!0}),e.addEventListener("mousedown",rippleStop);return}e.addEventListener("touchstart",rippleShow,{passive:!0}),e.addEventListener("touchend",rippleHide,{passive:!0}),e.addEventListener("touchmove",rippleCancelShow,{passive:!0}),e.addEventListener("touchcancel",rippleHide),e.addEventListener("mousedown",rippleShow),e.addEventListener("mouseup",rippleHide),e.addEventListener("mouseleave",rippleHide),e.addEventListener("keydown",keyboardRippleShow),e.addEventListener("keyup",keyboardRippleHide),e.addEventListener("blur",focusRippleHide),e.addEventListener("dragstart",rippleHide,{passive:!0})}else!u&&r&&removeListeners(e)}function removeListeners(e){e.removeEventListener("mousedown",rippleShow),e.removeEventListener("touchstart",rippleShow),e.removeEventListener("touchend",rippleHide),e.removeEventListener("touchmove",rippleCancelShow),e.removeEventListener("touchcancel",rippleHide),e.removeEventListener("mouseup",rippleHide),e.removeEventListener("mouseleave",rippleHide),e.removeEventListener("keydown",keyboardRippleShow),e.removeEventListener("keyup",keyboardRippleHide),e.removeEventListener("dragstart",rippleHide),e.removeEventListener("blur",focusRippleHide)}function mounted$5(e,t){updateRipple(e,t,!1)}function unmounted$5(e){delete e._ripple,removeListeners(e)}function updated$1(e,t){if(t.value===t.oldValue)return;const r=isRippleEnabled(t.oldValue);updateRipple(e,t,r)}const Ripple={mounted:mounted$5,unmounted:unmounted$5,updated:updated$1},makeVBtnProps=propsFactory({active:{type:Boolean,default:void 0},baseColor:String,symbol:{type:null,default:VBtnToggleSymbol},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:IconValue,appendIcon:IconValue,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"button"}),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VBtn"),VBtn=genericComponent()({name:"VBtn",props:makeVBtnProps(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const{themeClasses:o}=provideTheme(e),{borderClasses:u}=useBorder(e),{densityClasses:d}=useDensity(e),{dimensionStyles:f}=useDimension(e),{elevationClasses:g}=useElevation(e),{loaderClasses:_}=useLoader(e),{locationStyles:S}=useLocation(e),{positionClasses:E}=usePosition(e),{roundedClasses:v}=useRounded(e),{sizeClasses:b,sizeStyles:y}=useSize(e),T=useGroupItem(e,e.symbol,!1),C=useLink$1(e,r),R=computed(()=>{var L;return e.active!==void 0?e.active:C.isLink.value?(L=C.isActive)==null?void 0:L.value:T==null?void 0:T.isSelected.value}),A=computed(()=>{var F,B;return{color:(T==null?void 0:T.isSelected.value)&&(!C.isLink.value||((F=C.isActive)==null?void 0:F.value))||!T||((B=C.isActive)==null?void 0:B.value)?e.color??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:O,colorStyles:x,variantClasses:N}=useVariant(A),I=computed(()=>(T==null?void 0:T.disabled.value)||e.disabled),k=computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),D=computed(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function P(L){var F;I.value||C.isLink.value&&(L.metaKey||L.ctrlKey||L.shiftKey||L.button!==0||r.target==="_blank")||((F=C.navigate)==null||F.call(C,L),T==null||T.toggle())}return useSelectLink(C,T==null?void 0:T.select),useRender(()=>{const L=C.isLink.value?"a":e.tag,F=!!(e.prependIcon||a.prepend),B=!!(e.appendIcon||a.append),V=!!(e.icon&&e.icon!==!0);return withDirectives(createVNode(L,{type:L==="a"?void 0:"button",class:["v-btn",T==null?void 0:T.selectedClass.value,{"v-btn--active":R.value,"v-btn--block":e.block,"v-btn--disabled":I.value,"v-btn--elevated":k.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},o.value,u.value,O.value,d.value,g.value,_.value,E.value,v.value,b.value,N.value,e.class],style:[x.value,f.value,S.value,y.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:I.value||void 0,href:C.href.value,tabindex:e.loading||e.readonly?-1:void 0,onClick:P,value:D.value},{default:()=>{var U;return[genOverlays(!0,"v-btn"),!e.icon&&F&&createVNode("span",{key:"prepend",class:"v-btn__prepend"},[a.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},a.prepend):createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon},null)]),createVNode("span",{class:"v-btn__content","data-no-activator":""},[!a.default&&V?createVNode(VIcon,{key:"content-icon",icon:e.icon},null):createVNode(VDefaultsProvider,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var W;return[((W=a.default)==null?void 0:W.call(a))??e.text]}})]),!e.icon&&B&&createVNode("span",{key:"append",class:"v-btn__append"},[a.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},a.append):createVNode(VIcon,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&createVNode("span",{key:"loader",class:"v-btn__loader"},[((U=a.loader)==null?void 0:U.call(a))??createVNode(VProgressCircular,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[Ripple,!I.value&&!!e.ripple,"",{center:!!e.icon}]])}),{group:T}}}),makeVDividerProps=propsFactory({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...makeComponentProps(),...makeThemeProps()},"VDivider"),VDivider=genericComponent()({name:"VDivider",props:makeVDividerProps(),setup(e,t){let{attrs:r,slots:a}=t;const{themeClasses:o}=provideTheme(e),{textColorClasses:u,textColorStyles:d}=useTextColor(toRef(e,"color")),f=computed(()=>{const g={};return e.length&&(g[e.vertical?"height":"width"]=convertToUnit(e.length)),e.thickness&&(g[e.vertical?"borderRightWidth":"borderTopWidth"]=convertToUnit(e.thickness)),g});return useRender(()=>{const g=createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},o.value,u.value,e.class],style:[f.value,d.value,{"--v-border-opacity":e.opacity},e.style],"aria-orientation":!r.role||r.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null);return a.default?createVNode("div",{class:["v-divider__wrapper",{"v-divider__wrapper--vertical":e.vertical,"v-divider__wrapper--inset":e.inset}]},[g,createVNode("div",{class:"v-divider__content"},[a.default()]),g]):g}),{}}}),makeTransitionProps$1=propsFactory({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function createCssTransition(e,t,r){return genericComponent()({name:e,props:makeTransitionProps$1({mode:r,origin:t}),setup(a,o){let{slots:u}=o;const d={onBeforeEnter(f){a.origin&&(f.style.transformOrigin=a.origin)},onLeave(f){if(a.leaveAbsolute){const{offsetTop:g,offsetLeft:_,offsetWidth:S,offsetHeight:E}=f;f._transitionInitialStyles={position:f.style.position,top:f.style.top,left:f.style.left,width:f.style.width,height:f.style.height},f.style.position="absolute",f.style.top=`${g}px`,f.style.left=`${_}px`,f.style.width=`${S}px`,f.style.height=`${E}px`}a.hideOnLeave&&f.style.setProperty("display","none","important")},onAfterLeave(f){if(a.leaveAbsolute&&(f!=null&&f._transitionInitialStyles)){const{position:g,top:_,left:S,width:E,height:v}=f._transitionInitialStyles;delete f._transitionInitialStyles,f.style.position=g||"",f.style.top=_||"",f.style.left=S||"",f.style.width=E||"",f.style.height=v||""}}};return()=>{const f=a.group?TransitionGroup:Transition$1;return h(f,{name:a.disabled?"":e,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:d},u.default)}}})}function createJavascriptTransition(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return genericComponent()({name:e,props:{mode:{type:String,default:r},disabled:Boolean,group:Boolean},setup(a,o){let{slots:u}=o;const d=a.group?TransitionGroup:Transition$1;return()=>h(d,{name:a.disabled?"":e,css:!a.disabled,...a.disabled?{}:t},u.default)}})}function ExpandTransitionGenerator(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",a=camelize(`offset-${r}`);return{onBeforeEnter(d){d._parent=d.parentNode,d._initialStyle={transition:d.style.transition,overflow:d.style.overflow,[r]:d.style[r]}},onEnter(d){const f=d._initialStyle;d.style.setProperty("transition","none","important"),d.style.overflow="hidden";const g=`${d[a]}px`;d.style[r]="0",d.offsetHeight,d.style.transition=f.transition,e&&d._parent&&d._parent.classList.add(e),requestAnimationFrame(()=>{d.style[r]=g})},onAfterEnter:u,onEnterCancelled:u,onLeave(d){d._initialStyle={transition:"",overflow:d.style.overflow,[r]:d.style[r]},d.style.overflow="hidden",d.style[r]=`${d[a]}px`,d.offsetHeight,requestAnimationFrame(()=>d.style[r]="0")},onAfterLeave:o,onLeaveCancelled:o};function o(d){e&&d._parent&&d._parent.classList.remove(e),u(d)}function u(d){const f=d._initialStyle[r];d.style.overflow=d._initialStyle.overflow,f!=null&&(d.style[r]=f),delete d._initialStyle}}const makeVDialogTransitionProps=propsFactory({target:[Object,Array]},"v-dialog-transition"),VDialogTransition=genericComponent()({name:"VDialogTransition",props:makeVDialogTransitionProps(),setup(e,t){let{slots:r}=t;const a={onBeforeEnter(o){o.style.pointerEvents="none",o.style.visibility="hidden"},async onEnter(o,u){var v;await new Promise(b=>requestAnimationFrame(b)),await new Promise(b=>requestAnimationFrame(b)),o.style.visibility="";const{x:d,y:f,sx:g,sy:_,speed:S}=getDimensions(e.target,o),E=animate(o,[{transform:`translate(${d}px, ${f}px) scale(${g}, ${_})`,opacity:0},{}],{duration:225*S,easing:deceleratedEasing});(v=getChildren(o))==null||v.forEach(b=>{animate(b,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*S,easing:standardEasing})}),E.finished.then(()=>u())},onAfterEnter(o){o.style.removeProperty("pointer-events")},onBeforeLeave(o){o.style.pointerEvents="none"},async onLeave(o,u){var v;await new Promise(b=>requestAnimationFrame(b));const{x:d,y:f,sx:g,sy:_,speed:S}=getDimensions(e.target,o);animate(o,[{},{transform:`translate(${d}px, ${f}px) scale(${g}, ${_})`,opacity:0}],{duration:125*S,easing:acceleratedEasing}).finished.then(()=>u()),(v=getChildren(o))==null||v.forEach(b=>{animate(b,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*S,easing:standardEasing})})},onAfterLeave(o){o.style.removeProperty("pointer-events")}};return()=>e.target?createVNode(Transition$1,mergeProps({name:"dialog-transition"},a,{css:!1}),r):createVNode(Transition$1,{name:"dialog-transition"},r)}});function getChildren(e){var r;const t=(r=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return t&&[...t]}function getDimensions(e,t){const r=getTargetBox(e),a=nullifyTransforms(t),[o,u]=getComputedStyle(t).transformOrigin.split(" ").map(R=>parseFloat(R)),[d,f]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let g=r.left+r.width/2;d==="left"||f==="left"?g-=r.width/2:(d==="right"||f==="right")&&(g+=r.width/2);let _=r.top+r.height/2;d==="top"||f==="top"?_-=r.height/2:(d==="bottom"||f==="bottom")&&(_+=r.height/2);const S=r.width/a.width,E=r.height/a.height,v=Math.max(1,S,E),b=S/v||0,y=E/v||0,T=a.width*a.height/(window.innerWidth*window.innerHeight),C=T>.12?Math.min(1.5,(T-.12)*10+1):1;return{x:g-(o+a.left),y:_-(u+a.top),sx:b,sy:y,speed:C}}const VFabTransition=createCssTransition("fab-transition","center center","out-in"),VDialogBottomTransition=createCssTransition("dialog-bottom-transition"),VDialogTopTransition=createCssTransition("dialog-top-transition"),VFadeTransition=createCssTransition("fade-transition"),VScaleTransition=createCssTransition("scale-transition"),VScrollXTransition=createCssTransition("scroll-x-transition"),VScrollXReverseTransition=createCssTransition("scroll-x-reverse-transition"),VScrollYTransition=createCssTransition("scroll-y-transition"),VScrollYReverseTransition=createCssTransition("scroll-y-reverse-transition"),VSlideXTransition=createCssTransition("slide-x-transition"),VSlideXReverseTransition=createCssTransition("slide-x-reverse-transition"),VSlideYTransition=createCssTransition("slide-y-transition"),VSlideYReverseTransition=createCssTransition("slide-y-reverse-transition"),VExpandTransition=createJavascriptTransition("expand-transition",ExpandTransitionGenerator()),VExpandXTransition=createJavascriptTransition("expand-x-transition",ExpandTransitionGenerator("",!0)),makeTransitionProps=propsFactory({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),MaybeTransition=(e,t)=>{let{slots:r}=t;const{transition:a,disabled:o,group:u,...d}=e,{component:f=u?TransitionGroup:Transition$1,...g}=typeof a=="object"?a:{};return h(f,mergeProps(typeof a=="string"?{name:o?"":a}:g,typeof a=="string"?{}:Object.fromEntries(Object.entries({disabled:o,group:u}).filter(_=>{let[S,E]=_;return E!==void 0})),d),r)},makeVCounterProps=propsFactory({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...makeComponentProps(),...makeTransitionProps({transition:{component:VSlideYTransition}})},"VCounter"),VCounter=genericComponent()({name:"VCounter",functional:!0,props:makeVCounterProps(),setup(e,t){let{slots:r}=t;const a=computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[withDirectives(createVNode("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[r.default?r.default({counter:a.value,max:e.max,value:e.value}):a.value]),[[vShow,e.active]])]})),{}}}),makeVLabelProps=propsFactory({text:String,onClick:EventProp(),...makeComponentProps(),...makeThemeProps()},"VLabel"),VLabel=genericComponent()({name:"VLabel",props:makeVLabelProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{var a;return createVNode("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(a=r.default)==null?void 0:a.call(r)])}),{}}}),makeVFieldLabelProps=propsFactory({floating:Boolean,...makeComponentProps()},"VFieldLabel"),VFieldLabel=genericComponent()({name:"VFieldLabel",props:makeVFieldLabelProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(VLabel,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},r)),{}}});function useInputIcon(e){const{t}=useLocale();function r(a){let{name:o}=a;const u={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[o],d=e[`onClick:${o}`],f=d&&u?t(`$vuetify.input.${u}`,e.label??""):void 0;return createVNode(VIcon,{icon:e[`${o}Icon`],"aria-label":f,onClick:d},null)}return{InputIcon:r}}const makeFocusProps=propsFactory({focused:Boolean,"onUpdate:focused":EventProp()},"focus");function useFocus(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=useProxiedModel(e,"focused"),a=computed(()=>({[`${t}--focused`]:r.value}));function o(){r.value=!0}function u(){r.value=!1}return{focusClasses:a,isFocused:r,focus:o,blur:u}}const allowedVariants$1=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],makeVFieldProps=propsFactory({appendInnerIcon:IconValue,bgColor:String,clearable:Boolean,clearIcon:{type:IconValue,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:IconValue,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>allowedVariants$1.includes(e)},"onClick:clear":EventProp(),"onClick:appendInner":EventProp(),"onClick:prependInner":EventProp(),...makeComponentProps(),...makeLoaderProps(),...makeRoundedProps(),...makeThemeProps()},"VField"),VField=genericComponent()({name:"VField",inheritAttrs:!1,props:{id:String,...makeFocusProps(),...makeVFieldProps()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const{themeClasses:u}=provideTheme(e),{loaderClasses:d}=useLoader(e),{focusClasses:f,isFocused:g,focus:_,blur:S}=useFocus(e),{InputIcon:E}=useInputIcon(e),{roundedClasses:v}=useRounded(e),{rtlClasses:b}=useRtl(),y=computed(()=>e.dirty||e.active),T=computed(()=>!e.singleLine&&!!(e.label||o.label)),C=getUid(),R=computed(()=>e.id||`input-${C}`),A=computed(()=>`${R.value}-messages`),O=ref$1(),x=ref$1(),N=ref$1(),I=computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:k,backgroundColorStyles:D}=useBackgroundColor(toRef(e,"bgColor")),{textColorClasses:P,textColorStyles:L}=useTextColor(computed(()=>e.error||e.disabled?void 0:y.value&&g.value?e.color:e.baseColor));watch(y,U=>{if(T.value){const W=O.value.$el,K=x.value.$el;requestAnimationFrame(()=>{const G=nullifyTransforms(W),Y=K.getBoundingClientRect(),Q=Y.x-G.x,Z=Y.y-G.y-(G.height/2-Y.height/2),J=Y.width/.75,te=Math.abs(J-G.width)>1?{maxWidth:convertToUnit(J)}:void 0,fe=getComputedStyle(W),ve=getComputedStyle(K),ue=parseFloat(fe.transitionDuration)*1e3||150,ie=parseFloat(ve.getPropertyValue("--v-field-label-scale")),ee=ve.getPropertyValue("color");W.style.visibility="visible",K.style.visibility="hidden",animate(W,{transform:`translate(${Q}px, ${Z}px) scale(${ie})`,color:ee,...te},{duration:ue,easing:standardEasing,direction:U?"normal":"reverse"}).finished.then(()=>{W.style.removeProperty("visibility"),K.style.removeProperty("visibility")})})}},{flush:"post"});const F=computed(()=>({isActive:y,isFocused:g,controlRef:N,blur:S,focus:_}));function B(U){U.target!==document.activeElement&&U.preventDefault()}function V(U){var W;U.key!=="Enter"&&U.key!==" "||(U.preventDefault(),U.stopPropagation(),(W=e["onClick:clear"])==null||W.call(e,new MouseEvent("click")))}return useRender(()=>{var Q,Z,J;const U=e.variant==="outlined",W=!!(o["prepend-inner"]||e.prependInnerIcon),K=!!(e.clearable||o.clear),G=!!(o["append-inner"]||e.appendInnerIcon||K),Y=()=>o.label?o.label({...F.value,label:e.label,props:{for:R.value}}):e.label;return createVNode("div",mergeProps({class:["v-field",{"v-field--active":y.value,"v-field--appended":G,"v-field--center-affix":e.centerAffix??!I.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":W,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!Y(),[`v-field--variant-${e.variant}`]:!0},u.value,k.value,f.value,d.value,v.value,b.value,e.class],style:[D.value,e.style],onClick:B},r),[createVNode("div",{class:"v-field__overlay"},null),createVNode(LoaderSlot,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:o.loader}),W&&createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&createVNode(E,{key:"prepend-icon",name:"prependInner"},null),(Q=o["prepend-inner"])==null?void 0:Q.call(o,F.value)]),createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&T.value&&createVNode(VFieldLabel,{key:"floating-label",ref:x,class:[P.value],floating:!0,for:R.value,style:L.value},{default:()=>[Y()]}),createVNode(VFieldLabel,{ref:O,for:R.value},{default:()=>[Y()]}),(Z=o.default)==null?void 0:Z.call(o,{...F.value,props:{id:R.value,class:"v-field__input","aria-describedby":A.value},focus:_,blur:S})]),K&&createVNode(VExpandXTransition,{key:"clear"},{default:()=>[withDirectives(createVNode("div",{class:"v-field__clearable",onMousedown:te=>{te.preventDefault(),te.stopPropagation()}},[createVNode(VDefaultsProvider,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[o.clear?o.clear({...F.value,props:{onKeydown:V,onFocus:_,onBlur:S,onClick:e["onClick:clear"]}}):createVNode(E,{name:"clear",onKeydown:V,onFocus:_,onBlur:S},null)]})]),[[vShow,e.dirty]])]}),G&&createVNode("div",{key:"append",class:"v-field__append-inner"},[(J=o["append-inner"])==null?void 0:J.call(o,F.value),e.appendInnerIcon&&createVNode(E,{key:"append-icon",name:"appendInner"},null)]),createVNode("div",{class:["v-field__outline",P.value],style:L.value},[U&&createVNode(Fragment,null,[createVNode("div",{class:"v-field__outline__start"},null),T.value&&createVNode("div",{class:"v-field__outline__notch"},[createVNode(VFieldLabel,{ref:x,floating:!0,for:R.value},{default:()=>[Y()]})]),createVNode("div",{class:"v-field__outline__end"},null)]),I.value&&T.value&&createVNode(VFieldLabel,{ref:x,floating:!0,for:R.value},{default:()=>[Y()]})])])}),{controlRef:N}}});function filterFieldProps(e){const t=Object.keys(VField.props).filter(r=>!isOn(r)&&r!=="class"&&r!=="style");return pick$1(e,t)}const makeVMessagesProps=propsFactory({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...makeComponentProps(),...makeTransitionProps({transition:{component:VSlideYTransition,leaveAbsolute:!0,group:!0}})},"VMessages"),VMessages=genericComponent()({name:"VMessages",props:makeVMessagesProps(),setup(e,t){let{slots:r}=t;const a=computed(()=>wrapInArray(e.messages)),{textColorClasses:o,textColorStyles:u}=useTextColor(computed(()=>e.color));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition,tag:"div",class:["v-messages",o.value,e.class],style:[u.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&a.value.map((d,f)=>createVNode("div",{class:"v-messages__message",key:`${f}-${a.value}`},[r.message?r.message({message:d}):d]))]})),{}}}),FormKey=Symbol.for("vuetify:form"),makeFormProps=propsFactory({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function createForm(e){const t=useProxiedModel(e,"modelValue"),r=computed(()=>e.disabled),a=computed(()=>e.readonly),o=shallowRef(!1),u=ref$1([]),d=ref$1([]);async function f(){const S=[];let E=!0;d.value=[],o.value=!0;for(const v of u.value){const b=await v.validate();if(b.length>0&&(E=!1,S.push({id:v.id,errorMessages:b})),!E&&e.fastFail)break}return d.value=S,o.value=!1,{valid:E,errors:d.value}}function g(){u.value.forEach(S=>S.reset())}function _(){u.value.forEach(S=>S.resetValidation())}return watch(u,()=>{let S=0,E=0;const v=[];for(const b of u.value)b.isValid===!1?(E++,v.push({id:b.id,errorMessages:b.errorMessages})):b.isValid===!0&&S++;d.value=v,t.value=E>0?!1:S===u.value.length?!0:null},{deep:!0,flush:"post"}),provide(FormKey,{register:S=>{let{id:E,vm:v,validate:b,reset:y,resetValidation:T}=S;u.value.some(C=>C.id===E),u.value.push({id:E,validate:b,reset:y,resetValidation:T,vm:markRaw(v),isValid:null,errorMessages:[]})},unregister:S=>{u.value=u.value.filter(E=>E.id!==S)},update:(S,E,v)=>{const b=u.value.find(y=>y.id===S);b&&(b.isValid=E,b.errorMessages=v)},isDisabled:r,isReadonly:a,isValidating:o,isValid:t,items:u,validateOn:toRef(e,"validateOn")}),{errors:d,isDisabled:r,isReadonly:a,isValidating:o,isValid:t,items:u,validate:f,reset:g,resetValidation:_}}function useForm(){return inject$1(FormKey,null)}const makeValidationProps=propsFactory({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...makeFocusProps()},"validation");function useValidation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:getUid();const a=useProxiedModel(e,"modelValue"),o=computed(()=>e.validationValue===void 0?a.value:e.validationValue),u=useForm(),d=ref$1([]),f=shallowRef(!0),g=computed(()=>!!(wrapInArray(a.value===""?null:a.value).length||wrapInArray(o.value===""?null:o.value).length)),_=computed(()=>!!(e.disabled??(u==null?void 0:u.isDisabled.value))),S=computed(()=>!!(e.readonly??(u==null?void 0:u.isReadonly.value))),E=computed(()=>{var N;return(N=e.errorMessages)!=null&&N.length?wrapInArray(e.errorMessages).concat(d.value).slice(0,Math.max(0,+e.maxErrors)):d.value}),v=computed(()=>{let N=(e.validateOn??(u==null?void 0:u.validateOn.value))||"input";N==="lazy"&&(N="input lazy");const I=new Set((N==null?void 0:N.split(" "))??[]);return{blur:I.has("blur")||I.has("input"),input:I.has("input"),submit:I.has("submit"),lazy:I.has("lazy")}}),b=computed(()=>{var N;return e.error||(N=e.errorMessages)!=null&&N.length?!1:e.rules.length?f.value?d.value.length||v.value.lazy?null:!0:!d.value.length:!0}),y=shallowRef(!1),T=computed(()=>({[`${t}--error`]:b.value===!1,[`${t}--dirty`]:g.value,[`${t}--disabled`]:_.value,[`${t}--readonly`]:S.value})),C=getCurrentInstance("validation"),R=computed(()=>e.name??unref(r));onBeforeMount(()=>{u==null||u.register({id:R.value,vm:C,validate:x,reset:A,resetValidation:O})}),onBeforeUnmount(()=>{u==null||u.unregister(R.value)}),onMounted(async()=>{v.value.lazy||await x(!0),u==null||u.update(R.value,b.value,E.value)}),useToggleScope(()=>v.value.input,()=>{watch(o,()=>{if(o.value!=null)x();else if(e.focused){const N=watch(()=>e.focused,I=>{I||x(),N()})}})}),useToggleScope(()=>v.value.blur,()=>{watch(()=>e.focused,N=>{N||x()})}),watch([b,E],()=>{u==null||u.update(R.value,b.value,E.value)});async function A(){a.value=null,await nextTick$1(),await O()}async function O(){f.value=!0,v.value.lazy?d.value=[]:await x(!0)}async function x(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const I=[];y.value=!0;for(const k of e.rules){if(I.length>=+(e.maxErrors??1))break;const P=await(typeof k=="function"?k:()=>k)(o.value);if(P!==!0){if(P!==!1&&typeof P!="string"){console.warn(`${P} is not a valid value. Rule functions must return boolean true or a string.`);continue}I.push(P||"")}}return d.value=I,y.value=!1,f.value=N,d.value}return{errorMessages:E,isDirty:g,isDisabled:_,isReadonly:S,isPristine:f,isValid:b,isValidating:y,reset:A,resetValidation:O,validate:x,validationClasses:T}}const makeVInputProps=propsFactory({id:String,appendIcon:IconValue,centerAffix:{type:Boolean,default:!0},prependIcon:IconValue,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":EventProp(),"onClick:append":EventProp(),...makeComponentProps(),...makeDensityProps(),...only(makeDimensionProps(),["maxWidth","minWidth","width"]),...makeThemeProps(),...makeValidationProps()},"VInput"),VInput=genericComponent()({name:"VInput",props:{...makeVInputProps()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:a,emit:o}=t;const{densityClasses:u}=useDensity(e),{dimensionStyles:d}=useDimension(e),{themeClasses:f}=provideTheme(e),{rtlClasses:g}=useRtl(),{InputIcon:_}=useInputIcon(e),S=getUid(),E=computed(()=>e.id||`input-${S}`),v=computed(()=>`${E.value}-messages`),{errorMessages:b,isDirty:y,isDisabled:T,isReadonly:C,isPristine:R,isValid:A,isValidating:O,reset:x,resetValidation:N,validate:I,validationClasses:k}=useValidation(e,"v-input",E),D=computed(()=>({id:E,messagesId:v,isDirty:y,isDisabled:T,isReadonly:C,isPristine:R,isValid:A,isValidating:O,reset:x,resetValidation:N,validate:I})),P=computed(()=>{var L;return(L=e.errorMessages)!=null&&L.length||!R.value&&b.value.length?b.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return useRender(()=>{var U,W,K,G;const L=!!(a.prepend||e.prependIcon),F=!!(a.append||e.appendIcon),B=P.value.length>0,V=!e.hideDetails||e.hideDetails==="auto"&&(B||!!a.details);return createVNode("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},u.value,f.value,g.value,k.value,e.class],style:[d.value,e.style]},[L&&createVNode("div",{key:"prepend",class:"v-input__prepend"},[(U=a.prepend)==null?void 0:U.call(a,D.value),e.prependIcon&&createVNode(_,{key:"prepend-icon",name:"prepend"},null)]),a.default&&createVNode("div",{class:"v-input__control"},[(W=a.default)==null?void 0:W.call(a,D.value)]),F&&createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&createVNode(_,{key:"append-icon",name:"append"},null),(K=a.append)==null?void 0:K.call(a,D.value)]),V&&createVNode("div",{class:"v-input__details"},[createVNode(VMessages,{id:v.value,active:B,messages:P.value},{message:a.message}),(G=a.details)==null?void 0:G.call(a,D.value)])])}),{reset:x,resetValidation:N,validate:I,isValid:A,errorMessages:b}}}),Refs=Symbol("Forwarded refs");function getDescriptor(e,t){let r=e;for(;r;){const a=Reflect.getOwnPropertyDescriptor(r,t);if(a)return a;r=Object.getPrototypeOf(r)}}function forwardRefs(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a0&&arguments[0]!==void 0?arguments[0]:[],g=arguments.length>1?arguments[1]:void 0;const _=(E=e._observe)==null?void 0:E[t.instance.$.uid];if(!_)return;const S=f.some(v=>v.isIntersecting);o&&(!r.quiet||_.init)&&(!r.once||S||_.init)&&o(S,f,g),S&&r.once?unmounted$4(e,t):_.init=!0},u);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:d},d.observe(e)}function unmounted$4(e,t){var a;const r=(a=e._observe)==null?void 0:a[t.instance.$.uid];r&&(r.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Intersect={mounted:mounted$4,unmounted:unmounted$4},Intersect$1=Intersect,activeTypes=["color","file","time","date","datetime-local","week","month"],makeVTextFieldProps=propsFactory({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextField"),VTextField=genericComponent()({name:"VTextField",directives:{Intersect:Intersect$1},inheritAttrs:!1,props:makeVTextFieldProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const u=useProxiedModel(e,"modelValue"),{isFocused:d,focus:f,blur:g}=useFocus(e),_=computed(()=>typeof e.counterValue=="function"?e.counterValue(u.value):typeof e.counterValue=="number"?e.counterValue:(u.value??"").toString().length),S=computed(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),E=computed(()=>["plain","underlined"].includes(e.variant));function v(I,k){var D,P;!e.autofocus||!I||(P=(D=k[0].target)==null?void 0:D.focus)==null||P.call(D)}const b=ref$1(),y=ref$1(),T=ref$1(),C=computed(()=>activeTypes.includes(e.type)||e.persistentPlaceholder||d.value||e.active);function R(){var I;T.value!==document.activeElement&&((I=T.value)==null||I.focus()),d.value||f()}function A(I){a("mousedown:control",I),I.target!==T.value&&(R(),I.preventDefault())}function O(I){R(),a("click:control",I)}function x(I){I.stopPropagation(),R(),nextTick$1(()=>{u.value=null,callEvent(e["onClick:clear"],I)})}function N(I){var D;const k=I.target;if(u.value=k.value,(D=e.modelModifiers)!=null&&D.trim&&["text","search","password","tel","url"].includes(e.type)){const P=[k.selectionStart,k.selectionEnd];nextTick$1(()=>{k.selectionStart=P[0],k.selectionEnd=P[1]})}}return useRender(()=>{const I=!!(o.counter||e.counter!==!1&&e.counter!=null),k=!!(I||o.details),[D,P]=filterInputAttrs(r),{modelValue:L,...F}=VInput.filterProps(e),B=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:b,modelValue:u.value,"onUpdate:modelValue":V=>u.value=V,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":E.value},e.class],style:e.style},D,F,{centerAffix:!E.value,focused:d.value}),{...o,default:V=>{let{id:U,isDisabled:W,isDirty:K,isReadonly:G,isValid:Y}=V;return createVNode(VField,mergeProps({ref:y,onMousedown:A,onClick:O,"onClick:clear":x,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},B,{id:U.value,active:C.value||K.value,dirty:K.value||e.dirty,disabled:W.value,focused:d.value,error:Y.value===!1}),{...o,default:Q=>{let{props:{class:Z,...J}}=Q;const te=withDirectives(createVNode("input",mergeProps({ref:T,value:u.value,onInput:N,autofocus:e.autofocus,readonly:G.value,disabled:W.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:R,onBlur:g},J,P),null),[[resolveDirective("intersect"),{handler:v},null,{once:!0}]]);return createVNode(Fragment,null,[e.prefix&&createVNode("span",{class:"v-text-field__prefix"},[createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),o.default?createVNode("div",{class:Z,"data-no-activator":""},[o.default(),te]):cloneVNode(te,{class:Z}),e.suffix&&createVNode("span",{class:"v-text-field__suffix"},[createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:k?V=>{var U;return createVNode(Fragment,null,[(U=o.details)==null?void 0:U.call(o,V),I&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||d.value,value:_.value,max:S.value,disabled:e.disabled},o.counter)])])}:void 0})}),forwardRefs({},b,y,T)}}),makeVNumberInputProps=propsFactory({controlVariant:{type:String,default:"default"},inset:Boolean,hideInput:Boolean,min:{type:Number,default:-1/0},max:{type:Number,default:1/0},step:{type:Number,default:1},...omit(makeVTextFieldProps(),["appendInnerIcon","prependInnerIcon"])},"VNumberInput"),VNumberInput=genericComponent()({name:"VNumberInput",props:{...makeVNumberInputProps()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const u=useProxiedModel(e,"modelValue"),d=computed(()=>getDecimals(e.step)),f=computed(()=>u.value!=null?getDecimals(u.value):0),g=useForm(),_=computed(()=>e.disabled||e.readonly||(g==null?void 0:g.isReadonly.value)),S=computed(()=>_.value?!1:u.value==null?!0:u.value+e.step<=e.max),E=computed(()=>_.value?!1:u.value==null?!0:u.value-e.step>=e.min);watchEffect(()=>{_.value||u.value!=null&&(u.valuee.max)&&(u.value=clamp(u.value,e.min,e.max))});const v=computed(()=>e.hideInput?"stacked":e.controlVariant),b=computed(()=>v.value==="split"?"$plus":"$collapse"),y=computed(()=>v.value==="split"?"$minus":"$expand"),T=computed(()=>v.value==="split"?"default":"small"),C=computed(()=>v.value==="stacked"?"auto":"100%"),R=computed(()=>({click:x})),A=computed(()=>({click:N}));function O(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(_.value)return;if(u.value==null){u.value=0;return}const L=Math.max(f.value,d.value);P?S.value&&(u.value=+(u.value+e.step).toFixed(L)):E.value&&(u.value=+(u.value-e.step).toFixed(L))}function x(P){P.stopPropagation(),O()}function N(P){P.stopPropagation(),O(!1)}function I(P){if(!(["Enter","ArrowLeft","ArrowRight","Backspace","Delete","Tab"].includes(P.key)||P.ctrlKey)){if(["ArrowDown"].includes(P.key)){P.preventDefault(),O(!1);return}if(["ArrowUp"].includes(P.key)){P.preventDefault(),O();return}/^[0-9\-+.]+$/.test(P.key)||P.preventDefault()}}function k(P){u.value=P?+P:void 0}function D(P){P.stopPropagation()}useRender(()=>{const{modelValue:P,...L}=VTextField.filterProps(e);function F(){return o.increment?createVNode(VDefaultsProvider,{key:"increment-defaults",defaults:{VBtn:{disabled:!S.value,flat:!0,height:C.value,size:T.value,icon:b.value}}},{default:()=>[o.increment(R.value)]}):createVNode(VBtn,{disabled:!S.value,flat:!0,key:"increment-btn",height:C.value,name:"increment-btn",icon:b.value,onClick:x,onMousedown:D,size:T.value,tabindex:"-1"},null)}function B(){return o.decrement?createVNode(VDefaultsProvider,{key:"decrement-defaults",defaults:{VBtn:{disabled:!E.value,flat:!0,height:C.value,size:T.value,icon:y.value}}},{default:()=>[o.decrement(A.value)]}):createVNode(VBtn,{disabled:!E.value,flat:!0,key:"decrement-btn",height:C.value,name:"decrement-btn",icon:y.value,size:T.value,tabindex:"-1",onClick:N,onMousedown:D},null)}function V(){return createVNode("div",{class:"v-number-input__control"},[B(),createVNode(VDivider,{vertical:v.value!=="stacked"},null),F()])}function U(){return!e.hideInput&&!e.inset?createVNode(VDivider,{vertical:!0},null):void 0}const W=v.value==="split"?createVNode("div",{class:"v-number-input__control"},[createVNode(VDivider,{vertical:!0},null),F()]):e.reverse?void 0:createVNode(Fragment,null,[U(),V()]),K=o["append-inner"]||W,G=v.value==="split"?createVNode("div",{class:"v-number-input__control"},[B(),createVNode(VDivider,{vertical:!0},null)]):e.reverse?createVNode(Fragment,null,[V(),U()]):void 0,Y=o["prepend-inner"]||G;return createVNode(VTextField,mergeProps({modelValue:u.value,"onUpdate:modelValue":k,onKeydown:I,class:["v-number-input",{"v-number-input--default":v.value==="default","v-number-input--hide-input":e.hideInput,"v-number-input--inset":e.inset,"v-number-input--reverse":e.reverse,"v-number-input--split":v.value==="split","v-number-input--stacked":v.value==="stacked"},e.class]},L,{style:e.style,inputmode:"decimal"}),{...o,"append-inner":K?function(){var te;for(var Q=arguments.length,Z=new Array(Q),J=0;J({})},state:{type:Object,default:()=>({})}},data(){return{delayTimer:null,textValue:null,previousValue:null}},computed:{...mapState("data",["messages"]),label(){return this.getProperty("label")},tooltip(){return this.props.tooltip},clearable(){return this.getProperty("clearable")},prependIcon(){const e=this.getProperty("icon"),t=this.makeMdiIcon(e);if(e)return e&&this.iconPosition==="left"&&this.iconInnerPosition==="outside"?t:void 0},appendIcon(){const e=this.getProperty("icon"),t=this.makeMdiIcon(e);if(e)return e&&this.iconPosition==="right"&&this.iconInnerPosition==="outside"?t:void 0},prependInnerIcon(){const e=this.getProperty("icon"),t=this.makeMdiIcon(e);if(e)return e&&this.iconPosition==="left"&&this.iconInnerPosition==="inside"?t:void 0},appendInnerIcon(){const e=this.getProperty("icon"),t=this.makeMdiIcon(e);if(e)return e&&this.iconPosition==="right"&&this.iconInnerPosition==="inside"?t:void 0},iconPosition(){return this.getProperty("iconPosition")},iconInnerPosition(){return this.getProperty("iconInnerPosition")},value:{get(){return this.textValue},set(e){if(this.value===e)return;const t=this.messages[this.id]||{};this.textValue=e,t.payload=e,this.messages[this.id]=t}},validation(){return this.type==="email"?[e=>!e||/^[^\s@]+@[^\s@]+$/.test(e)||"E-mail must be valid"]:[]}},created(){this.$dataTracker(this.id,this.onInput,this.onLoad,this.onDynamicProperties)},methods:{onInput(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(this.textValue=e.payload)},onLoad(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e}),(e==null?void 0:e.payload)!==void 0&&(this.textValue=e.payload,this.previousValue=e.payload)},send(){this.$socket.emit("widget-change",this.id,this.value)},onChange(e){(this.previousValue===null||this.previousValue+1===this.value||this.previousValue-1===this.value)&&this.send(),this.previousValue=this.value},onBlur:function(){this.props.sendOnBlur&&this.send()},onEnter:function(){this.props.sendOnEnter&&this.send()},onClear(){this.send()},makeMdiIcon(e){return"mdi-"+e.replace(/^mdi-/,"")},onDynamicProperties(e){const t=e.ui_update;t&&(this.updateDynamicProperty("label",t.label),this.updateDynamicProperty("clearable",t.clearable),this.updateDynamicProperty("icon",t.icon),this.updateDynamicProperty("iconPosition",t.iconPosition),this.updateDynamicProperty("iconInnerPosition",t.iconInnerPosition))}}};function _sfc_render$8(e,t,r,a,o,u){var g;const d=resolveComponent("v-number-input"),f=resolveComponent("v-tooltip");return openBlock(),createBlock(f,{text:u.tooltip,disabled:!((g=u.tooltip)!=null&&g.length),location:"bottom"},{activator:withCtx(({props:_})=>[createVNode(d,mergeProps({modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=S=>u.value=S),reverse:!1,controlVariant:"default",hideInput:!1,inset:!1},_,{disabled:!r.state.enabled,class:"nrdb-ui-number-field",label:u.label,rules:u.validation,clearable:u.clearable,variant:"outlined","hide-details":"auto","prepend-icon":u.prependIcon,"append-icon":u.appendIcon,"append-inner-icon":u.appendInnerIcon,"prepend-inner-icon":u.prependInnerIcon,"onUpdate:modelValue":u.onChange,onKeyup:withKeys(u.onEnter,["enter"]),onBlur:u.onBlur,"onClick:clear":u.onClear}),null,16,["modelValue","disabled","label","rules","clearable","prepend-icon","append-icon","append-inner-icon","prepend-inner-icon","onUpdate:modelValue","onKeyup","onBlur","onClick:clear"])]),_:1},8,["text","disabled"])}const UINumberInput=_export_sfc(_sfc_main$9,[["render",_sfc_render$8]]),_sfc_main$8={name:"DBUIRadioGroup",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{value:null,items:null}},computed:{...mapState("data",["messages"]),label:function(){return this.props.label},options:{get(){return(this.items||this.props.options).map(t=>typeof t!="object"?{label:t,value:t}:!("label"in t)||t.label===""?{label:t.value,value:t.value}:t)},set(e){this.items=e}}},created(){this.$dataTracker(this.id,this.onInput,this.onLoad),this.$socket.emit("widget-load",this.id)},methods:{onLoad(e){var t;e&&(this.$store.commit("data/bind",{widgetId:this.id,msg:e}),this.select((t=this.messages[this.id])==null?void 0:t.payload))},onInput(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e});const t=e.options;t&&(this.items=t);const r=e.payload;(r||r==="")&&this.select(r)},onChange(){const e=this.messages[this.id]||{};e.payload=this.value,this.$store.commit("data/bind",{widgetId:this.id,msg:e}),this.$socket.emit("widget-change",this.id,e.payload)},select(e){e!==""&&!this.options.find(r=>r.value===e)||(this.value=e)}}};function _sfc_render$7(e,t,r,a,o,u){const d=resolveComponent("v-radio"),f=resolveComponent("v-radio-group");return openBlock(),createBlock(f,{modelValue:o.value,"onUpdate:modelValue":[t[0]||(t[0]=g=>o.value=g),u.onChange],class:normalizeClass(["nrdb-ui-radio-group","nrdb-ui-radio-group--cols-"+r.props.columns+" "+e.className]),disabled:!r.state.enabled,label:u.label,variant:"outlined","hide-details":"auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.options,g=>(openBlock(),createBlock(d,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","class","label","onUpdate:modelValue"])}const UIRadioGroup=_export_sfc(_sfc_main$8,[["render",_sfc_render$7]]),_sfc_main$7={name:"DBUISlider",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{value:null}},computed:{...mapState("data",["messages"]),storeValue:function(){var e;return(e=this.messages[this.id])==null?void 0:e.payload},direction:function(){return this.props.height>this.props.width?"vertical":"horizontal"},tickScaleX:function(){return this.props.height>this.props.width?3:.5},tickScaleY:function(){return this.props.height>this.props.width?.5:3},label:function(){return this.getProperty("label")},thumbLabel:function(){return this.getProperty("thumbLabel")},showTicks:function(){return this.getProperty("showTicks")},min:function(){return this.getProperty("min")},step:function(){return this.getProperty("step")},max:function(){return this.getProperty("max")},iconPrepend:function(){const e=this.getProperty("iconPrepend");return e?this.makeMdiIcon(e):null},iconAppend:function(){const e=this.getProperty("iconAppend");return e?this.makeMdiIcon(e):null},color:function(){return this.getProperty("color")},colorTrack:function(){return this.getProperty("colorTrack")},colorThumb:function(){return this.getProperty("colorThumb")}},watch:{storeValue:function(e,t){this.value!==e&&typeof e<"u"&&(this.value=e)}},created(){this.$dataTracker(this.id,null,this.onLoad,this.onDynamicProperties)},mounted(){var e;this.value=(e=this.messages[this.id])==null?void 0:e.payload},methods:{onChange(){(!this.props.outs||this.props.outs==="all")&&this.send()},onBlur(){this.props.outs==="end"&&this.send()},send(){this.value=Number(this.value);const e=this.messages[this.id]||{};e.payload=this.value,this.$store.commit("data/bind",e),this.$socket.emit("widget-change",this.id,this.value)},makeMdiIcon(e){return"mdi-"+e.replace(/^mdi-/,"")},onDynamicProperties(e){const t=e.ui_update;t&&(this.updateDynamicProperty("label",t.label),this.updateDynamicProperty("thumbLabel",t.thumbLabel),this.updateDynamicProperty("showTicks",t.showTicks),this.updateDynamicProperty("min",t.min),this.updateDynamicProperty("max",t.max),this.updateDynamicProperty("step",t.step),this.updateDynamicProperty("iconAppend",t.iconAppend),this.updateDynamicProperty("iconPrepend",t.iconPrepend),this.updateDynamicProperty("color",t.color),this.updateDynamicProperty("colorTrack",t.colorTrack),this.updateDynamicProperty("colorThumb",t.colorThumb))}}};function _sfc_render$6(e,t,r,a,o,u){const d=resolveComponent("v-slider");return openBlock(),createBlock(d,{modelValue:o.value,"onUpdate:modelValue":[t[0]||(t[0]=f=>o.value=f),u.onChange],disabled:!r.state.enabled,label:u.label,"hide-details":"auto",class:normalizeClass(e.className),style:normalizeStyle(`--nrdb-slider-track-color:${u.colorTrack};--nrdb-slider-tick-scaleY:${u.tickScaleY};--nrdb-slider-tick-scaleX:${u.tickScaleX};`),"thumb-label":u.thumbLabel,"append-icon":u.iconAppend,"prepend-icon":u.iconPrepend,min:u.min,direction:u.direction,"tick-size":4,"track-size":4,color:u.color,"track-color":u.colorTrack,"thumb-color":u.colorThumb,max:u.max,step:u.step||1,"show-ticks":u.showTicks,onEnd:u.onBlur},null,8,["modelValue","disabled","label","class","style","thumb-label","append-icon","prepend-icon","min","direction","color","track-color","thumb-color","max","step","show-ticks","onUpdate:modelValue","onEnd"])}const UISlider=_export_sfc(_sfc_main$7,[["render",_sfc_render$6]]),_sfc_main$6={name:"DBUISwitch",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{selection:null,loading:!1}},computed:{...mapState("data",["messages"]),icon:function(){return this.props.onicon&&this.props.officon?"mdi-"+(this.status?this.props.onicon:this.props.officon).replace(/^mdi-/,""):null},color:function(){return this.props.oncolor||this.props.offcolor?this.status?this.props.oncolor:this.props.offcolor:null},value:function(){return this.selection},status:{get(){const e=this.value;if(typeof e=="boolean")return e;if(typeof e=="object"){if(JSON.stringify(e)===JSON.stringify(this.props.evaluated.on))return!0;if(JSON.stringify(e)===JSON.stringify(this.props.evaluated.off))return!1}else if(this.props.evaluated)return e===this.props.evaluated.on;return this.value},set(e){const t=this.messages[this.id]||{};t.payload=e,this.selection=e,this.messages[this.id]=t,this.decouple&&(this.loading=!0)}}},created(){this.$dataTracker(this.id,this.onInput,this.onLoad,null),this.$socket.emit("widget-load",this.id)},methods:{onInput(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(this.selection=e.payload,this.loading=!1)},onLoad(e){e&&(this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(this.selection=e.payload))},toggle(){this.state.enabled&&(this.props.decouple?(this.loading=!0,this.$socket.emit("widget-change",this.id,!this.status)):(this.status=!this.status,this.$socket.emit("widget-change",this.id,this.status)))}}},_hoisted_1$4={key:0,class:"v-label"};function _sfc_render$5(e,t,r,a,o,u){const d=resolveComponent("v-switch"),f=resolveComponent("v-btn"),g=resolveComponent("v-progress-circular");return openBlock(),createElementBlock("div",{class:normalizeClass(["nrdb-switch",{"nrdb-nolabel":!r.props.label,[e.className]:!!e.className}])},[r.props.label?(openBlock(),createElementBlock("label",_hoisted_1$4,toDisplayString(r.props.label),1)):createCommentVNode("",!0),u.icon?o.loading?(openBlock(),createBlock(g,{key:3,indeterminate:"",color:"primary"})):(openBlock(),createBlock(f,{key:2,variant:"text",disabled:!r.state.enabled,icon:u.icon,color:u.color,onClick:u.toggle},null,8,["disabled","icon","color","onClick"])):(openBlock(),createBlock(d,{key:1,modelValue:u.status,"onUpdate:modelValue":t[0]||(t[0]=_=>u.status=_),disabled:!r.state.enabled,class:normalizeClass({active:u.status}),"hide-details":"auto",color:"primary",loading:o.loading?u.status===!0?"secondary":"primary":null,readonly:"",onClick:u.toggle},null,8,["modelValue","disabled","class","loading","onClick"]))],2)}const UISwitch=_export_sfc(_sfc_main$6,[["render",_sfc_render$5]]),_sfc_main$5={name:"UITableCell",props:{row:{type:Number,required:!0},type:{type:String,default:"text"},item:{type:Object,required:!0},property:{type:String,required:!0}},emits:["update:modelValue","action-click"],computed:{value:{get(){return this.property.split(".").reduce((r,a)=>(r==null?void 0:r[a])??null,this.item)},set(e){this.$emit("update:modelValue",e)}}},methods:{onButtonClick(e,t){e.stopPropagation();const r=e.target.closest("td"),a=r?r.getAttribute("data-column-key"):null;this.$emit("action-click",t,a,"button_click")}}},_hoisted_1$3=["innerHTML"],_hoisted_2$3=["href"];function _sfc_render$4(e,t,r,a,o,u){const d=resolveComponent("v-icon"),f=resolveComponent("v-progress-linear"),g=resolveComponent("v-sparkline"),_=resolveComponent("v-btn");return r.type==="row"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(r.row),1)],64)):r.type==="html"?(openBlock(),createElementBlock("pre",{key:1,style:{"white-space":"pre-wrap"},innerHTML:u.value},null,8,_hoisted_1$3)):r.type==="link"?(openBlock(),createElementBlock("a",{key:2,href:u.value},toDisplayString(u.value),9,_hoisted_2$3)):r.type==="color"?(openBlock(),createElementBlock("i",{key:3,class:"nrdb-ui-table-cell-color-spot",style:normalizeStyle({"background-color":u.value})},null,4)):r.type==="tickcross"?(openBlock(),createBlock(d,{key:4,class:"nrdb-ui-table-cell-bool",icon:u.value?"mdi-check-bold":"mdi-close-thick"},null,8,["icon"])):r.type==="progress"?(openBlock(),createBlock(f,{key:5,modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=S=>u.value=S),color:"primary",height:8},null,8,["modelValue"])):r.type==="sparkline-trend"?(openBlock(),createBlock(g,{key:6,modelValue:u.value,"onUpdate:modelValue":t[1]||(t[1]=S=>u.value=S),color:"primary",padding:12,"line-width":"4"},null,8,["modelValue"])):r.type==="sparkline-bar"?(openBlock(),createBlock(g,{key:7,modelValue:u.value,"onUpdate:modelValue":t[2]||(t[2]=S=>u.value=S),type:"bar",color:"primary",padding:12,"line-width":"16",autoLineWidth:!1},null,8,["modelValue"])):r.type==="button"?(openBlock(),createBlock(_,{key:8,color:"primary",variant:"flat",onClick:t[3]||(t[3]=S=>u.onButtonClick(S,r.item))},{default:withCtx(()=>[createTextVNode(toDisplayString(u.value),1)]),_:1})):(openBlock(),createElementBlock(Fragment,{key:9},[createTextVNode(toDisplayString(u.value),1)],64))}const UITableCell=_export_sfc(_sfc_main$5,[["render",_sfc_render$4]]),_sfc_main$4={name:"DBUITable",components:{UITableCell},inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})}},data(){return{selected:null,search:"",input:{},isValid:null,isMobile:!1,pagination:{page:1,pages:0,rows:[]}}},computed:{...mapState("data",["messages"]),headers(){var e;if(this.props.autocols)if((e=this.messages[this.id])!=null&&e.payload){const t=[];for(const r of this.messages[this.id].payload)Object.keys(r).forEach(a=>{t.includes(a)||t.push(a)});return t.map(r=>({key:r,title:r}))}else return[{key:"",title:""}];else return this.props.columns?this.props.columns.map(t=>({key:t.key,title:t.label||t.title,type:t.type,align:t.align,width:t.width})):[{key:"",title:""}]},rows(){var e;if((e=this.messages[this.id])!=null&&e.payload)return this.messages[this.id].payload},itemsPerPage(){return this.props.maxrows||0},columnTypes(){return this.headers.reduce((e,t)=>(e[t.key]=t.type,e),{})}},watch:{rows:{handler(){this.calculatePaginatedRows()}},"pagination.page":{handler(){this.calculatePaginatedRows()}},"props.maxrows":{handler(){this.calculatePaginatedRows()}}},created(){this.$dataTracker(this.id)},mounted(){this.calculatePaginatedRows(),this.updateIsMobile(),window.addEventListener("resize",this.updateIsMobile)},methods:{calculatePaginatedRows(){var e,t;this.props.maxrows>0?(this.pagination.pages=Math.ceil(((e=this.rows)==null?void 0:e.length)/this.props.maxrows),this.pagination.rows=(t=this.rows)==null?void 0:t.slice((this.pagination.page-1)*this.props.maxrows,this.pagination.page*this.props.maxrows)):(this.pagination.page=1,this.pagination.pages=0,this.pagination.rows=this.rows)},onRowClick(e){this.selected=this.selected===e?null:e;const t={payload:e,action:"row_click"};this.$socket.emit("widget-action",this.id,t)},onCellClick(e,t,r){const a={payload:e,column:t,action:r};this.$socket.emit("widget-action",this.id,a)},onMultiSelect(e){const t={payload:e,action:"multi_select"};this.$socket.emit("widget-action",this.id,t)},updateIsMobile(){this.isMobile=this.checkBreakpoint()},checkBreakpoint(){let e=this.$refs.table;if(!e)return!1;e=e.$el;const t=e.clientWidth,r={xs:576,md:768,lg:1024};if(!this.props.mobileBreakpointType||this.props.mobileBreakpointType==="none")return!1;if(this.props.mobileBreakpointType==="px")return t<=this.props.mobileBreakpoint;if(this.props.mobileBreakpointType==="defaults"){const a=r[this.props.mobileBreakpoint];return a===0?!1:t<=a}return!0}},unounted(){window.removeEventListener("resize",this.updateIsMobile)}},_hoisted_1$2=["onClick"],_hoisted_2$2={key:0,class:"v-data-table__td v-data-table-column--no-padding v-data-table-column--align-start"},_hoisted_3$1=["data-column-key"],_hoisted_4$1={key:0};function _sfc_render$3(e,t,r,a,o,u){var S;const d=resolveComponent("v-text-field"),f=resolveComponent("v-checkbox-btn"),g=resolveComponent("UITableCell"),_=resolveComponent("v-data-table");return openBlock(),createElementBlock(Fragment,null,[r.props.showSearch?(openBlock(),createBlock(d,{key:0,modelValue:o.search,"onUpdate:modelValue":t[0]||(t[0]=E=>o.search=E),label:"Search","prepend-inner-icon":"mdi-magnify",variant:"outlined","hide-details":"","single-line":""},null,8,["modelValue"])):createCommentVNode("",!0),createVNode(_,{ref:"table",modelValue:o.selected,"onUpdate:modelValue":[t[1]||(t[1]=E=>o.selected=E),u.onMultiSelect],class:normalizeClass(["nrdb-table",{"nrdb-table--mobile":o.isMobile}]),mobile:o.isMobile,items:(S=e.messages[r.id])==null?void 0:S.payload,"return-object":!0,"items-per-page":u.itemsPerPage,headers:u.headers,"show-select":r.props.selectionType==="checkbox",search:o.search},createSlots({item:withCtx(({item:E,index:v,internalItem:b,isSelected:y,toggleSelect:T})=>[createBaseVNode("tr",{class:normalizeClass({"nrdb-table-row-selectable":r.props.selectionType==="click","nrdb-table-row-selected":o.selected===E,"v-data-table__tr--mobile":o.isMobile}),onClick:C=>r.props.selectionType==="click"?u.onRowClick(E):{}},[r.props.selectionType==="checkbox"?(openBlock(),createElementBlock("td",_hoisted_2$2,[createVNode(f,{modelValue:y(b),onClick:C=>T(b)},null,8,["modelValue","onClick"])])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(u.headers,C=>(openBlock(),createElementBlock("td",{key:C.key,"data-column-key":C.key},[o.isMobile?(openBlock(),createElementBlock("div",_hoisted_4$1,toDisplayString(C.title),1)):createCommentVNode("",!0),createBaseVNode("div",{class:"nrdb-table-cell-align",style:normalizeStyle({"justify-content":o.isMobile?"end":C.align||"start"})},[createVNode(g,{row:v+1,item:E,property:C.key,type:C.type,onActionClick:u.onCellClick},null,8,["row","item","property","type","onActionClick"])],4)],8,_hoisted_3$1))),128))],10,_hoisted_1$2)]),_:2},[u.itemsPerPage===0?{name:"bottom",fn:withCtx(()=>[]),key:"0"}:void 0]),1032,["modelValue","mobile","class","items","items-per-page","headers","show-select","search","onUpdate:modelValue"])],64)}const UITable=_export_sfc(_sfc_main$4,[["render",_sfc_render$3]]);var astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],nonASCIIidentifierChars="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords$1={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");function isInAstralSet(e,t){for(var r=65536,a=0;ae)return!1;if(r+=t[a+1],r>=e)return!0}return!1}function isIdentifierStart(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&nonASCIIidentifierStart.test(String.fromCharCode(e)):t===!1?!1:isInAstralSet(e,astralIdentifierStartCodes)}function isIdentifierChar(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&nonASCIIidentifier.test(String.fromCharCode(e)):t===!1?!1:isInAstralSet(e,astralIdentifierStartCodes)||isInAstralSet(e,astralIdentifierCodes)}var TokenType=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function binop(e,t){return new TokenType(e,{beforeExpr:!0,binop:t})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords={};function kw(e,t){return t===void 0&&(t={}),t.keyword=e,keywords[e]=new TokenType(e,t)}var types$1={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),privateId:new TokenType("privateId",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,r){r===void 0&&(r=e.length);for(var a=t;a>10)+55296,(e&1023)+56320))}var loneSurrogate=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Position=function(t,r){this.line=t,this.column=r};Position.prototype.offset=function(t){return new Position(this.line,this.column+t)};var SourceLocation=function(t,r,a){this.start=r,this.end=a,t.sourceFile!==null&&(this.source=t.sourceFile)};function getLineInfo(e,t){for(var r=1,a=0;;){var o=nextLineBreak(e,a,t);if(o<0)return new Position(r,t-a);++r,a=o}}var defaultOptions={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},warnedAboutEcmaVersion=!1;function getOptions(e){var t={};for(var r in defaultOptions)t[r]=e&&hasOwn(e,r)?e[r]:defaultOptions[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!warnedAboutEcmaVersion&&typeof console=="object"&&console.warn&&(warnedAboutEcmaVersion=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),isArray$1(t.onToken)){var a=t.onToken;t.onToken=function(o){return a.push(o)}}return isArray$1(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(r,a,o,u,d,f){var g={type:r?"Block":"Line",value:a,start:o,end:u};e.locations&&(g.loc=new SourceLocation(this,d,f)),e.ranges&&(g.range=[o,u]),t.push(g)}}var SCOPE_TOP=1,SCOPE_FUNCTION=2,SCOPE_ASYNC=4,SCOPE_GENERATOR=8,SCOPE_ARROW=16,SCOPE_SIMPLE_CATCH=32,SCOPE_SUPER=64,SCOPE_DIRECT_SUPER=128,SCOPE_CLASS_STATIC_BLOCK=256,SCOPE_VAR=SCOPE_TOP|SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK;function functionFlags(e,t){return SCOPE_FUNCTION|(e?SCOPE_ASYNC:0)|(t?SCOPE_GENERATOR:0)}var BIND_NONE=0,BIND_VAR=1,BIND_LEXICAL=2,BIND_FUNCTION=3,BIND_SIMPLE_CATCH=4,BIND_OUTSIDE=5,Parser=function(t,r,a){this.options=t=getOptions(t),this.sourceFile=t.sourceFile,this.keywords=wordsRegexp(keywords$1[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var o="";t.allowReserved!==!0&&(o=reservedWords[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(o+=" await")),this.reservedWords=wordsRegexp(o);var u=(o?o+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(u),this.reservedWordsStrictBind=wordsRegexp(u+" "+reservedWords.strictBind),this.input=String(r),this.containsEsc=!1,a?(this.pos=a,this.lineStart=this.input.lastIndexOf(` `,a-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types$1.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Parser.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};prototypeAccessors.inFunction.get=function(){return(this.currentVarScope().flags&SCOPE_FUNCTION)>0};prototypeAccessors.inGenerator.get=function(){return(this.currentVarScope().flags&SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit};prototypeAccessors.inAsync.get=function(){return(this.currentVarScope().flags&SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit};prototypeAccessors.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&SCOPE_CLASS_STATIC_BLOCK)return!1;if(t.flags&SCOPE_FUNCTION)return(t.flags&SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};prototypeAccessors.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&SCOPE_SUPER)>0||r||this.options.allowSuperOutsideMethod};prototypeAccessors.allowDirectSuper.get=function(){return(this.currentThisScope().flags&SCOPE_DIRECT_SUPER)>0};prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};prototypeAccessors.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK))>0||r};prototypeAccessors.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&SCOPE_CLASS_STATIC_BLOCK)>0};Parser.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var a=this,o=0;o=,?^&]/.test(o)||o==="!"&&this.input.charAt(a+1)==="=")}e+=t[0].length,skipWhiteSpace.lastIndex=e,e+=skipWhiteSpace.exec(this.input)[0].length,this.input[e]===";"&&e++}};pp$9.eat=function(e){return this.type===e?(this.next(),!0):!1};pp$9.isContextual=function(e){return this.type===types$1.name&&this.value===e&&!this.containsEsc};pp$9.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};pp$9.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};pp$9.canInsertSemicolon=function(){return this.type===types$1.eof||this.type===types$1.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))};pp$9.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};pp$9.semicolon=function(){!this.eat(types$1.semi)&&!this.insertSemicolon()&&this.unexpected()};pp$9.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};pp$9.expect=function(e){this.eat(e)||this.unexpected()};pp$9.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var DestructuringErrors=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};pp$9.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};pp$9.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,a=e.doubleProto;if(!t)return r>=0||a>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),a>=0&&this.raiseRecoverable(a,"Redefinition of __proto__ property")};pp$9.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&a<56320)return!0;if(isIdentifierStart(a,!0)){for(var o=r+1;isIdentifierChar(a=this.input.charCodeAt(o),!0);)++o;if(a===92||a>55295&&a<56320)return!0;var u=this.input.slice(r,o);if(!keywordRelationalOperator.test(u))return!0}return!1};pp$8.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;skipWhiteSpace.lastIndex=this.pos;var e=skipWhiteSpace.exec(this.input),t=this.pos+e[0].length,r;return!lineBreak.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};pp$8.parseStatement=function(e,t,r){var a=this.type,o=this.startNode(),u;switch(this.isLet(e)&&(a=types$1._var,u="let"),a){case types$1._break:case types$1._continue:return this.parseBreakContinueStatement(o,a.keyword);case types$1._debugger:return this.parseDebuggerStatement(o);case types$1._do:return this.parseDoStatement(o);case types$1._for:return this.parseForStatement(o);case types$1._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case types$1._class:return e&&this.unexpected(),this.parseClass(o,!0);case types$1._if:return this.parseIfStatement(o);case types$1._return:return this.parseReturnStatement(o);case types$1._switch:return this.parseSwitchStatement(o);case types$1._throw:return this.parseThrowStatement(o);case types$1._try:return this.parseTryStatement(o);case types$1._const:case types$1._var:return u=u||this.value,e&&u!=="var"&&this.unexpected(),this.parseVarStatement(o,u);case types$1._while:return this.parseWhileStatement(o);case types$1._with:return this.parseWithStatement(o);case types$1.braceL:return this.parseBlock(!0,o);case types$1.semi:return this.parseEmptyStatement(o);case types$1._export:case types$1._import:if(this.options.ecmaVersion>10&&a===types$1._import){skipWhiteSpace.lastIndex=this.pos;var d=skipWhiteSpace.exec(this.input),f=this.pos+d[0].length,g=this.input.charCodeAt(f);if(g===40||g===46)return this.parseExpressionStatement(o,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),a===types$1._import?this.parseImport(o):this.parseExport(o,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var _=this.value,S=this.parseExpression();return a===types$1.name&&S.type==="Identifier"&&this.eat(types$1.colon)?this.parseLabeledStatement(o,_,S,e):this.parseExpressionStatement(o,S)}};pp$8.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(types$1.semi)||this.insertSemicolon()?e.label=null:this.type!==types$1.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var a=0;a=6?this.eat(types$1.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};pp$8.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types$1.parenL),this.type===types$1.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===types$1._var||this.type===types$1._const||r){var a=this.startNode(),o=r?"let":this.value;return this.next(),this.parseVar(a,!0,o),this.finishNode(a,"VariableDeclaration"),(this.type===types$1._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&a.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===types$1._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,a)):(t>-1&&this.unexpected(t),this.parseFor(e,a))}var u=this.isContextual("let"),d=!1,f=new DestructuringErrors,g=this.parseExpression(t>-1?"await":!0,f);return this.type===types$1._in||(d=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===types$1._in?t>-1&&this.unexpected(t):e.await=t>-1),u&&d&&this.raise(g.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(g,!1,f),this.checkLValPattern(g),this.parseForIn(e,g)):(this.checkExpressionErrors(f,!0),t>-1&&this.unexpected(t),this.parseFor(e,g))};pp$8.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,FUNC_STATEMENT|(r?0:FUNC_HANGING_STATEMENT),!1,t)};pp$8.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(types$1._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};pp$8.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types$1.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};pp$8.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(types$1.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var t,r=!1;this.type!==types$1.braceR;)if(this.type===types$1._case||this.type===types$1._default){var a=this.type===types$1._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),a?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(types$1.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};pp$8.parseThrowStatement=function(e){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var empty$1=[];pp$8.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(e,t?BIND_SIMPLE_CATCH:BIND_LEXICAL),this.expect(types$1.parenR),e};pp$8.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===types$1._catch){var t=this.startNode();this.next(),this.eat(types$1.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(types$1._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};pp$8.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};pp$8.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(loopLabel),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};pp$8.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};pp$8.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};pp$8.parseLabeledStatement=function(e,t,r,a){for(var o=0,u=this.labels;o=0;g--){var _=this.labels[g];if(_.statementStart===e.start)_.statementStart=this.start,_.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(a?a.indexOf("label")===-1?a+"label":a:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};pp$8.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};pp$8.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(types$1.braceL),e&&this.enterScope(0);this.type!==types$1.braceR;){var a=this.parseStatement(null);t.body.push(a)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};pp$8.parseFor=function(e,t){return e.init=t,this.expect(types$1.semi),e.test=this.type===types$1.semi?null:this.parseExpression(),this.expect(types$1.semi),e.update=this.type===types$1.parenR?null:this.parseExpression(),this.expect(types$1.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};pp$8.parseForIn=function(e,t){var r=this.type===types$1._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(types$1.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};pp$8.parseVar=function(e,t,r,a){for(e.declarations=[],e.kind=r;;){var o=this.startNode();if(this.parseVarId(o,r),this.eat(types$1.eq)?o.init=this.parseMaybeAssign(t):!a&&r==="const"&&!(this.type===types$1._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!a&&o.id.type!=="Identifier"&&!(t&&(this.type===types$1._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):o.init=null,e.declarations.push(this.finishNode(o,"VariableDeclarator")),!this.eat(types$1.comma))break}return e};pp$8.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?BIND_VAR:BIND_LEXICAL,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2,FUNC_NULLABLE_ID=4;pp$8.parseFunction=function(e,t,r,a,o){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!a)&&(this.type===types$1.star&&t&FUNC_HANGING_STATEMENT&&this.unexpected(),e.generator=this.eat(types$1.star)),this.options.ecmaVersion>=8&&(e.async=!!a),t&FUNC_STATEMENT&&(e.id=t&FUNC_NULLABLE_ID&&this.type!==types$1.name?null:this.parseIdent(),e.id&&!(t&FUNC_HANGING_STATEMENT)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?BIND_VAR:BIND_LEXICAL:BIND_FUNCTION));var u=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(e.async,e.generator)),t&FUNC_STATEMENT||(e.id=this.type===types$1.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,o),this.yieldPos=u,this.awaitPos=d,this.awaitIdentPos=f,this.finishNode(e,t&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")};pp$8.parseFunctionParams=function(e){this.expect(types$1.parenL),e.params=this.parseBindingList(types$1.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};pp$8.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var a=this.enterClassBody(),o=this.startNode(),u=!1;for(o.body=[],this.expect(types$1.braceL);this.type!==types$1.braceR;){var d=this.parseClassElement(e.superClass!==null);d&&(o.body.push(d),d.type==="MethodDefinition"&&d.kind==="constructor"?(u&&this.raiseRecoverable(d.start,"Duplicate constructor in the same class"),u=!0):d.key&&d.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(a,d)&&this.raiseRecoverable(d.key.start,"Identifier '#"+d.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(o,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};pp$8.parseClassElement=function(e){if(this.eat(types$1.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),a="",o=!1,u=!1,d="method",f=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(types$1.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===types$1.star?f=!0:a="static"}if(r.static=f,!a&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===types$1.star)&&!this.canInsertSemicolon()?u=!0:a="async"),!a&&(t>=9||!u)&&this.eat(types$1.star)&&(o=!0),!a&&!u&&!o){var g=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?d=g:a=g)}if(a?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=a,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===types$1.parenL||d!=="method"||o||u){var _=!r.static&&checkKeyName(r,"constructor"),S=_&&e;_&&d!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=_?"constructor":d,this.parseClassMethod(r,o,u,S)}else this.parseClassField(r);return r};pp$8.isClassElementNameStart=function(){return this.type===types$1.name||this.type===types$1.privateId||this.type===types$1.num||this.type===types$1.string||this.type===types$1.bracketL||this.type.keyword};pp$8.parseClassElementName=function(e){this.type===types$1.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};pp$8.parseClassMethod=function(e,t,r,a){var o=e.key;e.kind==="constructor"?(t&&this.raise(o.start,"Constructor can't be a generator"),r&&this.raise(o.start,"Constructor can't be an async method")):e.static&&checkKeyName(e,"prototype")&&this.raise(o.start,"Classes may not have a static property named prototype");var u=e.value=this.parseMethod(t,r,a);return e.kind==="get"&&u.params.length!==0&&this.raiseRecoverable(u.start,"getter should have no params"),e.kind==="set"&&u.params.length!==1&&this.raiseRecoverable(u.start,"setter should have exactly one param"),e.kind==="set"&&u.params[0].type==="RestElement"&&this.raiseRecoverable(u.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};pp$8.parseClassField=function(e){if(checkKeyName(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&checkKeyName(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(types$1.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};pp$8.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(SCOPE_CLASS_STATIC_BLOCK|SCOPE_SUPER);this.type!==types$1.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};pp$8.parseClassId=function(e,t){this.type===types$1.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,BIND_LEXICAL,!1)):(t===!0&&this.unexpected(),e.id=null)};pp$8.parseClassSuper=function(e){e.superClass=this.eat(types$1._extends)?this.parseExprSubscripts(null,!1):null};pp$8.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};pp$8.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var a=this.privateNameStack.length,o=a===0?null:this.privateNameStack[a-1],u=0;u=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==types$1.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};pp$8.parseExport=function(e,t){if(this.next(),this.eat(types$1.star))return this.parseExportAllDeclaration(e,t);if(this.eat(types$1._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==types$1.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var r=0,a=e.specifiers;r=13&&this.type===types$1.string){var e=this.parseLiteral(this.value);return loneSurrogate.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};pp$8.adaptDirectivePrologue=function(e){for(var t=0;t=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var pp$7=Parser.prototype;pp$7.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var a=0,o=e.properties;a=8&&!f&&g.name==="async"&&!this.canInsertSemicolon()&&this.eat(types$1._function))return this.overrideContext(types.f_expr),this.parseFunction(this.startNodeAt(u,d),0,!1,!0,t);if(o&&!this.canInsertSemicolon()){if(this.eat(types$1.arrow))return this.parseArrowExpression(this.startNodeAt(u,d),[g],!1,t);if(this.options.ecmaVersion>=8&&g.name==="async"&&this.type===types$1.name&&!f&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return g=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(types$1.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(u,d),[g],!0,t)}return g;case types$1.regexp:var _=this.value;return a=this.parseLiteral(_.value),a.regex={pattern:_.pattern,flags:_.flags},a;case types$1.num:case types$1.string:return this.parseLiteral(this.value);case types$1._null:case types$1._true:case types$1._false:return a=this.startNode(),a.value=this.type===types$1._null?null:this.type===types$1._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case types$1.parenL:var S=this.start,E=this.parseParenAndDistinguishExpression(o,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(E)&&(e.parenthesizedAssign=S),e.parenthesizedBind<0&&(e.parenthesizedBind=S)),E;case types$1.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(types$1.bracketR,!0,!0,e),this.finishNode(a,"ArrayExpression");case types$1.braceL:return this.overrideContext(types.b_expr),this.parseObj(!1,e);case types$1._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case types$1._class:return this.parseClass(this.startNode(),!1);case types$1._new:return this.parseNew();case types$1.backQuote:return this.parseTemplate();case types$1._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};pp$5.parseExprAtomDefault=function(){this.unexpected()};pp$5.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===types$1.parenL&&!e)return this.parseDynamicImport(t);if(this.type===types$1.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};pp$5.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(types$1.parenR)){var t=this.start;this.eat(types$1.comma)&&this.eat(types$1.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};pp$5.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};pp$5.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};pp$5.parseParenExpression=function(){this.expect(types$1.parenL);var e=this.parseExpression();return this.expect(types$1.parenR),e};pp$5.shouldParseArrow=function(e){return!this.canInsertSemicolon()};pp$5.parseParenAndDistinguishExpression=function(e,t){var r=this.start,a=this.startLoc,o,u=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var d=this.start,f=this.startLoc,g=[],_=!0,S=!1,E=new DestructuringErrors,v=this.yieldPos,b=this.awaitPos,y;for(this.yieldPos=0,this.awaitPos=0;this.type!==types$1.parenR;)if(_?_=!1:this.expect(types$1.comma),u&&this.afterTrailingComma(types$1.parenR,!0)){S=!0;break}else if(this.type===types$1.ellipsis){y=this.start,g.push(this.parseParenItem(this.parseRestBinding())),this.type===types$1.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else g.push(this.parseMaybeAssign(!1,E,this.parseParenItem));var T=this.lastTokEnd,C=this.lastTokEndLoc;if(this.expect(types$1.parenR),e&&this.shouldParseArrow(g)&&this.eat(types$1.arrow))return this.checkPatternErrors(E,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=v,this.awaitPos=b,this.parseParenArrowList(r,a,g,t);(!g.length||S)&&this.unexpected(this.lastTokStart),y&&this.unexpected(y),this.checkExpressionErrors(E,!0),this.yieldPos=v||this.yieldPos,this.awaitPos=b||this.awaitPos,g.length>1?(o=this.startNodeAt(d,f),o.expressions=g,this.finishNodeAt(o,"SequenceExpression",T,C)):o=g[0]}else o=this.parseParenExpression();if(this.options.preserveParens){var R=this.startNodeAt(r,a);return R.expression=o,this.finishNode(R,"ParenthesizedExpression")}else return o};pp$5.parseParenItem=function(e){return e};pp$5.parseParenArrowList=function(e,t,r,a){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,a)};var empty$2=[];pp$5.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===types$1.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var a=this.start,o=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),a,o,!0,!1),this.eat(types$1.parenL)?e.arguments=this.parseExprList(types$1.parenR,this.options.ecmaVersion>=8,!1):e.arguments=empty$2,this.finishNode(e,"NewExpression")};pp$5.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===types$1.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` `),cooked:this.value},this.next(),r.tail=this.type===types$1.backQuote,this.finishNode(r,"TemplateElement")};pp$5.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var a=this.parseTemplateElement({isTagged:t});for(r.quasis=[a];!a.tail;)this.type===types$1.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types$1.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(types$1.braceR),r.quasis.push(a=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};pp$5.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===types$1.name||this.type===types$1.num||this.type===types$1.string||this.type===types$1.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types$1.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))};pp$5.parseObj=function(e,t){var r=this.startNode(),a=!0,o={};for(r.properties=[],this.next();!this.eat(types$1.braceR);){if(a)a=!1;else if(this.expect(types$1.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types$1.braceR))break;var u=this.parseProperty(e,t);e||this.checkPropClash(u,o,t),r.properties.push(u)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};pp$5.parseProperty=function(e,t){var r=this.startNode(),a,o,u,d;if(this.options.ecmaVersion>=9&&this.eat(types$1.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===types$1.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===types$1.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(u=this.start,d=this.startLoc),e||(a=this.eat(types$1.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!a&&this.isAsyncProp(r)?(o=!0,a=this.options.ecmaVersion>=9&&this.eat(types$1.star),this.parsePropertyName(r)):o=!1,this.parsePropertyValue(r,e,a,o,u,d,t,f),this.finishNode(r,"Property")};pp$5.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var r=e.value.start;e.kind==="get"?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};pp$5.parsePropertyValue=function(e,t,r,a,o,u,d,f){(r||a)&&this.type===types$1.colon&&this.unexpected(),this.eat(types$1.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,d),e.kind="init"):this.options.ecmaVersion>=6&&this.type===types$1.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,a)):!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==types$1.comma&&this.type!==types$1.braceR&&this.type!==types$1.eq?((r||a)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||a)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=o),e.kind="init",t?e.value=this.parseMaybeDefault(o,u,this.copyNode(e.key)):this.type===types$1.eq&&d?(d.shorthandAssign<0&&(d.shorthandAssign=this.start),e.value=this.parseMaybeDefault(o,u,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};pp$5.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(types$1.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(types$1.bracketR),e.key;e.computed=!1}return e.key=this.type===types$1.num||this.type===types$1.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};pp$5.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};pp$5.parseMethod=function(e,t,r){var a=this.startNode(),o=this.yieldPos,u=this.awaitPos,d=this.awaitIdentPos;return this.initFunction(a),this.options.ecmaVersion>=6&&(a.generator=e),this.options.ecmaVersion>=8&&(a.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(t,a.generator)|SCOPE_SUPER|(r?SCOPE_DIRECT_SUPER:0)),this.expect(types$1.parenL),a.params=this.parseBindingList(types$1.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(a,!1,!0,!1),this.yieldPos=o,this.awaitPos=u,this.awaitIdentPos=d,this.finishNode(a,"FunctionExpression")};pp$5.parseArrowExpression=function(e,t,r,a){var o=this.yieldPos,u=this.awaitPos,d=this.awaitIdentPos;return this.enterScope(functionFlags(r,!1)|SCOPE_ARROW),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,a),this.yieldPos=o,this.awaitPos=u,this.awaitIdentPos=d,this.finishNode(e,"ArrowFunctionExpression")};pp$5.parseFunctionBody=function(e,t,r,a){var o=t&&this.type!==types$1.braceL,u=this.strict,d=!1;if(o)e.body=this.parseMaybeAssign(a),e.expression=!0,this.checkParams(e,!1);else{var f=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!u||f)&&(d=this.strictDirective(this.end),d&&f&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var g=this.labels;this.labels=[],d&&(this.strict=!0),this.checkParams(e,!u&&!d&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,BIND_OUTSIDE),e.body=this.parseBlock(!1,void 0,d&&!u),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=g}this.exitScope()};pp$5.isSimpleParamList=function(e){for(var t=0,r=e;t-1||o.functions.indexOf(e)>-1||o.var.indexOf(e)>-1,o.lexical.push(e),this.inModule&&o.flags&SCOPE_TOP&&delete this.undefinedExports[e]}else if(t===BIND_SIMPLE_CATCH){var u=this.currentScope();u.lexical.push(e)}else if(t===BIND_FUNCTION){var d=this.currentScope();this.treatFunctionsAsVar?a=d.lexical.indexOf(e)>-1:a=d.lexical.indexOf(e)>-1||d.var.indexOf(e)>-1,d.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var g=this.scopeStack[f];if(g.lexical.indexOf(e)>-1&&!(g.flags&SCOPE_SIMPLE_CATCH&&g.lexical[0]===e)||!this.treatFunctionsAsVarInScope(g)&&g.functions.indexOf(e)>-1){a=!0;break}if(g.var.push(e),this.inModule&&g.flags&SCOPE_TOP&&delete this.undefinedExports[e],g.flags&SCOPE_VAR)break}a&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};pp$3.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};pp$3.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};pp$3.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&SCOPE_VAR)return t}};pp$3.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&SCOPE_VAR&&!(t.flags&SCOPE_ARROW))return t}};var Node$1=function(t,r,a){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new SourceLocation(t,a)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},pp$2=Parser.prototype;pp$2.startNode=function(){return new Node$1(this,this.start,this.startLoc)};pp$2.startNodeAt=function(e,t){return new Node$1(this,e,t)};function finishNodeAt(e,t,r,a){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=a),this.options.ranges&&(e.range[1]=r),e}pp$2.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};pp$2.finishNodeAt=function(e,t,r,a){return finishNodeAt.call(this,e,t,r,a)};pp$2.copyNode=function(e){var t=new Node$1(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",ecma11BinaryProperties=ecma10BinaryProperties,ecma12BinaryProperties=ecma11BinaryProperties+" EBase EComp EMod EPres ExtPict",ecma13BinaryProperties=ecma12BinaryProperties,ecma14BinaryProperties=ecma13BinaryProperties,unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma11BinaryProperties,12:ecma12BinaryProperties,13:ecma13BinaryProperties,14:ecma14BinaryProperties},ecma14BinaryPropertiesOfStrings="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",unicodeBinaryPropertiesOfStrings={9:"",10:"",11:"",12:"",13:"",14:ecma14BinaryPropertiesOfStrings},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ecma11ScriptValues=ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ecma12ScriptValues=ecma11ScriptValues+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ecma13ScriptValues=ecma12ScriptValues+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ecma14ScriptValues=ecma13ScriptValues+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma11ScriptValues,12:ecma12ScriptValues,13:ecma13ScriptValues,14:ecma14ScriptValues},data={};function buildUnicodeData(e){var t=data[e]={binary:wordsRegexp(unicodeBinaryProperties[e]+" "+unicodeGeneralCategoryValues),binaryOfStrings:wordsRegexp(unicodeBinaryPropertiesOfStrings[e]),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var i$1=0,list=[9,10,11,12,13,14];i$1=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=data[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};RegExpValidationState.prototype.reset=function(t,r,a){var o=a.indexOf("v")!==-1,u=a.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=a,o&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=u&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=u&&this.parser.options.ecmaVersion>=9)};RegExpValidationState.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};RegExpValidationState.prototype.at=function(t,r){r===void 0&&(r=!1);var a=this.source,o=a.length;if(t>=o)return-1;var u=a.charCodeAt(t);if(!(r||this.switchU)||u<=55295||u>=57344||t+1>=o)return u;var d=a.charCodeAt(t+1);return d>=56320&&d<=57343?(u<<10)+d-56613888:u};RegExpValidationState.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var a=this.source,o=a.length;if(t>=o)return o;var u=a.charCodeAt(t),d;return!(r||this.switchU)||u<=55295||u>=57344||t+1>=o||(d=a.charCodeAt(t+1))<56320||d>57343?t+1:t+2};RegExpValidationState.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};RegExpValidationState.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};RegExpValidationState.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};RegExpValidationState.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};RegExpValidationState.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var a=this.pos,o=0,u=t;o-1&&this.raise(e.start,"Duplicate regular expression flag"),d==="u"&&(a=!0),d==="v"&&(o=!0)}this.options.ecmaVersion>=15&&a&&o&&this.raise(e.start,"Invalid regular expression flag")};pp$1.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};pp$1.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};pp$1.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};pp$1.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};pp$1.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var a=0,o=-1;if(this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(o=e.lastIntValue),e.eat(125)))return o!==-1&&o=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};pp$1.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};pp$1.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};pp$1.regexp_eatSyntaxCharacter=function(e){var t=e.current();return isSyntaxCharacter(t)?(e.lastIntValue=t,e.advance(),!0):!1};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}pp$1.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!isSyntaxCharacter(r);)e.advance();return e.pos!==t};pp$1.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};pp$1.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};pp$1.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};pp$1.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString(e.lastIntValue);return!0}return!1};pp$1.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,a=e.current(r);return e.advance(r),a===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(a=e.lastIntValue),isRegExpIdentifierStart(a)?(e.lastIntValue=a,!0):(e.pos=t,!1)};function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||e===36||e===95}pp$1.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,a=e.current(r);return e.advance(r),a===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(a=e.lastIntValue),isRegExpIdentifierPart(a)?(e.lastIntValue=a,!0):(e.pos=t,!1)};function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||e===36||e===95||e===8204||e===8205}pp$1.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};pp$1.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};pp$1.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};pp$1.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};pp$1.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};pp$1.regexp_eatZero=function(e){return e.current()===48&&!isDecimalDigit(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};pp$1.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};pp$1.regexp_eatControlLetter=function(e){var t=e.current();return isControlLetter(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}pp$1.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,a=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(a&&o>=55296&&o<=56319){var u=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var d=e.lastIntValue;if(d>=56320&&d<=57343)return e.lastIntValue=(o-55296)*1024+(d-56320)+65536,!0}e.pos=u,e.lastIntValue=o}return!0}if(a&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue))return!0;a&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function isValidUnicode(e){return e>=0&&e<=1114111}pp$1.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};pp$1.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var CharSetNone=0,CharSetOk=1,CharSetString=2;pp$1.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),CharSetOk;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var a;if(e.eat(123)&&(a=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&a===CharSetString&&e.raise("Invalid property name"),a;e.raise("Invalid property name")}return CharSetNone};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}pp$1.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,a),CharSetOk}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var o=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,o)}return CharSetNone};pp$1.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){hasOwn(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};pp$1.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return CharSetOk;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return CharSetString;e.raise("Invalid property name")};pp$1.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString(t),e.advance();return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}pp$1.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString(t),e.advance();return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}pp$1.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};pp$1.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===CharSetString&&e.raise("Negated character class may contain strings"),!0}return!1};pp$1.regexp_classContents=function(e){return e.current()===93?CharSetOk:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),CharSetOk)};pp$1.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};pp$1.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||isOctalDigit(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var a=e.current();return a!==93?(e.lastIntValue=a,e.advance(),!0):!1};pp$1.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};pp$1.regexp_classSetExpression=function(e){var t=CharSetOk,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===CharSetString&&(t=CharSetString);for(var a=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==CharSetString&&(t=CharSetOk);continue}e.raise("Invalid character in character class")}if(a!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(a!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===CharSetString&&(t=CharSetString)}};pp$1.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var a=e.lastIntValue;return r!==-1&&a!==-1&&r>a&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};pp$1.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?CharSetOk:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};pp$1.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),a=this.regexp_classContents(e);if(e.eat(93))return r&&a===CharSetString&&e.raise("Negated character class may contain strings"),a;e.pos=t}if(e.eat(92)){var o=this.regexp_eatCharacterClassEscape(e);if(o)return o;e.pos=t}return null};pp$1.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};pp$1.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===CharSetString&&(t=CharSetString);return t};pp$1.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?CharSetOk:CharSetString};pp$1.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&isClassSetReservedDoublePunctuatorCharacter(r)||isClassSetSyntaxCharacter(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function isClassSetReservedDoublePunctuatorCharacter(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function isClassSetSyntaxCharacter(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}pp$1.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return isClassSetReservedPunctuator(t)?(e.lastIntValue=t,e.advance(),!0):!1};function isClassSetReservedPunctuator(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}pp$1.regexp_eatClassControlLetter=function(e){var t=e.current();return isDecimalDigit(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};pp$1.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};pp$1.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;isDecimalDigit(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}pp$1.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;isHexDigit(r=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(r),e.advance();return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}pp$1.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};pp$1.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function isOctalDigit(e){return e>=48&&e<=55}pp$1.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var a=0;a=this.input.length)return this.finishToken(types$1.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};pp.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};pp.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};pp.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var a=void 0,o=t;(a=nextLineBreak(this.input,o,this.pos))>-1;)++this.curLine,o=this.lineStart=a;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};pp.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),a=this.input.charCodeAt(this.pos+=e);this.pos8&&e<14||e>=5760&&nonASCIIwhitespace.test(String.fromCharCode(e)))++this.pos;else break e}}};pp.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};pp.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(types$1.ellipsis)):(++this.pos,this.finishToken(types$1.dot))};pp.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(types$1.assign,2):this.finishOp(types$1.slash,1)};pp.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,a=e===42?types$1.star:types$1.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,a=types$1.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(types$1.assign,r+1):this.finishOp(a,r)};pp.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(types$1.assign,3)}return this.finishOp(e===124?types$1.logicalOR:types$1.logicalAND,2)}return t===61?this.finishOp(types$1.assign,2):this.finishOp(e===124?types$1.bitwiseOR:types$1.bitwiseAND,1)};pp.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(types$1.assign,2):this.finishOp(types$1.bitwiseXOR,1)};pp.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||lineBreak.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(types$1.incDec,2):t===61?this.finishOp(types$1.assign,2):this.finishOp(types$1.plusMin,1)};pp.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(types$1.assign,r+1):this.finishOp(types$1.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(types$1.relational,r))};pp.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(types$1.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types$1.arrow)):this.finishOp(e===61?types$1.eq:types$1.prefix,1)};pp.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(types$1.questionDot,2)}if(t===63){if(e>=12){var a=this.input.charCodeAt(this.pos+2);if(a===61)return this.finishOp(types$1.assign,3)}return this.finishOp(types$1.coalesce,2)}}return this.finishOp(types$1.question,1)};pp.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),isIdentifierStart(t,!0)||t===92))return this.finishToken(types$1.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};pp.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types$1.parenL);case 41:return++this.pos,this.finishToken(types$1.parenR);case 59:return++this.pos,this.finishToken(types$1.semi);case 44:return++this.pos,this.finishToken(types$1.comma);case 91:return++this.pos,this.finishToken(types$1.bracketL);case 93:return++this.pos,this.finishToken(types$1.bracketR);case 123:return++this.pos,this.finishToken(types$1.braceL);case 125:return++this.pos,this.finishToken(types$1.braceR);case 58:return++this.pos,this.finishToken(types$1.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types$1.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(types$1.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};pp.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};pp.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var a=this.input.charAt(this.pos);if(lineBreak.test(a)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(a==="[")t=!0;else if(a==="]"&&t)t=!1;else if(a==="/"&&!t)break;e=a==="\\"}++this.pos}var o=this.input.slice(r,this.pos);++this.pos;var u=this.pos,d=this.readWord1();this.containsEsc&&this.unexpected(u);var f=this.regexpState||(this.regexpState=new RegExpValidationState(this));f.reset(r,o,d),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var g=null;try{g=new RegExp(o,d)}catch{}return this.finishToken(types$1.regexp,{pattern:o,flags:d,value:g})};pp.readInt=function(e,t,r){for(var a=this.options.ecmaVersion>=12&&t===void 0,o=r&&this.input.charCodeAt(this.pos)===48,u=this.pos,d=0,f=0,g=0,_=t??1/0;g<_;++g,++this.pos){var S=this.input.charCodeAt(this.pos),E=void 0;if(a&&S===95){o&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),f===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),g===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),f=S;continue}if(S>=97?E=S-97+10:S>=65?E=S-65+10:S>=48&&S<=57?E=S-48:E=1/0,E>=e)break;f=S,d=d*e+E}return a&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===u||t!=null&&this.pos-u!==t?null:d};function stringToNumber(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}pp.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=stringToBigInt(this.input.slice(t,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types$1.num,r)};pp.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var a=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&a===110){var o=stringToBigInt(this.input.slice(t,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types$1.num,o)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),a===46&&!r&&(++this.pos,this.readInt(10),a=this.input.charCodeAt(this.pos)),(a===69||a===101)&&!r&&(a=this.input.charCodeAt(++this.pos),(a===43||a===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var u=stringToNumber(this.input.slice(t,this.pos),r);return this.finishToken(types$1.num,u)};pp.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};pp.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var a=this.input.charCodeAt(this.pos);if(a===e)break;a===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):a===8232||a===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(isNewLine(a)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(types$1.string,t)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===INVALID_TEMPLATE_ESCAPE_ERROR)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};pp.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(e,t)};pp.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===types$1.template||this.type===types$1.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(types$1.dollarBraceL)):(++this.pos,this.finishToken(types$1.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(types$1.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};pp.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var a=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],o=parseInt(a,8);return o>255&&(a=a.slice(0,-1),o=parseInt(a,8)),this.pos+=a.length-1,t=this.input.charCodeAt(this.pos),(a!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-a.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(o)}return isNewLine(t)?"":String.fromCharCode(t)}};pp.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};pp.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,a=this.options.ecmaVersion>=6;this.pos>>1,L=P+k,I(N[L])?D=k:(P=L+1,D-=k+1);return P}a={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},u={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},d={},f={},g={},o={Break:d,Skip:f,Remove:g};function E(N,I){this.parent=N,this.key=I}E.prototype.replace=function(I){this.parent[this.key]=I},E.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function v(N,I,k,D){this.node=N,this.path=I,this.wrap=k,this.ref=D}function b(){}b.prototype.path=function(){var I,k,D,P,L,F;function B(V,U){if(Array.isArray(U))for(D=0,P=U.length;D=0;--k)if(N[k].node===I)return!0;return!1}b.prototype.traverse=function(I,k){var D,P,L,F,B,V,U,W,K,G,Y,Q;for(this.__initialize(I,k),Q={},D=this.__worklist,P=this.__leavelist,D.push(new v(I,null,null,null)),P.push(new v(null,null,null,null));D.length;){if(L=D.pop(),L===Q){if(L=P.pop(),V=this.__execute(k.leave,L),this.__state===d||V===d)return;continue}if(L.node){if(V=this.__execute(k.enter,L),this.__state===d||V===d)return;if(D.push(Q),P.push(L),this.__state===f||V===f)continue;if(F=L.node,B=F.type||L.wrap,G=this.__keys[B],!G)if(this.__fallback)G=this.__fallback(F);else throw new Error("Unknown node type "+B+".");for(W=G.length;(W-=1)>=0;)if(U=G[W],Y=F[U],!!Y){if(Array.isArray(Y)){for(K=Y.length;(K-=1)>=0;)if(Y[K]&&!C(P,Y[K])){if(T(B,G[W]))L=new v(Y[K],[U,K],"Property",null);else if(y(Y[K]))L=new v(Y[K],[U,K],null,null);else continue;D.push(L)}}else if(y(Y)){if(C(P,Y))continue;D.push(new v(Y,U,null,null))}}}}},b.prototype.replace=function(I,k){var D,P,L,F,B,V,U,W,K,G,Y,Q,Z;function J(te){var fe,ve,ue,ie;if(te.ref.remove()){for(ve=te.ref.key,ie=te.ref.parent,fe=D.length;fe--;)if(ue=D[fe],ue.ref&&ue.ref.parent===ie){if(ue.ref.key=0;)if(Z=K[U],G=L[Z],!!G)if(Array.isArray(G)){for(W=G.length;(W-=1)>=0;)if(G[W]){if(T(F,K[U]))V=new v(G[W],[Z,W],"Property",new E(G,W));else if(y(G[W]))V=new v(G[W],[Z,W],null,new E(G,W));else continue;D.push(V)}}else y(G)&&D.push(new v(G,Z,null,new E(L,Z)))}}return Q.root};function R(N,I){var k=new b;return k.traverse(N,I)}function A(N,I){var k=new b;return k.replace(N,I)}function O(N,I){var k;return k=S(I,function(P){return P.range[0]>N.range[0]}),N.extendedRange=[N.range[0],N.range[1]],k!==I.length&&(N.extendedRange[1]=I[k].range[0]),k-=1,k>=0&&(N.extendedRange[0]=I[k].range[1]),N}function x(N,I,k){var D=[],P,L,F,B;if(!N.range)throw new Error("attachComments needs range information");if(!k.length){if(I.length){for(F=0,L=I.length;FV.range[0]));)U.extendedRange[1]===V.range[0]?(V.leadingComments||(V.leadingComments=[]),V.leadingComments.push(U),D.splice(B,1)):B+=1;if(B===D.length)return o.Break;if(D[B].extendedRange[0]>V.range[1])return o.Skip}}),B=0,R(N,{leave:function(V){for(var U;BV.range[1])return o.Skip}}),N}return r.Syntax=a,r.traverse=R,r.replace=A,r.attachComments=x,r.VisitorKeys=u,r.VisitorOption=o,r.Controller=b,r.cloneEnvironment=function(){return t({})},r})(e)})(estraverse);var utils={},ast={exports:{}};(function(){function e(d){if(d==null)return!1;switch(d.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 t(d){if(d==null)return!1;switch(d.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(d){if(d==null)return!1;switch(d.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 a(d){return r(d)||d!=null&&d.type==="FunctionDeclaration"}function o(d){switch(d.type){case"IfStatement":return d.alternate!=null?d.alternate:d.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return d.body}return null}function u(d){var f;if(d.type!=="IfStatement"||d.alternate==null)return!1;f=d.consequent;do{if(f.type==="IfStatement"&&f.alternate==null)return!0;f=o(f)}while(f);return!1}ast.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:a,isProblematicIfStatement:u,trailingStatement:o}})();var astExports=ast.exports,code={exports:{}};(function(){var e,t,r,a,o,u;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function d(C){return 48<=C&&C<=57}function f(C){return 48<=C&&C<=57||97<=C&&C<=102||65<=C&&C<=70}function g(C){return C>=48&&C<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function _(C){return C===32||C===9||C===11||C===12||C===160||C>=5760&&r.indexOf(C)>=0}function S(C){return C===10||C===13||C===8232||C===8233}function E(C){if(C<=65535)return String.fromCharCode(C);var R=String.fromCharCode(Math.floor((C-65536)/1024)+55296),A=String.fromCharCode((C-65536)%1024+56320);return R+A}for(a=new Array(128),u=0;u<128;++u)a[u]=u>=97&&u<=122||u>=65&&u<=90||u===36||u===95;for(o=new Array(128),u=0;u<128;++u)o[u]=u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===36||u===95;function v(C){return C<128?a[C]:t.NonAsciiIdentifierStart.test(E(C))}function b(C){return C<128?o[C]:t.NonAsciiIdentifierPart.test(E(C))}function y(C){return C<128?a[C]:e.NonAsciiIdentifierStart.test(E(C))}function T(C){return C<128?o[C]:e.NonAsciiIdentifierPart.test(E(C))}code.exports={isDecimalDigit:d,isHexDigit:f,isOctalDigit:g,isWhiteSpace:_,isLineTerminator:S,isIdentifierStartES5:v,isIdentifierPartES5:b,isIdentifierStartES6:y,isIdentifierPartES6:T}})();var codeExports=code.exports,keyword={exports:{}};(function(){var e=codeExports;function t(v){switch(v){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(v,b){return!b&&v==="yield"?!1:a(v,b)}function a(v,b){if(b&&t(v))return!0;switch(v.length){case 2:return v==="if"||v==="in"||v==="do";case 3:return v==="var"||v==="for"||v==="new"||v==="try";case 4:return v==="this"||v==="else"||v==="case"||v==="void"||v==="with"||v==="enum";case 5:return v==="while"||v==="break"||v==="catch"||v==="throw"||v==="const"||v==="yield"||v==="class"||v==="super";case 6:return v==="return"||v==="typeof"||v==="delete"||v==="switch"||v==="export"||v==="import";case 7:return v==="default"||v==="finally"||v==="extends";case 8:return v==="function"||v==="continue"||v==="debugger";case 10:return v==="instanceof";default:return!1}}function o(v,b){return v==="null"||v==="true"||v==="false"||r(v,b)}function u(v,b){return v==="null"||v==="true"||v==="false"||a(v,b)}function d(v){return v==="eval"||v==="arguments"}function f(v){var b,y,T;if(v.length===0||(T=v.charCodeAt(0),!e.isIdentifierStartES5(T)))return!1;for(b=1,y=v.length;b=y||(C=v.charCodeAt(b),!(56320<=C&&C<=57343)))return!1;T=g(T,C)}if(!R(T))return!1;R=e.isIdentifierPartES6}return!0}function S(v,b){return f(v)&&!o(v,b)}function E(v,b){return _(v)&&!u(v,b)}keyword.exports={isKeywordES5:r,isKeywordES6:a,isReservedWordES5:o,isReservedWordES6:u,isRestrictedWord:d,isIdentifierNameES5:f,isIdentifierNameES6:_,isIdentifierES5:S,isIdentifierES6:E}})();var keywordExports=keyword.exports;(function(){utils.ast=astExports,utils.code=codeExports,utils.keyword=keywordExports})();var sourceMap={},sourceMapGenerator={},base64Vlq={},base64={},hasRequiredBase64;function requireBase64(){if(hasRequiredBase64)return base64;hasRequiredBase64=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return base64.encode=function(t){if(0<=t&&t>1;return g?-_:_}return base64Vlq.encode=function(g){var _="",S,E=u(g);do S=E&a,E>>>=t,E>0&&(S|=o),_+=e.encode(S);while(E>0);return _},base64Vlq.decode=function(g,_,S){var E=g.length,v=0,b=0,y,T;do{if(_>=E)throw new Error("Expected more digits in base 64 VLQ value.");if(T=e.decode(g.charCodeAt(_++)),T===-1)throw new Error("Invalid base64 digit: "+g.charAt(_-1));y=!!(T&o),T&=a,v=v+(T<=0;F--)P=D[F],P==="."?D.splice(F,1):P===".."?L++:L>0&&(P===""?(D.splice(F+1,L),L=0):(D.splice(F,2),L--));return N=D.join("/"),N===""&&(N=k?"/":"."),I?(I.path=N,u(I)):N}e.normalize=d;function f(x,N){x===""&&(x="."),N===""&&(N=".");var I=o(N),k=o(x);if(k&&(x=k.path||"/"),I&&!I.scheme)return k&&(I.scheme=k.scheme),u(I);if(I||N.match(a))return N;if(k&&!k.host&&!k.path)return k.host=N,u(k);var D=N.charAt(0)==="/"?N:d(x.replace(/\/+$/,"")+"/"+N);return k?(k.path=D,u(k)):D}e.join=f,e.isAbsolute=function(x){return x.charAt(0)==="/"||r.test(x)};function g(x,N){x===""&&(x="."),x=x.replace(/\/$/,"");for(var I=0;N.indexOf(x+"/")!==0;){var k=x.lastIndexOf("/");if(k<0||(x=x.slice(0,k),x.match(/^([^\/]+:\/)?\/*$/)))return N;++I}return Array(I+1).join("../")+N.substr(x.length+1)}e.relative=g;var _=function(){var x=Object.create(null);return!("__proto__"in x)}();function S(x){return x}function E(x){return b(x)?"$"+x:x}e.toSetString=_?S:E;function v(x){return b(x)?x.slice(1):x}e.fromSetString=_?S:v;function b(x){if(!x)return!1;var N=x.length;if(N<9||x.charCodeAt(N-1)!==95||x.charCodeAt(N-2)!==95||x.charCodeAt(N-3)!==111||x.charCodeAt(N-4)!==116||x.charCodeAt(N-5)!==111||x.charCodeAt(N-6)!==114||x.charCodeAt(N-7)!==112||x.charCodeAt(N-8)!==95||x.charCodeAt(N-9)!==95)return!1;for(var I=N-10;I>=0;I--)if(x.charCodeAt(I)!==36)return!1;return!0}function y(x,N,I){var k=C(x.source,N.source);return k!==0||(k=x.originalLine-N.originalLine,k!==0)||(k=x.originalColumn-N.originalColumn,k!==0||I)||(k=x.generatedColumn-N.generatedColumn,k!==0)||(k=x.generatedLine-N.generatedLine,k!==0)?k:C(x.name,N.name)}e.compareByOriginalPositions=y;function T(x,N,I){var k=x.generatedLine-N.generatedLine;return k!==0||(k=x.generatedColumn-N.generatedColumn,k!==0||I)||(k=C(x.source,N.source),k!==0)||(k=x.originalLine-N.originalLine,k!==0)||(k=x.originalColumn-N.originalColumn,k!==0)?k:C(x.name,N.name)}e.compareByGeneratedPositionsDeflated=T;function C(x,N){return x===N?0:x===null?1:N===null?-1:x>N?1:-1}function R(x,N){var I=x.generatedLine-N.generatedLine;return I!==0||(I=x.generatedColumn-N.generatedColumn,I!==0)||(I=C(x.source,N.source),I!==0)||(I=x.originalLine-N.originalLine,I!==0)||(I=x.originalColumn-N.originalColumn,I!==0)?I:C(x.name,N.name)}e.compareByGeneratedPositionsInflated=R;function A(x){return JSON.parse(x.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=A;function O(x,N,I){if(N=N||"",x&&(x[x.length-1]!=="/"&&N[0]!=="/"&&(x+="/"),N=x+N),I){var k=o(I);if(!k)throw new Error("sourceMapURL could not be parsed");if(k.path){var D=k.path.lastIndexOf("/");D>=0&&(k.path=k.path.substring(0,D+1))}N=f(u(k),N)}return d(N)}e.computeSourceURL=O}(util)),util}var arraySet={},hasRequiredArraySet;function requireArraySet(){if(hasRequiredArraySet)return arraySet;hasRequiredArraySet=1;var e=requireUtil(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function a(){this._array=[],this._set=r?new Map:Object.create(null)}return a.fromArray=function(u,d){for(var f=new a,g=0,_=u.length;g<_;g++)f.add(u[g],d);return f},a.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(u,d){var f=r?u:e.toSetString(u),g=r?this.has(u):t.call(this._set,f),_=this._array.length;(!g||d)&&this._array.push(u),g||(r?this._set.set(u,_):this._set[f]=_)},a.prototype.has=function(u){if(r)return this._set.has(u);var d=e.toSetString(u);return t.call(this._set,d)},a.prototype.indexOf=function(u){if(r){var d=this._set.get(u);if(d>=0)return d}else{var f=e.toSetString(u);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+u+'" is not in the set.')},a.prototype.at=function(u){if(u>=0&&uu||d==u&&g>=f||e.compareByGeneratedPositionsInflated(a,o)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(o,u){this._array.forEach(o,u)},r.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},mappingList.MappingList=r,mappingList}var hasRequiredSourceMapGenerator;function requireSourceMapGenerator(){if(hasRequiredSourceMapGenerator)return sourceMapGenerator;hasRequiredSourceMapGenerator=1;var e=requireBase64Vlq(),t=requireUtil(),r=requireArraySet().ArraySet,a=requireMappingList().MappingList;function o(u){u||(u={}),this._file=t.getArg(u,"file",null),this._sourceRoot=t.getArg(u,"sourceRoot",null),this._skipValidation=t.getArg(u,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new a,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(d){var f=d.sourceRoot,g=new o({file:d.file,sourceRoot:f});return d.eachMapping(function(_){var S={generated:{line:_.generatedLine,column:_.generatedColumn}};_.source!=null&&(S.source=_.source,f!=null&&(S.source=t.relative(f,S.source)),S.original={line:_.originalLine,column:_.originalColumn},_.name!=null&&(S.name=_.name)),g.addMapping(S)}),d.sources.forEach(function(_){var S=_;f!==null&&(S=t.relative(f,_)),g._sources.has(S)||g._sources.add(S);var E=d.sourceContentFor(_);E!=null&&g.setSourceContent(_,E)}),g},o.prototype.addMapping=function(d){var f=t.getArg(d,"generated"),g=t.getArg(d,"original",null),_=t.getArg(d,"source",null),S=t.getArg(d,"name",null);this._skipValidation||this._validateMapping(f,g,_,S),_!=null&&(_=String(_),this._sources.has(_)||this._sources.add(_)),S!=null&&(S=String(S),this._names.has(S)||this._names.add(S)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:g!=null&&g.line,originalColumn:g!=null&&g.column,source:_,name:S})},o.prototype.setSourceContent=function(d,f){var g=d;this._sourceRoot!=null&&(g=t.relative(this._sourceRoot,g)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(g)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(g)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(d,f,g){var _=f;if(f==null){if(d.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);_=d.file}var S=this._sourceRoot;S!=null&&(_=t.relative(S,_));var E=new r,v=new r;this._mappings.unsortedForEach(function(b){if(b.source===_&&b.originalLine!=null){var y=d.originalPositionFor({line:b.originalLine,column:b.originalColumn});y.source!=null&&(b.source=y.source,g!=null&&(b.source=t.join(g,b.source)),S!=null&&(b.source=t.relative(S,b.source)),b.originalLine=y.line,b.originalColumn=y.column,y.name!=null&&(b.name=y.name))}var T=b.source;T!=null&&!E.has(T)&&E.add(T);var C=b.name;C!=null&&!v.has(C)&&v.add(C)},this),this._sources=E,this._names=v,d.sources.forEach(function(b){var y=d.sourceContentFor(b);y!=null&&(g!=null&&(b=t.join(g,b)),S!=null&&(b=t.relative(S,b)),this.setSourceContent(b,y))},this)},o.prototype._validateMapping=function(d,f,g,_){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(d&&"line"in d&&"column"in d&&d.line>0&&d.column>=0&&!f&&!g&&!_)){if(d&&"line"in d&&"column"in d&&f&&"line"in f&&"column"in f&&d.line>0&&d.column>=0&&f.line>0&&f.column>=0&&g)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:d,source:g,original:f,name:_}))}},o.prototype._serializeMappings=function(){for(var d=0,f=1,g=0,_=0,S=0,E=0,v="",b,y,T,C,R=this._mappings.toArray(),A=0,O=R.length;A0){if(!t.compareByGeneratedPositionsInflated(y,R[A-1]))continue;b+=","}b+=e.encode(y.generatedColumn-d),d=y.generatedColumn,y.source!=null&&(C=this._sources.indexOf(y.source),b+=e.encode(C-E),E=C,b+=e.encode(y.originalLine-1-_),_=y.originalLine-1,b+=e.encode(y.originalColumn-g),g=y.originalColumn,y.name!=null&&(T=this._names.indexOf(y.name),b+=e.encode(T-S),S=T)),v+=b}return v},o.prototype._generateSourcesContent=function(d,f){return d.map(function(g){if(!this._sourcesContents)return null;f!=null&&(g=t.relative(f,g));var _=t.toSetString(g);return Object.prototype.hasOwnProperty.call(this._sourcesContents,_)?this._sourcesContents[_]:null},this)},o.prototype.toJSON=function(){var d={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(d.file=this._file),this._sourceRoot!=null&&(d.sourceRoot=this._sourceRoot),this._sourcesContents&&(d.sourcesContent=this._generateSourcesContent(d.sources,d.sourceRoot)),d},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},sourceMapGenerator.SourceMapGenerator=o,sourceMapGenerator}var sourceMapConsumer={},binarySearch={},hasRequiredBinarySearch;function requireBinarySearch(){return hasRequiredBinarySearch||(hasRequiredBinarySearch=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,a,o,u,d,f){var g=Math.floor((a-r)/2)+r,_=d(o,u[g],!0);return _===0?g:_>0?a-g>1?t(g,a,o,u,d,f):f==e.LEAST_UPPER_BOUND?a1?t(r,g,o,u,d,f):f==e.LEAST_UPPER_BOUND?g:r<0?-1:r}e.search=function(a,o,u,d){if(o.length===0)return-1;var f=t(-1,o.length,a,o,u,d||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&u(o[f],o[f-1],!0)===0;)--f;return f}}(binarySearch)),binarySearch}var quickSort={},hasRequiredQuickSort;function requireQuickSort(){if(hasRequiredQuickSort)return quickSort;hasRequiredQuickSort=1;function e(a,o,u){var d=a[o];a[o]=a[u],a[u]=d}function t(a,o){return Math.round(a+Math.random()*(o-a))}function r(a,o,u,d){if(u=0){var T=this._originalMappings[y];if(S.column===void 0)for(var C=T.originalLine;T&&T.originalLine===C;)b.push({line:e.getArg(T,"generatedLine",null),column:e.getArg(T,"generatedColumn",null),lastColumn:e.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y];else for(var R=T.originalColumn;T&&T.originalLine===E&&T.originalColumn==R;)b.push({line:e.getArg(T,"generatedLine",null),column:e.getArg(T,"generatedColumn",null),lastColumn:e.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y]}return b},sourceMapConsumer.SourceMapConsumer=u;function d(_,S){var E=_;typeof _=="string"&&(E=e.parseSourceMapInput(_));var v=e.getArg(E,"version"),b=e.getArg(E,"sources"),y=e.getArg(E,"names",[]),T=e.getArg(E,"sourceRoot",null),C=e.getArg(E,"sourcesContent",null),R=e.getArg(E,"mappings"),A=e.getArg(E,"file",null);if(v!=this._version)throw new Error("Unsupported version: "+v);T&&(T=e.normalize(T)),b=b.map(String).map(e.normalize).map(function(O){return T&&e.isAbsolute(T)&&e.isAbsolute(O)?e.relative(T,O):O}),this._names=r.fromArray(y.map(String),!0),this._sources=r.fromArray(b,!0),this._absoluteSources=this._sources.toArray().map(function(O){return e.computeSourceURL(T,O,S)}),this.sourceRoot=T,this.sourcesContent=C,this._mappings=R,this._sourceMapURL=S,this.file=A}d.prototype=Object.create(u.prototype),d.prototype.consumer=u,d.prototype._findSourceIndex=function(_){var S=_;if(this.sourceRoot!=null&&(S=e.relative(this.sourceRoot,S)),this._sources.has(S))return this._sources.indexOf(S);var E;for(E=0;E1&&(D.source=C+L[1],C+=L[1],D.originalLine=y+L[2],y=D.originalLine,D.originalLine+=1,D.originalColumn=T+L[3],T=D.originalColumn,L.length>4&&(D.name=R+L[4],R+=L[4])),k.push(D),typeof D.originalLine=="number"&&I.push(D)}o(k,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=k,o(I,e.compareByOriginalPositions),this.__originalMappings=I},d.prototype._findMapping=function(S,E,v,b,y,T){if(S[v]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+S[v]);if(S[b]<0)throw new TypeError("Column must be greater than or equal to 0, got "+S[b]);return t.search(S,E,y,T)},d.prototype.computeColumnSpans=function(){for(var S=0;S=0){var b=this._generatedMappings[v];if(b.generatedLine===E.generatedLine){var y=e.getArg(b,"source",null);y!==null&&(y=this._sources.at(y),y=e.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var T=e.getArg(b,"name",null);return T!==null&&(T=this._names.at(T)),{source:y,line:e.getArg(b,"originalLine",null),column:e.getArg(b,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(S){return S==null}):!1},d.prototype.sourceContentFor=function(S,E){if(!this.sourcesContent)return null;var v=this._findSourceIndex(S);if(v>=0)return this.sourcesContent[v];var b=S;this.sourceRoot!=null&&(b=e.relative(this.sourceRoot,b));var y;if(this.sourceRoot!=null&&(y=e.urlParse(this.sourceRoot))){var T=b.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!y.path||y.path=="/")&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}if(E)return null;throw new Error('"'+b+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(S){var E=e.getArg(S,"source");if(E=this._findSourceIndex(E),E<0)return{line:null,column:null,lastColumn:null};var v={source:E,originalLine:e.getArg(S,"line"),originalColumn:e.getArg(S,"column")},b=this._findMapping(v,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(S,"bias",u.GREATEST_LOWER_BOUND));if(b>=0){var y=this._originalMappings[b];if(y.source===v.source)return{line:e.getArg(y,"generatedLine",null),column:e.getArg(y,"generatedColumn",null),lastColumn:e.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},sourceMapConsumer.BasicSourceMapConsumer=d;function g(_,S){var E=_;typeof _=="string"&&(E=e.parseSourceMapInput(_));var v=e.getArg(E,"version"),b=e.getArg(E,"sections");if(v!=this._version)throw new Error("Unsupported version: "+v);this._sources=new r,this._names=new r;var y={line:-1,column:0};this._sections=b.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var C=e.getArg(T,"offset"),R=e.getArg(C,"line"),A=e.getArg(C,"column");if(R=0;g--)this.prepend(f[g]);else if(f[o]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},u.prototype.walk=function(f){for(var g,_=0,S=this.children.length;_0){for(g=[],_=0;_=6.0"},maintainers=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository={type:"git",url:"http://github.com/estools/escodegen.git"},dependencies={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies={"source-map":"~0.6.1"},devDependencies={acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license="BSD-2-Clause",scripts={test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"},require$$3={name,description,homepage,main,bin,files,version:version$1,engines,maintainers,repository,dependencies,optionalDependencies,devDependencies,license,scripts};(function(e){(function(){var t,r,a,o,u,d,f,g,_,S,E,v,b,y,T,C,R,A,O,x,N,I,k,D,P,L;u=estraverse,d=utils,t=u.Syntax;function F(M){return Ye.Expression.hasOwnProperty(M.type)}function B(M){return Ye.Statement.hasOwnProperty(M.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},a={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var V=1,U=2,W=4,K=8,G=16,Y=32,Q=64,Z=U|W,J=V|U,te=V|U|W,fe=V,ve=W,ue=V|W,ie=V,ee=V|Y,de=0,me=V|G,oe=V|K;function Ee(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` `,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function pe(M,H){var $="";for(H|=0;H>0;H>>>=1,M+=M)H&1&&($+=M);return $}function z(M){return/[\r\n]/g.test(M)}function j(M){var H=M.length;return H&&d.code.isLineTerminator(M.charCodeAt(H-1))}function ne(M,H){var $;for($ in H)H.hasOwnProperty($)&&(M[$]=H[$]);return M}function ae(M,H){var $,q;function X(_e){return typeof _e=="object"&&_e instanceof Object&&!(_e instanceof RegExp)}for($ in H)H.hasOwnProperty($)&&(q=H[$],X(q)?X(M[$])?ae(M[$],q):M[$]=ae({},q):M[$]=q);return M}function ce(M){var H,$,q,X,_e;if(M!==M)throw new Error("Numeric literal whose value is NaN");if(M<0||M===0&&1/M<0)throw new Error("Numeric literal whose value is negative");if(M===1/0)return _?"null":S?"1e400":"1e+400";if(H=""+M,!S||H.length<3)return H;for($=H.indexOf("."),!_&&H.charCodeAt(0)===48&&$===1&&($=0,H=H.slice(1)),q=H,H=H.replace("e+","e"),X=0,(_e=q.indexOf("e"))>0&&(X=+q.slice(_e+1),q=q.slice(0,_e)),$>=0&&(X-=q.length-$-1,q=+(q.slice(0,$)+q.slice($+1))+""),_e=0;q.charCodeAt(q.length+_e-1)===48;)--_e;return _e!==0&&(X-=_e,q=q.slice(0,_e)),X!==0&&(q+="e"+X),(q.length1e12&&Math.floor(M)===M&&(q="0x"+M.toString(16)).length255?"\\u"+"0000".slice($.length)+$:M===0&&!d.code.isDecimalDigit(H)?"\\0":M===11?"\\x0B":"\\x"+"00".slice($.length)+$)}function Se(M){if(M===92)return"\\\\";if(M===10)return"\\n";if(M===13)return"\\r";if(M===8232)return"\\u2028";if(M===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function ge(M){var H,$,q,X;for(X=v==="double"?'"':"'",H=0,$=M.length;H<$;++H)if(q=M.charCodeAt(H),q===39){X='"';break}else if(q===34){X="'";break}else q===92&&++H;return X+M+X}function Oe(M){var H="",$,q,X,_e=0,be=0,Ae,Pe;for($=0,q=M.length;$126))){H+=Ce(X,M.charCodeAt($+1));continue}H+=String.fromCharCode(X)}if(Ae=!(v==="double"||v==="auto"&&be<_e),Pe=Ae?"'":'"',!(Ae?_e:be))return Pe+H+Pe;for(M=H,H=Pe,$=0,q=M.length;$=0&&!d.code.isLineTerminator(M.charCodeAt(H));--H);return M.length-1-H}function Fe(M,H){var $,q,X,_e,be,Ae,Pe,Be;for($=M.split(/\r\n|[\r\n]/),Ae=Number.MAX_VALUE,q=1,X=$.length;qbe&&(Ae=be)}for(typeof H<"u"?(Pe=f,$[1][Ae]==="*"&&(H+=" "),f=H):(Ae&1&&--Ae,Pe=f),q=1,X=$.length;q0){if(_e=H,D){for(X=M.leadingComments[0],H=[],Be=X.extendedRange,ze=X.range,nt=k.substring(Be[0],ze[0]),Ze=(nt.match(/\n/g)||[]).length,Ze>0?(H.push(pe(` `,Ze)),H.push(Te(Ve(X)))):(H.push(nt),H.push(Ve(X))),Qe=ze,$=1,q=M.leadingComments.length;$0?(H.push(pe(` `,Ze)),H.push(Te(Ve(X)))):(H.push(nt),H.push(Ve(X)));else for(be=!j(Re(H).toString()),Ae=pe(" ",Me(Re([f,H,g]).toString())),$=0,q=M.trailingComments.length;$")),M.expression?(H.push(T),$=this.generateExpression(M.body,r.Assignment,te),$.toString().charAt(0)==="{"&&($=["(",$,")"]),H.push($)):H.push(this.maybeBlock(M.body,oe)),H},Ye.prototype.generateIterationForStatement=function(M,H,$){var q=["for"+(H.await?ke()+"await":"")+T+"("],X=this;return Ne(function(){H.left.type===t.VariableDeclaration?Ne(function(){q.push(H.left.kind+ke()),q.push(X.generateStatement(H.left.declarations[0],de))}):q.push(X.generateExpression(H.left,r.Call,te)),q=le(q,M),q=[le(q,X.generateExpression(H.right,r.Assignment,te)),")"]}),q.push(this.maybeBlock(H.body,$)),q},Ye.prototype.generatePropertyKey=function(M,H){var $=[];return H&&$.push("["),$.push(this.generateExpression(M,r.Assignment,te)),H&&$.push("]"),$},Ye.prototype.generateAssignment=function(M,H,$,q,X){return r.Assignment2&&(q=k.substring($[0]+1,$[1]-1),q[0]===` `&&(X=["{"]),X.push(q)));var be,Ae,Pe,Be;for(Be=ie,H&K&&(Be|=G),be=0,Ae=M.body.length;be0&&!M.body[be-1].trailingComments&&!M.body[be].leadingComments&&Ke(M.body[be-1].range[1],M.body[be].range[0],X)),be===Ae-1&&(Be|=Y),M.body[be].leadingComments&&D?Pe=_e.generateStatement(M.body[be],Be):Pe=Te(_e.generateStatement(M.body[be],Be)),X.push(Pe),j(Re(Pe).toString())||D&&be1?Ne(Pe):Pe(),$.push(this.semicolon(H)),$},ThrowStatement:function(M,H){return[le("throw",this.generateExpression(M.argument,r.Sequence,te)),this.semicolon(H)]},TryStatement:function(M,H){var $,q,X,_e;if($=["try",this.maybeBlock(M.block,ie)],$=this.maybeBlockSuffix(M.block,$),M.handlers)for(q=0,X=M.handlers.length;q0?` `:""],be=me,X=0;X<_e;++X)!A&&X===_e-1&&(be|=Y),D&&(X===0&&(M.body[0].leadingComments||Ke(M.range[0],M.body[X].range[0],$)),X>0&&!M.body[X-1].trailingComments&&!M.body[X].leadingComments&&Ke(M.body[X-1].range[1],M.body[X].range[0],$)),q=Te(this.generateStatement(M.body[X],be)),$.push(q),X+1<_e&&!j(Re(q).toString())&&(D&&M.body[X+1].leadingComments||$.push(y)),D&&X===_e-1&&(M.body[X].trailingComments||Ke(M.body[X].range[1],M.range[1],$));return $},FunctionDeclaration:function(M,H){return[Je(M,!0),"function",it(M)||ke(),M.id?Ue(M.id):"",this.generateFunctionBody(M)]},ReturnStatement:function(M,H){return M.argument?[le("return",this.generateExpression(M.argument,r.Sequence,te)),this.semicolon(H)]:["return"+this.semicolon(H)]},WhileStatement:function(M,H){var $,q=this;return Ne(function(){$=["while"+T+"(",q.generateExpression(M.test,r.Sequence,te),")"]}),$.push(this.maybeBlock(M.body,H&Y?ee:ie)),$},WithStatement:function(M,H){var $,q=this;return Ne(function(){$=["with"+T+"(",q.generateExpression(M.object,r.Sequence,te),")"]}),$.push(this.maybeBlock(M.body,H&Y?ee:ie)),$}},ne(Ye.prototype,Ye.Statement),Ye.Expression={SequenceExpression:function(M,H,$){var q,X,_e;for(r.Sequence0){for(q.push("("),_e=0,be=X;_e=2&&X.charCodeAt(0)===48)&&q.push(" ")),q.push(M.optional?"?.":"."),q.push(Ue(M.property))),qe(q,r.Member,H)},MetaProperty:function(M,H,$){var q;return q=[],q.push(typeof M.meta=="string"?M.meta:Ue(M.meta)),q.push("."),q.push(typeof M.property=="string"?M.property:Ue(M.property)),qe(q,r.Member,H)},UnaryExpression:function(M,H,$){var q,X,_e,be,Ae;return X=this.generateExpression(M.argument,r.Unary,te),T===""?q=le(M.operator,X):(q=[M.operator],M.operator.length>2?q=le(q,X):(be=Re(q).toString(),Ae=be.charCodeAt(be.length-1),_e=X.toString().charCodeAt(0),((Ae===43||Ae===45)&&Ae===_e||d.code.isIdentifierPartES5(Ae)&&d.code.isIdentifierPartES5(_e))&&q.push(ke()),q.push(X))),qe(q,r.Unary,H)},YieldExpression:function(M,H,$){var q;return M.delegate?q="yield*":q="yield",M.argument&&(q=le(q,this.generateExpression(M.argument,r.Yield,te))),qe(q,r.Yield,H)},AwaitExpression:function(M,H,$){var q=le(M.all?"await*":"await",this.generateExpression(M.argument,r.Await,te));return qe(q,r.Await,H)},UpdateExpression:function(M,H,$){return M.prefix?qe([M.operator,this.generateExpression(M.argument,r.Unary,te)],r.Unary,H):qe([this.generateExpression(M.argument,r.Postfix,te),M.operator],r.Postfix,H)},FunctionExpression:function(M,H,$){var q=[Je(M,!0),"function"];return M.id?(q.push(it(M)||ke()),q.push(Ue(M.id))):q.push(it(M)||T),q.push(this.generateFunctionBody(M)),q},ArrayPattern:function(M,H,$){return this.ArrayExpression(M,H,$,!0)},ArrayExpression:function(M,H,$,q){var X,_e,be=this;return M.elements.length?(_e=q?!1:M.elements.length>1,X=["[",_e?y:""],Ne(function(Ae){var Pe,Be;for(Pe=0,Be=M.elements.length;Pe1,Ne(function(){_e=be.generateExpression(M.properties[0],r.Sequence,te)}),!q&&!z(Re(_e).toString())?["{",T,_e,T,"}"]:(Ne(function(Ae){var Pe,Be;if(X=["{",y,Ae,_e],q)for(X.push(","+y),Pe=1,Be=M.properties.length;Pe0||x.moz.comprehensionExpressionStartsWithAssignment?q=le(q,be):q.push(be)}),M.filter&&(q=le(q,"if"+T),be=this.generateExpression(M.filter,r.Sequence,te),q=le(q,["(",be,")"])),x.moz.comprehensionExpressionStartsWithAssignment||(be=this.generateExpression(M.body,r.Assignment,te),q=le(q,be)),q.push(M.type===t.GeneratorExpression?")":"]"),q},ComprehensionBlock:function(M,H,$){var q;return M.left.type===t.VariableDeclaration?q=[M.left.kind,ke(),this.generateStatement(M.left.declarations[0],de)]:q=this.generateExpression(M.left,r.Call,te),q=le(q,M.of?"of":"in"),q=le(q,this.generateExpression(M.right,r.Sequence,te)),["for"+T+"(",q,")"]},SpreadElement:function(M,H,$){return["...",this.generateExpression(M.argument,r.Assignment,te)]},TaggedTemplateExpression:function(M,H,$){var q=J;$&U||(q=fe);var X=[this.generateExpression(M.tag,r.Call,q),this.generateExpression(M.quasi,r.Primary,ve)];return qe(X,r.TaggedTemplate,H)},TemplateElement:function(M,H,$){return M.value.raw},TemplateLiteral:function(M,H,$){var q,X,_e;for(q=["`"],X=0,_e=M.quasis.length;X<_e;++X)q.push(this.generateExpression(M.quasis[X],r.Primary,te)),X+1<_e&&(q.push("${"+T),q.push(this.generateExpression(M.expressions[X],r.Sequence,te)),q.push(T+"}"));return q.push("`"),q},ModuleSpecifier:function(M,H,$){return this.Literal(M,H,$)},ImportExpression:function(M,H,$){return qe(["import(",this.generateExpression(M.source,r.Assignment,te),")"],r.Call,H)}},ne(Ye.prototype,Ye.Expression),Ye.prototype.generateExpression=function(M,H,$){var q,X;return X=M.type||t.Property,x.verbatim&&M.hasOwnProperty(x.verbatim)?Xe(M,H):(q=this[X](M,H,$),x.comment&&(q=$e(M,q)),Re(q,M))},Ye.prototype.generateStatement=function(M,H){var $,q;return $=this[M.type](M,H),x.comment&&($=$e(M,$)),q=Re($).toString(),M.type===t.Program&&!A&&y===""&&q.charAt(q.length-1)===` `&&($=I?Re($).replaceRight(/\s+$/,""):q.replace(/\s+$/,"")),Re($,M)};function at(M){var H;if(H=new Ye,B(M))return H.generateStatement(M,ie);if(F(M))return H.generateExpression(M,r.Sequence,te);throw new Error("Unknown node type: "+M.type)}function ct(M,H){var $=Ee(),q,X;return H!=null?(typeof H.indent=="string"&&($.format.indent.style=H.indent),typeof H.base=="number"&&($.format.indent.base=H.base),H=ae($,H),g=H.format.indent.style,typeof H.base=="string"?f=H.base:f=pe(g,H.format.indent.base)):(H=$,g=H.format.indent.style,f=pe(g,H.format.indent.base)),_=H.format.json,S=H.format.renumber,E=_?!1:H.format.hexadecimal,v=_?"double":H.format.quotes,b=H.format.escapeless,y=H.format.newline,T=H.format.space,H.format.compact&&(y=T=g=f=""),C=H.format.parentheses,R=H.format.semicolons,A=H.format.safeConcatenation,O=H.directive,N=_?null:H.parse,I=H.sourceMap,k=H.sourceCode,D=H.format.preserveBlankLines&&k!==null,x=H,I&&(e.browser?o=commonjsGlobal.sourceMap.SourceNode:o=requireSourceMap().SourceNode),q=at(M),I?(X=q.toStringWithSourceMap({file:H.file,sourceRoot:H.sourceMapRoot}),H.sourceContent&&X.map.setSourceContent(H.sourceMap,H.sourceContent),H.sourceMapWithCode?X:X.map.toString()):(X={code:q.toString(),map:null},H.sourceMapWithCode?X:X.code)}P={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},L=Ee().format,e.version=require$$3.version,e.generate=ct,e.attachComments=u.attachComments,e.Precedence=ae({},r),e.browser=!1,e.FORMAT_MINIFY=P,e.FORMAT_DEFAULTS=L})()})(escodegen$1);const escodegen=getDefaultExportFromCjs(escodegen$1);function processProperty(e,t){switch(t.type){case"Literal":return t.value;case"FunctionExpression":return t.id||(t.id={type:"Identifier",name:e}),escodegen.generate(t);case"ArrayExpression":return escodegen.generate(t);case"ObjectExpression":return escodegen.generate(t);default:return escodegen.generate(t)}}function parseSFC(js){const options={ecmaVersion:"latest",sourceType:"module",locations:!1},tree=parse$2(js,options);if(tree.type==="Program"&&tree.body.length===1&&tree.body[0].type==="ExportDefaultDeclaration"){const declaration=tree.body[0].declaration;if(declaration.type==="ObjectExpression"){const component={};return declaration.properties.forEach(block=>{if(block.type==="Property"){const key=block.key.name;if(key==="name")component.name=processProperty(key,block.value);else if(key==="props")console.warn('"props" not supported in a ui-template Vue Component');else if(key==="data")eval("component.data = "+processProperty(key,block.value));else if(key==="computed"){const c=block.value;if(c.type==="ObjectExpression"){const computed={};c.properties.forEach(computedVar=>{eval("computed[computedVar.key.name] = "+processProperty(computedVar.key.name,computedVar.value))}),component.computed=computed}else console.warn('"methods" must be an object expression')}else if(key==="methods"){const m=block.value;if(m.type==="ObjectExpression"){const methods={};m.properties.forEach(method=>{eval("methods[method.key.name] = "+processProperty(method.key.name,method.value))}),component.methods=methods}else console.warn('"methods" must be an object expression')}else if(key==="watch"){const w=block.value;if(w.type==="ObjectExpression"){const watch={};w.properties.forEach(watchVar=>{eval("watch[watchVar.key.name] = "+processProperty(watchVar.key.name,watchVar.value))}),component.watch=watch}else console.warn('"methods" must be an object expression')}else key==="mounted"?eval("component.mounted = "+processProperty(key,block.value)):key==="unmounted"?eval("component.unmounted = "+processProperty(key,block.value)):console.warn(`"${key}" not supported in a ui-template Vue Component`)}}),component}else throw Error("Vue SFC must default export an object expression")}if(tree.type==="Program"&&tree.body.length>0){const e={};return e.js="",tree.body.forEach(t=>{e.js+=processProperty("",t)}),e}else throw Error("Vue SFC must default export an object expression")}const VueParser={parse:parseSFC},_sfc_main$3={name:"DBUITemplate",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})}},setup(props){const parser=new DOMParser,htmlDoc=parser.parseFromString(props.props.format,"text/html"),templates=htmlDoc.getElementsByTagName("template"),template=templates.length?templates[0]:props.props.format;let head;const styles=htmlDoc.getElementsByTagName("style");if(styles.length)for(let e=0;eh({props:["id","props"],inject:["$socket","$dataTracker"],errorCaptured:(e,t,r)=>(console.error("errorCaptured",e,t,r),!1),head(){let e=this.props||props;e.props&&(e=e.props);const t={};if(!e||["local","widget:page","widget:ui"].includes(e.templateScope))if(head)Array.isArray(head)&&head.length>0&&head.forEach(r=>{r.data&&(t[r.type]=t[r.type]||[],r.data["data-template-name"]=e.name,r.data["data-template-scope"]=e.templateScope,r.data["data-template-id"]=this.id,e.innerHTML&&(r.data.innerHTML=e.innerHTML),t[r.type].push(r.data))});else return{};return e.format&&(e.templateScope==="page:style"||e.templateScope==="site:style")&&(t.style=[{innerHTML:e.format,"data-template-name":e.name,"data-template-scope":e.templateScope,"data-template-id":this.id}]),t},template:["local","widget:page","widget:ui"].includes(props.props.templateScope)?template:void 0,watch:{...component==null?void 0:component.watch},computed:{...mapState("data",["messages"]),...mapState("setup",["setup"]),msg(){return this.messages[this.id]||{}},value:{get(){var e;return(e=this.messages[this.id])==null?void 0:e.payload},set(e){if(this.value===e)return;const t=this.messages[this.id]||{};t.payload=e,this.messages[this.id]=t}},...component==null?void 0:component.computed},methods:{send(e){e&&this.$parent.send(this,e)},submit(e){this.$parent.submit(this,e)},...component==null?void 0:component.methods},created(){this.$dataTracker(props.id)},mounted(){component!=null&&component.js&&eval(component.js),component!=null&&component.mounted&&component.mounted.call(this)},unmounted(){this.$socket.off(`msg-input:${this.id}`),component!=null&&component.unmounted&&component.unmounted.call(this)},data:component?component.data:null},{id:props.id,props:props.props})},errorCaptured:(e,t,r)=>(console.error("errorCaptured",e,t,r),!1),methods:{send(e,t){typeof t!="object"&&(t={payload:t}),t._dashboard=t._dashboard||{},t._dashboard.sourceId=e.id,t._dashboard.templateId=this.id,this.$socket.emit("widget-send",this.id,t)},submit(e,t){const r=new FormData(t.target),a={topic:t.type,payload:Object.fromEntries(r.entries())};a._dashboard=a._dashboard||{},a._dashboard.sourceId=e.id,a._dashboard.templateId=this.id,this.$socket.emit("widget-action",this.id,a)}}},_sfc_main$2={name:"DBUIText",inject:["$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},computed:{...mapState("data",["messages","properties"]),value:function(){const e=this.messages[this.id]||{};return Object.prototype.hasOwnProperty.call(e,"payload")?e.payload:""},label(){return this.getProperty("label")},layout(){return this.getProperty("layout")},style(){return this.props.style?{"font-family":this.getProperty("font"),"font-size":`${this.getProperty("fontSize")}px`,color:this.getProperty("color")}:null}},created(){this.$dataTracker(this.id,null,null,this.onDynamicProperties)},methods:{onDynamicProperties(e){const t=e.ui_update;t&&(this.updateDynamicProperty("label",t.label),this.updateDynamicProperty("layout",t.layout),this.updateDynamicProperty("font",t.font),this.updateDynamicProperty("fontSize",t.fontSize),this.updateDynamicProperty("color",t.color))}}},_hoisted_1$1={class:"nrdb-ui-text-label"},_hoisted_2$1=["innerHTML"];function _sfc_render$2(e,t,r,a,o,u){return openBlock(),createElementBlock("div",{class:normalizeClass(["nrdb-ui-text","nrdb-ui-text--"+u.layout]),style:normalizeStyle(u.style)},[createBaseVNode("label",_hoisted_1$1,toDisplayString(u.label),1),createBaseVNode("span",{class:"nrdb-ui-text-value",innerHTML:u.value},null,8,_hoisted_2$1)],6)}const UIText=_export_sfc(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-6ceb522b"]]),_sfc_main$1={name:"DBUITextInput",inject:["$socket","$dataTracker"],props:{id:{type:String,required:!0},props:{type:Object,default:()=>({})},state:{type:Object,default:()=>({})}},data(){return{delayTimer:null,textValue:null}},computed:{...mapState("data",["messages"]),label:function(){return this.props.label},type:function(){return this.props.mode||"text"},tooltip:function(){return this.props.tooltip},clearable:function(){return this.props.clearable},prependIcon(){var r;const e=(r=this.props)==null?void 0:r.icon;if(!e)return;const t=this.makeMdiIcon(e);return e&&this.props.iconPosition==="left"&&this.props.iconInnerPosition==="outside"?t:void 0},appendIcon(){var r;const e=(r=this.props)==null?void 0:r.icon;if(!e)return;const t=this.makeMdiIcon(e);return e&&this.props.iconPosition==="right"&&this.props.iconInnerPosition==="outside"?t:void 0},prependInnerIcon(){var r;const e=(r=this.props)==null?void 0:r.icon;if(!e)return;const t=this.makeMdiIcon(e);return e&&this.props.iconPosition==="left"&&this.props.iconInnerPosition==="inside"?t:void 0},appendInnerIcon(){var r;const e=(r=this.props)==null?void 0:r.icon;if(!e)return;const t=this.makeMdiIcon(e);return e&&this.props.iconPosition==="right"&&this.props.iconInnerPosition==="inside"?t:void 0},value:{get(){return this.textValue},set(e){if(this.value===e)return;const t=this.messages[this.id]||{};this.textValue=e,t.payload=e,this.messages[this.id]=t}},validation:function(){return this.type==="email"?[e=>!e||/^[^\s@]+@[^\s@]+$/.test(e)||"E-mail must be valid"]:[]}},created(){this.$dataTracker(this.id,this.onInput,this.onLoad,null)},methods:{onInput(e){this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(this.textValue=e.payload)},onLoad(e){e&&(this.$store.commit("data/bind",{widgetId:this.id,msg:e}),e.payload!==void 0&&(this.textValue=e.payload))},send:function(){this.$socket.emit("widget-change",this.id,this.value)},onChange:function(){this.props.sendOnDelay&&(this.delayTimer&&clearTimeout(this.delayTimer),this.delayTimer=setTimeout(this.send,this.props.delay))},onBlur:function(){this.props.sendOnBlur&&this.send()},onEnter:function(){this.props.sendOnEnter&&this.send()},onClear:function(){this.props.sendOnClear&&this.send()},makeMdiIcon(e){return"mdi-"+e.replace(/^mdi-/,"")}}};function _sfc_render$1(e,t,r,a,o,u){var _;const d=resolveComponent("v-text-field"),f=resolveComponent("v-textarea"),g=resolveComponent("v-tooltip");return openBlock(),createBlock(g,{text:u.tooltip,disabled:!((_=u.tooltip)!=null&&_.length),location:"bottom"},{activator:withCtx(({props:S})=>[u.type!=="textarea"?(openBlock(),createBlock(d,mergeProps({key:0,modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=E=>u.value=E)},S,{disabled:!r.state.enabled,class:"nrdb-ui-text-field",label:u.label,type:u.type,rules:u.validation,clearable:u.clearable,variant:"outlined","hide-details":"auto","prepend-icon":u.prependIcon,"append-icon":u.appendIcon,"append-inner-icon":u.appendInnerIcon,"prepend-inner-icon":u.prependInnerIcon,"onUpdate:modelValue":u.onChange,onKeyup:withKeys(u.onEnter,["enter"]),onBlur:u.onBlur,"onClick:clear":u.onClear}),null,16,["modelValue","disabled","label","type","rules","clearable","prepend-icon","append-icon","append-inner-icon","prepend-inner-icon","onUpdate:modelValue","onKeyup","onBlur","onClick:clear"])):(openBlock(),createBlock(f,mergeProps({key:1},S,{modelValue:u.value,"onUpdate:modelValue":[t[1]||(t[1]=E=>u.value=E),u.onChange],disabled:!r.state.enabled,class:"nrdb-ui-text-field",label:u.label,"prepend-icon":u.prependIcon,"append-icon":u.appendIcon,"append-inner-icon":u.appendInnerIcon,"prepend-inner-icon":u.prependInnerIcon,clearable:u.clearable,variant:"outlined","hide-details":"auto",onBlur:u.send,"onClick:clear":u.onClear}),null,16,["modelValue","disabled","label","prepend-icon","append-icon","append-inner-icon","prepend-inner-icon","clearable","onUpdate:modelValue","onBlur","onClick:clear"]))]),_:1},8,["text","disabled"])}const UITextInput=_export_sfc(_sfc_main$1,[["render",_sfc_render$1]]);function useDataTracker(e,t,r,a){if(!e)throw new Error("widgetId is required");const o=useStore(),u=inject$1("$socket");function d(f){var g;if("enabled"in f&&o.commit("ui/widgetState",{widgetId:e,config:{enabled:f.enabled}}),"visible"in f&&o.commit("ui/widgetState",{widgetId:e,config:{visible:f.visible}}),"class"in f||"ui_update"in f&&"class"in f.ui_update){const _=f.class||((g=f.ui_update)==null?void 0:g.class);o.commit("ui/widgetState",{widgetId:e,config:{class:_}})}a&&a(f)}onMounted(()=>{u&&e&&(u.on("widget-load:"+e,(f,g)=>{g&&o.commit("ui/widgetState",{widgetId:e,config:g}),r?r(f):f&&o.commit("data/bind",{widgetId:e,msg:f})}),u.on("msg-input:"+e,f=>{d(f),t?t(f):o.commit("data/bind",{widgetId:e,msg:f})}),u.emit("widget-load",e))}),onUnmounted(()=>{u==null||u.off("msg-input:"+e)})}const widgetComponents={"ui-button":UIButton,"ui-button-group":UIButtonGroup,"ui-chart":UIChart,"ui-control":_sfc_main$l,"ui-dropdown":UIDropdown,"ui-event":_sfc_main$j,"ui-file-input":UIFileInput,"ui-form":UIForm,"ui-gauge":UIGauge,"ui-markdown":UIMarkdown,"ui-notification":UINotification,"ui-number-input":UINumberInput,"ui-radio-group":UIRadioGroup,"ui-slider":UISlider,"ui-switch":UISwitch,"ui-table":UITable,"ui-template":_sfc_main$3,"ui-text-input":UITextInput,"ui-text":UIText},_imports_0=""+new URL("logo-DIAzbBuw.png",import.meta.url).href,_sfc_main={name:"App",components:{DashboardLoading,PWABadge},inject:["$socket"],data(){return{loading:!0}},computed:{...mapState("ui",["dashboards","pages","widgets"]),...mapState("setup",["setup"]),status:function(){if(this.dashboards){const e=Object.keys(this.dashboards);if(!e||e.length===0)return{type:"info",msg:"Please add some Dashboard 2.0 nodes to your flow and re-deploy."};if(e.length>1)return{type:"warning",msg:'We currently do not support multiple ui-base nodes in a single flow.

    Please remove all but one (in the "config" menu on the right-side of Node-RED) and re-deploy.

    '};{const t=Object.values(this.pages);let r=null;for(let a=0;aui-page that is mapped to a ui-base that we can't find. We currently do not support multiple ui-base nodes in a single flow, so can only import one at a time.

    Please remove all but one (in the "config" menu on the right-side of Node-RED) and re-deploy.

    `};break}}if(r)return r}if(this.pages){const t={},r={};if(Object.values(this.pages).forEach(a=>{const o=this.dashboards[a.ui].path+a.path;t[o]?(r[o]||(r[o]={pages:[t[o]],route:o}),r[o].pages.push(a)):t[o]=a}),Object.keys(r).length>0){let a="Warning: You have multiple pages configured with the same URL.",o='
    ';return Object.values(r).forEach(u=>{u.pages.forEach(d=>{o+=`
    ${d.name} (path: ${d.path})
    `})}),o+="
    ",a+=o,{type:"warning",msg:a}}}return null}else return{type:"info",msg:"Please add and configure your first Dashboard 2.0 node to get started."}}},created(){this.$socket.on("ui-config",(e,t)=>{var r;if(this.loading=!1,console.log("ui-config received. topic:",e,"payload:",t),Object.values(t.dashboards).forEach(a=>{var u;a.path=this.setup.basePath;const o=(a.path+"/_debug").replace(/\/\//g,"/");(u=this.$router)==null||u.addRoute({path:o,name:`${a.id}_debug`,component:DebugView,meta:{dashboard:a.id}})}),Object.values(t.pages).forEach(a=>{var o;if(t.dashboards[a.ui]){const u=(this.setup.basePath+a.path).replace(/\/\//g,"/"),d="Page:"+a.name;(o=this.$router)==null||o.addRoute({path:u,name:d,component:layouts$1[a.layout],meta:{title:a.name,id:a.id,dashboard:a.ui}}),a.route={path:u,name:d}}}),t.pages&&Object.values(t.pages).length>0){const a=Object.values(t.pages).sort((o,u)=>o.order-u.order)[0];(r=this.$router)==null||r.addRoute({path:"/:pathMatch(.*)*",redirect:t.dashboards[a.ui].path+a.path})}this.$router.push(this.$route.fullPath),Object.keys(t.widgets).forEach(a=>{const o=t.widgets[a];if(o.component=markRaw(widgetComponents[o.type]||widgetComponents["ui-template"]),widgetComponents[o.type])o.component=markRaw(widgetComponents[o.type]);else if(o.src){const u=`${o.src.package}/${o.src.src}`;o.component=markRaw(importExternalComponent(u,o.src.name,o.src.component))}else console.warn("No Vue component found for ",o.type," - falling back to ui-template"),o.component=markRaw(widgetComponents["ui-template"])}),this.$store.commit("ui/dashboards",t.dashboards),this.$store.commit("ui/pages",t.pages),this.$store.commit("ui/groups",t.groups),this.$store.commit("ui/widgets",t.widgets),this.$store.commit("ui/themes",t.themes)})},methods:{send:function(){this.$socket.emit("widget-action","","hello world")},go:function(e){this.$router.push({name:e})}}},_hoisted_1={key:0,class:"nrdb-splash-loading"},_hoisted_2={key:2,class:"nrdb-placeholder-container"},_hoisted_3={class:"nrdb-placeholder"},_hoisted_4=createBaseVNode("img",{src:_imports_0},null,-1),_hoisted_5=createBaseVNode("h1",null,"Node-RED Dashboard 2.0",-1),_hoisted_6=["innerHTML"];function _sfc_render(e,t,r,a,o,u){const d=resolveComponent("DashboardLoading"),f=resolveComponent("router-view"),g=resolveComponent("PWABadge"),_=resolveComponent("v-app");return openBlock(),createBlock(_,null,{default:withCtx(()=>[o.loading?(openBlock(),createElementBlock("div",_hoisted_1,[createVNode(d),createTextVNode(" Loading... ")])):u.status?(openBlock(),createElementBlock("div",_hoisted_2,[createBaseVNode("div",_hoisted_3,[_hoisted_4,_hoisted_5,createBaseVNode("p",{class:normalizeClass("status-"+u.status.type),innerHTML:u.status.msg},null,10,_hoisted_6)])])):(openBlock(),createBlock(f,{key:1})),createVNode(g)]),_:1})}const App=_export_sfc(_sfc_main,[["render",_sfc_render]]),PACKET_TYPES=Object.create(null);PACKET_TYPES.open="0";PACKET_TYPES.close="1";PACKET_TYPES.ping="2";PACKET_TYPES.pong="3";PACKET_TYPES.message="4";PACKET_TYPES.upgrade="5";PACKET_TYPES.noop="6";const PACKET_TYPES_REVERSE=Object.create(null);Object.keys(PACKET_TYPES).forEach(e=>{PACKET_TYPES_REVERSE[PACKET_TYPES[e]]=e});const ERROR_PACKET={type:"error",data:"parser error"},withNativeBlob$1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",withNativeArrayBuffer$2=typeof ArrayBuffer=="function",isView$1=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,encodePacket=({type:e,data:t},r,a)=>withNativeBlob$1&&t instanceof Blob?r?a(t):encodeBlobAsBase64(t,a):withNativeArrayBuffer$2&&(t instanceof ArrayBuffer||isView$1(t))?r?a(t):encodeBlobAsBase64(new Blob([t]),a):a(PACKET_TYPES[e]+(t||"")),encodeBlobAsBase64=(e,t)=>{const r=new FileReader;return r.onload=function(){const a=r.result.split(",")[1];t("b"+(a||""))},r.readAsDataURL(e)};function toArray(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let TEXT_ENCODER;function encodePacketToBinary(e,t){if(withNativeBlob$1&&e.data instanceof Blob)return e.data.arrayBuffer().then(toArray).then(t);if(withNativeArrayBuffer$2&&(e.data instanceof ArrayBuffer||isView$1(e.data)))return t(toArray(e.data));encodePacket(e,!1,r=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder),t(TEXT_ENCODER.encode(r))})}const chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,r=e.length,a,o=0,u,d,f,g;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const _=new ArrayBuffer(t),S=new Uint8Array(_);for(a=0;a>4,S[o++]=(d&15)<<4|f>>2,S[o++]=(f&3)<<6|g&63;return _},withNativeArrayBuffer$1=typeof ArrayBuffer=="function",decodePacket=(e,t)=>{if(typeof e!="string")return{type:"message",data:mapBinary(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:decodeBase64Packet(e.substring(1),t)}:PACKET_TYPES_REVERSE[r]?e.length>1?{type:PACKET_TYPES_REVERSE[r],data:e.substring(1)}:{type:PACKET_TYPES_REVERSE[r]}:ERROR_PACKET},decodeBase64Packet=(e,t)=>{if(withNativeArrayBuffer$1){const r=decode$2(e);return mapBinary(r,t)}else return{base64:!0,data:e}},mapBinary=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},SEPARATOR="",encodePayload=(e,t)=>{const r=e.length,a=new Array(r);let o=0;e.forEach((u,d)=>{encodePacket(u,!1,f=>{a[d]=f,++o===r&&t(a.join(SEPARATOR))})})},decodePayload=(e,t)=>{const r=e.split(SEPARATOR),a=[];for(let o=0;o{const a=r.length;let o;if(a<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,a);else if(a<65536){o=new Uint8Array(3);const u=new DataView(o.buffer);u.setUint8(0,126),u.setUint16(1,a)}else{o=new Uint8Array(9);const u=new DataView(o.buffer);u.setUint8(0,127),u.setBigUint64(1,BigInt(a))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(r)})}})}let TEXT_DECODER;function totalLength(e){return e.reduce((t,r)=>t+r.length,0)}function concatChunks(e,t){if(e[0].length===t)return e.shift();const r=new Uint8Array(t);let a=0;for(let o=0;oMath.pow(2,21)-1){f.enqueue(ERROR_PACKET);break}o=S*Math.pow(2,32)+_.getUint32(4),a=3}else{if(totalLength(r)e){f.enqueue(ERROR_PACKET);break}}}})}const protocol$1=4;function Emitter(e){if(e)return mixin(e)}function mixin(e){for(var t in Emitter.prototype)e[t]=Emitter.prototype[t];return e}Emitter.prototype.on=Emitter.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Emitter.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var a,o=0;o(e.hasOwnProperty(a)&&(r[a]=e[a]),r),{})}const NATIVE_SET_TIMEOUT=globalThisShim.setTimeout,NATIVE_CLEAR_TIMEOUT=globalThisShim.clearTimeout;function installTimerFunctions(e,t){t.useNativeTimers?(e.setTimeoutFn=NATIVE_SET_TIMEOUT.bind(globalThisShim),e.clearTimeoutFn=NATIVE_CLEAR_TIMEOUT.bind(globalThisShim)):(e.setTimeoutFn=globalThisShim.setTimeout.bind(globalThisShim),e.clearTimeoutFn=globalThisShim.clearTimeout.bind(globalThisShim))}const BASE64_OVERHEAD=1.33;function byteLength(e){return typeof e=="string"?utf8Length(e):Math.ceil((e.byteLength||e.size)*BASE64_OVERHEAD)}function utf8Length(e){let t=0,r=0;for(let a=0,o=e.length;a=57344?r+=3:(a++,r+=4);return r}function encode$1(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function decode$1(e){let t={},r=e.split("&");for(let a=0,o=r.length;a0);return t}function yeast(){const e=encode(+new Date);return e!==prev?(seed=0,prev=e):e+"."+encode(seed++)}for(;i{this.readyState="paused",t()};if(this.polling||!this.writable){let a=0;this.polling&&(a++,this.once("pollComplete",function(){--a||r()})),this.writable||(a++,this.once("drain",function(){--a||r()}))}else r()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const r=a=>{if(this.readyState==="opening"&&a.type==="open"&&this.onOpen(),a.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(a)};decodePayload(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,encodePayload(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=yeast()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(t,r)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Request(this.uri(),t)}doWrite(t,r){const a=this.request({method:"POST",data:t});a.on("success",r),a.on("error",(o,u)=>{this.onError("xhr post error",o,u)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(r,a)=>{this.onError("xhr poll error",r,a)}),this.pollXhr=t}}class Request extends Emitter{constructor(t,r){super(),installTimerFunctions(this,r),this.opts=r,this.method=r.method||"GET",this.uri=t,this.data=r.data!==void 0?r.data:null,this.create()}create(){var t;const r=pick(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this.opts.xd;const a=this.xhr=new XHR(r);try{a.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){a.setDisableHeaderCheck&&a.setDisableHeaderCheck(!0);for(let o in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&a.setRequestHeader(o,this.opts.extraHeaders[o])}}catch{}if(this.method==="POST")try{a.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{a.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(a),"withCredentials"in a&&(a.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(a.timeout=this.opts.requestTimeout),a.onreadystatechange=()=>{var o;a.readyState===3&&((o=this.opts.cookieJar)===null||o===void 0||o.parseCookies(a)),a.readyState===4&&(a.status===200||a.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof a.status=="number"?a.status:0)},0))},a.send(this.data)}catch(o){this.setTimeoutFn(()=>{this.onError(o)},0);return}typeof document<"u"&&(this.index=Request.requestsCount++,Request.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=empty,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Request.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Request.requestsCount=0;Request.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",unloadHandler);else if(typeof addEventListener=="function"){const e="onpagehide"in globalThisShim?"pagehide":"unload";addEventListener(e,unloadHandler,!1)}}function unloadHandler(){for(let e in Request.requests)Request.requests.hasOwnProperty(e)&&Request.requests[e].abort()}const nextTick=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0),WebSocket=globalThisShim.WebSocket||globalThisShim.MozWebSocket,usingBrowserWebSocket=!0,defaultBinaryType="arraybuffer",isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class WS extends Transport{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),r=this.opts.protocols,a=isReactNative?{}:pick(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(a.headers=this.opts.extraHeaders);try{this.ws=usingBrowserWebSocket&&!isReactNative?r?new WebSocket(t,r):new WebSocket(t):new WebSocket(t,r,a)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r{const d={};try{usingBrowserWebSocket&&this.ws.send(u)}catch{}o&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=yeast()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}check(){return!!WebSocket}}class WT extends Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const r=createPacketDecoderStream(Number.MAX_SAFE_INTEGER,this.socket.binaryType),a=t.readable.pipeThrough(r).getReader(),o=createPacketEncoderStream();o.readable.pipeTo(t.writable),this.writer=o.writable.getWriter();const u=()=>{a.read().then(({done:f,value:g})=>{f||(this.onPacket(g),u())}).catch(f=>{})};u();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this.writer.write(d).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let r=0;r{o&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const transports={websocket:WS,webtransport:WT,polling:Polling},re=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function parse$1(e){if(e.length>2e3)throw"URI too long";const t=e,r=e.indexOf("["),a=e.indexOf("]");r!=-1&&a!=-1&&(e=e.substring(0,r)+e.substring(r,a).replace(/:/g,";")+e.substring(a,e.length));let o=re.exec(e||""),u={},d=14;for(;d--;)u[parts[d]]=o[d]||"";return r!=-1&&a!=-1&&(u.source=t,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=pathNames(u,u.path),u.queryKey=queryKey(u,u.query),u}function pathNames(e,t){const r=/\/{2,9}/g,a=t.replace(r,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&a.splice(0,1),t.slice(-1)=="/"&&a.splice(a.length-1,1),a}function queryKey(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(a,o,u){o&&(r[o]=u)}),r}let Socket$1=class lt extends Emitter{constructor(t,r={}){super(),this.binaryType=defaultBinaryType,this.writeBuffer=[],t&&typeof t=="object"&&(r=t,t=null),t?(t=parse$1(t),r.hostname=t.host,r.secure=t.protocol==="https"||t.protocol==="wss",r.port=t.port,t.query&&(r.query=t.query)):r.host&&(r.hostname=parse$1(r.host).host),installTimerFunctions(this,r),this.secure=r.secure!=null?r.secure:typeof location<"u"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=r.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=r.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=decode$1(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const r=Object.assign({},this.opts.query);r.EIO=protocol$1,r.transport=t,this.id&&(r.sid=this.id);const a=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new transports[t](a)}open(){let t;if(this.opts.rememberUpgrade&<.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",r=>this.onClose("transport close",r))}probe(t){let r=this.createTransport(t),a=!1;lt.priorWebsocketSuccess=!1;const o=()=>{a||(r.send([{type:"ping",data:"probe"}]),r.once("packet",E=>{if(!a)if(E.type==="pong"&&E.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;lt.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{a||this.readyState!=="closed"&&(S(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=r.name,this.emitReserved("upgradeError",v)}}))};function u(){a||(a=!0,S(),r.close(),r=null)}const d=E=>{const v=new Error("probe error: "+E);v.transport=r.name,u(),this.emitReserved("upgradeError",v)};function f(){d("transport closed")}function g(){d("socket closed")}function _(E){r&&E.name!==r.name&&u()}const S=()=>{r.removeListener("open",o),r.removeListener("error",d),r.removeListener("close",f),this.off("close",g),this.off("upgrading",_)};r.once("open",o),r.once("error",d),r.once("close",f),this.once("close",g),this.once("upgrading",_),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{a||r.open()},200):r.open()}onOpen(){if(this.readyState="open",lt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const r=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let a=0;a0&&r>this.maxPayload)return this.writeBuffer.slice(0,a);r+=2}return this.writeBuffer}write(t,r,a){return this.sendPacket("message",t,r,a),this}send(t,r,a){return this.sendPacket("message",t,r,a),this}sendPacket(t,r,a,o){if(typeof r=="function"&&(o=r,r=void 0),typeof a=="function"&&(o=a,a=null),this.readyState==="closing"||this.readyState==="closed")return;a=a||{},a.compress=a.compress!==!1;const u={type:t,data:r,options:a};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},a=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?a():t()}):this.upgrading?a():t()),this}onError(t){lt.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,r){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const r=[];let a=0;const o=t.length;for(;atypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,toString=Object.prototype.toString,withNativeBlob=typeof Blob=="function"||typeof Blob<"u"&&toString.call(Blob)==="[object BlobConstructor]",withNativeFile=typeof File=="function"||typeof File<"u"&&toString.call(File)==="[object FileConstructor]";function isBinary(e){return withNativeArrayBuffer&&(e instanceof ArrayBuffer||isView(e))||withNativeBlob&&e instanceof Blob||withNativeFile&&e instanceof File}function hasBinary(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,a=e.length;r=0&&e.num{delete this.acks[t];for(let d=0;d{this.io.clearTimeoutFn(u),r.apply(this,[null,...d])}}emitWithAck(t,...r){const a=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,u)=>{r.push((d,f)=>a?d?u(d):o(f):o(d)),this.emit(t,...r)})}_addToQueue(t){let r;typeof t[t.length-1]=="function"&&(r=t.pop());const a={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...u)=>a!==this._queue[0]?void 0:(o!==null?a.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(o)):(this._queue.shift(),r&&r(null,...u)),a.pending=!1,this._drainQueue())),this._queue.push(a),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!t||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case PacketType.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case PacketType.EVENT:case PacketType.BINARY_EVENT:this.onevent(t);break;case PacketType.ACK:case PacketType.BINARY_ACK:this.onack(t);break;case PacketType.DISCONNECT:this.ondisconnect();break;case PacketType.CONNECT_ERROR:this.destroy();const a=new Error(t.data.message);a.data=t.data.data,this.emitReserved("connect_error",a);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const a of r)a.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const r=this;let a=!1;return function(...o){a||(a=!0,r.packet({type:PacketType.ACK,id:t,data:o}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(r.apply(this,t.data),delete this.acks[t.id])}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let a=0;a0&&e.jitter<=1?e.jitter:0,this.attempts=0}Backoff.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+r:e-r}return Math.min(e,this.max)|0};Backoff.prototype.reset=function(){this.attempts=0};Backoff.prototype.setMin=function(e){this.ms=e};Backoff.prototype.setMax=function(e){this.max=e};Backoff.prototype.setJitter=function(e){this.jitter=e};class Manager extends Emitter{constructor(t,r){var a;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,installTimerFunctions(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((a=r.randomizationFactor)!==null&&a!==void 0?a:.5),this.backoff=new Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const o=r.parser||parser;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Socket$1(this.uri,this.opts);const r=this.engine,a=this;this._readyState="opening",this.skipReconnect=!1;const o=on(r,"open",function(){a.onopen(),t&&t()}),u=f=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",f),t?t(f):this.maybeReconnectOnOpen()},d=on(r,"error",u);if(this._timeout!==!1){const f=this._timeout,g=this.setTimeoutFn(()=>{o(),u(new Error("timeout")),r.close()},f);this.opts.autoUnref&&g.unref(),this.subs.push(()=>{this.clearTimeoutFn(g)})}return this.subs.push(o),this.subs.push(d),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(on(t,"ping",this.onping.bind(this)),on(t,"data",this.ondata.bind(this)),on(t,"error",this.onerror.bind(this)),on(t,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(r){this.onclose("parse error",r)}}ondecoded(t){nextTick(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let a=this.nsps[t];return a?this._autoConnect&&!a.active&&a.connect():(a=new Socket(this,t,r),this.nsps[t]=a),a}_destroy(t){const r=Object.keys(this.nsps);for(const a of r)if(this.nsps[a].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let a=0;at()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,r){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const a=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},r);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const cache={};function lookup(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=url(e,t.path||"/socket.io"),a=r.source,o=r.id,u=r.path,d=cache[o]&&u in cache[o].nsps,f=t.forceNew||t["force new connection"]||t.multiplex===!1||d;let g;return f?g=new Manager(a,t):(cache[o]||(cache[o]=new Manager(a,t)),g=cache[o]),r.query&&!t.query&&(t.query=r.queryKey),g.socket(r.path,t)}Object.assign(lookup,{Manager,Socket,io:lookup,connect:lookup});/*! * vue-router v4.2.4 * (c) 2023 Eduardo San Martin Morote * @license MIT */const isBrowser=typeof window<"u";function isESModule(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(e,t){const r={};for(const a in t){const o=t[a];r[a]=isArray(o)?o.map(e):e(o)}return r}const noop=()=>{},isArray=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,r="/"){let a,o={},u="",d="";const f=t.indexOf("#");let g=t.indexOf("?");return f=0&&(g=-1),g>-1&&(a=t.slice(0,g),u=t.slice(g+1,f>-1?f:t.length),o=e(u)),f>-1&&(a=a||t.slice(0,f),d=t.slice(f,t.length)),a=resolveRelativePath(a??t,r),{fullPath:a+(u&&"?")+u+d,path:a,query:o,hash:d}}function stringifyURL(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function stripBase(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function isSameRouteLocation(e,t,r){const a=t.matched.length-1,o=r.matched.length-1;return a>-1&&a===o&&isSameRouteRecord(t.matched[a],r.matched[o])&&isSameRouteLocationParams(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!isSameRouteLocationParamsValue(e[r],t[r]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray(e)?isEquivalentArray(e,t):isArray(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray(t)?e.length===t.length&&e.every((r,a)=>r===t[a]):e.length===1&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),a=e.split("/"),o=a[a.length-1];(o===".."||o===".")&&a.push("");let u=r.length-1,d,f;for(d=0;d1&&u--;else break;return r.slice(0,u).join("/")+"/"+a.slice(d-(d===a.length?1:0)).join("/")}var NavigationType;(function(e){e.pop="pop",e.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(e){e.back="back",e.forward="forward",e.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(e){if(!e)if(isBrowser){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),removeTrailingSlash(e)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const r=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-r.left-(t.left||0),top:a.top-r.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(e){let t;if("el"in e){const r=e.el,a=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?a?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=getElementPosition(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(e,t){const{pathname:r,search:a,hash:o}=t,u=e.indexOf("#");if(u>-1){let f=o.includes(e.slice(u))?e.slice(u).length:1,g=o.slice(f);return g[0]!=="/"&&(g="/"+g),stripBase(g,"")}return stripBase(r,e)+a+o}function useHistoryListeners(e,t,r,a){let o=[],u=[],d=null;const f=({state:v})=>{const b=createCurrentLocation(e,location),y=r.value,T=t.value;let C=0;if(v){if(r.value=b,t.value=v,d&&d===y){d=null;return}C=T?v.position-T.position:0}else a(b);o.forEach(R=>{R(r.value,y,{delta:C,type:NavigationType.pop,direction:C?C>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function g(){d=r.value}function _(v){o.push(v);const b=()=>{const y=o.indexOf(v);y>-1&&o.splice(y,1)};return u.push(b),b}function S(){const{history:v}=window;v.state&&v.replaceState(assign({},v.state,{scroll:computeScrollPosition()}),"")}function E(){for(const v of u)v();u=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",S)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",S,{passive:!0}),{pauseListeners:g,listen:_,destroy:E}}function buildState(e,t,r,a=!1,o=!1){return{back:e,current:t,forward:r,replaced:a,position:window.history.length,scroll:o?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:r}=window,a={value:createCurrentLocation(e,r)},o={value:t.state};o.value||u(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function u(g,_,S){const E=e.indexOf("#"),v=E>-1?(r.host&&document.querySelector("base")?e:e.slice(E))+g:createBaseLocation()+e+g;try{t[S?"replaceState":"pushState"](_,"",v),o.value=_}catch(b){console.error(b),r[S?"replace":"assign"](v)}}function d(g,_){const S=assign({},t.state,buildState(o.value.back,g,o.value.forward,!0),_,{position:o.value.position});u(g,S,!0),a.value=g}function f(g,_){const S=assign({},o.value,t.state,{forward:g,scroll:computeScrollPosition()});u(S.current,S,!0);const E=assign({},buildState(a.value,g,null),{position:S.position+1},_);u(g,E,!1),a.value=g}return{location:a,state:o,push:f,replace:d}}function createWebHistory(e){e=normalizeBase(e);const t=useHistoryStateNavigation(e),r=useHistoryListeners(e,t.state,t.location,t.replace);function a(u,d=!0){d||r.pauseListeners(),history.go(u)}const o=assign({location:"",base:e,go:a,createHref:createHref.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function isRouteLocation(e){return typeof e=="string"||e&&typeof e=="object"}function isRouteName(e){return typeof e=="string"||typeof e=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(e,t){return assign(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(t==null||!!(e.type&t))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const r=assign({},BASE_PATH_PARSER_OPTIONS,t),a=[];let o=r.start?"^":"";const u=[];for(const _ of e){const S=_.length?[]:[90];r.strict&&!_.length&&(o+="/");for(let E=0;E<_.length;E++){const v=_[E];let b=40+(r.sensitive?.25:0);if(v.type===0)E||(o+="/"),o+=v.value.replace(REGEX_CHARS_RE,"\\$&"),b+=40;else if(v.type===1){const{value:y,repeatable:T,optional:C,regexp:R}=v;u.push({name:y,repeatable:T,optional:C});const A=R||BASE_PARAM_PATTERN;if(A!==BASE_PARAM_PATTERN){b+=10;try{new RegExp(`(${A})`)}catch(x){throw new Error(`Invalid custom RegExp for param "${y}" (${A}): `+x.message)}}let O=T?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;E||(O=C&&_.length<2?`(?:/${O})`:"/"+O),C&&(O+="?"),o+=O,b+=20,C&&(b+=-8),T&&(b+=-20),A===".*"&&(b+=-50)}S.push(b)}a.push(S)}if(r.strict&&r.end){const _=a.length-1;a[_][a[_].length-1]+=.7000000000000001}r.strict||(o+="/?"),r.end?o+="$":r.strict&&(o+="(?:/|$)");const d=new RegExp(o,r.sensitive?"":"i");function f(_){const S=_.match(d),E={};if(!S)return null;for(let v=1;vt.length?t.length===1&&t[0]===80?1:-1:0}function comparePathParserScore(e,t){let r=0;const a=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if(e==="/")return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${r})/"${_}": ${b}`)}let r=0,a=r;const o=[];let u;function d(){u&&o.push(u),u=[]}let f=0,g,_="",S="";function E(){_&&(r===0?u.push({type:0,value:_}):r===1||r===2||r===3?(u.length>1&&(g==="*"||g==="+")&&t(`A repeatable param (${_}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:_,regexp:S,repeatable:g==="*"||g==="+",optional:g==="*"||g==="?"})):t("Invalid state to consume buffer"),_="")}function v(){_+=g}for(;f{d(A)}:noop}function d(S){if(isRouteName(S)){const E=a.get(S);E&&(a.delete(S),r.splice(r.indexOf(E),1),E.children.forEach(d),E.alias.forEach(d))}else{const E=r.indexOf(S);E>-1&&(r.splice(E,1),S.record.name&&a.delete(S.record.name),S.children.forEach(d),S.alias.forEach(d))}}function f(){return r}function g(S){let E=0;for(;E=0&&(S.record.path!==r[E].record.path||!isRecordChildOf(S,r[E]));)E++;r.splice(E,0,S),S.record.name&&!isAliasRecord(S)&&a.set(S.record.name,S)}function _(S,E){let v,b={},y,T;if("name"in S&&S.name){if(v=a.get(S.name),!v)throw createRouterError(1,{location:S});T=v.record.name,b=assign(paramsFromLocation(E.params,v.keys.filter(A=>!A.optional).map(A=>A.name)),S.params&¶msFromLocation(S.params,v.keys.map(A=>A.name))),y=v.stringify(b)}else if("path"in S)y=S.path,v=r.find(A=>A.re.test(y)),v&&(b=v.parse(y),T=v.record.name);else{if(v=E.name?a.get(E.name):r.find(A=>A.re.test(E.path)),!v)throw createRouterError(1,{location:S,currentLocation:E});T=v.record.name,b=assign({},E.params,S.params),y=v.stringify(b)}const C=[];let R=v;for(;R;)C.unshift(R.record),R=R.parent;return{name:T,path:y,params:b,matched:C,meta:mergeMetaFields(C)}}return e.forEach(S=>u(S)),{addRoute:u,resolve:_,removeRoute:d,getRoutes:f,getRecordMatcher:o}}function paramsFromLocation(e,t){const r={};for(const a of t)a in e&&(r[a]=e[a]);return r}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const a in e.components)t[a]=typeof r=="object"?r[a]:r;return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((t,r)=>assign(t,r.meta),{})}function mergeOptions(e,t){const r={};for(const a in e)r[a]=a in t?t[a]:e[a];return r}function isRecordChildOf(e,t){return t.children.some(r=>r===e||isRecordChildOf(e,r))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return e==null?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function parseQuery(e){const t={};if(e===""||e==="?")return t;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;ou&&encodeQueryValue(u)):[a&&encodeQueryValue(a)]).forEach(u=>{u!==void 0&&(t+=(t.length?"&":"")+r,u!=null&&(t+="="+u))})}return t}function normalizeQuery(e){const t={};for(const r in e){const a=e[r];a!==void 0&&(t[r]=isArray(a)?a.map(o=>o==null?null:""+o):a==null?a:""+a)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];function t(a){return e.push(a),()=>{const o=e.indexOf(a);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function guardToPromiseFn(e,t,r,a,o){const u=a&&(a.enterCallbacks[o]=a.enterCallbacks[o]||[]);return()=>new Promise((d,f)=>{const g=E=>{E===!1?f(createRouterError(4,{from:r,to:t})):E instanceof Error?f(E):isRouteLocation(E)?f(createRouterError(2,{from:t,to:E})):(u&&a.enterCallbacks[o]===u&&typeof E=="function"&&u.push(E),d())},_=e.call(a&&a.instances[o],t,r,g);let S=Promise.resolve(_);e.length<3&&(S=S.then(g)),S.catch(E=>f(E))})}function extractComponentsGuards(e,t,r,a){const o=[];for(const u of e)for(const d in u.components){let f=u.components[d];if(!(t!=="beforeRouteEnter"&&!u.instances[d]))if(isRouteComponent(f)){const _=(f.__vccOpts||f)[t];_&&o.push(guardToPromiseFn(_,r,a,u,d))}else{let g=f();o.push(()=>g.then(_=>{if(!_)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${u.path}"`));const S=isESModule(_)?_.default:_;u.components[d]=S;const v=(S.__vccOpts||S)[t];return v&&guardToPromiseFn(v,r,a,u,d)()}))}}return o}function isRouteComponent(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){const t=inject$1(routerKey),r=inject$1(routeLocationKey),a=computed(()=>t.resolve(unref(e.to))),o=computed(()=>{const{matched:g}=a.value,{length:_}=g,S=g[_-1],E=r.matched;if(!S||!E.length)return-1;const v=E.findIndex(isSameRouteRecord.bind(null,S));if(v>-1)return v;const b=getOriginalPath(g[_-2]);return _>1&&getOriginalPath(S)===b&&E[E.length-1].path!==b?E.findIndex(isSameRouteRecord.bind(null,g[_-2])):v}),u=computed(()=>o.value>-1&&includesParams(r.params,a.value.params)),d=computed(()=>o.value>-1&&o.value===r.matched.length-1&&isSameRouteLocationParams(r.params,a.value.params));function f(g={}){return guardEvent(g)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop):Promise.resolve()}return{route:a,href:computed(()=>a.value.href),isActive:u,isExactActive:d,navigate:f}}const RouterLinkImpl=defineComponent$1({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(e,{slots:t}){const r=reactive(useLink(e)),{options:a}=inject$1(routerKey),o=computed(()=>({[getLinkClass(e.activeClass,a.linkActiveClass,"router-link-active")]:r.isActive,[getLinkClass(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const u=t.default&&t.default(r);return e.custom?u:h("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},u)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const r in t){const a=t[r],o=e[r];if(typeof a=="string"){if(a!==o)return!1}else if(!isArray(o)||o.length!==a.length||a.some((u,d)=>u!==o[d]))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,r)=>e??t??r,RouterViewImpl=defineComponent$1({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const a=inject$1(routerViewLocationKey),o=computed(()=>e.route||a.value),u=inject$1(viewDepthKey,0),d=computed(()=>{let _=unref(u);const{matched:S}=o.value;let E;for(;(E=S[_])&&!E.components;)_++;return _}),f=computed(()=>o.value.matched[d.value]);provide(viewDepthKey,computed(()=>d.value+1)),provide(matchedRouteKey,f),provide(routerViewLocationKey,o);const g=ref$1();return watch(()=>[g.value,f.value,e.name],([_,S,E],[v,b,y])=>{S&&(S.instances[E]=_,b&&b!==S&&_&&_===v&&(S.leaveGuards.size||(S.leaveGuards=b.leaveGuards),S.updateGuards.size||(S.updateGuards=b.updateGuards))),_&&S&&(!b||!isSameRouteRecord(S,b)||!v)&&(S.enterCallbacks[E]||[]).forEach(T=>T(_))},{flush:"post"}),()=>{const _=o.value,S=e.name,E=f.value,v=E&&E.components[S];if(!v)return normalizeSlot(r.default,{Component:v,route:_});const b=E.props[S],y=b?b===!0?_.params:typeof b=="function"?b(_):b:null,C=h(v,assign({},y,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(E.instances[S]=null)},ref:g}));return normalizeSlot(r.default,{Component:C,route:_})||C}}});function normalizeSlot(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),r=e.parseQuery||parseQuery,a=e.stringifyQuery||stringifyQuery,o=e.history,u=useCallbacks(),d=useCallbacks(),f=useCallbacks(),g=shallowRef(START_LOCATION_NORMALIZED);let _=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const S=applyToParams.bind(null,ee=>""+ee),E=applyToParams.bind(null,encodeParam),v=applyToParams.bind(null,decode);function b(ee,de){let me,oe;return isRouteName(ee)?(me=t.getRecordMatcher(ee),oe=de):oe=ee,t.addRoute(oe,me)}function y(ee){const de=t.getRecordMatcher(ee);de&&t.removeRoute(de)}function T(){return t.getRoutes().map(ee=>ee.record)}function C(ee){return!!t.getRecordMatcher(ee)}function R(ee,de){if(de=assign({},de||g.value),typeof ee=="string"){const j=parseURL(r,ee,de.path),ne=t.resolve({path:j.path},de),ae=o.createHref(j.fullPath);return assign(j,ne,{params:v(ne.params),hash:decode(j.hash),redirectedFrom:void 0,href:ae})}let me;if("path"in ee)me=assign({},ee,{path:parseURL(r,ee.path,de.path).path});else{const j=assign({},ee.params);for(const ne in j)j[ne]==null&&delete j[ne];me=assign({},ee,{params:E(j)}),de.params=E(de.params)}const oe=t.resolve(me,de),Ee=ee.hash||"";oe.params=S(v(oe.params));const pe=stringifyURL(a,assign({},ee,{hash:encodeHash(Ee),path:oe.path})),z=o.createHref(pe);return assign({fullPath:pe,hash:Ee,query:a===stringifyQuery?normalizeQuery(ee.query):ee.query||{}},oe,{redirectedFrom:void 0,href:z})}function A(ee){return typeof ee=="string"?parseURL(r,ee,g.value.path):assign({},ee)}function O(ee,de){if(_!==ee)return createRouterError(8,{from:de,to:ee})}function x(ee){return k(ee)}function N(ee){return x(assign(A(ee),{replace:!0}))}function I(ee){const de=ee.matched[ee.matched.length-1];if(de&&de.redirect){const{redirect:me}=de;let oe=typeof me=="function"?me(ee):me;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=A(oe):{path:oe},oe.params={}),assign({query:ee.query,hash:ee.hash,params:"path"in oe?{}:ee.params},oe)}}function k(ee,de){const me=_=R(ee),oe=g.value,Ee=ee.state,pe=ee.force,z=ee.replace===!0,j=I(me);if(j)return k(assign(A(j),{state:typeof j=="object"?assign({},Ee,j.state):Ee,force:pe,replace:z}),de||me);const ne=me;ne.redirectedFrom=de;let ae;return!pe&&isSameRouteLocation(a,oe,me)&&(ae=createRouterError(16,{to:ne,from:oe}),J(oe,oe,!0,!1)),(ae?Promise.resolve(ae):L(ne,oe)).catch(ce=>isNavigationFailure(ce)?isNavigationFailure(ce,2)?ce:Z(ce):Y(ce,ne,oe)).then(ce=>{if(ce){if(isNavigationFailure(ce,2))return k(assign({replace:z},A(ce.to),{state:typeof ce.to=="object"?assign({},Ee,ce.to.state):Ee,force:pe}),de||ne)}else ce=B(ne,oe,!0,z,Ee);return F(ne,oe,ce),ce})}function D(ee,de){const me=O(ee,de);return me?Promise.reject(me):Promise.resolve()}function P(ee){const de=ve.values().next().value;return de&&typeof de.runWithContext=="function"?de.runWithContext(ee):ee()}function L(ee,de){let me;const[oe,Ee,pe]=extractChangingRecords(ee,de);me=extractComponentsGuards(oe.reverse(),"beforeRouteLeave",ee,de);for(const j of oe)j.leaveGuards.forEach(ne=>{me.push(guardToPromiseFn(ne,ee,de))});const z=D.bind(null,ee,de);return me.push(z),ie(me).then(()=>{me=[];for(const j of u.list())me.push(guardToPromiseFn(j,ee,de));return me.push(z),ie(me)}).then(()=>{me=extractComponentsGuards(Ee,"beforeRouteUpdate",ee,de);for(const j of Ee)j.updateGuards.forEach(ne=>{me.push(guardToPromiseFn(ne,ee,de))});return me.push(z),ie(me)}).then(()=>{me=[];for(const j of pe)if(j.beforeEnter)if(isArray(j.beforeEnter))for(const ne of j.beforeEnter)me.push(guardToPromiseFn(ne,ee,de));else me.push(guardToPromiseFn(j.beforeEnter,ee,de));return me.push(z),ie(me)}).then(()=>(ee.matched.forEach(j=>j.enterCallbacks={}),me=extractComponentsGuards(pe,"beforeRouteEnter",ee,de),me.push(z),ie(me))).then(()=>{me=[];for(const j of d.list())me.push(guardToPromiseFn(j,ee,de));return me.push(z),ie(me)}).catch(j=>isNavigationFailure(j,8)?j:Promise.reject(j))}function F(ee,de,me){f.list().forEach(oe=>P(()=>oe(ee,de,me)))}function B(ee,de,me,oe,Ee){const pe=O(ee,de);if(pe)return pe;const z=de===START_LOCATION_NORMALIZED,j=isBrowser?history.state:{};me&&(oe||z?o.replace(ee.fullPath,assign({scroll:z&&j&&j.scroll},Ee)):o.push(ee.fullPath,Ee)),g.value=ee,J(ee,de,me,z),Z()}let V;function U(){V||(V=o.listen((ee,de,me)=>{if(!ue.listening)return;const oe=R(ee),Ee=I(oe);if(Ee){k(assign(Ee,{replace:!0}),oe).catch(noop);return}_=oe;const pe=g.value;isBrowser&&saveScrollPosition(getScrollKey(pe.fullPath,me.delta),computeScrollPosition()),L(oe,pe).catch(z=>isNavigationFailure(z,12)?z:isNavigationFailure(z,2)?(k(z.to,oe).then(j=>{isNavigationFailure(j,20)&&!me.delta&&me.type===NavigationType.pop&&o.go(-1,!1)}).catch(noop),Promise.reject()):(me.delta&&o.go(-me.delta,!1),Y(z,oe,pe))).then(z=>{z=z||B(oe,pe,!1),z&&(me.delta&&!isNavigationFailure(z,8)?o.go(-me.delta,!1):me.type===NavigationType.pop&&isNavigationFailure(z,20)&&o.go(-1,!1)),F(oe,pe,z)}).catch(noop)}))}let W=useCallbacks(),K=useCallbacks(),G;function Y(ee,de,me){Z(ee);const oe=K.list();return oe.length?oe.forEach(Ee=>Ee(ee,de,me)):console.error(ee),Promise.reject(ee)}function Q(){return G&&g.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((ee,de)=>{W.add([ee,de])})}function Z(ee){return G||(G=!ee,U(),W.list().forEach(([de,me])=>ee?me(ee):de()),W.reset()),ee}function J(ee,de,me,oe){const{scrollBehavior:Ee}=e;if(!isBrowser||!Ee)return Promise.resolve();const pe=!me&&getSavedScrollPosition(getScrollKey(ee.fullPath,0))||(oe||!me)&&history.state&&history.state.scroll||null;return nextTick$1().then(()=>Ee(ee,de,pe)).then(z=>z&&scrollToPosition(z)).catch(z=>Y(z,ee,de))}const te=ee=>o.go(ee);let fe;const ve=new Set,ue={currentRoute:g,listening:!0,addRoute:b,removeRoute:y,hasRoute:C,getRoutes:T,resolve:R,options:e,push:x,replace:N,go:te,back:()=>te(-1),forward:()=>te(1),beforeEach:u.add,beforeResolve:d.add,afterEach:f.add,onError:K.add,isReady:Q,install(ee){const de=this;ee.component("RouterLink",RouterLink),ee.component("RouterView",RouterView),ee.config.globalProperties.$router=de,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(g)}),isBrowser&&!fe&&g.value===START_LOCATION_NORMALIZED&&(fe=!0,x(o.location).catch(Ee=>{}));const me={};for(const Ee in START_LOCATION_NORMALIZED)Object.defineProperty(me,Ee,{get:()=>g.value[Ee],enumerable:!0});ee.provide(routerKey,de),ee.provide(routeLocationKey,shallowReactive(me)),ee.provide(routerViewLocationKey,g);const oe=ee.unmount;ve.add(ee),ee.unmount=function(){ve.delete(ee),ve.size<1&&(_=START_LOCATION_NORMALIZED,V&&V(),V=null,g.value=START_LOCATION_NORMALIZED,fe=!1,G=!1),oe()}}};function ie(ee){return ee.reduce((de,me)=>de.then(()=>P(me)),Promise.resolve())}return ue}function extractChangingRecords(e,t){const r=[],a=[],o=[],u=Math.max(t.matched.length,e.matched.length);for(let d=0;disSameRouteRecord(_,f))?a.push(f):r.push(f));const g=e.matched[d];g&&(t.matched.find(_=>isSameRouteRecord(_,g))||o.push(g))}return[r,a,o]}const routes=[{name:"DebugView",route:"/dashboard/_debug"}],router=createRouter({history:createWebHistory(),routes});router.beforeEach((e,t,r)=>{e.meta.title?document.title=e.meta.title:document.title="Node-RED Dashboard 2.0",r()});function throttle(e,t){let r=0;return function(...a){clearTimeout(r),r=setTimeout(()=>e.apply(this,a),t)}}const resize={mounted(e,t){const r=t.value;new ResizeObserver(throttle(()=>{r(e)},50)).observe(e)}},firstDay={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function getWeekArray(e,t,r){const a=[];let o=[];const u=startOfMonth(e),d=endOfMonth(e),f=r??firstDay[t.slice(-2).toUpperCase()]??0,g=(u.getDay()-f+7)%7,_=(d.getDay()-f+7)%7;for(let S=0;S0&&a.push(o),a}function startOfWeek(e,t,r){const a=r??firstDay[t.slice(-2).toUpperCase()]??0,o=new Date(e);for(;o.getDay()!==a;)o.setDate(o.getDate()-1);return o}function endOfWeek(e,t){const r=new Date(e),a=((firstDay[t.slice(-2).toUpperCase()]??0)+6)%7;for(;r.getDay()!==a;)r.setDate(r.getDate()+1);return r}function startOfMonth(e){return new Date(e.getFullYear(),e.getMonth(),1)}function endOfMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function parseLocalDate(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const _YYYMMDD=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function date(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(_YYYMMDD.test(e))return parseLocalDate(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const sundayJanuarySecond2000=new Date(2e3,0,2);function getWeekdays(e,t){const r=t??firstDay[e.slice(-2).toUpperCase()]??0;return createRange(7).map(a=>{const o=new Date(sundayJanuarySecond2000);return o.setDate(sundayJanuarySecond2000.getDate()+r+a),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(o)})}function format(e,t,r,a){const o=date(e)??new Date,u=a==null?void 0:a[t];if(typeof u=="function")return u(o,t,r);let d={};switch(t){case"fullDate":d={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":d={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const f=o.getDate(),g=new Intl.DateTimeFormat(r,{month:"long"}).format(o);return`${f} ${g}`;case"normalDateWithWeekday":d={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":d={month:"short",day:"numeric"};break;case"year":d={year:"numeric"};break;case"month":d={month:"long"};break;case"monthShort":d={month:"short"};break;case"monthAndYear":d={month:"long",year:"numeric"};break;case"monthAndDate":d={month:"long",day:"numeric"};break;case"weekday":d={weekday:"long"};break;case"weekdayShort":d={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(r).format(o.getDate());case"hours12h":d={hour:"numeric",hour12:!0};break;case"hours24h":d={hour:"numeric",hour12:!1};break;case"minutes":d={minute:"numeric"};break;case"seconds":d={second:"numeric"};break;case"fullTime":d={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":d={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":d={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":d={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":d={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":d={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":d={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":d={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":d={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":d={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:d=u??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,d).format(o)}function toISO(e,t){const r=e.toJsDate(t),a=r.getFullYear(),o=padStart(String(r.getMonth()+1),2,"0"),u=padStart(String(r.getDate()),2,"0");return`${a}-${o}-${u}`}function parseISO(e){const[t,r,a]=e.split("-").map(Number);return new Date(t,r-1,a)}function addMinutes(e,t){const r=new Date(e);return r.setMinutes(r.getMinutes()+t),r}function addHours(e,t){const r=new Date(e);return r.setHours(r.getHours()+t),r}function addDays(e,t){const r=new Date(e);return r.setDate(r.getDate()+t),r}function addWeeks(e,t){const r=new Date(e);return r.setDate(r.getDate()+t*7),r}function addMonths(e,t){const r=new Date(e);return r.setDate(1),r.setMonth(r.getMonth()+t),r}function getYear(e){return e.getFullYear()}function getMonth(e){return e.getMonth()}function getDate(e){return e.getDate()}function getNextMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function getPreviousMonth(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function getHours(e){return e.getHours()}function getMinutes(e){return e.getMinutes()}function startOfYear(e){return new Date(e.getFullYear(),0,1)}function endOfYear(e){return new Date(e.getFullYear(),11,31)}function isWithinRange(e,t){return isAfter(e,t[0])&&isBefore(e,t[1])}function isValid(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function isAfter(e,t){return e.getTime()>t.getTime()}function isAfterDay(e,t){return isAfter(startOfDay(e),startOfDay(t))}function isBefore(e,t){return e.getTime(){r.locale=e.locale[a]??a??r.locale}),r}function useDate(){const e=inject$1(DateOptionsSymbol);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=useLocale();return createInstance(e,t)}function getWeek(e,t){const r=e.toJsDate(t);let a=r.getFullYear(),o=new Date(a,0,1);if(r=f&&(a=a+1,o=f)}const u=Math.abs(r.getTime()-o.getTime()),d=Math.ceil(u/(1e3*60*60*24));return Math.floor(d/7)+1}const breakpoints=["sm","md","lg","xl","xxl"],DisplaySymbol=Symbol.for("vuetify:display"),defaultDisplayOptions={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},parseDisplayOptions=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:defaultDisplayOptions;return mergeDeep(defaultDisplayOptions,e)};function getClientWidth(e){return IN_BROWSER&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function getClientHeight(e){return IN_BROWSER&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function getPlatform(e){const t=IN_BROWSER&&!e?window.navigator.userAgent:"ssr";function r(y){return!!t.match(y)}const a=r(/android/i),o=r(/iphone|ipad|ipod/i),u=r(/cordova/i),d=r(/electron/i),f=r(/chrome/i),g=r(/edge/i),_=r(/firefox/i),S=r(/opera/i),E=r(/win/i),v=r(/mac/i),b=r(/linux/i);return{android:a,ios:o,cordova:u,electron:d,chrome:f,edge:g,firefox:_,opera:S,win:E,mac:v,linux:b,touch:SUPPORTS_TOUCH,ssr:t==="ssr"}}function createDisplay(e,t){const{thresholds:r,mobileBreakpoint:a}=parseDisplayOptions(e),o=shallowRef(getClientHeight(t)),u=shallowRef(getPlatform(t)),d=reactive({}),f=shallowRef(getClientWidth(t));function g(){o.value=getClientHeight(),f.value=getClientWidth()}function _(){g(),u.value=getPlatform()}return watchEffect(()=>{const S=f.value=r.xxl,C=S?"xs":E?"sm":v?"md":b?"lg":y?"xl":"xxl",R=typeof a=="number"?a:r[a],A=f.value0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=inject$1(DisplaySymbol);if(!r)throw new Error("Could not find Vuetify display injection");const a=computed(()=>{if(e.mobile!=null)return e.mobile;if(!e.mobileBreakpoint)return r.mobile.value;const u=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:r.thresholds.value[e.mobileBreakpoint];return r.width.valuet?{[`${t}--mobile`]:a.value}:{});return{...r,displayClasses:o,mobile:a}}const GoToSymbol=Symbol.for("vuetify:goto");function genDefaults(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function getContainer(e){return getTarget$1(e)??(document.scrollingElement||document.body)}function getTarget$1(e){return typeof e=="string"?document.querySelector(e):refElement(e)}function getOffset$2(e,t,r){if(typeof e=="number")return t&&r?-e:e;let a=getTarget$1(e),o=0;for(;a;)o+=t?a.offsetLeft:a.offsetTop,a=a.offsetParent;return o}function createGoTo(e,t){return{rtl:t.isRtl,options:mergeDeep(genDefaults(),e)}}async function scrollTo(e,t,r,a){const o=r?"scrollLeft":"scrollTop",u=mergeDeep((a==null?void 0:a.options)??genDefaults(),t),d=a==null?void 0:a.rtl.value,f=(typeof e=="number"?e:getTarget$1(e))??0,g=u.container==="parent"&&f instanceof HTMLElement?f.parentElement:getContainer(u.container),_=typeof u.easing=="function"?u.easing:u.patterns[u.easing];if(!_)throw new TypeError(`Easing function "${u.easing}" not found.`);let S;if(typeof f=="number")S=getOffset$2(f,r,d);else if(S=getOffset$2(f,r,d)-getOffset$2(g,r,d),u.layout){const y=window.getComputedStyle(f).getPropertyValue("--v-layout-top");y&&(S-=parseInt(y,10))}S+=u.offset,S=clampTarget(g,S,!!d,!!r);const E=g[o]??0;if(S===E)return Promise.resolve(S);const v=performance.now();return new Promise(b=>requestAnimationFrame(function y(T){const R=(T-v)/u.duration,A=Math.floor(E+(S-E)*_(clamp(R,0,1)));if(g[o]=A,R>=1&&Math.abs(A-g[o])<10)return b(S);if(R>2)return b(g[o]);requestAnimationFrame(y)}))}function useGoTo(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=inject$1(GoToSymbol),{isRtl:r}=useRtl();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const a={...t,rtl:computed(()=>t.rtl.value||r.value)};async function o(u,d){return scrollTo(u,mergeDeep(e,d),!1,a)}return o.horizontal=async(u,d)=>scrollTo(u,mergeDeep(e,d),!0,a),o}function clampTarget(e,t,r,a){const{scrollWidth:o,scrollHeight:u}=e,[d,f]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let g,_;return a?r?(g=-(o-d),_=0):(g=0,_=o-d):(g=0,_=u+-f),Math.max(Math.min(t,_),g)}const VuetifyLayoutKey=Symbol.for("vuetify:layout"),VuetifyLayoutItemKey=Symbol.for("vuetify:layout-item"),ROOT_ZINDEX=1e3,makeLayoutProps=propsFactory({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),makeLayoutItemProps=propsFactory({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function useLayout(){const e=inject$1(VuetifyLayoutKey);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{layoutIsReady:nextTick$1(),getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function useLayoutItem(e){const t=inject$1(VuetifyLayoutKey);if(!t)throw new Error("[Vuetify] Could not find injected layout");const r=e.id??`layout-item-${getUid()}`,a=getCurrentInstance("useLayoutItem");provide(VuetifyLayoutItemKey,{id:r});const o=shallowRef(!1);onDeactivated(()=>o.value=!0),onActivated(()=>o.value=!1);const u=nextTick$1(),{layoutItemStyles:d,layoutItemScrimStyles:f}=t.register(a,{...e,active:computed(()=>o.value?!1:e.active.value),id:r});return onBeforeUnmount(()=>t.unregister(r)),{layoutItemStyles:d,layoutRect:t.layoutRect,layoutItemScrimStyles:f,layoutIsReady:u}}const generateLayers=(e,t,r,a)=>{let o={top:0,left:0,right:0,bottom:0};const u=[{id:"",layer:{...o}}];for(const d of e){const f=t.get(d),g=r.get(d),_=a.get(d);if(!f||!g||!_)continue;const S={...o,[f.value]:parseInt(o[f.value],10)+(_.value?parseInt(g.value,10):0)};u.push({id:d,layer:S}),o=S}return u};function createLayout(e){const t=inject$1(VuetifyLayoutKey,null),r=computed(()=>t?t.rootZIndex.value-100:ROOT_ZINDEX),a=ref$1([]),o=reactive(new Map),u=reactive(new Map),d=reactive(new Map),f=reactive(new Map),g=reactive(new Map),{resizeRef:_,contentRect:S}=useResizeObserver(),E=eagerComputed(()=>{const N=[...new Set([...d.values()].map(k=>k.value))].sort((k,D)=>k-D),I=[];for(const k of N){const D=a.value.filter(P=>{var L;return((L=d.get(P))==null?void 0:L.value)===k});I.push(...D)}return generateLayers(I,o,u,f)}),v=computed(()=>!Array.from(g.values()).some(N=>N.value)),b=computed(()=>E.value[E.value.length-1].layer),y=computed(()=>({"--v-layout-left":convertToUnit(b.value.left),"--v-layout-right":convertToUnit(b.value.right),"--v-layout-top":convertToUnit(b.value.top),"--v-layout-bottom":convertToUnit(b.value.bottom),...v.value?void 0:{transition:"none"}})),T=eagerComputed(()=>E.value.slice(1).map((N,I)=>{let{id:k}=N;const{layer:D}=E.value[I],P=u.get(k),L=o.get(k);return{id:k,...D,size:Number(P.value),position:L.value}})),C=N=>T.value.find(I=>I.id===N),R=getCurrentInstance("createLayout"),A=nextTick$1();provide(VuetifyLayoutKey,{register:(N,I)=>{let{id:k,order:D,position:P,layoutSize:L,elementSize:F,active:B,disableTransitions:V,absolute:U}=I;d.set(k,D),o.set(k,P),u.set(k,L),f.set(k,B),V&&g.set(k,V);const K=findChildrenWithProvide(VuetifyLayoutItemKey,R==null?void 0:R.vnode).indexOf(N);K>-1?a.value.splice(K,0,k):a.value.push(k);const G=computed(()=>T.value.findIndex(J=>J.id===k)),Y=computed(()=>r.value+E.value.length*2-G.value*2),Q=computed(()=>{const J=P.value==="left"||P.value==="right",te=P.value==="right",fe=P.value==="bottom",ve=F.value??L.value,ue=ve===0?"%":"px",ie={[P.value]:0,zIndex:Y.value,transform:`translate${J?"X":"Y"}(${(B.value?0:-(ve===0?100:ve))*(te||fe?-1:1)}${ue})`,position:U.value||r.value!==ROOT_ZINDEX?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(G.value<0)throw new Error(`Layout item "${k}" is missing`);const ee=T.value[G.value];if(!ee)throw new Error(`[Vuetify] Could not find layout item "${k}"`);return{...ie,height:J?`calc(100% - ${ee.top}px - ${ee.bottom}px)`:F.value?`${F.value}px`:void 0,left:te?void 0:`${ee.left}px`,right:te?`${ee.right}px`:void 0,top:P.value!=="bottom"?`${ee.top}px`:void 0,bottom:P.value!=="top"?`${ee.bottom}px`:void 0,width:J?F.value?`${F.value}px`:void 0:`calc(100% - ${ee.left}px - ${ee.right}px)`}}),Z=computed(()=>({zIndex:Y.value-1}));return{layoutItemStyles:Q,layoutItemScrimStyles:Z,zIndex:Y}},unregister:N=>{d.delete(N),o.delete(N),u.delete(N),f.delete(N),g.delete(N),a.value=a.value.filter(I=>I!==N)},mainRect:b,mainStyles:y,getLayoutItem:C,items:T,layoutRect:S,rootZIndex:r,layoutIsReady:A});const O=computed(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),x=computed(()=>({zIndex:t?r.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:O,layoutStyles:x,getLayoutItem:C,items:T,layoutRect:S,layoutIsReady:A,layoutRef:_}}function createVuetify(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...r}=e,a=mergeDeep(t,r),{aliases:o={},components:u={},directives:d={}}=a,f=createDefaults(a.defaults),g=createDisplay(a.display,a.ssr),_=createTheme(a.theme),S=createIcons(a.icons),E=createLocale(a.locale),v=createDate(a.date,E),b=createGoTo(a.goTo,E);return{install:T=>{for(const C in d)T.directive(C,d[C]);for(const C in u)T.component(C,u[C]);for(const C in o)T.component(C,defineComponent({...o[C],name:C,aliasName:o[C].name}));if(_.install(T),T.provide(DefaultsSymbol,f),T.provide(DisplaySymbol,g),T.provide(ThemeSymbol,_),T.provide(IconSymbol,S),T.provide(LocaleSymbol,E),T.provide(DateOptionsSymbol,v.options),T.provide(DateAdapterSymbol,v.instance),T.provide(GoToSymbol,b),IN_BROWSER&&a.ssr)if(T.$nuxt)T.$nuxt.hook("app:suspense:resolve",()=>{g.update()});else{const{mount:C}=T;T.mount=function(){const R=C(...arguments);return nextTick$1(()=>g.update()),T.mount=C,R}}getUid.reset(),T.mixin({computed:{$vuetify(){return reactive({defaults:inject.call(this,DefaultsSymbol),display:inject.call(this,DisplaySymbol),theme:inject.call(this,ThemeSymbol),icons:inject.call(this,IconSymbol),locale:inject.call(this,LocaleSymbol),date:inject.call(this,DateAdapterSymbol)})}}})},defaults:f,display:g,theme:_,icons:S,locale:E,date:v,goTo:b}}const version="3.6.13";createVuetify.version=version;function inject(e){var a,o;const t=this.$,r=((a=t.parent)==null?void 0:a.provides)??((o=t.vnode.appContext)==null?void 0:o.provides);if(r&&e in r)return r[e]}const makeVAppProps=propsFactory({...makeComponentProps(),...makeLayoutProps({fullHeight:!0}),...makeThemeProps()},"VApp"),VApp=genericComponent()({name:"VApp",props:makeVAppProps(),setup(e,t){let{slots:r}=t;const a=provideTheme(e),{layoutClasses:o,getLayoutItem:u,items:d,layoutRef:f}=createLayout(e),{rtlClasses:g}=useRtl();return useRender(()=>createVNode("div",{ref:f,class:["v-application",a.themeClasses.value,o.value,g.value,e.class],style:[e.style]},[createVNode("div",{class:"v-application__wrap"},[createVNode(Suspense,null,{default:()=>{var _;return[createVNode(Fragment,null,[(_=r.default)==null?void 0:_.call(r)])]}})])])),{getLayoutItem:u,items:d,theme:a}}}),makeVToolbarTitleProps=propsFactory({text:String,...makeComponentProps(),...makeTagProps()},"VToolbarTitle"),VToolbarTitle=genericComponent()({name:"VToolbarTitle",props:makeVToolbarTitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const a=!!(r.default||r.text||e.text);return createVNode(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var o;return[a&&createVNode("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():e.text,(o=r.default)==null?void 0:o.call(r)])]}})}),{}}});function useAspectStyles(e){return{aspectStyles:computed(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const makeVResponsiveProps=propsFactory({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...makeComponentProps(),...makeDimensionProps()},"VResponsive"),VResponsive=genericComponent()({name:"VResponsive",props:makeVResponsiveProps(),setup(e,t){let{slots:r}=t;const{aspectStyles:a}=useAspectStyles(e),{dimensionStyles:o}=useDimension(e);return useRender(()=>{var u;return createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[o.value,e.style]},[createVNode("div",{class:"v-responsive__sizer",style:a.value},null),(u=r.additional)==null?void 0:u.call(r),r.default&&createVNode("div",{class:["v-responsive__content",e.contentClass]},[r.default()])])}),{}}}),makeVImgProps=propsFactory({alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...makeVResponsiveProps(),...makeComponentProps(),...makeRoundedProps(),...makeTransitionProps()},"VImg"),VImg=genericComponent()({name:"VImg",directives:{intersect:Intersect$1},props:makeVImgProps(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:r,slots:a}=t;const{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(toRef(e,"color")),{roundedClasses:d}=useRounded(e),f=getCurrentInstance("VImg"),g=shallowRef(""),_=ref$1(),S=shallowRef(e.eager?"loading":"idle"),E=shallowRef(),v=shallowRef(),b=computed(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),y=computed(()=>b.value.aspect||E.value/v.value||0);watch(()=>e.src,()=>{T(S.value!=="idle")}),watch(y,(B,V)=>{!B&&V&&_.value&&x(_.value)}),onBeforeMount(()=>T());function T(B){if(!(e.eager&&B)&&!(SUPPORTS_INTERSECTION&&!B&&!e.eager)){if(S.value="loading",b.value.lazySrc){const V=new Image;V.src=b.value.lazySrc,x(V,null)}b.value.src&&nextTick$1(()=>{var V;r("loadstart",((V=_.value)==null?void 0:V.currentSrc)||b.value.src),setTimeout(()=>{var U;if(!f.isUnmounted)if((U=_.value)!=null&&U.complete){if(_.value.naturalWidth||R(),S.value==="error")return;y.value||x(_.value,null),S.value==="loading"&&C()}else y.value||x(_.value),A()})})}}function C(){var B;f.isUnmounted||(A(),x(_.value),S.value="loaded",r("load",((B=_.value)==null?void 0:B.currentSrc)||b.value.src))}function R(){var B;f.isUnmounted||(S.value="error",r("error",((B=_.value)==null?void 0:B.currentSrc)||b.value.src))}function A(){const B=_.value;B&&(g.value=B.currentSrc||B.src)}let O=-1;onBeforeUnmount(()=>{clearTimeout(O)});function x(B){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const U=()=>{if(clearTimeout(O),f.isUnmounted)return;const{naturalHeight:W,naturalWidth:K}=B;W||K?(E.value=K,v.value=W):!B.complete&&S.value==="loading"&&V!=null?O=window.setTimeout(U,V):(B.currentSrc.endsWith(".svg")||B.currentSrc.startsWith("data:image/svg+xml"))&&(E.value=1,v.value=1)};U()}const N=computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),I=()=>{var U;if(!b.value.src||S.value==="idle")return null;const B=createVNode("img",{class:["v-img__img",N.value],style:{objectPosition:e.position},src:b.value.src,srcset:b.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:_,onLoad:C,onError:R},null),V=(U=a.sources)==null?void 0:U.call(a);return createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[withDirectives(V?createVNode("picture",{class:"v-img__picture"},[V,B]):B,[[vShow,S.value==="loaded"]])]})},k=()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[b.value.lazySrc&&S.value!=="loaded"&&createVNode("img",{class:["v-img__img","v-img__img--preload",N.value],style:{objectPosition:e.position},src:b.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),D=()=>a.placeholder?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[(S.value==="loading"||S.value==="error"&&!a.error)&&createVNode("div",{class:"v-img__placeholder"},[a.placeholder()])]}):null,P=()=>a.error?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[S.value==="error"&&createVNode("div",{class:"v-img__error"},[a.error()])]}):null,L=()=>e.gradient?createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,F=shallowRef(!1);{const B=watch(y,V=>{V&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{F.value=!0})}),B())})}return useRender(()=>{const B=VResponsive.filterProps(e);return withDirectives(createVNode(VResponsive,mergeProps({class:["v-img",{"v-img--booting":!F.value},o.value,d.value,e.class],style:[{width:convertToUnit(e.width==="auto"?E.value:e.width)},u.value,e.style]},B,{aspectRatio:y.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>createVNode(Fragment,null,[createVNode(I,null,null),createVNode(k,null,null),createVNode(L,null,null),createVNode(D,null,null),createVNode(P,null,null)]),default:a.default}),[[resolveDirective("intersect"),{handler:T,options:e.options},null,{once:!0}]])}),{currentSrc:g,image:_,state:S,naturalWidth:E,naturalHeight:v}}}),allowedDensities=[null,"prominent","default","comfortable","compact"],makeVToolbarProps=propsFactory({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>allowedDensities.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...makeBorderProps(),...makeComponentProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps({tag:"header"}),...makeThemeProps()},"VToolbar"),VToolbar=genericComponent()({name:"VToolbar",props:makeVToolbarProps(),setup(e,t){var b;let{slots:r}=t;const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"color")),{borderClasses:u}=useBorder(e),{elevationClasses:d}=useElevation(e),{roundedClasses:f}=useRounded(e),{themeClasses:g}=provideTheme(e),{rtlClasses:_}=useRtl(),S=shallowRef(!!(e.extended||(b=r.extension)!=null&&b.call(r))),E=computed(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),v=computed(()=>S.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return provideDefaults({VBtn:{variant:"text"}}),useRender(()=>{var R;const y=!!(e.title||r.title),T=!!(r.image||e.image),C=(R=r.extension)==null?void 0:R.call(r);return S.value=!!(e.extended||C),createVNode(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},a.value,u.value,d.value,f.value,g.value,_.value,e.class],style:[o.value,e.style]},{default:()=>[T&&createVNode("div",{key:"image",class:"v-toolbar__image"},[r.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):createVNode(VImg,{key:"image-img",cover:!0,src:e.image},null)]),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(E.value)}}},{default:()=>{var A,O,x;return[createVNode("div",{class:"v-toolbar__content",style:{height:convertToUnit(E.value)}},[r.prepend&&createVNode("div",{class:"v-toolbar__prepend"},[(A=r.prepend)==null?void 0:A.call(r)]),y&&createVNode(VToolbarTitle,{key:"title",text:e.title},{text:r.title}),(O=r.default)==null?void 0:O.call(r),r.append&&createVNode("div",{class:"v-toolbar__append"},[(x=r.append)==null?void 0:x.call(r)])])]}}),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(v.value)}}},{default:()=>[createVNode(VExpandTransition,null,{default:()=>[S.value&&createVNode("div",{class:"v-toolbar__extension",style:{height:convertToUnit(v.value)}},[C])]})]})]})}),{contentHeight:E,extensionHeight:v}}}),makeScrollProps=propsFactory({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function useScroll(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=t;let a=0,o=0;const u=ref$1(null),d=shallowRef(0),f=shallowRef(0),g=shallowRef(0),_=shallowRef(!1),S=shallowRef(!1),E=computed(()=>Number(e.scrollThreshold)),v=computed(()=>clamp((E.value-d.value)/E.value||0)),b=()=>{const y=u.value;if(!y||r&&!r.value)return;a=d.value,d.value="window"in y?y.pageYOffset:y.scrollTop;const T=y instanceof Window?document.documentElement.scrollHeight:y.scrollHeight;if(o!==T){o=T;return}S.value=d.value{f.value=f.value||d.value}),watch(_,()=>{f.value=0}),onMounted(()=>{watch(()=>e.scrollTarget,y=>{var C;const T=y?document.querySelector(y):window;T&&T!==u.value&&((C=u.value)==null||C.removeEventListener("scroll",b),u.value=T,u.value.addEventListener("scroll",b,{passive:!0}))},{immediate:!0})}),onBeforeUnmount(()=>{var y;(y=u.value)==null||y.removeEventListener("scroll",b)}),r&&watch(r,b,{immediate:!0}),{scrollThreshold:E,currentScroll:d,currentThreshold:g,isScrollActive:_,scrollRatio:v,isScrollingUp:S,savedScroll:f}}function useSsrBoot(){const e=shallowRef(!1);return onMounted(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:computed(()=>e.value?void 0:{transition:"none !important"}),isBooted:readonly(e)}}const makeVAppBarProps=propsFactory({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...makeVToolbarProps(),...makeLayoutItemProps(),...makeScrollProps(),height:{type:[Number,String],default:64}},"VAppBar"),VAppBar=genericComponent()({name:"VAppBar",props:makeVAppBarProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=ref$1(),o=useProxiedModel(e,"modelValue"),u=computed(()=>{var x;const O=new Set(((x=e.scrollBehavior)==null?void 0:x.split(" "))??[]);return{hide:O.has("hide"),fullyHide:O.has("fully-hide"),inverted:O.has("inverted"),collapse:O.has("collapse"),elevate:O.has("elevate"),fadeImage:O.has("fade-image")}}),d=computed(()=>{const O=u.value;return O.hide||O.fullyHide||O.inverted||O.collapse||O.elevate||O.fadeImage||!o.value}),{currentScroll:f,scrollThreshold:g,isScrollingUp:_,scrollRatio:S}=useScroll(e,{canScroll:d}),E=computed(()=>u.value.hide||u.value.fullyHide),v=computed(()=>e.collapse||u.value.collapse&&(u.value.inverted?S.value>0:S.value===0)),b=computed(()=>e.flat||u.value.fullyHide&&!o.value||u.value.elevate&&(u.value.inverted?f.value>0:f.value===0)),y=computed(()=>u.value.fadeImage?u.value.inverted?1-S.value:S.value:void 0),T=computed(()=>{var N,I;const O=Number(((N=a.value)==null?void 0:N.contentHeight)??e.height),x=Number(((I=a.value)==null?void 0:I.extensionHeight)??0);return E.value?f.value!!e.scrollBehavior),()=>{watchEffect(()=>{E.value?u.value.inverted?o.value=f.value>g.value:o.value=_.value||f.valueparseInt(e.order,10)),position:toRef(e,"location"),layoutSize:T,elementSize:shallowRef(void 0),active:o,absolute:toRef(e,"absolute")});return useRender(()=>{const O=VToolbar.filterProps(e);return createVNode(VToolbar,mergeProps({ref:a,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...R.value,"--v-toolbar-image-opacity":y.value,height:void 0,...C.value},e.style]},O,{collapse:v.value,flat:b.value}),r)}),A}}),makeVAppBarNavIconProps=propsFactory({...makeVBtnProps({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),VAppBarNavIcon=genericComponent()({name:"VAppBarNavIcon",props:makeVAppBarNavIconProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(VBtn,mergeProps(e,{class:["v-app-bar-nav-icon"]}),r)),{}}}),VAppBarTitle=genericComponent()({name:"VAppBarTitle",props:makeVToolbarTitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(VToolbarTitle,mergeProps(e,{class:"v-app-bar-title"}),r)),{}}}),VAlertTitle=createSimpleFunctional("v-alert-title"),allowedTypes=["success","info","warning","error"],makeVAlertProps=propsFactory({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:IconValue,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>allowedTypes.includes(e)},...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAlert"),VAlert=genericComponent()({name:"VAlert",props:makeVAlertProps(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),u=computed(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),d=computed(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:f}=provideTheme(e),{colorClasses:g,colorStyles:_,variantClasses:S}=useVariant(d),{densityClasses:E}=useDensity(e),{dimensionStyles:v}=useDimension(e),{elevationClasses:b}=useElevation(e),{locationStyles:y}=useLocation(e),{positionClasses:T}=usePosition(e),{roundedClasses:C}=useRounded(e),{textColorClasses:R,textColorStyles:A}=useTextColor(toRef(e,"borderColor")),{t:O}=useLocale(),x=computed(()=>({"aria-label":O(e.closeLabel),onClick(N){o.value=!1,r("click:close",N)}}));return()=>{const N=!!(a.prepend||u.value),I=!!(a.title||e.title),k=!!(a.close||e.closable);return o.value&&createVNode(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},f.value,g.value,E.value,b.value,T.value,C.value,S.value,e.class],style:[_.value,v.value,y.value,e.style],role:"alert"},{default:()=>{var D,P;return[genOverlays(!1,"v-alert"),e.border&&createVNode("div",{key:"border",class:["v-alert__border",R.value],style:A.value},null),N&&createVNode("div",{key:"prepend",class:"v-alert__prepend"},[a.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!u.value,defaults:{VIcon:{density:e.density,icon:u.value,size:e.prominent?44:28}}},a.prepend):createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:u.value,size:e.prominent?44:28},null)]),createVNode("div",{class:"v-alert__content"},[I&&createVNode(VAlertTitle,{key:"title"},{default:()=>{var L;return[((L=a.title)==null?void 0:L.call(a))??e.title]}}),((D=a.text)==null?void 0:D.call(a))??e.text,(P=a.default)==null?void 0:P.call(a)]),a.append&&createVNode("div",{key:"append",class:"v-alert__append"},[a.append()]),k&&createVNode("div",{key:"close",class:"v-alert__close"},[a.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var L;return[(L=a.close)==null?void 0:L.call(a,{props:x.value})]}}):createVNode(VBtn,mergeProps({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},x.value),null)])]}})}}}),makeVAvatarProps=propsFactory({start:Boolean,end:Boolean,icon:IconValue,image:String,text:String,...makeComponentProps(),...makeDensityProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAvatar"),VAvatar=genericComponent()({name:"VAvatar",props:makeVAvatarProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{colorClasses:o,colorStyles:u,variantClasses:d}=useVariant(e),{densityClasses:f}=useDensity(e),{roundedClasses:g}=useRounded(e),{sizeClasses:_,sizeStyles:S}=useSize(e);return useRender(()=>createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},a.value,o.value,f.value,g.value,_.value,d.value,e.class],style:[u.value,S.value,e.style]},{default:()=>[r.default?createVNode(VDefaultsProvider,{key:"content-defaults",defaults:{VImg:{cover:!0,image:e.image},VIcon:{icon:e.icon}}},{default:()=>[r.default()]}):e.image?createVNode(VImg,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?createVNode(VIcon,{key:"icon",icon:e.icon},null):e.text,genOverlays(!1,"v-avatar")]})),{}}}),VSelectionControlGroupSymbol=Symbol.for("vuetify:selection-control-group"),makeSelectionControlGroupProps=propsFactory({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:IconValue,trueIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:deepEqual},...makeComponentProps(),...makeDensityProps(),...makeThemeProps()},"SelectionControlGroup"),makeVSelectionControlGroupProps=propsFactory({...makeSelectionControlGroupProps({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),VSelectionControlGroup=genericComponent()({name:"VSelectionControlGroup",props:makeVSelectionControlGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),o=getUid(),u=computed(()=>e.id||`v-selection-control-group-${o}`),d=computed(()=>e.name||u.value),f=new Set;return provide(VSelectionControlGroupSymbol,{modelValue:a,forceUpdate:()=>{f.forEach(g=>g())},onForceUpdate:g=>{f.add(g),onScopeDispose(()=>{f.delete(g)})}}),provideDefaults({[e.defaultsTarget]:{color:toRef(e,"color"),disabled:toRef(e,"disabled"),density:toRef(e,"density"),error:toRef(e,"error"),inline:toRef(e,"inline"),modelValue:a,multiple:computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(a.value)),name:d,falseIcon:toRef(e,"falseIcon"),trueIcon:toRef(e,"trueIcon"),readonly:toRef(e,"readonly"),ripple:toRef(e,"ripple"),type:toRef(e,"type"),valueComparator:toRef(e,"valueComparator")}}),useRender(()=>{var g;return createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(g=r.default)==null?void 0:g.call(r)])}),{}}}),makeVSelectionControlProps=propsFactory({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...makeComponentProps(),...makeSelectionControlGroupProps()},"VSelectionControl");function useSelectionControl(e){const t=inject$1(VSelectionControlGroupSymbol,void 0),{densityClasses:r}=useDensity(e),a=useProxiedModel(e,"modelValue"),o=computed(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),u=computed(()=>e.falseValue!==void 0?e.falseValue:!1),d=computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(a.value)),f=computed({get(){const b=t?t.modelValue.value:a.value;return d.value?wrapInArray(b).some(y=>e.valueComparator(y,o.value)):e.valueComparator(b,o.value)},set(b){if(e.readonly)return;const y=b?o.value:u.value;let T=y;d.value&&(T=b?[...wrapInArray(a.value),y]:wrapInArray(a.value).filter(C=>!e.valueComparator(C,o.value))),t?t.modelValue.value=T:a.value=T}}),{textColorClasses:g,textColorStyles:_}=useTextColor(computed(()=>{if(!(e.error||e.disabled))return f.value?e.color:e.baseColor})),{backgroundColorClasses:S,backgroundColorStyles:E}=useBackgroundColor(computed(()=>f.value&&!e.error&&!e.disabled?e.color:e.baseColor)),v=computed(()=>f.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:r,trueValue:o,falseValue:u,model:f,textColorClasses:g,textColorStyles:_,backgroundColorClasses:S,backgroundColorStyles:E,icon:v}}const VSelectionControl=genericComponent()({name:"VSelectionControl",directives:{Ripple},inheritAttrs:!1,props:makeVSelectionControlProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const{group:o,densityClasses:u,icon:d,model:f,textColorClasses:g,textColorStyles:_,backgroundColorClasses:S,backgroundColorStyles:E,trueValue:v}=useSelectionControl(e),b=getUid(),y=shallowRef(!1),T=shallowRef(!1),C=ref$1(),R=computed(()=>e.id||`input-${b}`),A=computed(()=>!e.disabled&&!e.readonly);o==null||o.onForceUpdate(()=>{C.value&&(C.value.checked=f.value)});function O(k){A.value&&(y.value=!0,matchesSelector(k.target,":focus-visible")!==!1&&(T.value=!0))}function x(){y.value=!1,T.value=!1}function N(k){k.stopPropagation()}function I(k){if(!A.value){C.value&&(C.value.checked=f.value);return}e.readonly&&o&&nextTick$1(()=>o.forceUpdate()),f.value=k.target.checked}return useRender(()=>{var F,B;const k=a.label?a.label({label:e.label,props:{for:R.value}}):e.label,[D,P]=filterInputAttrs(r),L=createVNode("input",mergeProps({ref:C,checked:f.value,disabled:!!e.disabled,id:R.value,onBlur:x,onFocus:O,onInput:I,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?f.value:void 0},P),null);return createVNode("div",mergeProps({class:["v-selection-control",{"v-selection-control--dirty":f.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":y.value,"v-selection-control--focus-visible":T.value,"v-selection-control--inline":e.inline},u.value,e.class]},D,{style:e.style}),[createVNode("div",{class:["v-selection-control__wrapper",g.value],style:_.value},[(F=a.default)==null?void 0:F.call(a,{backgroundColorClasses:S,backgroundColorStyles:E}),withDirectives(createVNode("div",{class:["v-selection-control__input"]},[((B=a.input)==null?void 0:B.call(a,{model:f,textColorClasses:g,textColorStyles:_,backgroundColorClasses:S,backgroundColorStyles:E,inputNode:L,icon:d.value,props:{onFocus:O,onBlur:x,id:R.value}}))??createVNode(Fragment,null,[d.value&&createVNode(VIcon,{key:"icon",icon:d.value},null),L])]),[[resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),k&&createVNode(VLabel,{for:R.value,onClick:N},{default:()=>[k]})])}),{isFocused:y,input:C}}}),makeVCheckboxBtnProps=propsFactory({indeterminate:Boolean,indeterminateIcon:{type:IconValue,default:"$checkboxIndeterminate"},...makeVSelectionControlProps({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),VCheckboxBtn=genericComponent()({name:"VCheckboxBtn",props:makeVCheckboxBtnProps(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"indeterminate"),o=useProxiedModel(e,"modelValue");function u(g){a.value&&(a.value=!1)}const d=computed(()=>a.value?e.indeterminateIcon:e.falseIcon),f=computed(()=>a.value?e.indeterminateIcon:e.trueIcon);return useRender(()=>{const g=omit(VSelectionControl.filterProps(e),["modelValue"]);return createVNode(VSelectionControl,mergeProps(g,{modelValue:o.value,"onUpdate:modelValue":[_=>o.value=_,u],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:d.value,trueIcon:f.value,"aria-checked":a.value?"mixed":void 0}),r)}),{}}}),makeVCheckboxProps=propsFactory({...makeVInputProps(),...omit(makeVCheckboxBtnProps(),["inline"])},"VCheckbox"),VCheckbox=genericComponent()({name:"VCheckbox",inheritAttrs:!1,props:makeVCheckboxProps(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),{isFocused:u,focus:d,blur:f}=useFocus(e),g=getUid(),_=computed(()=>e.id||`checkbox-${g}`);return useRender(()=>{const[S,E]=filterInputAttrs(r),v=VInput.filterProps(e),b=VCheckboxBtn.filterProps(e);return createVNode(VInput,mergeProps({class:["v-checkbox",e.class]},S,v,{modelValue:o.value,"onUpdate:modelValue":y=>o.value=y,id:_.value,focused:u.value,style:e.style}),{...a,default:y=>{let{id:T,messagesId:C,isDisabled:R,isReadonly:A,isValid:O}=y;return createVNode(VCheckboxBtn,mergeProps(b,{id:T.value,"aria-describedby":C.value,disabled:R.value,readonly:A.value},E,{error:O.value===!1,modelValue:o.value,"onUpdate:modelValue":x=>o.value=x,onFocus:d,onBlur:f}),a)}})}),{}}});function calculateUpdatedTarget(e){let{selectedElement:t,containerElement:r,isRtl:a,isHorizontal:o}=e;const u=getOffsetSize(o,r),d=getScrollPosition(o,a,r),f=getOffsetSize(o,t),g=getOffsetPosition(o,t),_=f*.4;return d>g?g-_:d+utypeof e=="boolean"||["always","desktop","mobile"].includes(e)},...makeComponentProps(),...makeDisplayProps({mobile:null}),...makeTagProps(),...makeGroupProps({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),VSlideGroup=genericComponent()({name:"VSlideGroup",props:makeVSlideGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{isRtl:a}=useRtl(),{displayClasses:o,mobile:u}=useDisplay(e),d=useGroup(e,e.symbol),f=shallowRef(!1),g=shallowRef(0),_=shallowRef(0),S=shallowRef(0),E=computed(()=>e.direction==="horizontal"),{resizeRef:v,contentRect:b}=useResizeObserver(),{resizeRef:y,contentRect:T}=useResizeObserver(),C=useGoTo(),R=computed(()=>({container:v.el,duration:200,easing:"easeOutQuart"})),A=computed(()=>d.selected.value.length?d.items.value.findIndex(Z=>Z.id===d.selected.value[0]):-1),O=computed(()=>d.selected.value.length?d.items.value.findIndex(Z=>Z.id===d.selected.value[d.selected.value.length-1]):-1);if(IN_BROWSER){let Z=-1;watch(()=>[d.selected.value,b.value,T.value,E.value],()=>{cancelAnimationFrame(Z),Z=requestAnimationFrame(()=>{if(b.value&&T.value){const J=E.value?"width":"height";_.value=b.value[J],S.value=T.value[J],f.value=_.value+1=0&&y.el){const J=y.el.children[O.value];N(J,e.centerActive)}})})}const x=shallowRef(!1);function N(Z,J){let te=0;J?te=calculateCenteredTarget({containerElement:v.el,isHorizontal:E.value,selectedElement:Z}):te=calculateUpdatedTarget({containerElement:v.el,isHorizontal:E.value,isRtl:a.value,selectedElement:Z}),I(te)}function I(Z){if(!IN_BROWSER||!v.el)return;const J=getOffsetSize(E.value,v.el),te=getScrollPosition(E.value,a.value,v.el);if(!(getScrollSize(E.value,v.el)<=J||Math.abs(Z-te)<16)){if(E.value&&a.value&&v.el){const{scrollWidth:ve,offsetWidth:ue}=v.el;Z=ve-ue-Z}E.value?C.horizontal(Z,R.value):C(Z,R.value)}}function k(Z){const{scrollTop:J,scrollLeft:te}=Z.target;g.value=E.value?te:J}function D(Z){if(x.value=!0,!(!f.value||!y.el)){for(const J of Z.composedPath())for(const te of y.el.children)if(te===J){N(te);return}}}function P(Z){x.value=!1}let L=!1;function F(Z){var J;!L&&!x.value&&!(Z.relatedTarget&&((J=y.el)!=null&&J.contains(Z.relatedTarget)))&&U(),L=!1}function B(){L=!0}function V(Z){if(!y.el)return;function J(te){Z.preventDefault(),U(te)}E.value?Z.key==="ArrowRight"?J(a.value?"prev":"next"):Z.key==="ArrowLeft"&&J(a.value?"next":"prev"):Z.key==="ArrowDown"?J("next"):Z.key==="ArrowUp"&&J("prev"),Z.key==="Home"?J("first"):Z.key==="End"&&J("last")}function U(Z){var te,fe;if(!y.el)return;let J;if(!Z)J=focusableChildren(y.el)[0];else if(Z==="next"){if(J=(te=y.el.querySelector(":focus"))==null?void 0:te.nextElementSibling,!J)return U("first")}else if(Z==="prev"){if(J=(fe=y.el.querySelector(":focus"))==null?void 0:fe.previousElementSibling,!J)return U("last")}else Z==="first"?J=y.el.firstElementChild:Z==="last"&&(J=y.el.lastElementChild);J&&J.focus({preventScroll:!0})}function W(Z){const J=E.value&&a.value?-1:1,te=(Z==="prev"?-J:J)*_.value;let fe=g.value+te;if(E.value&&a.value&&v.el){const{scrollWidth:ve,offsetWidth:ue}=v.el;fe+=ve-ue}I(fe)}const K=computed(()=>({next:d.next,prev:d.prev,select:d.select,isSelected:d.isSelected})),G=computed(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!u.value;case!0:return f.value||Math.abs(g.value)>0;case"mobile":return u.value||f.value||Math.abs(g.value)>0;default:return!u.value&&(f.value||Math.abs(g.value)>0)}}),Y=computed(()=>Math.abs(g.value)>1),Q=computed(()=>{if(!v.value)return!1;const Z=getScrollSize(E.value,v.el),J=getClientSize(E.value,v.el);return Z-J-Math.abs(g.value)>1});return useRender(()=>createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!E.value,"v-slide-group--has-affixes":G.value,"v-slide-group--is-overflowing":f.value},o.value,e.class],style:e.style,tabindex:x.value||d.selected.value.length?-1:0,onFocus:F},{default:()=>{var Z,J,te;return[G.value&&createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Y.value}],onMousedown:B,onClick:()=>Y.value&&W("prev")},[((Z=r.prev)==null?void 0:Z.call(r,K.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:a.value?e.nextIcon:e.prevIcon},null)]})]),createVNode("div",{key:"container",ref:v,class:"v-slide-group__container",onScroll:k},[createVNode("div",{ref:y,class:"v-slide-group__content",onFocusin:D,onFocusout:P,onKeydown:V},[(J=r.default)==null?void 0:J.call(r,K.value)])]),G.value&&createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Q.value}],onMousedown:B,onClick:()=>Q.value&&W("next")},[((te=r.next)==null?void 0:te.call(r,K.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:a.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:d.selected,scrollTo:W,scrollOffset:g,focus:U}}}),VChipGroupSymbol=Symbol.for("vuetify:v-chip-group"),makeVChipGroupProps=propsFactory({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:deepEqual},...makeVSlideGroupProps(),...makeComponentProps(),...makeGroupProps({selectedClass:"v-chip--selected"}),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChipGroup"),VChipGroup=genericComponent()({name:"VChipGroup",props:makeVChipGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{isSelected:o,select:u,next:d,prev:f,selected:g}=useGroup(e,VChipGroupSymbol);return provideDefaults({VChip:{color:toRef(e,"color"),disabled:toRef(e,"disabled"),filter:toRef(e,"filter"),variant:toRef(e,"variant")}}),useRender(()=>{const _=VSlideGroup.filterProps(e);return createVNode(VSlideGroup,mergeProps(_,{class:["v-chip-group",{"v-chip-group--column":e.column},a.value,e.class],style:e.style}),{default:()=>{var S;return[(S=r.default)==null?void 0:S.call(r,{isSelected:o,select:u,next:d,prev:f,selected:g.value})]}})}),{}}}),makeVChipProps=propsFactory({activeClass:String,appendAvatar:String,appendIcon:IconValue,closable:Boolean,closeIcon:{type:IconValue,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeGroupItemProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"span"}),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChip"),VChip=genericComponent()({name:"VChip",directives:{Ripple},props:makeVChipProps(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const{t:u}=useLocale(),{borderClasses:d}=useBorder(e),{colorClasses:f,colorStyles:g,variantClasses:_}=useVariant(e),{densityClasses:S}=useDensity(e),{elevationClasses:E}=useElevation(e),{roundedClasses:v}=useRounded(e),{sizeClasses:b}=useSize(e),{themeClasses:y}=provideTheme(e),T=useProxiedModel(e,"modelValue"),C=useGroupItem(e,VChipGroupSymbol,!1),R=useLink$1(e,r),A=computed(()=>e.link!==!1&&R.isLink.value),O=computed(()=>!e.disabled&&e.link!==!1&&(!!C||e.link||R.isClickable.value)),x=computed(()=>({"aria-label":u(e.closeLabel),onClick(k){k.preventDefault(),k.stopPropagation(),T.value=!1,a("click:close",k)}}));function N(k){var D;a("click",k),O.value&&((D=R.navigate)==null||D.call(R,k),C==null||C.toggle())}function I(k){(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),N(k))}return()=>{const k=R.isLink.value?"a":e.tag,D=!!(e.appendIcon||e.appendAvatar),P=!!(D||o.append),L=!!(o.close||e.closable),F=!!(o.filter||e.filter)&&C,B=!!(e.prependIcon||e.prependAvatar),V=!!(B||o.prepend),U=!C||C.isSelected.value;return T.value&&withDirectives(createVNode(k,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":O.value,"v-chip--filter":F,"v-chip--pill":e.pill},y.value,d.value,U?f.value:void 0,S.value,E.value,v.value,b.value,_.value,C==null?void 0:C.selectedClass.value,e.class],style:[U?g.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:R.href.value,tabindex:O.value?0:void 0,onClick:N,onKeydown:O.value&&!A.value&&I},{default:()=>{var W;return[genOverlays(O.value,"v-chip"),F&&createVNode(VExpandXTransition,{key:"filter"},{default:()=>[withDirectives(createVNode("div",{class:"v-chip__filter"},[o.filter?createVNode(VDefaultsProvider,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},o.filter):createVNode(VIcon,{key:"filter-icon",icon:e.filterIcon},null)]),[[vShow,C.isSelected.value]])]}),V&&createVNode("div",{key:"prepend",class:"v-chip__prepend"},[o.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!B,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},o.prepend):createVNode(Fragment,null,[e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),createVNode("div",{class:"v-chip__content","data-no-activator":""},[((W=o.default)==null?void 0:W.call(o,{isSelected:C==null?void 0:C.isSelected.value,selectedClass:C==null?void 0:C.selectedClass.value,select:C==null?void 0:C.select,toggle:C==null?void 0:C.toggle,value:C==null?void 0:C.value.value,disabled:e.disabled}))??e.text]),P&&createVNode("div",{key:"append",class:"v-chip__append"},[o.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!D,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},o.append):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),L&&createVNode("button",mergeProps({key:"close",class:"v-chip__close",type:"button"},x.value),[o.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},o.close):createVNode(VIcon,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[resolveDirective("ripple"),O.value&&e.ripple,null]])}}}),ListKey=Symbol.for("vuetify:list");function createList(){const e=inject$1(ListKey,{hasPrepend:shallowRef(!1),updateHasPrepend:()=>null}),t={hasPrepend:shallowRef(!1),updateHasPrepend:r=>{r&&(t.hasPrepend.value=r)}};return provide(ListKey,t),e}function useList(){return inject$1(ListKey,null)}const independentActiveStrategy=e=>{const t={activate:r=>{let{id:a,value:o,activated:u}=r;return a=toRaw(a),e&&!o&&u.size===1&&u.has(a)||(o?u.add(a):u.delete(a)),u},in:(r,a,o)=>{let u=new Set;if(r!=null)for(const d of wrapInArray(r))u=t.activate({id:d,value:!0,activated:new Set(u),children:a,parents:o});return u},out:r=>Array.from(r)};return t},independentSingleActiveStrategy=e=>{const t=independentActiveStrategy(e);return{activate:a=>{let{activated:o,id:u,...d}=a;u=toRaw(u);const f=o.has(u)?new Set([u]):new Set;return t.activate({...d,id:u,activated:f})},in:(a,o,u)=>{let d=new Set;if(a!=null){const f=wrapInArray(a);f.length&&(d=t.in(f.slice(0,1),o,u))}return d},out:(a,o,u)=>t.out(a,o,u)}},leafActiveStrategy=e=>{const t=independentActiveStrategy(e);return{activate:a=>{let{id:o,activated:u,children:d,...f}=a;return o=toRaw(o),d.has(o)?u:t.activate({id:o,activated:u,children:d,...f})},in:t.in,out:t.out}},leafSingleActiveStrategy=e=>{const t=independentSingleActiveStrategy(e);return{activate:a=>{let{id:o,activated:u,children:d,...f}=a;return o=toRaw(o),d.has(o)?u:t.activate({id:o,activated:u,children:d,...f})},in:t.in,out:t.out}},singleOpenStrategy={open:e=>{let{id:t,value:r,opened:a,parents:o}=e;if(r){const u=new Set;u.add(t);let d=o.get(t);for(;d!=null;)u.add(d),d=o.get(d);return u}else return a.delete(t),a},select:()=>null},multipleOpenStrategy={open:e=>{let{id:t,value:r,opened:a,parents:o}=e;if(r){let u=o.get(t);for(a.add(t);u!=null&&u!==t;)a.add(u),u=o.get(u);return a}else a.delete(t);return a},select:()=>null},listOpenStrategy={open:multipleOpenStrategy.open,select:e=>{let{id:t,value:r,opened:a,parents:o}=e;if(!r)return a;const u=[];let d=o.get(t);for(;d!=null;)u.push(d),d=o.get(d);return new Set(u)}},independentSelectStrategy=e=>{const t={select:r=>{let{id:a,value:o,selected:u}=r;if(a=toRaw(a),e&&!o){const d=Array.from(u.entries()).reduce((f,g)=>{let[_,S]=g;return S==="on"&&f.push(_),f},[]);if(d.length===1&&d[0]===a)return u}return u.set(a,o?"on":"off"),u},in:(r,a,o)=>{let u=new Map;for(const d of r||[])u=t.select({id:d,value:!0,selected:new Map(u),children:a,parents:o});return u},out:r=>{const a=[];for(const[o,u]of r.entries())u==="on"&&a.push(o);return a}};return t},independentSingleSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:a=>{let{selected:o,id:u,...d}=a;u=toRaw(u);const f=o.has(u)?new Map([[u,o.get(u)]]):new Map;return t.select({...d,id:u,selected:f})},in:(a,o,u)=>{let d=new Map;return a!=null&&a.length&&(d=t.in(a.slice(0,1),o,u)),d},out:(a,o,u)=>t.out(a,o,u)}},leafSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:a=>{let{id:o,selected:u,children:d,...f}=a;return o=toRaw(o),d.has(o)?u:t.select({id:o,selected:u,children:d,...f})},in:t.in,out:t.out}},leafSingleSelectStrategy=e=>{const t=independentSingleSelectStrategy(e);return{select:a=>{let{id:o,selected:u,children:d,...f}=a;return o=toRaw(o),d.has(o)?u:t.select({id:o,selected:u,children:d,...f})},in:t.in,out:t.out}},classicSelectStrategy=e=>{const t={select:r=>{let{id:a,value:o,selected:u,children:d,parents:f}=r;a=toRaw(a);const g=new Map(u),_=[a];for(;_.length;){const E=_.shift();u.set(E,o?"on":"off"),d.has(E)&&_.push(...d.get(E))}let S=f.get(a);for(;S;){const E=d.get(S),v=E.every(y=>u.get(y)==="on"),b=E.every(y=>!u.has(y)||u.get(y)==="off");u.set(S,v?"on":b?"off":"indeterminate"),S=f.get(S)}return e&&!o&&Array.from(u.entries()).reduce((v,b)=>{let[y,T]=b;return T==="on"&&v.push(y),v},[]).length===0?g:u},in:(r,a,o)=>{let u=new Map;for(const d of r||[])u=t.select({id:d,value:!0,selected:new Map(u),children:a,parents:o});return u},out:(r,a)=>{const o=[];for(const[u,d]of r.entries())d==="on"&&!a.has(u)&&o.push(u);return o}};return t},VNestedSymbol=Symbol.for("vuetify:nested"),emptyNested={id:shallowRef(),root:{register:()=>null,unregister:()=>null,parents:ref$1(new Map),children:ref$1(new Map),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:ref$1(!1),selectable:ref$1(!1),opened:ref$1(new Set),activated:ref$1(new Set),selected:ref$1(new Map),selectedValues:ref$1([])}},makeNestedProps=propsFactory({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),useNested=e=>{let t=!1;const r=ref$1(new Map),a=ref$1(new Map),o=useProxiedModel(e,"opened",e.opened,b=>new Set(b),b=>[...b.values()]),u=computed(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return leafActiveStrategy(e.mandatory);case"single-leaf":return leafSingleActiveStrategy(e.mandatory);case"independent":return independentActiveStrategy(e.mandatory);case"single-independent":default:return independentSingleActiveStrategy(e.mandatory)}}),d=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);switch(e.selectStrategy){case"single-leaf":return leafSingleSelectStrategy(e.mandatory);case"leaf":return leafSelectStrategy(e.mandatory);case"independent":return independentSelectStrategy(e.mandatory);case"single-independent":return independentSingleSelectStrategy(e.mandatory);case"classic":default:return classicSelectStrategy(e.mandatory)}}),f=computed(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return listOpenStrategy;case"single":return singleOpenStrategy;case"multiple":default:return multipleOpenStrategy}}),g=useProxiedModel(e,"activated",e.activated,b=>u.value.in(b,r.value,a.value),b=>u.value.out(b,r.value,a.value)),_=useProxiedModel(e,"selected",e.selected,b=>d.value.in(b,r.value,a.value),b=>d.value.out(b,r.value,a.value));onBeforeUnmount(()=>{t=!0});function S(b){const y=[];let T=b;for(;T!=null;)y.unshift(T),T=a.value.get(T);return y}const E=getCurrentInstance("nested"),v={id:shallowRef(),root:{opened:o,activatable:toRef(e,"activatable"),selectable:toRef(e,"selectable"),activated:g,selected:_,selectedValues:computed(()=>{const b=[];for(const[y,T]of _.value.entries())T==="on"&&b.push(y);return b}),register:(b,y,T)=>{y&&b!==y&&a.value.set(b,y),T&&r.value.set(b,[]),y!=null&&r.value.set(y,[...r.value.get(y)||[],b])},unregister:b=>{if(t)return;r.value.delete(b);const y=a.value.get(b);if(y){const T=r.value.get(y)??[];r.value.set(y,T.filter(C=>C!==b))}a.value.delete(b),o.value.delete(b)},open:(b,y,T)=>{E.emit("click:open",{id:b,value:y,path:S(b),event:T});const C=f.value.open({id:b,value:y,opened:new Set(o.value),children:r.value,parents:a.value,event:T});C&&(o.value=C)},openOnSelect:(b,y,T)=>{const C=f.value.select({id:b,value:y,selected:new Map(_.value),opened:new Set(o.value),children:r.value,parents:a.value,event:T});C&&(o.value=C)},select:(b,y,T)=>{E.emit("click:select",{id:b,value:y,path:S(b),event:T});const C=d.value.select({id:b,value:y,selected:new Map(_.value),children:r.value,parents:a.value,event:T});C&&(_.value=C),v.root.openOnSelect(b,y,T)},activate:(b,y,T)=>{if(!e.activatable)return v.root.select(b,!0,T);E.emit("click:activate",{id:b,value:y,path:S(b),event:T});const C=u.value.activate({id:b,value:y,activated:new Set(g.value),children:r.value,parents:a.value,event:T});C&&(g.value=C)},children:r,parents:a}};return provide(VNestedSymbol,v),v.root},useNestedItem=(e,t)=>{const r=inject$1(VNestedSymbol,emptyNested),a=Symbol(getUid()),o=computed(()=>e.value!==void 0?e.value:a),u={...r,id:o,open:(d,f)=>r.root.open(o.value,d,f),openOnSelect:(d,f)=>r.root.openOnSelect(o.value,d,f),isOpen:computed(()=>r.root.opened.value.has(o.value)),parent:computed(()=>r.root.parents.value.get(o.value)),activate:(d,f)=>r.root.activate(o.value,d,f),isActivated:computed(()=>r.root.activated.value.has(toRaw(o.value))),select:(d,f)=>r.root.select(o.value,d,f),isSelected:computed(()=>r.root.selected.value.get(toRaw(o.value))==="on"),isIndeterminate:computed(()=>r.root.selected.value.get(o.value)==="indeterminate"),isLeaf:computed(()=>!r.root.children.value.get(o.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(o.value,r.id.value,t),onBeforeUnmount(()=>{!r.isGroupActivator&&r.root.unregister(o.value)}),t&&provide(VNestedSymbol,u),u},useNestedGroupActivator=()=>{const e=inject$1(VNestedSymbol,emptyNested);provide(VNestedSymbol,{...e,isGroupActivator:!0})},VListGroupActivator=defineComponent({name:"VListGroupActivator",setup(e,t){let{slots:r}=t;return useNestedGroupActivator(),()=>{var a;return(a=r.default)==null?void 0:a.call(r)}}}),makeVListGroupProps=propsFactory({activeColor:String,baseColor:String,color:String,collapseIcon:{type:IconValue,default:"$collapse"},expandIcon:{type:IconValue,default:"$expand"},prependIcon:IconValue,appendIcon:IconValue,fluid:Boolean,subgroup:Boolean,title:String,value:null,...makeComponentProps(),...makeTagProps()},"VListGroup"),VListGroup=genericComponent()({name:"VListGroup",props:makeVListGroupProps(),setup(e,t){let{slots:r}=t;const{isOpen:a,open:o,id:u}=useNestedItem(toRef(e,"value"),!0),d=computed(()=>`v-list-group--id-${String(u.value)}`),f=useList(),{isBooted:g}=useSsrBoot();function _(b){b.stopPropagation(),o(!a.value,b)}const S=computed(()=>({onClick:_,class:"v-list-group__header",id:d.value})),E=computed(()=>a.value?e.collapseIcon:e.expandIcon),v=computed(()=>({VListItem:{active:a.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&E.value,appendIcon:e.appendIcon||!e.subgroup&&E.value,title:e.title,value:e.value}}));return useRender(()=>createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":f==null?void 0:f.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":a.value},e.class],style:e.style},{default:()=>[r.activator&&createVNode(VDefaultsProvider,{defaults:v.value},{default:()=>[createVNode(VListGroupActivator,null,{default:()=>[r.activator({props:S.value,isOpen:a.value})]})]}),createVNode(MaybeTransition,{transition:{component:VExpandTransition},disabled:!g.value},{default:()=>{var b;return[withDirectives(createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":d.value},[(b=r.default)==null?void 0:b.call(r)]),[[vShow,a.value]])]}})]})),{isOpen:a}}}),makeVListItemSubtitleProps=propsFactory({opacity:[Number,String],...makeComponentProps(),...makeTagProps()},"VListItemSubtitle"),VListItemSubtitle=genericComponent()({name:"VListItemSubtitle",props:makeVListItemSubtitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:["v-list-item-subtitle",e.class],style:[{"--v-list-item-subtitle-opacity":e.opacity},e.style]},r)),{}}}),VListItemTitle=createSimpleFunctional("v-list-item-title"),makeVListItemProps=propsFactory({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:IconValue,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VListItem"),VListItem=genericComponent()({name:"VListItem",directives:{Ripple},props:makeVListItemProps(),emits:{click:e=>!0},setup(e,t){let{attrs:r,slots:a,emit:o}=t;const u=useLink$1(e,r),d=computed(()=>e.value===void 0?u.href.value:e.value),{activate:f,isActivated:g,select:_,isSelected:S,isIndeterminate:E,isGroupActivator:v,root:b,parent:y,openOnSelect:T}=useNestedItem(d,!1),C=useList(),R=computed(()=>{var Z;return e.active!==!1&&(e.active||((Z=u.isActive)==null?void 0:Z.value)||(b.activatable.value?g.value:S.value))}),A=computed(()=>e.link!==!1&&u.isLink.value),O=computed(()=>!e.disabled&&e.link!==!1&&(e.link||u.isClickable.value||!!C&&(b.selectable.value||b.activatable.value||e.value!=null))),x=computed(()=>e.rounded||e.nav),N=computed(()=>e.color??e.activeColor),I=computed(()=>({color:R.value?N.value??e.baseColor:e.baseColor,variant:e.variant}));watch(()=>{var Z;return(Z=u.isActive)==null?void 0:Z.value},Z=>{Z&&y.value!=null&&b.open(y.value,!0),Z&&T(Z)},{immediate:!0});const{themeClasses:k}=provideTheme(e),{borderClasses:D}=useBorder(e),{colorClasses:P,colorStyles:L,variantClasses:F}=useVariant(I),{densityClasses:B}=useDensity(e),{dimensionStyles:V}=useDimension(e),{elevationClasses:U}=useElevation(e),{roundedClasses:W}=useRounded(x),K=computed(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),G=computed(()=>({isActive:R.value,select:_,isSelected:S.value,isIndeterminate:E.value}));function Y(Z){var J;o("click",Z),O.value&&((J=u.navigate)==null||J.call(u,Z),!v&&(b.activatable.value?f(!g.value,Z):(b.selectable.value||e.value!=null)&&_(!S.value,Z)))}function Q(Z){(Z.key==="Enter"||Z.key===" ")&&(Z.preventDefault(),Y(Z))}return useRender(()=>{const Z=A.value?"a":e.tag,J=a.title||e.title!=null,te=a.subtitle||e.subtitle!=null,fe=!!(e.appendAvatar||e.appendIcon),ve=!!(fe||a.append),ue=!!(e.prependAvatar||e.prependIcon),ie=!!(ue||a.prepend);return C==null||C.updateHasPrepend(ie),e.activeColor&&deprecate("active-color",["color","base-color"]),withDirectives(createVNode(Z,{class:["v-list-item",{"v-list-item--active":R.value,"v-list-item--disabled":e.disabled,"v-list-item--link":O.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!ie&&(C==null?void 0:C.hasPrepend.value),"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&R.value},k.value,D.value,P.value,B.value,U.value,K.value,W.value,F.value,e.class],style:[L.value,V.value,e.style],href:u.href.value,tabindex:O.value?C?-2:0:void 0,onClick:Y,onKeydown:O.value&&!A.value&&Q},{default:()=>{var ee;return[genOverlays(O.value||R.value,"v-list-item"),ie&&createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[a.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!ue,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var de;return[(de=a.prepend)==null?void 0:de.call(a,G.value)]}}):createVNode(Fragment,null,[e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),createVNode("div",{class:"v-list-item__spacer"},null)]),createVNode("div",{class:"v-list-item__content","data-no-activator":""},[J&&createVNode(VListItemTitle,{key:"title"},{default:()=>{var de;return[((de=a.title)==null?void 0:de.call(a,{title:e.title}))??e.title]}}),te&&createVNode(VListItemSubtitle,{key:"subtitle"},{default:()=>{var de;return[((de=a.subtitle)==null?void 0:de.call(a,{subtitle:e.subtitle}))??e.subtitle]}}),(ee=a.default)==null?void 0:ee.call(a,G.value)]),ve&&createVNode("div",{key:"append",class:"v-list-item__append"},[a.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!fe,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var de;return[(de=a.append)==null?void 0:de.call(a,G.value)]}}):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[resolveDirective("ripple"),O.value&&e.ripple]])}),{activate:f,isActivated:g,isGroupActivator:v,isSelected:S,list:C,select:_}}}),makeVListSubheaderProps=propsFactory({color:String,inset:Boolean,sticky:Boolean,title:String,...makeComponentProps(),...makeTagProps()},"VListSubheader"),VListSubheader=genericComponent()({name:"VListSubheader",props:makeVListSubheaderProps(),setup(e,t){let{slots:r}=t;const{textColorClasses:a,textColorStyles:o}=useTextColor(toRef(e,"color"));return useRender(()=>{const u=!!(r.default||e.title);return createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},a.value,e.class],style:[{textColorStyles:o},e.style]},{default:()=>{var d;return[u&&createVNode("div",{class:"v-list-subheader__text"},[((d=r.default)==null?void 0:d.call(r))??e.title])]}})}),{}}}),makeVListChildrenProps=propsFactory({items:Array,returnObject:Boolean},"VListChildren"),VListChildren=genericComponent()({name:"VListChildren",props:makeVListChildrenProps(),setup(e,t){let{slots:r}=t;return createList(),()=>{var a,o;return((a=r.default)==null?void 0:a.call(r))??((o=e.items)==null?void 0:o.map(u=>{var v,b;let{children:d,props:f,type:g,raw:_}=u;if(g==="divider")return((v=r.divider)==null?void 0:v.call(r,{props:f}))??createVNode(VDivider,f,null);if(g==="subheader")return((b=r.subheader)==null?void 0:b.call(r,{props:f}))??createVNode(VListSubheader,f,null);const S={subtitle:r.subtitle?y=>{var T;return(T=r.subtitle)==null?void 0:T.call(r,{...y,item:_})}:void 0,prepend:r.prepend?y=>{var T;return(T=r.prepend)==null?void 0:T.call(r,{...y,item:_})}:void 0,append:r.append?y=>{var T;return(T=r.append)==null?void 0:T.call(r,{...y,item:_})}:void 0,title:r.title?y=>{var T;return(T=r.title)==null?void 0:T.call(r,{...y,item:_})}:void 0},E=VListGroup.filterProps(f);return d?createVNode(VListGroup,mergeProps({value:f==null?void 0:f.value},E),{activator:y=>{let{props:T}=y;const C={...f,...T,value:e.returnObject?_:f.value};return r.header?r.header({props:C}):createVNode(VListItem,C,S)},default:()=>createVNode(VListChildren,{items:d,returnObject:e.returnObject},r)}):r.item?r.item({props:f}):createVNode(VListItem,mergeProps(f,{value:e.returnObject?_:f.value}),S)}))}}}),makeItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:deepEqual}},"list-items");function transformItem$3(e,t){const r=getPropertyFromItem(t,e.itemTitle,t),a=getPropertyFromItem(t,e.itemValue,r),o=getPropertyFromItem(t,e.itemChildren),u=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?omit(t,["children"]):t:void 0:getPropertyFromItem(t,e.itemProps),d={title:r,value:a,...u};return{title:String(d.title??""),value:d.value,props:d,children:Array.isArray(o)?transformItems$3(e,o):void 0,raw:t}}function transformItems$3(e,t){const r=[];for(const a of t)r.push(transformItem$3(e,a));return r}function useItems(e){const t=computed(()=>transformItems$3(e,e.items)),r=computed(()=>t.value.some(u=>u.value===null));function a(u){return r.value||(u=u.filter(d=>d!==null)),u.map(d=>e.returnObject&&typeof d=="string"?transformItem$3(e,d):t.value.find(f=>e.valueComparator(d,f.value))||transformItem$3(e,d))}function o(u){return e.returnObject?u.map(d=>{let{raw:f}=d;return f}):u.map(d=>{let{value:f}=d;return f})}return{items:t,transformIn:a,transformOut:o}}function isPrimitive(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function transformItem$2(e,t){const r=getPropertyFromItem(t,e.itemType,"item"),a=isPrimitive(t)?t:getPropertyFromItem(t,e.itemTitle),o=getPropertyFromItem(t,e.itemValue,void 0),u=getPropertyFromItem(t,e.itemChildren),d=e.itemProps===!0?omit(t,["children"]):getPropertyFromItem(t,e.itemProps),f={title:a,value:o,...d};return{type:r,title:f.title,value:f.value,props:f,children:r==="item"&&u?transformItems$2(e,u):void 0,raw:t}}function transformItems$2(e,t){const r=[];for(const a of t)r.push(transformItem$2(e,a));return r}function useListItems(e){return{items:computed(()=>transformItems$2(e,e.items))}}const makeVListProps=propsFactory({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:String,collapseIcon:String,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":EventProp(),"onClick:select":EventProp(),"onUpdate:opened":EventProp(),...makeNestedProps({selectStrategy:"single-leaf",openStrategy:"list"}),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),itemType:{type:String,default:"type"},...makeItemsProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VList"),VList=genericComponent()({name:"VList",props:makeVListProps(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:r}=t;const{items:a}=useListItems(e),{themeClasses:o}=provideTheme(e),{backgroundColorClasses:u,backgroundColorStyles:d}=useBackgroundColor(toRef(e,"bgColor")),{borderClasses:f}=useBorder(e),{densityClasses:g}=useDensity(e),{dimensionStyles:_}=useDimension(e),{elevationClasses:S}=useElevation(e),{roundedClasses:E}=useRounded(e),{children:v,open:b,parents:y,select:T}=useNested(e),C=computed(()=>e.lines?`v-list--${e.lines}-line`:void 0),R=toRef(e,"activeColor"),A=toRef(e,"baseColor"),O=toRef(e,"color");createList(),provideDefaults({VListGroup:{activeColor:R,baseColor:A,color:O,expandIcon:toRef(e,"expandIcon"),collapseIcon:toRef(e,"collapseIcon")},VListItem:{activeClass:toRef(e,"activeClass"),activeColor:R,baseColor:A,color:O,density:toRef(e,"density"),disabled:toRef(e,"disabled"),lines:toRef(e,"lines"),nav:toRef(e,"nav"),slim:toRef(e,"slim"),variant:toRef(e,"variant")}});const x=shallowRef(!1),N=ref$1();function I(B){x.value=!0}function k(B){x.value=!1}function D(B){var V;!x.value&&!(B.relatedTarget&&((V=N.value)!=null&&V.contains(B.relatedTarget)))&&F()}function P(B){const V=B.target;if(!(!N.value||["INPUT","TEXTAREA"].includes(V.tagName))){if(B.key==="ArrowDown")F("next");else if(B.key==="ArrowUp")F("prev");else if(B.key==="Home")F("first");else if(B.key==="End")F("last");else return;B.preventDefault()}}function L(B){x.value=!0}function F(B){if(N.value)return focusChild(N.value,B)}return useRender(()=>createVNode(e.tag,{ref:N,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},o.value,u.value,f.value,g.value,S.value,C.value,E.value,e.class],style:[d.value,_.value,e.style],tabindex:e.disabled||x.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:I,onFocusout:k,onFocus:D,onKeydown:P,onMousedown:L},{default:()=>[createVNode(VListChildren,{items:a.value,returnObject:e.returnObject},r)]})),{open:b,select:T,focus:F,children:v,parents:y}}}),VListImg=createSimpleFunctional("v-list-img"),makeVListItemActionProps=propsFactory({start:Boolean,end:Boolean,...makeComponentProps(),...makeTagProps()},"VListItemAction"),VListItemAction=genericComponent()({name:"VListItemAction",props:makeVListItemActionProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},r)),{}}}),makeVListItemMediaProps=propsFactory({start:Boolean,end:Boolean,...makeComponentProps(),...makeTagProps()},"VListItemMedia"),VListItemMedia=genericComponent()({name:"VListItemMedia",props:makeVListItemMediaProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end},e.class],style:e.style},r)),{}}});function elementToViewport(e,t){return{x:e.x+t.x,y:e.y+t.y}}function getOffset$1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function anchorToPoint(e,t){if(e.side==="top"||e.side==="bottom"){const{side:r,align:a}=e,o=a==="left"?0:a==="center"?t.width/2:a==="right"?t.width:a,u=r==="top"?0:r==="bottom"?t.height:r;return elementToViewport({x:o,y:u},t)}else if(e.side==="left"||e.side==="right"){const{side:r,align:a}=e,o=r==="left"?0:r==="right"?t.width:r,u=a==="top"?0:a==="center"?t.height/2:a==="bottom"?t.height:a;return elementToViewport({x:o,y:u},t)}return elementToViewport({x:t.width/2,y:t.height/2},t)}const locationStrategies={static:staticLocationStrategy,connected:connectedLocationStrategy},makeLocationStrategyProps=propsFactory({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in locationStrategies},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function useLocationStrategies(e,t){const r=ref$1({}),a=ref$1();IN_BROWSER&&useToggleScope(()=>!!(t.isActive.value&&e.locationStrategy),u=>{var d,f;watch(()=>e.locationStrategy,u),onScopeDispose(()=>{window.removeEventListener("resize",o),a.value=void 0}),window.addEventListener("resize",o,{passive:!0}),typeof e.locationStrategy=="function"?a.value=(d=e.locationStrategy(t,e,r))==null?void 0:d.updateLocation:a.value=(f=locationStrategies[e.locationStrategy](t,e,r))==null?void 0:f.updateLocation});function o(u){var d;(d=a.value)==null||d.call(a,u)}return{contentStyles:r,updateLocation:a}}function staticLocationStrategy(){}function getIntrinsicSize(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const r=nullifyTransforms(e);return t?r.x+=parseFloat(e.style.right||0):r.x-=parseFloat(e.style.left||0),r.y-=parseFloat(e.style.top||0),r}function connectedLocationStrategy(e,t,r){(Array.isArray(e.target.value)||isFixedPosition(e.target.value))&&Object.assign(r.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:o,preferredOrigin:u}=destructComputed(()=>{const y=parseAnchor(t.location,e.isRtl.value),T=t.origin==="overlap"?y:t.origin==="auto"?flipSide(y):parseAnchor(t.origin,e.isRtl.value);return y.side===T.side&&y.align===flipAlign(T).align?{preferredAnchor:flipCorner(y),preferredOrigin:flipCorner(T)}:{preferredAnchor:y,preferredOrigin:T}}),[d,f,g,_]=["minWidth","minHeight","maxWidth","maxHeight"].map(y=>computed(()=>{const T=parseFloat(t[y]);return isNaN(T)?1/0:T})),S=computed(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const y=t.offset.split(" ").map(parseFloat);return y.length<2&&y.push(0),y}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let E=!1;const v=new ResizeObserver(()=>{E&&b()});watch([e.target,e.contentEl],(y,T)=>{let[C,R]=y,[A,O]=T;A&&!Array.isArray(A)&&v.unobserve(A),C&&!Array.isArray(C)&&v.observe(C),O&&v.unobserve(O),R&&v.observe(R)},{immediate:!0}),onScopeDispose(()=>{v.disconnect()});function b(){if(E=!1,requestAnimationFrame(()=>E=!0),!e.target.value||!e.contentEl.value)return;const y=getTargetBox(e.target.value),T=getIntrinsicSize(e.contentEl.value,e.isRtl.value),C=getScrollParents(e.contentEl.value),R=12;C.length||(C.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(T.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),T.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const A=C.reduce((F,B)=>{const V=B.getBoundingClientRect(),U=new Box({x:B===document.documentElement?0:V.x,y:B===document.documentElement?0:V.y,width:B.clientWidth,height:B.clientHeight});return F?new Box({x:Math.max(F.left,U.left),y:Math.max(F.top,U.top),width:Math.min(F.right,U.right)-Math.max(F.left,U.left),height:Math.min(F.bottom,U.bottom)-Math.max(F.top,U.top)}):U},void 0);A.x+=R,A.y+=R,A.width-=R*2,A.height-=R*2;let O={anchor:o.value,origin:u.value};function x(F){const B=new Box(T),V=anchorToPoint(F.anchor,y),U=anchorToPoint(F.origin,B);let{x:W,y:K}=getOffset$1(V,U);switch(F.anchor.side){case"top":K-=S.value[0];break;case"bottom":K+=S.value[0];break;case"left":W-=S.value[0];break;case"right":W+=S.value[0];break}switch(F.anchor.align){case"top":K-=S.value[1];break;case"bottom":K+=S.value[1];break;case"left":W-=S.value[1];break;case"right":W+=S.value[1];break}return B.x+=W,B.y+=K,B.width=Math.min(B.width,g.value),B.height=Math.min(B.height,_.value),{overflows:getOverflow(B,A),x:W,y:K}}let N=0,I=0;const k={x:0,y:0},D={x:!1,y:!1};let P=-1;for(;!(P++>10);){const{x:F,y:B,overflows:V}=x(O);N+=F,I+=B,T.x+=F,T.y+=B;{const U=getAxis(O.anchor),W=V.x.before||V.x.after,K=V.y.before||V.y.after;let G=!1;if(["x","y"].forEach(Y=>{if(Y==="x"&&W&&!D.x||Y==="y"&&K&&!D.y){const Q={anchor:{...O.anchor},origin:{...O.origin}},Z=Y==="x"?U==="y"?flipAlign:flipSide:U==="y"?flipSide:flipAlign;Q.anchor=Z(Q.anchor),Q.origin=Z(Q.origin);const{overflows:J}=x(Q);(J[Y].before<=V[Y].before&&J[Y].after<=V[Y].after||J[Y].before+J[Y].after<(V[Y].before+V[Y].after)/2)&&(O=Q,G=D[Y]=!0)}}),G)continue}V.x.before&&(N+=V.x.before,T.x+=V.x.before),V.x.after&&(N-=V.x.after,T.x-=V.x.after),V.y.before&&(I+=V.y.before,T.y+=V.y.before),V.y.after&&(I-=V.y.after,T.y-=V.y.after);{const U=getOverflow(T,A);k.x=A.width-U.x.before-U.x.after,k.y=A.height-U.y.before-U.y.after,N+=U.x.before,T.x+=U.x.before,I+=U.y.before,T.y+=U.y.before}break}const L=getAxis(O.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${O.anchor.side} ${O.anchor.align}`,transformOrigin:`${O.origin.side} ${O.origin.align}`,top:convertToUnit(pixelRound(I)),left:e.isRtl.value?void 0:convertToUnit(pixelRound(N)),right:e.isRtl.value?convertToUnit(pixelRound(-N)):void 0,minWidth:convertToUnit(L==="y"?Math.min(d.value,y.width):d.value),maxWidth:convertToUnit(pixelCeil(clamp(k.x,d.value===1/0?0:d.value,g.value))),maxHeight:convertToUnit(pixelCeil(clamp(k.y,f.value===1/0?0:f.value,_.value)))}),{available:k,contentBox:T}}return watch(()=>[o.value,u.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>b()),nextTick$1(()=>{const y=b();if(!y)return;const{available:T,contentBox:C}=y;C.height>T.y&&requestAnimationFrame(()=>{b(),requestAnimationFrame(()=>{b()})})}),{updateLocation:b}}function pixelRound(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function pixelCeil(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let clean=!0;const frames=[];function requestNewFrame(e){!clean||frames.length?(frames.push(e),run()):(clean=!1,e(),run())}let raf=-1;function run(){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{const e=frames.shift();e&&e(),frames.length?run():clean=!0})}const scrollStrategies={none:null,close:closeScrollStrategy,block:blockScrollStrategy,reposition:repositionScrollStrategy},makeScrollStrategyProps=propsFactory({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in scrollStrategies}},"VOverlay-scroll-strategies");function useScrollStrategies(e,t){if(!IN_BROWSER)return;let r;watchEffect(async()=>{r==null||r.stop(),t.isActive.value&&e.scrollStrategy&&(r=effectScope(),await new Promise(a=>setTimeout(a)),r.active&&r.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,r):(a=scrollStrategies[e.scrollStrategy])==null||a.call(scrollStrategies,t,e,r)}))}),onScopeDispose(()=>{r==null||r.stop()})}function closeScrollStrategy(e){function t(r){e.isActive.value=!1}bindScroll(e.targetEl.value??e.contentEl.value,t)}function blockScrollStrategy(e,t){var d;const r=(d=e.root.value)==null?void 0:d.offsetParent,a=[...new Set([...getScrollParents(e.targetEl.value,t.contained?r:void 0),...getScrollParents(e.contentEl.value,t.contained?r:void 0)])].filter(f=>!f.classList.contains("v-overlay-scroll-blocked")),o=window.innerWidth-document.documentElement.offsetWidth,u=(f=>hasScrollbar(f)&&f)(r||document.documentElement);u&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((f,g)=>{f.style.setProperty("--v-body-scroll-x",convertToUnit(-f.scrollLeft)),f.style.setProperty("--v-body-scroll-y",convertToUnit(-f.scrollTop)),f!==document.documentElement&&f.style.setProperty("--v-scrollbar-offset",convertToUnit(o)),f.classList.add("v-overlay-scroll-blocked")}),onScopeDispose(()=>{a.forEach((f,g)=>{const _=parseFloat(f.style.getPropertyValue("--v-body-scroll-x")),S=parseFloat(f.style.getPropertyValue("--v-body-scroll-y")),E=f.style.scrollBehavior;f.style.scrollBehavior="auto",f.style.removeProperty("--v-body-scroll-x"),f.style.removeProperty("--v-body-scroll-y"),f.style.removeProperty("--v-scrollbar-offset"),f.classList.remove("v-overlay-scroll-blocked"),f.scrollLeft=-_,f.scrollTop=-S,f.style.scrollBehavior=E}),u&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function repositionScrollStrategy(e,t,r){let a=!1,o=-1,u=-1;function d(f){requestNewFrame(()=>{var S,E;const g=performance.now();(E=(S=e.updateLocation).value)==null||E.call(S,f),a=(performance.now()-g)/(1e3/60)>2})}u=(typeof requestIdleCallback>"u"?f=>f():requestIdleCallback)(()=>{r.run(()=>{bindScroll(e.targetEl.value??e.contentEl.value,f=>{a?(cancelAnimationFrame(o),o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{d(f)})})):d(f)})})}),onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(u),cancelAnimationFrame(o)})}function bindScroll(e,t){const r=[document,...getScrollParents(e)];r.forEach(a=>{a.addEventListener("scroll",t,{passive:!0})}),onScopeDispose(()=>{r.forEach(a=>{a.removeEventListener("scroll",t)})})}const VMenuSymbol=Symbol.for("vuetify:v-menu"),makeDelayProps=propsFactory({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function useDelay(e,t){let r=()=>{};function a(d){r==null||r();const f=Number(d?e.openDelay:e.closeDelay);return new Promise(g=>{r=defer(f,()=>{t==null||t(d),g(d)})})}function o(){return a(!0)}function u(){return a(!1)}return{clearDelay:r,runOpenDelay:o,runCloseDelay:u}}const makeActivatorProps=propsFactory({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...makeDelayProps()},"VOverlay-activator");function useActivator(e,t){let{isActive:r,isTop:a}=t;const o=getCurrentInstance("useActivator"),u=ref$1();let d=!1,f=!1,g=!0;const _=computed(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),S=computed(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!_.value),{runOpenDelay:E,runCloseDelay:v}=useDelay(e,k=>{k===(e.openOnHover&&d||_.value&&f)&&!(e.openOnHover&&r.value&&!a.value)&&(r.value!==k&&(g=!0),r.value=k)}),b=ref$1(),y={onClick:k=>{k.stopPropagation(),u.value=k.currentTarget||k.target,r.value||(b.value=[k.clientX,k.clientY]),r.value=!r.value},onMouseenter:k=>{var D;(D=k.sourceCapabilities)!=null&&D.firesTouchEvents||(d=!0,u.value=k.currentTarget||k.target,E())},onMouseleave:k=>{d=!1,v()},onFocus:k=>{matchesSelector(k.target,":focus-visible")!==!1&&(f=!0,k.stopPropagation(),u.value=k.currentTarget||k.target,E())},onBlur:k=>{f=!1,k.stopPropagation(),v()}},T=computed(()=>{const k={};return S.value&&(k.onClick=y.onClick),e.openOnHover&&(k.onMouseenter=y.onMouseenter,k.onMouseleave=y.onMouseleave),_.value&&(k.onFocus=y.onFocus,k.onBlur=y.onBlur),k}),C=computed(()=>{const k={};if(e.openOnHover&&(k.onMouseenter=()=>{d=!0,E()},k.onMouseleave=()=>{d=!1,v()}),_.value&&(k.onFocusin=()=>{f=!0,E()},k.onFocusout=()=>{f=!1,v()}),e.closeOnContentClick){const D=inject$1(VMenuSymbol,null);k.onClick=()=>{r.value=!1,D==null||D.closeParents()}}return k}),R=computed(()=>{const k={};return e.openOnHover&&(k.onMouseenter=()=>{g&&(d=!0,g=!1,E())},k.onMouseleave=()=>{d=!1,v()}),k});watch(a,k=>{k&&(e.openOnHover&&!d&&(!_.value||!f)||_.value&&!f&&(!e.openOnHover||!d))&&(r.value=!1)}),watch(r,k=>{k||setTimeout(()=>{b.value=void 0})},{flush:"post"});const A=templateRef();watchEffect(()=>{A.value&&nextTick$1(()=>{u.value=A.el})});const O=templateRef(),x=computed(()=>e.target==="cursor"&&b.value?b.value:O.value?O.el:getTarget(e.target,o)||u.value),N=computed(()=>Array.isArray(x.value)?void 0:x.value);let I;return watch(()=>!!e.activator,k=>{k&&IN_BROWSER?(I=effectScope(),I.run(()=>{_useActivator(e,o,{activatorEl:u,activatorEvents:T})})):I&&I.stop()},{flush:"post",immediate:!0}),onScopeDispose(()=>{I==null||I.stop()}),{activatorEl:u,activatorRef:A,target:x,targetEl:N,targetRef:O,activatorEvents:T,contentEvents:C,scrimEvents:R}}function _useActivator(e,t,r){let{activatorEl:a,activatorEvents:o}=r;watch(()=>e.activator,(g,_)=>{if(_&&g!==_){const S=f(_);S&&d(S)}g&&nextTick$1(()=>u())},{immediate:!0}),watch(()=>e.activatorProps,()=>{u()}),onScopeDispose(()=>{d()});function u(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f(),_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;g&&bindProps(g,mergeProps(o.value,_))}function d(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f(),_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;g&&unbindProps(g,mergeProps(o.value,_))}function f(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const _=getTarget(g,t);return a.value=(_==null?void 0:_.nodeType)===Node.ELEMENT_NODE?_:void 0,a.value}}function getTarget(e,t){var a,o;if(!e)return;let r;if(e==="parent"){let u=(o=(a=t==null?void 0:t.proxy)==null?void 0:a.$el)==null?void 0:o.parentNode;for(;u!=null&&u.hasAttribute("data-no-activator");)u=u.parentNode;r=u}else typeof e=="string"?r=document.querySelector(e):"$el"in e?r=e.$el:r=e;return r}function useHydration(){if(!IN_BROWSER)return shallowRef(!1);const{ssr:e}=useDisplay();if(e){const t=shallowRef(!1);return onMounted(()=>{t.value=!0}),t}else return shallowRef(!0)}const makeLazyProps=propsFactory({eager:Boolean},"lazy");function useLazy(e,t){const r=shallowRef(!1),a=computed(()=>r.value||e.eager||t.value);watch(t,()=>r.value=!0);function o(){e.eager||(r.value=!1)}return{isBooted:r,hasContent:a,onAfterLeave:o}}function useScopeId(){const t=getCurrentInstance("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const StackSymbol=Symbol.for("vuetify:stack"),globalStack=reactive([]);function useStack(e,t,r){const a=getCurrentInstance("useStack"),o=!r,u=inject$1(StackSymbol,void 0),d=reactive({activeChildren:new Set});provide(StackSymbol,d);const f=shallowRef(+t.value);useToggleScope(e,()=>{var E;const S=(E=globalStack.at(-1))==null?void 0:E[1];f.value=S?S+10:+t.value,o&&globalStack.push([a.uid,f.value]),u==null||u.activeChildren.add(a.uid),onScopeDispose(()=>{if(o){const v=toRaw(globalStack).findIndex(b=>b[0]===a.uid);globalStack.splice(v,1)}u==null||u.activeChildren.delete(a.uid)})});const g=shallowRef(!0);o&&watchEffect(()=>{var E;const S=((E=globalStack.at(-1))==null?void 0:E[0])===a.uid;setTimeout(()=>g.value=S)});const _=computed(()=>!d.activeChildren.size);return{globalTop:readonly(g),localTop:_,stackStyles:computed(()=>({zIndex:f.value}))}}function useTeleport(e){return{teleportTarget:computed(()=>{const r=e();if(r===!0||!IN_BROWSER)return;const a=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(a==null)return;let o=a.querySelector(":scope > .v-overlay-container");return o||(o=document.createElement("div"),o.className="v-overlay-container",a.appendChild(o)),o})}}function defaultConditional(){return!0}function checkEvent(e,t,r){if(!e||checkIsActive(e,r)===!1)return!1;const a=attachedRoot(t);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const o=(typeof r.value=="object"&&r.value.include||(()=>[]))();return o.push(t),!o.some(u=>u==null?void 0:u.contains(e.target))}function checkIsActive(e,t){return(typeof t.value=="object"&&t.value.closeConditional||defaultConditional)(e)}function directive(e,t,r){const a=typeof r.value=="function"?r.value:r.value.handler;t._clickOutside.lastMousedownWasOutside&&checkEvent(e,t,r)&&setTimeout(()=>{checkIsActive(e,r)&&a&&a(e)},0)}function handleShadow(e,t){const r=attachedRoot(e);t(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&t(r)}const ClickOutside={mounted(e,t){const r=o=>directive(o,e,t),a=o=>{e._clickOutside.lastMousedownWasOutside=checkEvent(o,e,t)};handleShadow(e,o=>{o.addEventListener("click",r,!0),o.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:r,onMousedown:a}},unmounted(e,t){e._clickOutside&&(handleShadow(e,r=>{var u;if(!r||!((u=e._clickOutside)!=null&&u[t.instance.$.uid]))return;const{onClick:a,onMousedown:o}=e._clickOutside[t.instance.$.uid];r.removeEventListener("click",a,!0),r.removeEventListener("mousedown",o,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Scrim(e){const{modelValue:t,color:r,...a}=e;return createVNode(Transition$1,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&createVNode("div",mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const makeVOverlayProps=propsFactory({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...makeActivatorProps(),...makeComponentProps(),...makeDimensionProps(),...makeLazyProps(),...makeLocationStrategyProps(),...makeScrollStrategyProps(),...makeThemeProps(),...makeTransitionProps()},"VOverlay"),VOverlay=genericComponent()({name:"VOverlay",directives:{ClickOutside},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...makeVOverlayProps()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:r,attrs:a,emit:o}=t;const u=useProxiedModel(e,"modelValue"),d=computed({get:()=>u.value,set:ue=>{ue&&e.disabled||(u.value=ue)}}),{themeClasses:f}=provideTheme(e),{rtlClasses:g,isRtl:_}=useRtl(),{hasContent:S,onAfterLeave:E}=useLazy(e,d),v=useBackgroundColor(computed(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:b,localTop:y,stackStyles:T}=useStack(d,toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:C,activatorRef:R,target:A,targetEl:O,targetRef:x,activatorEvents:N,contentEvents:I,scrimEvents:k}=useActivator(e,{isActive:d,isTop:y}),{teleportTarget:D}=useTeleport(()=>{var ee;const ue=e.attach||e.contained;if(ue)return ue;const ie=(ee=C==null?void 0:C.value)==null?void 0:ee.getRootNode();return ie instanceof ShadowRoot?ie:!1}),{dimensionStyles:P}=useDimension(e),L=useHydration(),{scopeId:F}=useScopeId();watch(()=>e.disabled,ue=>{ue&&(d.value=!1)});const B=ref$1(),V=ref$1(),U=ref$1(),{contentStyles:W,updateLocation:K}=useLocationStrategies(e,{isRtl:_,contentEl:U,target:A,isActive:d});useScrollStrategies(e,{root:B,contentEl:U,targetEl:O,isActive:d,updateLocation:K});function G(ue){o("click:outside",ue),e.persistent?te():d.value=!1}function Y(ue){return d.value&&b.value&&(!e.scrim||ue.target===V.value)}IN_BROWSER&&watch(d,ue=>{ue?window.addEventListener("keydown",Q):window.removeEventListener("keydown",Q)},{immediate:!0}),onBeforeUnmount(()=>{IN_BROWSER&&window.removeEventListener("keydown",Q)});function Q(ue){var ie,ee;ue.key==="Escape"&&b.value&&(e.persistent?te():(d.value=!1,(ie=U.value)!=null&&ie.contains(document.activeElement)&&((ee=C.value)==null||ee.focus())))}const Z=useRouter();useToggleScope(()=>e.closeOnBack,()=>{useBackButton(Z,ue=>{b.value&&d.value?(ue(!1),e.persistent?te():d.value=!1):ue()})});const J=ref$1();watch(()=>d.value&&(e.absolute||e.contained)&&D.value==null,ue=>{if(ue){const ie=getScrollParent(B.value);ie&&ie!==document.scrollingElement&&(J.value=ie.scrollTop)}});function te(){e.noClickAnimation||U.value&&animate(U.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:standardEasing})}function fe(){o("afterEnter")}function ve(){E(),o("afterLeave")}return useRender(()=>{var ue;return createVNode(Fragment,null,[(ue=r.activator)==null?void 0:ue.call(r,{isActive:d.value,targetRef:x,props:mergeProps({ref:R},N.value,e.activatorProps)}),L.value&&S.value&&createVNode(Teleport,{disabled:!D.value,to:D.value},{default:()=>[createVNode("div",mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":d.value,"v-overlay--contained":e.contained},f.value,g.value,e.class],style:[T.value,{"--v-overlay-opacity":e.opacity,top:convertToUnit(J.value)},e.style],ref:B},F,a),[createVNode(Scrim,mergeProps({color:v,modelValue:d.value&&!!e.scrim,ref:V},k.value),null),createVNode(MaybeTransition,{appear:!0,persisted:!0,transition:e.transition,target:A.value,onAfterEnter:fe,onAfterLeave:ve},{default:()=>{var ie;return[withDirectives(createVNode("div",mergeProps({ref:U,class:["v-overlay__content",e.contentClass],style:[P.value,W.value]},I.value,e.contentProps),[(ie=r.default)==null?void 0:ie.call(r,{isActive:d})]),[[vShow,d.value],[resolveDirective("click-outside"),{handler:G,closeConditional:Y,include:()=>[C.value]}]])]}})])]})])}),{activatorEl:C,scrimEl:V,target:A,animateClick:te,contentEl:U,globalTop:b,localTop:y,updateLocation:K}}}),makeVMenuProps=propsFactory({id:String,...omit(makeVOverlayProps({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:VDialogTransition}}),["absolute"])},"VMenu"),VMenu=genericComponent()({name:"VMenu",props:makeVMenuProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),{scopeId:o}=useScopeId(),u=getUid(),d=computed(()=>e.id||`v-menu-${u}`),f=ref$1(),g=inject$1(VMenuSymbol,null),_=shallowRef(0);provide(VMenuSymbol,{register(){++_.value},unregister(){--_.value},closeParents(T){setTimeout(()=>{!_.value&&!e.persistent&&(T==null||T&&!isClickInsideElement(T,f.value.contentEl))&&(a.value=!1,g==null||g.closeParents())},40)}});async function S(T){var A,O,x;const C=T.relatedTarget,R=T.target;await nextTick$1(),a.value&&C!==R&&((A=f.value)!=null&&A.contentEl)&&((O=f.value)!=null&&O.globalTop)&&![document,f.value.contentEl].includes(R)&&!f.value.contentEl.contains(R)&&((x=focusableChildren(f.value.contentEl)[0])==null||x.focus())}watch(a,T=>{T?(g==null||g.register(),document.addEventListener("focusin",S,{once:!0})):(g==null||g.unregister(),document.removeEventListener("focusin",S))});function E(T){g==null||g.closeParents(T)}function v(T){var C,R,A;if(!e.disabled)if(T.key==="Tab"||T.key==="Enter"&&!e.closeOnContentClick){if(T.key==="Enter"&&(T.target instanceof HTMLTextAreaElement||T.target instanceof HTMLInputElement&&T.target.closest("form")))return;T.key==="Enter"&&T.preventDefault(),getNextElement(focusableChildren((C=f.value)==null?void 0:C.contentEl,!1),T.shiftKey?"prev":"next",x=>x.tabIndex>=0)||(a.value=!1,(A=(R=f.value)==null?void 0:R.activatorEl)==null||A.focus())}else["Enter"," "].includes(T.key)&&e.closeOnContentClick&&(a.value=!1,g==null||g.closeParents())}function b(T){var R;if(e.disabled)return;const C=(R=f.value)==null?void 0:R.contentEl;C&&a.value?T.key==="ArrowDown"?(T.preventDefault(),focusChild(C,"next")):T.key==="ArrowUp"&&(T.preventDefault(),focusChild(C,"prev")):["ArrowDown","ArrowUp"].includes(T.key)&&(a.value=!0,T.preventDefault(),setTimeout(()=>setTimeout(()=>b(T))))}const y=computed(()=>mergeProps({"aria-haspopup":"menu","aria-expanded":String(a.value),"aria-owns":d.value,onKeydown:b},e.activatorProps));return useRender(()=>{const T=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:f,id:d.value,class:["v-menu",e.class],style:e.style},T,{modelValue:a.value,"onUpdate:modelValue":C=>a.value=C,absolute:!0,activatorProps:y.value,"onClick:outside":E,onKeydown:v},o),{activator:r.activator,default:function(){for(var C=arguments.length,R=new Array(C),A=0;A{var O;return[(O=r.default)==null?void 0:O.call(r,...R)]}})}})}),forwardRefs({id:d,ΨopenChildren:_},f)}}),makeVVirtualScrollItemProps=propsFactory({renderless:Boolean,...makeComponentProps()},"VVirtualScrollItem"),VVirtualScrollItem=genericComponent()({name:"VVirtualScrollItem",inheritAttrs:!1,props:makeVVirtualScrollItemProps(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const{resizeRef:u,contentRect:d}=useResizeObserver(void 0,"border");watch(()=>{var f;return(f=d.value)==null?void 0:f.height},f=>{f!=null&&a("update:height",f)}),useRender(()=>{var f,g;return e.renderless?createVNode(Fragment,null,[(f=o.default)==null?void 0:f.call(o,{itemRef:u})]):createVNode("div",mergeProps({ref:u,class:["v-virtual-scroll__item",e.class],style:e.style},r),[(g=o.default)==null?void 0:g.call(o)])})}}),UP=-1,DOWN=1,BUFFER_PX=100,makeVirtualProps=propsFactory({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function useVirtual(e,t){const r=useDisplay(),a=shallowRef(0);watchEffect(()=>{a.value=parseFloat(e.itemHeight||0)});const o=shallowRef(0),u=shallowRef(Math.ceil((parseInt(e.height)||r.height.value)/(a.value||16))||1),d=shallowRef(0),f=shallowRef(0),g=ref$1(),_=ref$1();let S=0;const{resizeRef:E,contentRect:v}=useResizeObserver();watchEffect(()=>{E.value=g.value});const b=computed(()=>{var Q;return g.value===document.documentElement?r.height.value:((Q=v.value)==null?void 0:Q.height)||parseInt(e.height)||0}),y=computed(()=>!!(g.value&&_.value&&b.value&&a.value));let T=Array.from({length:t.value.length}),C=Array.from({length:t.value.length});const R=shallowRef(0);let A=-1;function O(Q){return T[Q]||a.value}const x=debounce(()=>{const Q=performance.now();C[0]=0;const Z=t.value.length;for(let J=1;J<=Z-1;J++)C[J]=(C[J-1]||0)+O(J-1);R.value=Math.max(R.value,performance.now()-Q)},R),N=watch(y,Q=>{Q&&(N(),S=_.value.offsetTop,x.immediate(),W(),~A&&nextTick$1(()=>{IN_BROWSER&&window.requestAnimationFrame(()=>{G(A),A=-1})}))});onScopeDispose(()=>{x.clear()});function I(Q,Z){const J=T[Q],te=a.value;a.value=te?Math.min(a.value,Z):Z,(J!==Z||te!==a.value)&&(T[Q]=Z,x())}function k(Q){return Q=clamp(Q,0,t.value.length-1),C[Q]||0}function D(Q){return binaryClosest(C,Q)}let P=0,L=0,F=0;watch(b,(Q,Z)=>{Z&&(W(),Q{L=0,W()}))});function B(){if(!g.value||!_.value)return;const Q=g.value.scrollTop,Z=performance.now();Z-F>500?(L=Math.sign(Q-P),S=_.value.offsetTop):L=Q-P,P=Q,F=Z,W()}function V(){!g.value||!_.value||(L=0,F=0,W())}let U=-1;function W(){cancelAnimationFrame(U),U=requestAnimationFrame(K)}function K(){if(!g.value||!b.value)return;const Q=P-S,Z=Math.sign(L),J=Math.max(0,Q-BUFFER_PX),te=clamp(D(J),0,t.value.length),fe=Q+b.value+BUFFER_PX,ve=clamp(D(fe)+1,te+1,t.value.length);if((Z!==UP||teu.value)){const ue=k(o.value)-k(te),ie=k(ve)-k(u.value);Math.max(ue,ie)>BUFFER_PX?(o.value=te,u.value=ve):(te<=0&&(o.value=te),ve>=t.value.length&&(u.value=ve))}d.value=k(o.value),f.value=k(t.value.length)-k(u.value)}function G(Q){const Z=k(Q);!g.value||Q&&!Z?A=Q:g.value.scrollTop=Z}const Y=computed(()=>t.value.slice(o.value,u.value).map((Q,Z)=>({raw:Q,index:Z+o.value})));return watch(t,()=>{T=Array.from({length:t.value.length}),C=Array.from({length:t.value.length}),x.immediate(),W()},{deep:!0}),{containerRef:g,markerRef:_,computedItems:Y,paddingTop:d,paddingBottom:f,scrollToIndex:G,handleScroll:B,handleScrollend:V,handleItemResize:I}}function binaryClosest(e,t){let r=e.length-1,a=0,o=0,u=null,d=-1;if(e[r]>1,u=e[o],u>t)r=o-1;else if(u[]},renderless:Boolean,...makeVirtualProps(),...makeComponentProps(),...makeDimensionProps()},"VVirtualScroll"),VVirtualScroll=genericComponent()({name:"VVirtualScroll",props:makeVVirtualScrollProps(),setup(e,t){let{slots:r}=t;const a=getCurrentInstance("VVirtualScroll"),{dimensionStyles:o}=useDimension(e),{containerRef:u,markerRef:d,handleScroll:f,handleScrollend:g,handleItemResize:_,scrollToIndex:S,paddingTop:E,paddingBottom:v,computedItems:b}=useVirtual(e,toRef(e,"items"));return useToggleScope(()=>e.renderless,()=>{function y(){var R,A;const C=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";u.value===document.documentElement?(document[C]("scroll",f,{passive:!0}),document[C]("scrollend",g)):((R=u.value)==null||R[C]("scroll",f,{passive:!0}),(A=u.value)==null||A[C]("scrollend",g))}onMounted(()=>{u.value=getScrollParent(a.vnode.el,!0),y(!0)}),onScopeDispose(y)}),useRender(()=>{const y=b.value.map(T=>createVNode(VVirtualScrollItem,{key:T.index,renderless:e.renderless,"onUpdate:height":C=>_(T.index,C)},{default:C=>{var R;return(R=r.default)==null?void 0:R.call(r,{item:T.raw,index:T.index,...C})}}));return e.renderless?createVNode(Fragment,null,[createVNode("div",{ref:d,class:"v-virtual-scroll__spacer",style:{paddingTop:convertToUnit(E.value)}},null),y,createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:convertToUnit(v.value)}},null)]):createVNode("div",{ref:u,class:["v-virtual-scroll",e.class],onScrollPassive:f,onScrollend:g,style:[o.value,e.style]},[createVNode("div",{ref:d,class:"v-virtual-scroll__container",style:{paddingTop:convertToUnit(E.value),paddingBottom:convertToUnit(v.value)}},[y])])}),{scrollToIndex:S}}});function useScrolling(e,t){const r=shallowRef(!1);let a;function o(f){cancelAnimationFrame(a),r.value=!0,a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{r.value=!1})})}async function u(){await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>{if(r.value){const g=watch(r,()=>{g(),f()})}else f()})}async function d(f){var S,E;if(f.key==="Tab"&&((S=t.value)==null||S.focus()),!["PageDown","PageUp","Home","End"].includes(f.key))return;const g=(E=e.value)==null?void 0:E.$el;if(!g)return;(f.key==="Home"||f.key==="End")&&g.scrollTo({top:f.key==="Home"?0:g.scrollHeight,behavior:"smooth"}),await u();const _=g.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(f.key==="PageDown"||f.key==="Home"){const v=g.getBoundingClientRect().top;for(const b of _)if(b.getBoundingClientRect().top>=v){b.focus();break}}else{const v=g.getBoundingClientRect().bottom;for(const b of[..._].reverse())if(b.getBoundingClientRect().bottom<=v){b.focus();break}}}return{onListScroll:o,onListKeydown:d}}const makeSelectProps=propsFactory({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:IconValue,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...makeItemsProps({itemChildren:!1})},"Select"),makeVSelectProps=propsFactory({...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps({transition:{component:VDialogTransition}})},"VSelect"),VSelect=genericComponent()({name:"VSelect",props:makeVSelectProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:r}=t;const{t:a}=useLocale(),o=ref$1(),u=ref$1(),d=ref$1(),f=useProxiedModel(e,"menu"),g=computed({get:()=>f.value,set:Y=>{var Q;f.value&&!Y&&((Q=u.value)!=null&&Q.ΨopenChildren)||(f.value=Y)}}),{items:_,transformIn:S,transformOut:E}=useItems(e),v=useProxiedModel(e,"modelValue",[],Y=>S(Y===null?[null]:wrapInArray(Y)),Y=>{const Q=E(Y);return e.multiple?Q:Q[0]??null}),b=computed(()=>typeof e.counterValue=="function"?e.counterValue(v.value):typeof e.counterValue=="number"?e.counterValue:v.value.length),y=useForm(),T=computed(()=>v.value.map(Y=>Y.value)),C=shallowRef(!1),R=computed(()=>g.value?e.closeText:e.openText);let A="",O;const x=computed(()=>e.hideSelected?_.value.filter(Y=>!v.value.some(Q=>e.valueComparator(Q,Y))):_.value),N=computed(()=>e.hideNoData&&!x.value.length||e.readonly||(y==null?void 0:y.isReadonly.value)),I=computed(()=>{var Y;return{...e.menuProps,activatorProps:{...((Y=e.menuProps)==null?void 0:Y.activatorProps)||{},"aria-haspopup":"listbox"}}}),k=ref$1(),{onListScroll:D,onListKeydown:P}=useScrolling(k,o);function L(Y){e.openOnClear&&(g.value=!0)}function F(){N.value||(g.value=!g.value)}function B(Y){var fe,ve;if(!Y.key||e.readonly||y!=null&&y.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(Y.key)&&Y.preventDefault(),["Enter","ArrowDown"," "].includes(Y.key)&&(g.value=!0),["Escape","Tab"].includes(Y.key)&&(g.value=!1),Y.key==="Home"?(fe=k.value)==null||fe.focus("first"):Y.key==="End"&&((ve=k.value)==null||ve.focus("last"));const Q=1e3;function Z(ue){const ie=ue.key.length===1,ee=!ue.ctrlKey&&!ue.metaKey&&!ue.altKey;return ie&&ee}if(e.multiple||!Z(Y))return;const J=performance.now();J-O>Q&&(A=""),A+=Y.key.toLowerCase(),O=J;const te=_.value.find(ue=>ue.title.toLowerCase().startsWith(A));if(te!==void 0){v.value=[te];const ue=x.value.indexOf(te);IN_BROWSER&&window.requestAnimationFrame(()=>{var ie;ue>=0&&((ie=d.value)==null||ie.scrollToIndex(ue))})}}function V(Y){let Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!Y.props.disabled)if(e.multiple){const Z=v.value.findIndex(te=>e.valueComparator(te.value,Y.value)),J=Q??!~Z;if(~Z){const te=J?[...v.value,Y]:[...v.value];te.splice(Z,1),v.value=te}else J&&(v.value=[...v.value,Y])}else{const Z=Q!==!1;v.value=Z?[Y]:[],nextTick$1(()=>{g.value=!1})}}function U(Y){var Q;(Q=k.value)!=null&&Q.$el.contains(Y.relatedTarget)||(g.value=!1)}function W(){var Y;C.value&&((Y=o.value)==null||Y.focus())}function K(Y){C.value=!0}function G(Y){if(Y==null)v.value=[];else if(matchesSelector(o.value,":autofill")||matchesSelector(o.value,":-webkit-autofill")){const Q=_.value.find(Z=>Z.title===Y);Q&&V(Q)}else o.value&&(o.value.value="")}return watch(g,()=>{if(!e.hideSelected&&g.value&&v.value.length){const Y=x.value.findIndex(Q=>v.value.some(Z=>e.valueComparator(Z.value,Q.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var Q;Y>=0&&((Q=d.value)==null||Q.scrollToIndex(Y))})}}),watch(()=>e.items,(Y,Q)=>{g.value||C.value&&!Q.length&&Y.length&&(g.value=!0)}),useRender(()=>{const Y=!!(e.chips||r.chip),Q=!!(!e.hideNoData||x.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),Z=v.value.length>0,J=VTextField.filterProps(e),te=Z||!C.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return createVNode(VTextField,mergeProps({ref:o},J,{modelValue:v.value.map(fe=>fe.props.value).join(", "),"onUpdate:modelValue":G,focused:C.value,"onUpdate:focused":fe=>C.value=fe,validationValue:v.externalValue,counterValue:b.value,dirty:Z,class:["v-select",{"v-select--active-menu":g.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},e.class],style:e.style,inputmode:"none",placeholder:te,"onClick:clear":L,"onMousedown:control":F,onBlur:U,onKeydown:B,"aria-label":a(R.value),title:a(R.value)}),{...r,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:u,modelValue:g.value,"onUpdate:modelValue":fe=>g.value=fe,activator:"parent",contentClass:"v-select__content",disabled:N.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:W},I.value),{default:()=>[Q&&createVNode(VList,mergeProps({ref:k,selected:T.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:fe=>fe.preventDefault(),onKeydown:P,onFocusin:K,onScrollPassive:D,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var fe,ve,ue;return[(fe=r["prepend-item"])==null?void 0:fe.call(r),!x.value.length&&!e.hideNoData&&(((ve=r["no-data"])==null?void 0:ve.call(r))??createVNode(VListItem,{title:a(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:d,renderless:!0,items:x.value},{default:ie=>{var Ee;let{item:ee,index:de,itemRef:me}=ie;const oe=mergeProps(ee.props,{ref:me,key:de,onClick:()=>V(ee,null)});return((Ee=r.item)==null?void 0:Ee.call(r,{item:ee,index:de,props:oe}))??createVNode(VListItem,mergeProps(oe,{role:"option"}),{prepend:pe=>{let{isSelected:z}=pe;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:ee.value,modelValue:z,ripple:!1,tabindex:"-1"},null):void 0,ee.props.prependAvatar&&createVNode(VAvatar,{image:ee.props.prependAvatar},null),ee.props.prependIcon&&createVNode(VIcon,{icon:ee.props.prependIcon},null)])}})}}),(ue=r["append-item"])==null?void 0:ue.call(r)]}})]}),v.value.map((fe,ve)=>{function ue(me){me.stopPropagation(),me.preventDefault(),V(fe,!1)}const ie={"onClick:close":ue,onKeydown(me){me.key!=="Enter"&&me.key!==" "||(me.preventDefault(),me.stopPropagation(),ue(me))},onMousedown(me){me.preventDefault(),me.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ee=Y?!!r.chip:!!r.selection,de=ee?ensureValidVNode(Y?r.chip({item:fe,index:ve,props:ie}):r.selection({item:fe,index:ve})):void 0;if(!(ee&&!de))return createVNode("div",{key:fe.value,class:"v-select__selection"},[Y?r.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:fe.title}}},{default:()=>[de]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:fe.title,disabled:fe.props.disabled},ie),null):de??createVNode("span",{class:"v-select__selection-text"},[fe.title,e.multiple&&vee==null||t==null?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),makeFilterProps=propsFactory({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function filterItems(e,t,r){var f;const a=[],o=(r==null?void 0:r.default)??defaultFilter,u=r!=null&&r.filterKeys?wrapInArray(r.filterKeys):!1,d=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(e!=null&&e.length))return a;e:for(let g=0;g0)&&!(r!=null&&r.noFilter)){if(typeof _=="object"){const C=u||Object.keys(S);for(const R of C){const A=getPropertyFromItem(S,R),O=(f=r==null?void 0:r.customKeyFilter)==null?void 0:f[R];if(b=O?O(A,t,_):o(A,t,_),b!==-1&&b!==!1)O?E[R]=b:v[R]=b;else if((r==null?void 0:r.filterMode)==="every")continue e}}else b=o(_,t,_),b!==-1&&b!==!1&&(v.title=b);const y=Object.keys(v).length,T=Object.keys(E).length;if(!y&&!T||(r==null?void 0:r.filterMode)==="union"&&T!==d&&!y||(r==null?void 0:r.filterMode)==="intersection"&&(T!==d||!y))continue}a.push({index:g,matches:{...v,...E}})}return a}function useFilter(e,t,r,a){const o=ref$1([]),u=ref$1(new Map),d=computed(()=>a!=null&&a.transform?unref(t).map(g=>[g,a.transform(g)]):unref(t));watchEffect(()=>{const g=typeof r=="function"?r():unref(r),_=typeof g!="string"&&typeof g!="number"?"":String(g),S=filterItems(d.value,_,{customKeyFilter:{...e.customKeyFilter,...unref(a==null?void 0:a.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),E=unref(t),v=[],b=new Map;S.forEach(y=>{let{index:T,matches:C}=y;const R=E[T];v.push(R),b.set(R.value,C)}),o.value=v,u.value=b});function f(g){return u.value.get(g.value)}return{filteredItems:o,filteredMatches:u,getMatches:f}}function highlightResult$1(e,t,r){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?createVNode(Fragment,null,[createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),createVNode("span",{class:"v-autocomplete__mask"},[e.substr(t,r)]),createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(t+r)])]):e}const makeVAutocompleteProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps({transition:!1})},"VAutocomplete"),VAutocomplete=genericComponent()({name:"VAutocomplete",props:makeVAutocompleteProps(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:r}=t;const{t:a}=useLocale(),o=ref$1(),u=shallowRef(!1),d=shallowRef(!0),f=shallowRef(!1),g=ref$1(),_=ref$1(),S=useProxiedModel(e,"menu"),E=computed({get:()=>S.value,set:oe=>{var Ee;S.value&&!oe&&((Ee=g.value)!=null&&Ee.ΨopenChildren)||(S.value=oe)}}),v=shallowRef(-1),b=computed(()=>{var oe;return(oe=o.value)==null?void 0:oe.color}),y=computed(()=>E.value?e.closeText:e.openText),{items:T,transformIn:C,transformOut:R}=useItems(e),{textColorClasses:A,textColorStyles:O}=useTextColor(b),x=useProxiedModel(e,"search",""),N=useProxiedModel(e,"modelValue",[],oe=>C(oe===null?[null]:wrapInArray(oe)),oe=>{const Ee=R(oe);return e.multiple?Ee:Ee[0]??null}),I=computed(()=>typeof e.counterValue=="function"?e.counterValue(N.value):typeof e.counterValue=="number"?e.counterValue:N.value.length),k=useForm(),{filteredItems:D,getMatches:P}=useFilter(e,T,()=>d.value?"":x.value),L=computed(()=>e.hideSelected?D.value.filter(oe=>!N.value.some(Ee=>Ee.value===oe.value)):D.value),F=computed(()=>!!(e.chips||r.chip)),B=computed(()=>F.value||!!r.selection),V=computed(()=>N.value.map(oe=>oe.props.value)),U=computed(()=>{var Ee;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&x.value===((Ee=L.value[0])==null?void 0:Ee.title))&&L.value.length>0&&!d.value&&!f.value}),W=computed(()=>e.hideNoData&&!L.value.length||e.readonly||(k==null?void 0:k.isReadonly.value)),K=ref$1(),{onListScroll:G,onListKeydown:Y}=useScrolling(K,o);function Q(oe){e.openOnClear&&(E.value=!0),x.value=""}function Z(){W.value||(E.value=!0)}function J(oe){W.value||(u.value&&(oe.preventDefault(),oe.stopPropagation()),E.value=!E.value)}function te(oe){var z,j,ne;if(e.readonly||k!=null&&k.isReadonly.value)return;const Ee=o.value.selectionStart,pe=N.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(oe.key))&&oe.preventDefault(),["Enter","ArrowDown"].includes(oe.key)&&(E.value=!0),["Escape"].includes(oe.key)&&(E.value=!1),U.value&&["Enter","Tab"].includes(oe.key)&&!N.value.some(ae=>{let{value:ce}=ae;return ce===L.value[0].value})&&me(L.value[0]),oe.key==="ArrowDown"&&U.value&&((z=K.value)==null||z.focus("next")),["Backspace","Delete"].includes(oe.key)){if(!e.multiple&&B.value&&N.value.length>0&&!x.value)return me(N.value[0],!1);if(~v.value){const ae=v.value;me(N.value[v.value],!1),v.value=ae>=pe-1?pe-2:ae}else oe.key==="Backspace"&&!x.value&&(v.value=pe-1)}if(e.multiple){if(oe.key==="ArrowLeft"){if(v.value<0&&Ee>0)return;const ae=v.value>-1?v.value-1:pe-1;N.value[ae]?v.value=ae:(v.value=-1,o.value.setSelectionRange((j=x.value)==null?void 0:j.length,(ne=x.value)==null?void 0:ne.length))}if(oe.key==="ArrowRight"){if(v.value<0)return;const ae=v.value+1;N.value[ae]?v.value=ae:(v.value=-1,o.value.setSelectionRange(0,0))}}}function fe(oe){if(matchesSelector(o.value,":autofill")||matchesSelector(o.value,":-webkit-autofill")){const Ee=T.value.find(pe=>pe.title===oe.target.value);Ee&&me(Ee)}}function ve(){var oe;u.value&&(d.value=!0,(oe=o.value)==null||oe.focus())}function ue(oe){u.value=!0,setTimeout(()=>{f.value=!0})}function ie(oe){f.value=!1}function ee(oe){(oe==null||oe===""&&!e.multiple&&!B.value)&&(N.value=[])}const de=shallowRef(!1);function me(oe){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!oe||oe.props.disabled))if(e.multiple){const pe=N.value.findIndex(j=>e.valueComparator(j.value,oe.value)),z=Ee??!~pe;if(~pe){const j=z?[...N.value,oe]:[...N.value];j.splice(pe,1),N.value=j}else z&&(N.value=[...N.value,oe]);e.clearOnSelect&&(x.value="")}else{const pe=Ee!==!1;N.value=pe?[oe]:[],x.value=pe&&!B.value?oe.title:"",nextTick$1(()=>{E.value=!1,d.value=!0})}}return watch(u,(oe,Ee)=>{var pe;oe!==Ee&&(oe?(de.value=!0,x.value=e.multiple||B.value?"":String(((pe=N.value.at(-1))==null?void 0:pe.props.title)??""),d.value=!0,nextTick$1(()=>de.value=!1)):(!e.multiple&&x.value==null&&(N.value=[]),E.value=!1,N.value.some(z=>{let{title:j}=z;return j===x.value})||(x.value=""),v.value=-1))}),watch(x,oe=>{!u.value||de.value||(oe&&(E.value=!0),d.value=!oe)}),watch(E,()=>{if(!e.hideSelected&&E.value&&N.value.length){const oe=L.value.findIndex(Ee=>N.value.some(pe=>Ee.value===pe.value));IN_BROWSER&&window.requestAnimationFrame(()=>{var Ee;oe>=0&&((Ee=_.value)==null||Ee.scrollToIndex(oe))})}}),watch(()=>e.items,(oe,Ee)=>{E.value||u.value&&!Ee.length&&oe.length&&(E.value=!0)}),useRender(()=>{const oe=!!(!e.hideNoData||L.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),Ee=N.value.length>0,pe=VTextField.filterProps(e);return createVNode(VTextField,mergeProps({ref:o},pe,{modelValue:x.value,"onUpdate:modelValue":[z=>x.value=z,ee],focused:u.value,"onUpdate:focused":z=>u.value=z,validationValue:N.externalValue,counterValue:I.value,dirty:Ee,onChange:fe,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":E.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!B.value,"v-autocomplete--selecting-index":v.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:Ee?void 0:e.placeholder,"onClick:clear":Q,"onMousedown:control":Z,onKeydown:te}),{...r,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:g,modelValue:E.value,"onUpdate:modelValue":z=>E.value=z,activator:"parent",contentClass:"v-autocomplete__content",disabled:W.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:ve},e.menuProps),{default:()=>[oe&&createVNode(VList,mergeProps({ref:K,selected:V.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:z=>z.preventDefault(),onKeydown:Y,onFocusin:ue,onFocusout:ie,onScrollPassive:G,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var z,j,ne;return[(z=r["prepend-item"])==null?void 0:z.call(r),!L.value.length&&!e.hideNoData&&(((j=r["no-data"])==null?void 0:j.call(r))??createVNode(VListItem,{title:a(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:_,renderless:!0,items:L.value},{default:ae=>{var Se;let{item:ce,index:ye,itemRef:he}=ae;const Ce=mergeProps(ce.props,{ref:he,key:ye,active:U.value&&ye===0?!0:void 0,onClick:()=>me(ce,null)});return((Se=r.item)==null?void 0:Se.call(r,{item:ce,index:ye,props:Ce}))??createVNode(VListItem,mergeProps(Ce,{role:"option"}),{prepend:ge=>{let{isSelected:Oe}=ge;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:ce.value,modelValue:Oe,ripple:!1,tabindex:"-1"},null):void 0,ce.props.prependAvatar&&createVNode(VAvatar,{image:ce.props.prependAvatar},null),ce.props.prependIcon&&createVNode(VIcon,{icon:ce.props.prependIcon},null)])},title:()=>{var ge,Oe;return d.value?ce.title:highlightResult$1(ce.title,(ge=P(ce))==null?void 0:ge.title,((Oe=x.value)==null?void 0:Oe.length)??0)}})}}),(ne=r["append-item"])==null?void 0:ne.call(r)]}})]}),N.value.map((z,j)=>{function ne(he){he.stopPropagation(),he.preventDefault(),me(z,!1)}const ae={"onClick:close":ne,onKeydown(he){he.key!=="Enter"&&he.key!==" "||(he.preventDefault(),he.stopPropagation(),ne(he))},onMousedown(he){he.preventDefault(),he.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ce=F.value?!!r.chip:!!r.selection,ye=ce?ensureValidVNode(F.value?r.chip({item:z,index:j,props:ae}):r.selection({item:z,index:j})):void 0;if(!(ce&&!ye))return createVNode("div",{key:z.value,class:["v-autocomplete__selection",j===v.value&&["v-autocomplete__selection--selected",A.value]],style:j===v.value?O.value:{}},[F.value?r.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:z.title}}},{default:()=>[ye]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:z.title,disabled:z.props.disabled},ae),null):ye??createVNode("span",{class:"v-autocomplete__selection-text"},[z.title,e.multiple&&j(e.floating?e.dot?2:4:e.dot?8:12)+(["top","bottom"].includes(S)?+(e.offsetY??0):["left","right"].includes(S)?+(e.offsetX??0):0));return useRender(()=>{const S=Number(e.content),E=!e.max||isNaN(S)?e.content:S<=+e.max?S:`${e.max}+`,[v,b]=pickWithRest(t.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return createVNode(e.tag,mergeProps({class:["v-badge",{"v-badge--bordered":e.bordered,"v-badge--dot":e.dot,"v-badge--floating":e.floating,"v-badge--inline":e.inline},e.class]},b,{style:e.style}),{default:()=>{var y,T;return[createVNode("div",{class:"v-badge__wrapper"},[(T=(y=t.slots).default)==null?void 0:T.call(y),createVNode(MaybeTransition,{transition:e.transition},{default:()=>{var C,R;return[withDirectives(createVNode("span",mergeProps({class:["v-badge__badge",g.value,r.value,o.value,d.value],style:[a.value,f.value,e.inline?{}:_.value],"aria-atomic":"true","aria-label":u(e.label,S),"aria-live":"polite",role:"status"},v),[e.dot?void 0:t.slots.badge?(R=(C=t.slots).badge)==null?void 0:R.call(C):e.icon?createVNode(VIcon,{icon:e.icon},null):E]),[[vShow,e.modelValue]])]}})])]}})}),{}}}),makeVBannerActionsProps=propsFactory({color:String,density:String,...makeComponentProps()},"VBannerActions"),VBannerActions=genericComponent()({name:"VBannerActions",props:makeVBannerActionsProps(),setup(e,t){let{slots:r}=t;return provideDefaults({VBtn:{color:e.color,density:e.density,slim:!0,variant:"text"}}),useRender(()=>{var a;return createVNode("div",{class:["v-banner-actions",e.class],style:e.style},[(a=r.default)==null?void 0:a.call(r)])}),{}}}),VBannerText=createSimpleFunctional("v-banner-text"),makeVBannerProps=propsFactory({avatar:String,bgColor:String,color:String,icon:IconValue,lines:String,stacked:Boolean,sticky:Boolean,text:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeDisplayProps({mobile:null}),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VBanner"),VBanner=genericComponent()({name:"VBanner",props:makeVBannerProps(),setup(e,t){let{slots:r}=t;const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(e,"bgColor"),{borderClasses:u}=useBorder(e),{densityClasses:d}=useDensity(e),{displayClasses:f,mobile:g}=useDisplay(e),{dimensionStyles:_}=useDimension(e),{elevationClasses:S}=useElevation(e),{locationStyles:E}=useLocation(e),{positionClasses:v}=usePosition(e),{roundedClasses:b}=useRounded(e),{themeClasses:y}=provideTheme(e),T=toRef(e,"color"),C=toRef(e,"density");provideDefaults({VBannerActions:{color:T,density:C}}),useRender(()=>{const R=!!(e.text||r.text),A=!!(e.avatar||e.icon),O=!!(A||r.prepend);return createVNode(e.tag,{class:["v-banner",{"v-banner--stacked":e.stacked||g.value,"v-banner--sticky":e.sticky,[`v-banner--${e.lines}-line`]:!!e.lines},y.value,a.value,u.value,d.value,f.value,S.value,v.value,b.value,e.class],style:[o.value,_.value,E.value,e.style],role:"banner"},{default:()=>{var x;return[O&&createVNode("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!A,defaults:{VAvatar:{color:T.value,density:C.value,icon:e.icon,image:e.avatar}}},r.prepend):createVNode(VAvatar,{key:"prepend-avatar",color:T.value,density:C.value,icon:e.icon,image:e.avatar},null)]),createVNode("div",{class:"v-banner__content"},[R&&createVNode(VBannerText,{key:"text"},{default:()=>{var N;return[((N=r.text)==null?void 0:N.call(r))??e.text]}}),(x=r.default)==null?void 0:x.call(r)]),r.actions&&createVNode(VBannerActions,{key:"actions"},r.actions)]}})})}}),makeVBottomNavigationProps=propsFactory({baseColor:String,bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeLayoutItemProps({name:"bottom-navigation"}),...makeTagProps({tag:"header"}),...makeGroupProps({selectedClass:"v-btn--selected"}),...makeThemeProps()},"VBottomNavigation"),VBottomNavigation=genericComponent()({name:"VBottomNavigation",props:makeVBottomNavigationProps(),emits:{"update:active":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:a}=useTheme(),{borderClasses:o}=useBorder(e),{backgroundColorClasses:u,backgroundColorStyles:d}=useBackgroundColor(toRef(e,"bgColor")),{densityClasses:f}=useDensity(e),{elevationClasses:g}=useElevation(e),{roundedClasses:_}=useRounded(e),{ssrBootStyles:S}=useSsrBoot(),E=computed(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),v=useProxiedModel(e,"active",e.active),{layoutItemStyles:b,layoutIsReady:y}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:computed(()=>"bottom"),layoutSize:computed(()=>v.value?E.value:0),elementSize:E,active:v,absolute:toRef(e,"absolute")});return useGroup(e,VBtnToggleSymbol),provideDefaults({VBtn:{baseColor:toRef(e,"baseColor"),color:toRef(e,"color"),density:toRef(e,"density"),stacked:computed(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),useRender(()=>createVNode(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},a.value,u.value,o.value,f.value,g.value,_.value,e.class],style:[d.value,b.value,{height:convertToUnit(E.value)},S.value,e.style]},{default:()=>[r.default&&createVNode("div",{class:"v-bottom-navigation__content"},[r.default()])]})),y}}),makeVDialogProps=propsFactory({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...makeVOverlayProps({origin:"center center",scrollStrategy:"block",transition:{component:VDialogTransition},zIndex:2400})},"VDialog"),VDialog=genericComponent()({name:"VDialog",props:makeVDialogProps(),emits:{"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),{scopeId:u}=useScopeId(),d=ref$1();function f(S){var b,y;const E=S.relatedTarget,v=S.target;if(E!==v&&((b=d.value)!=null&&b.contentEl)&&((y=d.value)!=null&&y.globalTop)&&![document,d.value.contentEl].includes(v)&&!d.value.contentEl.contains(v)){const T=focusableChildren(d.value.contentEl);if(!T.length)return;const C=T[0],R=T[T.length-1];E===C?R.focus():C.focus()}}IN_BROWSER&&watch(()=>o.value&&e.retainFocus,S=>{S?document.addEventListener("focusin",f):document.removeEventListener("focusin",f)},{immediate:!0});function g(){var S;(S=d.value)!=null&&S.contentEl&&!d.value.contentEl.contains(document.activeElement)&&d.value.contentEl.focus({preventScroll:!0})}function _(){r("afterLeave")}return watch(o,async S=>{var E;S||(await nextTick$1(),(E=d.value.activatorEl)==null||E.focus({preventScroll:!0}))}),useRender(()=>{const S=VOverlay.filterProps(e),E=mergeProps({"aria-haspopup":"dialog","aria-expanded":String(o.value)},e.activatorProps),v=mergeProps({tabindex:-1},e.contentProps);return createVNode(VOverlay,mergeProps({ref:d,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},S,{modelValue:o.value,"onUpdate:modelValue":b=>o.value=b,"aria-modal":"true",activatorProps:E,contentProps:v,role:"dialog",onAfterEnter:g,onAfterLeave:_},u),{activator:a.activator,default:function(){for(var b=arguments.length,y=new Array(b),T=0;T{var C;return[(C=a.default)==null?void 0:C.call(a,...y)]}})}})}),forwardRefs({},d)}}),makeVBottomSheetProps=propsFactory({inset:Boolean,...makeVDialogProps({transition:"bottom-sheet-transition"})},"VBottomSheet"),VBottomSheet=genericComponent()({name:"VBottomSheet",props:makeVBottomSheetProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue");return useRender(()=>{const o=VDialog.filterProps(e);return createVNode(VDialog,mergeProps(o,{contentClass:["v-bottom-sheet__content",e.contentClass],modelValue:a.value,"onUpdate:modelValue":u=>a.value=u,class:["v-bottom-sheet",{"v-bottom-sheet--inset":e.inset},e.class],style:e.style}),r)}),{}}}),makeVBreadcrumbsDividerProps=propsFactory({divider:[Number,String],...makeComponentProps()},"VBreadcrumbsDivider"),VBreadcrumbsDivider=genericComponent()({name:"VBreadcrumbsDivider",props:makeVBreadcrumbsDividerProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{var a;return createVNode("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[((a=r==null?void 0:r.default)==null?void 0:a.call(r))??e.divider])}),{}}}),makeVBreadcrumbsItemProps=propsFactory({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...makeComponentProps(),...makeRouterProps(),...makeTagProps({tag:"li"})},"VBreadcrumbsItem"),VBreadcrumbsItem=genericComponent()({name:"VBreadcrumbsItem",props:makeVBreadcrumbsItemProps(),setup(e,t){let{slots:r,attrs:a}=t;const o=useLink$1(e,a),u=computed(()=>{var _;return e.active||((_=o.isActive)==null?void 0:_.value)}),d=computed(()=>u.value?e.activeColor:e.color),{textColorClasses:f,textColorStyles:g}=useTextColor(d);return useRender(()=>createVNode(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":u.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:u.value&&e.activeClass},f.value,e.class],style:[g.value,e.style],"aria-current":u.value?"page":void 0},{default:()=>{var _,S;return[o.isLink.value?createVNode("a",{class:"v-breadcrumbs-item--link",href:o.href.value,"aria-current":u.value?"page":void 0,onClick:o.navigate},[((S=r.default)==null?void 0:S.call(r))??e.title]):((_=r.default)==null?void 0:_.call(r))??e.title]}})),{}}}),makeVBreadcrumbsProps=propsFactory({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:IconValue,items:{type:Array,default:()=>[]},...makeComponentProps(),...makeDensityProps(),...makeRoundedProps(),...makeTagProps({tag:"ul"})},"VBreadcrumbs"),VBreadcrumbs=genericComponent()({name:"VBreadcrumbs",props:makeVBreadcrumbsProps(),setup(e,t){let{slots:r}=t;const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"bgColor")),{densityClasses:u}=useDensity(e),{roundedClasses:d}=useRounded(e);provideDefaults({VBreadcrumbsDivider:{divider:toRef(e,"divider")},VBreadcrumbsItem:{activeClass:toRef(e,"activeClass"),activeColor:toRef(e,"activeColor"),color:toRef(e,"color"),disabled:toRef(e,"disabled")}});const f=computed(()=>e.items.map(g=>typeof g=="string"?{item:{title:g},raw:g}:{item:g,raw:g}));return useRender(()=>{const g=!!(r.prepend||e.icon);return createVNode(e.tag,{class:["v-breadcrumbs",a.value,u.value,d.value,e.class],style:[o.value,e.style]},{default:()=>{var _;return[g&&createVNode("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},r.prepend):createVNode(VIcon,{key:"prepend-icon",start:!0,icon:e.icon},null)]),f.value.map((S,E,v)=>{var T;let{item:b,raw:y}=S;return createVNode(Fragment,null,[((T=r.item)==null?void 0:T.call(r,{item:b,index:E}))??createVNode(VBreadcrumbsItem,mergeProps({key:E,disabled:E>=v.length-1},typeof b=="string"?{title:b}:b),{default:r.title?()=>{var C;return(C=r.title)==null?void 0:C.call(r,{item:b,index:E})}:void 0}),E{var C;return(C=r.divider)==null?void 0:C.call(r,{item:y,index:E})}:void 0})])}),(_=r.default)==null?void 0:_.call(r)]}})}),{}}}),VCardActions=genericComponent()({name:"VCardActions",props:makeComponentProps(),setup(e,t){let{slots:r}=t;return provideDefaults({VBtn:{slim:!0,variant:"text"}}),useRender(()=>{var a;return createVNode("div",{class:["v-card-actions",e.class],style:e.style},[(a=r.default)==null?void 0:a.call(r)])}),{}}}),makeVCardSubtitleProps=propsFactory({opacity:[Number,String],...makeComponentProps(),...makeTagProps()},"VCardSubtitle"),VCardSubtitle=genericComponent()({name:"VCardSubtitle",props:makeVCardSubtitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:["v-card-subtitle",e.class],style:[{"--v-card-subtitle-opacity":e.opacity},e.style]},r)),{}}}),VCardTitle=createSimpleFunctional("v-card-title"),makeCardItemProps=propsFactory({appendAvatar:String,appendIcon:IconValue,prependAvatar:String,prependIcon:IconValue,subtitle:[String,Number],title:[String,Number],...makeComponentProps(),...makeDensityProps()},"VCardItem"),VCardItem=genericComponent()({name:"VCardItem",props:makeCardItemProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{var _;const a=!!(e.prependAvatar||e.prependIcon),o=!!(a||r.prepend),u=!!(e.appendAvatar||e.appendIcon),d=!!(u||r.append),f=!!(e.title!=null||r.title),g=!!(e.subtitle!=null||r.subtitle);return createVNode("div",{class:["v-card-item",e.class],style:e.style},[o&&createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},r.prepend):createVNode(Fragment,null,[e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),createVNode("div",{class:"v-card-item__content"},[f&&createVNode(VCardTitle,{key:"title"},{default:()=>{var S;return[((S=r.title)==null?void 0:S.call(r))??e.title]}}),g&&createVNode(VCardSubtitle,{key:"subtitle"},{default:()=>{var S;return[((S=r.subtitle)==null?void 0:S.call(r))??e.subtitle]}}),(_=r.default)==null?void 0:_.call(r)]),d&&createVNode("div",{key:"append",class:"v-card-item__append"},[r.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!u,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},r.append):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),makeVCardTextProps=propsFactory({opacity:[Number,String],...makeComponentProps(),...makeTagProps()},"VCardText"),VCardText=genericComponent()({name:"VCardText",props:makeVCardTextProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:["v-card-text",e.class],style:[{"--v-card-text-opacity":e.opacity},e.style]},r)),{}}}),makeVCardProps=propsFactory({appendAvatar:String,appendIcon:IconValue,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VCard"),VCard=genericComponent()({name:"VCard",directives:{Ripple},props:makeVCardProps(),setup(e,t){let{attrs:r,slots:a}=t;const{themeClasses:o}=provideTheme(e),{borderClasses:u}=useBorder(e),{colorClasses:d,colorStyles:f,variantClasses:g}=useVariant(e),{densityClasses:_}=useDensity(e),{dimensionStyles:S}=useDimension(e),{elevationClasses:E}=useElevation(e),{loaderClasses:v}=useLoader(e),{locationStyles:b}=useLocation(e),{positionClasses:y}=usePosition(e),{roundedClasses:T}=useRounded(e),C=useLink$1(e,r),R=computed(()=>e.link!==!1&&C.isLink.value),A=computed(()=>!e.disabled&&e.link!==!1&&(e.link||C.isClickable.value));return useRender(()=>{const O=R.value?"a":e.tag,x=!!(a.title||e.title!=null),N=!!(a.subtitle||e.subtitle!=null),I=x||N,k=!!(a.append||e.appendAvatar||e.appendIcon),D=!!(a.prepend||e.prependAvatar||e.prependIcon),P=!!(a.image||e.image),L=I||D||k,F=!!(a.text||e.text!=null);return withDirectives(createVNode(O,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":A.value},o.value,u.value,d.value,_.value,E.value,v.value,y.value,T.value,g.value,e.class],style:[f.value,S.value,b.value,e.style],href:C.href.value,onClick:A.value&&C.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var B;return[P&&createVNode("div",{key:"image",class:"v-card__image"},[a.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},a.image):createVNode(VImg,{key:"image-img",cover:!0,src:e.image},null)]),createVNode(LoaderSlot,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:a.loader}),L&&createVNode(VCardItem,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:a.item,prepend:a.prepend,title:a.title,subtitle:a.subtitle,append:a.append}),F&&createVNode(VCardText,{key:"text"},{default:()=>{var V;return[((V=a.text)==null?void 0:V.call(a))??e.text]}}),(B=a.default)==null?void 0:B.call(a),a.actions&&createVNode(VCardActions,null,{default:a.actions}),genOverlays(A.value,"v-card")]}}),[[resolveDirective("ripple"),A.value&&e.ripple]])}),{}}}),handleGesture=e=>{const{touchstartX:t,touchendX:r,touchstartY:a,touchendY:o}=e,u=.5,d=16;e.offsetX=r-t,e.offsetY=o-a,Math.abs(e.offsetY)t+d&&e.right(e)),Math.abs(e.offsetX)a+d&&e.down(e))};function touchstart(e,t){var a;const r=e.changedTouches[0];t.touchstartX=r.clientX,t.touchstartY=r.clientY,(a=t.start)==null||a.call(t,{originalEvent:e,...t})}function touchend(e,t){var a;const r=e.changedTouches[0];t.touchendX=r.clientX,t.touchendY=r.clientY,(a=t.end)==null||a.call(t,{originalEvent:e,...t}),handleGesture(t)}function touchmove(e,t){var a;const r=e.changedTouches[0];t.touchmoveX=r.clientX,t.touchmoveY=r.clientY,(a=t.move)==null||a.call(t,{originalEvent:e,...t})}function createHandlers(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:r=>touchstart(r,t),touchend:r=>touchend(r,t),touchmove:r=>touchmove(r,t)}}function mounted$3(e,t){var f;const r=t.value,a=r!=null&&r.parent?e.parentElement:e,o=(r==null?void 0:r.options)??{passive:!0},u=(f=t.instance)==null?void 0:f.$.uid;if(!a||!u)return;const d=createHandlers(t.value);a._touchHandlers=a._touchHandlers??Object.create(null),a._touchHandlers[u]=d,keys(d).forEach(g=>{a.addEventListener(g,d[g],o)})}function unmounted$3(e,t){var u,d;const r=(u=t.value)!=null&&u.parent?e.parentElement:e,a=(d=t.instance)==null?void 0:d.$.uid;if(!(r!=null&&r._touchHandlers)||!a)return;const o=r._touchHandlers[a];keys(o).forEach(f=>{r.removeEventListener(f,o[f])}),delete r._touchHandlers[a]}const Touch={mounted:mounted$3,unmounted:unmounted$3},VWindowSymbol=Symbol.for("vuetify:v-window"),VWindowGroupSymbol=Symbol.for("vuetify:v-window-group"),makeVWindowProps=propsFactory({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...makeComponentProps(),...makeTagProps(),...makeThemeProps()},"VWindow"),VWindow=genericComponent()({name:"VWindow",directives:{Touch},props:makeVWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{isRtl:o}=useRtl(),{t:u}=useLocale(),d=useGroup(e,VWindowGroupSymbol),f=ref$1(),g=computed(()=>o.value?!e.reverse:e.reverse),_=shallowRef(!1),S=computed(()=>{const x=e.direction==="vertical"?"y":"x",I=(g.value?!_.value:_.value)?"-reverse":"";return`v-window-${x}${I}-transition`}),E=shallowRef(0),v=ref$1(void 0),b=computed(()=>d.items.value.findIndex(x=>d.selected.value.includes(x.id)));watch(b,(x,N)=>{const I=d.items.value.length,k=I-1;I<=2?_.value=xe.continuous||b.value!==0),T=computed(()=>e.continuous||b.value!==d.items.value.length-1);function C(){y.value&&d.prev()}function R(){T.value&&d.next()}const A=computed(()=>{const x=[],N={icon:o.value?e.nextIcon:e.prevIcon,class:`v-window__${g.value?"right":"left"}`,onClick:d.prev,"aria-label":u("$vuetify.carousel.prev")};x.push(y.value?r.prev?r.prev({props:N}):createVNode(VBtn,N,null):createVNode("div",null,null));const I={icon:o.value?e.prevIcon:e.nextIcon,class:`v-window__${g.value?"left":"right"}`,onClick:d.next,"aria-label":u("$vuetify.carousel.next")};return x.push(T.value?r.next?r.next({props:I}):createVNode(VBtn,I,null):createVNode("div",null,null)),x}),O=computed(()=>e.touch===!1?e.touch:{...{left:()=>{g.value?C():R()},right:()=>{g.value?R():C()},start:N=>{let{originalEvent:I}=N;I.stopPropagation()}},...e.touch===!0?{}:e.touch});return useRender(()=>withDirectives(createVNode(e.tag,{ref:f,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},a.value,e.class],style:e.style},{default:()=>{var x,N;return[createVNode("div",{class:"v-window__container",style:{height:v.value}},[(x=r.default)==null?void 0:x.call(r,{group:d}),e.showArrows!==!1&&createVNode("div",{class:"v-window__controls"},[A.value])]),(N=r.additional)==null?void 0:N.call(r,{group:d})]}}),[[resolveDirective("touch"),O.value]])),{group:d}}}),makeVCarouselProps=propsFactory({color:String,cycle:Boolean,delimiterIcon:{type:IconValue,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...makeVWindowProps({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),VCarousel=genericComponent()({name:"VCarousel",props:makeVCarouselProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),{t:o}=useLocale(),u=ref$1();let d=-1;watch(a,g),watch(()=>e.interval,g),watch(()=>e.cycle,_=>{_?g():window.clearTimeout(d)}),onMounted(f);function f(){!e.cycle||!u.value||(d=window.setTimeout(u.value.group.next,+e.interval>0?+e.interval:6e3))}function g(){window.clearTimeout(d),window.requestAnimationFrame(f)}return useRender(()=>{const _=VWindow.filterProps(e);return createVNode(VWindow,mergeProps({ref:u},_,{modelValue:a.value,"onUpdate:modelValue":S=>a.value=S,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:convertToUnit(e.height)},e.style]}),{default:r.default,additional:S=>{let{group:E}=S;return createVNode(Fragment,null,[!e.hideDelimiters&&createVNode("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[E.items.value.length>0&&createVNode(VDefaultsProvider,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[E.items.value.map((v,b)=>{const y={id:`carousel-item-${v.id}`,"aria-label":o("$vuetify.carousel.ariaLabel.delimiter",b+1,E.items.value.length),class:["v-carousel__controls__item",E.isSelected(v.id)&&"v-btn--active"],onClick:()=>E.select(v.id,!0)};return r.item?r.item({props:y,item:v}):createVNode(VBtn,mergeProps(v,y),null)})]})]),e.progress&&createVNode(VProgressLinear,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(E.getItemIndex(a.value)+1)/E.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),makeVWindowItemProps=propsFactory({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...makeComponentProps(),...makeGroupItemProps(),...makeLazyProps()},"VWindowItem"),VWindowItem=genericComponent()({name:"VWindowItem",directives:{Touch},props:makeVWindowItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const a=inject$1(VWindowSymbol),o=useGroupItem(e,VWindowGroupSymbol),{isBooted:u}=useSsrBoot();if(!a||!o)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const d=shallowRef(!1),f=computed(()=>u.value&&(a.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function g(){!d.value||!a||(d.value=!1,a.transitionCount.value>0&&(a.transitionCount.value-=1,a.transitionCount.value===0&&(a.transitionHeight.value=void 0)))}function _(){var y;d.value||!a||(d.value=!0,a.transitionCount.value===0&&(a.transitionHeight.value=convertToUnit((y=a.rootRef.value)==null?void 0:y.clientHeight)),a.transitionCount.value+=1)}function S(){g()}function E(y){d.value&&nextTick$1(()=>{!f.value||!d.value||!a||(a.transitionHeight.value=convertToUnit(y.clientHeight))})}const v=computed(()=>{const y=a.isReversed.value?e.reverseTransition:e.transition;return f.value?{name:typeof y!="string"?a.transition.value:y,onBeforeEnter:_,onAfterEnter:g,onEnterCancelled:S,onBeforeLeave:_,onAfterLeave:g,onLeaveCancelled:S,onEnter:E}:!1}),{hasContent:b}=useLazy(e,o.isSelected);return useRender(()=>createVNode(MaybeTransition,{transition:v.value,disabled:!u.value},{default:()=>{var y;return[withDirectives(createVNode("div",{class:["v-window-item",o.selectedClass.value,e.class],style:e.style},[b.value&&((y=r.default)==null?void 0:y.call(r))]),[[vShow,o.isSelected.value]])]}})),{groupItem:o}}}),makeVCarouselItemProps=propsFactory({...makeVImgProps(),...makeVWindowItemProps()},"VCarouselItem"),VCarouselItem=genericComponent()({name:"VCarouselItem",inheritAttrs:!1,props:makeVCarouselItemProps(),setup(e,t){let{slots:r,attrs:a}=t;useRender(()=>{const o=VImg.filterProps(e),u=VWindowItem.filterProps(e);return createVNode(VWindowItem,mergeProps({class:["v-carousel-item",e.class]},u),{default:()=>[createVNode(VImg,mergeProps(a,o),r)]})})}}),VCode=createSimpleFunctional("v-code"),makeVColorPickerCanvasProps=propsFactory({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...makeComponentProps()},"VColorPickerCanvas"),VColorPickerCanvas=defineComponent({name:"VColorPickerCanvas",props:makeVColorPickerCanvasProps(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,t){let{emit:r}=t;const a=shallowRef(!1),o=ref$1(),u=shallowRef(parseFloat(e.width)),d=shallowRef(parseFloat(e.height)),f=ref$1({x:0,y:0}),g=computed({get:()=>f.value,set(C){var O,x;if(!o.value)return;const{x:R,y:A}=C;f.value=C,r("update:color",{h:((O=e.color)==null?void 0:O.h)??0,s:clamp(R,0,u.value)/u.value,v:1-clamp(A,0,d.value)/d.value,a:((x=e.color)==null?void 0:x.a)??1})}}),_=computed(()=>{const{x:C,y:R}=g.value,A=parseInt(e.dotSize,10)/2;return{width:convertToUnit(e.dotSize),height:convertToUnit(e.dotSize),transform:`translate(${convertToUnit(C-A)}, ${convertToUnit(R-A)})`}}),{resizeRef:S}=useResizeObserver(C=>{var O;if(!((O=S.el)!=null&&O.offsetParent))return;const{width:R,height:A}=C[0].contentRect;u.value=R,d.value=A});function E(C,R,A){const{left:O,top:x,width:N,height:I}=A;g.value={x:clamp(C-O,0,N),y:clamp(R-x,0,I)}}function v(C){C.type==="mousedown"&&C.preventDefault(),!e.disabled&&(b(C),window.addEventListener("mousemove",b),window.addEventListener("mouseup",y),window.addEventListener("touchmove",b),window.addEventListener("touchend",y))}function b(C){if(e.disabled||!o.value)return;a.value=!0;const R=getEventCoordinates(C);E(R.clientX,R.clientY,o.value.getBoundingClientRect())}function y(){window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",y),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",y)}function T(){var x;if(!o.value)return;const C=o.value,R=C.getContext("2d");if(!R)return;const A=R.createLinearGradient(0,0,C.width,0);A.addColorStop(0,"hsla(0, 0%, 100%, 1)"),A.addColorStop(1,`hsla(${((x=e.color)==null?void 0:x.h)??0}, 100%, 50%, 1)`),R.fillStyle=A,R.fillRect(0,0,C.width,C.height);const O=R.createLinearGradient(0,0,0,C.height);O.addColorStop(0,"hsla(0, 0%, 0%, 0)"),O.addColorStop(1,"hsla(0, 0%, 0%, 1)"),R.fillStyle=O,R.fillRect(0,0,C.width,C.height)}return watch(()=>{var C;return(C=e.color)==null?void 0:C.h},T,{immediate:!0}),watch(()=>[u.value,d.value],(C,R)=>{T(),f.value={x:g.value.x*C[0]/R[0],y:g.value.y*C[1]/R[1]}},{flush:"post"}),watch(()=>e.color,()=>{if(a.value){a.value=!1;return}f.value=e.color?{x:e.color.s*u.value,y:(1-e.color.v)*d.value}:{x:0,y:0}},{deep:!0,immediate:!0}),onMounted(()=>T()),useRender(()=>createVNode("div",{ref:S,class:["v-color-picker-canvas",e.class],style:e.style,onMousedown:v,onTouchstartPassive:v},[createVNode("canvas",{ref:o,width:u.value,height:d.value},null),e.color&&createVNode("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:_.value},null)])),{}}});function stripAlpha(e,t){if(t){const{a:r,...a}=e;return a}return e}function extractColor(e,t){if(t==null||typeof t=="string"){const r=HSVtoHex(e);return e.a===1?r.slice(0,7):r}if(typeof t=="object"){let r;return has(t,["r","g","b"])?r=HSVtoRGB(e):has(t,["h","s","l"])?r=HSVtoHSL(e):has(t,["h","s","v"])&&(r=e),stripAlpha(r,!has(t,["a"])&&e.a===1)}return e}const nullColor={h:0,s:0,v:0,a:1},rgba={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,t)=>({...e,r:Number(t)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,t)=>({...e,g:Number(t)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,t)=>({...e,b:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:HSVtoRGB,from:RGBtoHSV};var At;const rgb={...rgba,inputs:(At=rgba.inputs)==null?void 0:At.slice(0,3)},hsla={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,t)=>({...e,h:Number(t)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(e.s*100)/100,getColor:(e,t)=>({...e,s:Number(t)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(e.l*100)/100,getColor:(e,t)=>({...e,l:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:HSVtoHSL,from:HSLtoHSV},hsl={...hsla,inputs:hsla.inputs.slice(0,3)},hexa={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,t)=>t}],to:HSVtoHex,from:HexToHSV},hex={...hexa,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,t)=>t}]},modes={rgb,rgba,hsl,hsla,hex,hexa},VColorPickerInput=e=>{let{label:t,...r}=e;return createVNode("div",{class:"v-color-picker-edit__input"},[createVNode("input",r,null),createVNode("span",null,[t])])},makeVColorPickerEditProps=propsFactory({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(modes).includes(e)},modes:{type:Array,default:()=>Object.keys(modes),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(modes).includes(t))},...makeComponentProps()},"VColorPickerEdit"),VColorPickerEdit=defineComponent({name:"VColorPickerEdit",props:makeVColorPickerEditProps(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,t){let{emit:r}=t;const a=computed(()=>e.modes.map(u=>({...modes[u],name:u}))),o=computed(()=>{var f;const u=a.value.find(g=>g.name===e.mode);if(!u)return[];const d=e.color?u.to(e.color):null;return(f=u.inputs)==null?void 0:f.map(g=>{let{getValue:_,getColor:S,...E}=g;return{...u.inputProps,...E,disabled:e.disabled,value:d&&_(d),onChange:v=>{const b=v.target;b&&r("update:color",u.from(S(d??u.to(nullColor),b.value)))}}})});return useRender(()=>{var u;return createVNode("div",{class:["v-color-picker-edit",e.class],style:e.style},[(u=o.value)==null?void 0:u.map(d=>createVNode(VColorPickerInput,d,null)),a.value.length>1&&createVNode(VBtn,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const d=a.value.findIndex(f=>f.name===e.mode);r("update:mode",a.value[(d+1)%a.value.length].name)}},null)])}),{}}}),VSliderSymbol=Symbol.for("vuetify:v-slider");function getOffset(e,t,r){const a=r==="vertical",o=t.getBoundingClientRect(),u="touches"in e?e.touches[0]:e;return a?u.clientY-(o.top+o.height/2):u.clientX-(o.left+o.width/2)}function getPosition(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const makeSliderProps=propsFactory({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...makeRoundedProps(),...makeElevationProps({elevation:2}),ripple:{type:Boolean,default:!0}},"Slider"),useSteps=e=>{const t=computed(()=>parseFloat(e.min)),r=computed(()=>parseFloat(e.max)),a=computed(()=>+e.step>0?parseFloat(e.step):0),o=computed(()=>Math.max(getDecimals(a.value),getDecimals(t.value)));function u(d){if(d=parseFloat(d),a.value<=0)return d;const f=clamp(d,t.value,r.value),g=t.value%a.value,_=Math.round((f-g)/a.value)*a.value+g;return parseFloat(Math.min(_,r.value).toFixed(o.value))}return{min:t,max:r,step:a,decimals:o,roundValue:u}},useSlider=e=>{let{props:t,steps:r,onSliderStart:a,onSliderMove:o,onSliderEnd:u,getActiveThumb:d}=e;const{isRtl:f}=useRtl(),g=toRef(t,"reverse"),_=computed(()=>t.direction==="vertical"),S=computed(()=>_.value!==g.value),{min:E,max:v,step:b,decimals:y,roundValue:T}=r,C=computed(()=>parseInt(t.thumbSize,10)),R=computed(()=>parseInt(t.tickSize,10)),A=computed(()=>parseInt(t.trackSize,10)),O=computed(()=>(v.value-E.value)/b.value),x=toRef(t,"disabled"),N=computed(()=>t.error||t.disabled?void 0:t.thumbColor??t.color),I=computed(()=>t.error||t.disabled?void 0:t.trackColor??t.color),k=computed(()=>t.error||t.disabled?void 0:t.trackFillColor??t.color),D=shallowRef(!1),P=shallowRef(0),L=ref$1(),F=ref$1();function B(ie){var ne;const ee=t.direction==="vertical",de=ee?"top":"left",me=ee?"height":"width",oe=ee?"clientY":"clientX",{[de]:Ee,[me]:pe}=(ne=L.value)==null?void 0:ne.$el.getBoundingClientRect(),z=getPosition(ie,oe);let j=Math.min(Math.max((z-Ee-P.value)/pe,0),1)||0;return(ee?S.value:S.value!==f.value)&&(j=1-j),T(E.value+j*(v.value-E.value))}const V=ie=>{u({value:B(ie)}),D.value=!1,P.value=0},U=ie=>{F.value=d(ie),F.value&&(F.value.focus(),D.value=!0,F.value.contains(ie.target)?P.value=getOffset(ie,F.value,t.direction):(P.value=0,o({value:B(ie)})),a({value:B(ie)}))},W={passive:!0,capture:!0};function K(ie){o({value:B(ie)})}function G(ie){ie.stopPropagation(),ie.preventDefault(),V(ie),window.removeEventListener("mousemove",K,W),window.removeEventListener("mouseup",G)}function Y(ie){var ee;V(ie),window.removeEventListener("touchmove",K,W),(ee=ie.target)==null||ee.removeEventListener("touchend",Y)}function Q(ie){var ee;U(ie),window.addEventListener("touchmove",K,W),(ee=ie.target)==null||ee.addEventListener("touchend",Y,{passive:!1})}function Z(ie){ie.preventDefault(),U(ie),window.addEventListener("mousemove",K,W),window.addEventListener("mouseup",G,{passive:!1})}const J=ie=>{const ee=(ie-E.value)/(v.value-E.value)*100;return clamp(isNaN(ee)?0:ee,0,100)},te=toRef(t,"showTicks"),fe=computed(()=>te.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(ie=>({value:ie,position:J(ie),label:ie.toString()})):Object.keys(t.ticks).map(ie=>({value:parseFloat(ie),position:J(parseFloat(ie)),label:t.ticks[ie]})):O.value!==1/0?createRange(O.value+1).map(ie=>{const ee=E.value+ie*b.value;return{value:ee,position:J(ee)}}):[]:[]),ve=computed(()=>fe.value.some(ie=>{let{label:ee}=ie;return!!ee})),ue={activeThumbRef:F,color:toRef(t,"color"),decimals:y,disabled:x,direction:toRef(t,"direction"),elevation:toRef(t,"elevation"),hasLabels:ve,isReversed:g,indexFromEnd:S,min:E,max:v,mousePressed:D,numTicks:O,onSliderMousedown:Z,onSliderTouchstart:Q,parsedTicks:fe,parseMouseMove:B,position:J,readonly:toRef(t,"readonly"),rounded:toRef(t,"rounded"),roundValue:T,showTicks:te,startOffset:P,step:b,thumbSize:C,thumbColor:N,thumbLabel:toRef(t,"thumbLabel"),ticks:toRef(t,"ticks"),tickSize:R,trackColor:I,trackContainerRef:L,trackFillColor:k,trackSize:A,vertical:_};return provide(VSliderSymbol,ue),ue},makeVSliderThumbProps=propsFactory({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},name:String,...makeComponentProps()},"VSliderThumb"),VSliderThumb=genericComponent()({name:"VSliderThumb",directives:{Ripple},props:makeVSliderThumbProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r,emit:a}=t;const o=inject$1(VSliderSymbol),{isRtl:u,rtlClasses:d}=useRtl();if(!o)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:f,step:g,disabled:_,thumbSize:S,thumbLabel:E,direction:v,isReversed:b,vertical:y,readonly:T,elevation:C,mousePressed:R,decimals:A,indexFromEnd:O}=o,x=computed(()=>_.value?void 0:C.value),{elevationClasses:N}=useElevation(x),{textColorClasses:I,textColorStyles:k}=useTextColor(f),{pageup:D,pagedown:P,end:L,home:F,left:B,right:V,down:U,up:W}=keyValues,K=[D,P,L,F,B,V,U,W],G=computed(()=>g.value?[1,2,3]:[1,5,10]);function Y(Z,J){if(!K.includes(Z.key))return;Z.preventDefault();const te=g.value||.1,fe=(e.max-e.min)/te;if([B,V,U,W].includes(Z.key)){const ue=(y.value?[u.value?B:V,b.value?U:W]:O.value!==u.value?[B,W]:[V,W]).includes(Z.key)?1:-1,ie=Z.shiftKey?2:Z.ctrlKey?1:0;J=J+ue*te*G.value[ie]}else if(Z.key===F)J=e.min;else if(Z.key===L)J=e.max;else{const ve=Z.key===P?1:-1;J=J-ve*te*(fe>100?fe/10:10)}return Math.max(e.min,Math.min(e.max,J))}function Q(Z){const J=Y(Z,e.modelValue);J!=null&&a("update:modelValue",J)}return useRender(()=>{const Z=convertToUnit(O.value?100-e.position:e.position,"%");return createVNode("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&R.value},e.class,d.value],style:[{"--v-slider-thumb-position":Z,"--v-slider-thumb-size":convertToUnit(S.value)},e.style],role:"slider",tabindex:_.value?-1:0,"aria-label":e.name,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!T.value,"aria-orientation":v.value,onKeydown:T.value?void 0:Q},[createVNode("div",{class:["v-slider-thumb__surface",I.value,N.value],style:{...k.value}},null),withDirectives(createVNode("div",{class:["v-slider-thumb__ripple",I.value],style:k.value},null),[[resolveDirective("ripple"),e.ripple,null,{circle:!0,center:!0}]]),createVNode(VScaleTransition,{origin:"bottom center"},{default:()=>{var J;return[withDirectives(createVNode("div",{class:"v-slider-thumb__label-container"},[createVNode("div",{class:["v-slider-thumb__label"]},[createVNode("div",null,[((J=r["thumb-label"])==null?void 0:J.call(r,{modelValue:e.modelValue}))??e.modelValue.toFixed(g.value?A.value:1)])])]),[[vShow,E.value&&e.focused||E.value==="always"]])]}})])}),{}}}),makeVSliderTrackProps=propsFactory({start:{type:Number,required:!0},stop:{type:Number,required:!0},...makeComponentProps()},"VSliderTrack"),VSliderTrack=genericComponent()({name:"VSliderTrack",props:makeVSliderTrackProps(),emits:{},setup(e,t){let{slots:r}=t;const a=inject$1(VSliderSymbol);if(!a)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:o,parsedTicks:u,rounded:d,showTicks:f,tickSize:g,trackColor:_,trackFillColor:S,trackSize:E,vertical:v,min:b,max:y,indexFromEnd:T}=a,{roundedClasses:C}=useRounded(d),{backgroundColorClasses:R,backgroundColorStyles:A}=useBackgroundColor(S),{backgroundColorClasses:O,backgroundColorStyles:x}=useBackgroundColor(_),N=computed(()=>`inset-${v.value?"block":"inline"}-${T.value?"end":"start"}`),I=computed(()=>v.value?"height":"width"),k=computed(()=>({[N.value]:"0%",[I.value]:"100%"})),D=computed(()=>e.stop-e.start),P=computed(()=>({[N.value]:convertToUnit(e.start,"%"),[I.value]:convertToUnit(D.value,"%")})),L=computed(()=>f.value?(v.value?u.value.slice().reverse():u.value).map((B,V)=>{var W;const U=B.value!==b.value&&B.value!==y.value?convertToUnit(B.position,"%"):void 0;return createVNode("div",{key:B.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":B.position>=e.start&&B.position<=e.stop,"v-slider-track__tick--first":B.value===b.value,"v-slider-track__tick--last":B.value===y.value}],style:{[N.value]:U}},[(B.label||r["tick-label"])&&createVNode("div",{class:"v-slider-track__tick-label"},[((W=r["tick-label"])==null?void 0:W.call(r,{tick:B,index:V}))??B.label])])}):[]);return useRender(()=>createVNode("div",{class:["v-slider-track",C.value,e.class],style:[{"--v-slider-track-size":convertToUnit(E.value),"--v-slider-tick-size":convertToUnit(g.value)},e.style]},[createVNode("div",{class:["v-slider-track__background",O.value,{"v-slider-track__background--opacity":!!o.value||!S.value}],style:{...k.value,...x.value}},null),createVNode("div",{class:["v-slider-track__fill",R.value],style:{...P.value,...A.value}},null),f.value&&createVNode("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":f.value==="always"}]},[L.value])])),{}}}),makeVSliderProps=propsFactory({...makeFocusProps(),...makeSliderProps(),...makeVInputProps(),modelValue:{type:[Number,String],default:0}},"VSlider"),VSlider=genericComponent()({name:"VSlider",props:makeVSliderProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:r,emit:a}=t;const o=ref$1(),{rtlClasses:u}=useRtl(),d=useSteps(e),f=useProxiedModel(e,"modelValue",void 0,I=>d.roundValue(I??d.min.value)),{min:g,max:_,mousePressed:S,roundValue:E,onSliderMousedown:v,onSliderTouchstart:b,trackContainerRef:y,position:T,hasLabels:C,readonly:R}=useSlider({props:e,steps:d,onSliderStart:()=>{a("start",f.value)},onSliderEnd:I=>{let{value:k}=I;const D=E(k);f.value=D,a("end",D)},onSliderMove:I=>{let{value:k}=I;return f.value=E(k)},getActiveThumb:()=>{var I;return(I=o.value)==null?void 0:I.$el}}),{isFocused:A,focus:O,blur:x}=useFocus(e),N=computed(()=>T(f.value));return useRender(()=>{const I=VInput.filterProps(e),k=!!(e.label||r.label||r.prepend);return createVNode(VInput,mergeProps({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||C.value,"v-slider--focused":A.value,"v-slider--pressed":S.value,"v-slider--disabled":e.disabled},u.value,e.class],style:e.style},I,{focused:A.value}),{...r,prepend:k?D=>{var P,L;return createVNode(Fragment,null,[((P=r.label)==null?void 0:P.call(r,D))??(e.label?createVNode(VLabel,{id:D.id.value,class:"v-slider__label",text:e.label},null):void 0),(L=r.prepend)==null?void 0:L.call(r,D)])}:void 0,default:D=>{let{id:P,messagesId:L}=D;return createVNode("div",{class:"v-slider__container",onMousedown:R.value?void 0:v,onTouchstartPassive:R.value?void 0:b},[createVNode("input",{id:P.value,name:e.name||P.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:f.value},null),createVNode(VSliderTrack,{ref:y,start:0,stop:N.value},{"tick-label":r["tick-label"]}),createVNode(VSliderThumb,{ref:o,"aria-describedby":L.value,focused:A.value,min:g.value,max:_.value,modelValue:f.value,"onUpdate:modelValue":F=>f.value=F,position:N.value,elevation:e.elevation,onFocus:O,onBlur:x,ripple:e.ripple,name:e.name},{"thumb-label":r["thumb-label"]})])}})}),{}}}),makeVColorPickerPreviewProps=propsFactory({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...makeComponentProps()},"VColorPickerPreview"),VColorPickerPreview=defineComponent({name:"VColorPickerPreview",props:makeVColorPickerPreviewProps(),emits:{"update:color":e=>!0},setup(e,t){let{emit:r}=t;const a=new AbortController;onUnmounted(()=>a.abort());async function o(){if(!SUPPORTS_EYE_DROPPER)return;const u=new window.EyeDropper;try{const d=await u.open({signal:a.signal}),f=HexToHSV(d.sRGBHex);r("update:color",{...e.color??nullColor,...f})}catch{}}return useRender(()=>{var u,d;return createVNode("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[SUPPORTS_EYE_DROPPER&&createVNode("div",{class:"v-color-picker-preview__eye-dropper",key:"eyeDropper"},[createVNode(VBtn,{onClick:o,icon:"$eyeDropper",variant:"plain",density:"comfortable"},null)]),createVNode("div",{class:"v-color-picker-preview__dot"},[createVNode("div",{style:{background:HSVtoCSS(e.color??nullColor)}},null)]),createVNode("div",{class:"v-color-picker-preview__sliders"},[createVNode(VSlider,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(u=e.color)==null?void 0:u.h,"onUpdate:modelValue":f=>r("update:color",{...e.color??nullColor,h:f}),step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&createVNode(VSlider,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((d=e.color)==null?void 0:d.a)??1,"onUpdate:modelValue":f=>r("update:color",{...e.color??nullColor,a:f}),step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}}),red={base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},pink={base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},purple={base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},deepPurple={base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},indigo={base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},blue={base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},lightBlue={base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},cyan={base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},teal={base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},green={base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},lightGreen={base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},lime={base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},yellow={base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},amber={base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},orange={base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},deepOrange={base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},brown={base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},blueGrey={base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},grey={base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},shades={black:"#000000",white:"#ffffff",transparent:"#ffffff00"},colors={red,pink,purple,deepPurple,indigo,blue,lightBlue,cyan,teal,green,lightGreen,lime,yellow,amber,orange,deepOrange,brown,blueGrey,grey,shades},makeVColorPickerSwatchesProps=propsFactory({swatches:{type:Array,default:()=>parseDefaultColors(colors)},disabled:Boolean,color:Object,maxHeight:[Number,String],...makeComponentProps()},"VColorPickerSwatches");function parseDefaultColors(e){return Object.keys(e).map(t=>{const r=e[t];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const VColorPickerSwatches=defineComponent({name:"VColorPickerSwatches",props:makeVColorPickerSwatchesProps(),emits:{"update:color":e=>!0},setup(e,t){let{emit:r}=t;return useRender(()=>createVNode("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:convertToUnit(e.maxHeight)},e.style]},[createVNode("div",null,[e.swatches.map(a=>createVNode("div",{class:"v-color-picker-swatches__swatch"},[a.map(o=>{const u=parseColor(o),d=RGBtoHSV(u),f=RGBtoCSS(u);return createVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>d&&r("update:color",d)},[createVNode("div",{style:{background:f}},[e.color&&deepEqual(e.color,d)?createVNode(VIcon,{size:"x-small",icon:"$success",color:getContrast(o,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),makeVSheetProps=propsFactory({color:String,...makeBorderProps(),...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VSheet"),VSheet=genericComponent()({name:"VSheet",props:makeVSheetProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(toRef(e,"color")),{borderClasses:d}=useBorder(e),{dimensionStyles:f}=useDimension(e),{elevationClasses:g}=useElevation(e),{locationStyles:_}=useLocation(e),{positionClasses:S}=usePosition(e),{roundedClasses:E}=useRounded(e);return useRender(()=>createVNode(e.tag,{class:["v-sheet",a.value,o.value,d.value,g.value,S.value,E.value,e.class],style:[u.value,f.value,_.value,e.style]},r)),{}}}),makeVColorPickerProps=propsFactory({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(modes).includes(e)},modes:{type:Array,default:()=>Object.keys(modes),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(modes).includes(t))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...omit(makeVSheetProps({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),VColorPicker=defineComponent({name:"VColorPicker",props:makeVColorPickerProps(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const t=useProxiedModel(e,"mode"),r=ref$1(null),a=useProxiedModel(e,"modelValue",void 0,g=>{if(g==null||g==="")return null;let _;try{_=RGBtoHSV(parseColor(g))}catch{return null}return _},g=>g?extractColor(g,e.modelValue):null),o=computed(()=>a.value?{...a.value,h:r.value??a.value.h}:null),{rtlClasses:u}=useRtl();let d=!0;watch(a,g=>{if(!d){d=!0;return}g&&(r.value=g.h)},{immediate:!0});const f=g=>{d=!1,r.value=g.h,a.value=g};return onMounted(()=>{e.modes.includes(t.value)||(t.value=e.modes[0])}),provideDefaults({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),useRender(()=>{const g=VSheet.filterProps(e);return createVNode(VSheet,mergeProps({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",u.value,e.class],style:[{"--v-color-picker-color-hsv":HSVtoCSS({...o.value??nullColor,a:1})},e.style]},g,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&createVNode(VColorPickerCanvas,{key:"canvas",color:o.value,"onUpdate:color":f,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&createVNode("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&createVNode(VColorPickerPreview,{key:"preview",color:o.value,"onUpdate:color":f,hideAlpha:!t.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&createVNode(VColorPickerEdit,{key:"edit",modes:e.modes,mode:t.value,"onUpdate:mode":_=>t.value=_,color:o.value,"onUpdate:color":f,disabled:e.disabled},null)]),e.showSwatches&&createVNode(VColorPickerSwatches,{key:"swatches",color:o.value,"onUpdate:color":f,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}});function highlightResult(e,t,r){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?createVNode(Fragment,null,[createVNode("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),createVNode("span",{class:"v-combobox__mask"},[e.substr(t,r)]),createVNode("span",{class:"v-combobox__unmask"},[e.substr(t+r)])]):e}const makeVComboboxProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps({hideNoData:!0,returnObject:!0}),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps({transition:!1})},"VCombobox"),VCombobox=genericComponent()({name:"VCombobox",props:makeVComboboxProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,t){var Ee;let{emit:r,slots:a}=t;const{t:o}=useLocale(),u=ref$1(),d=shallowRef(!1),f=shallowRef(!0),g=shallowRef(!1),_=ref$1(),S=ref$1(),E=useProxiedModel(e,"menu"),v=computed({get:()=>E.value,set:pe=>{var z;E.value&&!pe&&((z=_.value)!=null&&z.ΨopenChildren)||(E.value=pe)}}),b=shallowRef(-1);let y=!1;const T=computed(()=>{var pe;return(pe=u.value)==null?void 0:pe.color}),C=computed(()=>v.value?e.closeText:e.openText),{items:R,transformIn:A,transformOut:O}=useItems(e),{textColorClasses:x,textColorStyles:N}=useTextColor(T),I=useProxiedModel(e,"modelValue",[],pe=>A(wrapInArray(pe)),pe=>{const z=O(pe);return e.multiple?z:z[0]??null}),k=useForm(),D=computed(()=>!!(e.chips||a.chip)),P=computed(()=>D.value||!!a.selection),L=shallowRef(!e.multiple&&!P.value?((Ee=I.value[0])==null?void 0:Ee.title)??"":""),F=computed({get:()=>L.value,set:pe=>{var z;if(L.value=pe??"",!e.multiple&&!P.value&&(I.value=[transformItem$3(e,pe)]),pe&&e.multiple&&((z=e.delimiters)!=null&&z.length)){const j=pe.split(new RegExp(`(?:${e.delimiters.join("|")})+`));j.length>1&&(j.forEach(ne=>{ne=ne.trim(),ne&&ee(transformItem$3(e,ne))}),L.value="")}pe||(b.value=-1),f.value=!pe}}),B=computed(()=>typeof e.counterValue=="function"?e.counterValue(I.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?I.value.length:F.value.length);watch(L,pe=>{y?nextTick$1(()=>y=!1):d.value&&!v.value&&(v.value=!0),r("update:search",pe)}),watch(I,pe=>{var z;!e.multiple&&!P.value&&(L.value=((z=pe[0])==null?void 0:z.title)??"")});const{filteredItems:V,getMatches:U}=useFilter(e,R,()=>f.value?"":F.value),W=computed(()=>e.hideSelected?V.value.filter(pe=>!I.value.some(z=>z.value===pe.value)):V.value),K=computed(()=>I.value.map(pe=>pe.value)),G=computed(()=>{var z;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&F.value===((z=W.value[0])==null?void 0:z.title))&&W.value.length>0&&!f.value&&!g.value}),Y=computed(()=>e.hideNoData&&!W.value.length||e.readonly||(k==null?void 0:k.isReadonly.value)),Q=ref$1(),{onListScroll:Z,onListKeydown:J}=useScrolling(Q,u);function te(pe){y=!0,e.openOnClear&&(v.value=!0)}function fe(){Y.value||(v.value=!0)}function ve(pe){Y.value||(d.value&&(pe.preventDefault(),pe.stopPropagation()),v.value=!v.value)}function ue(pe){var ne;if(isComposingIgnoreKey(pe)||e.readonly||k!=null&&k.isReadonly.value)return;const z=u.value.selectionStart,j=I.value.length;if((b.value>-1||["Enter","ArrowDown","ArrowUp"].includes(pe.key))&&pe.preventDefault(),["Enter","ArrowDown"].includes(pe.key)&&(v.value=!0),["Escape"].includes(pe.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(pe.key)&&(G.value&&["Enter","Tab"].includes(pe.key)&&!I.value.some(ae=>{let{value:ce}=ae;return ce===W.value[0].value})&&ee(V.value[0]),f.value=!0),pe.key==="ArrowDown"&&G.value&&((ne=Q.value)==null||ne.focus("next")),pe.key==="Enter"&&F.value&&(ee(transformItem$3(e,F.value)),P.value&&(L.value="")),["Backspace","Delete"].includes(pe.key)){if(!e.multiple&&P.value&&I.value.length>0&&!F.value)return ee(I.value[0],!1);if(~b.value){const ae=b.value;ee(I.value[b.value],!1),b.value=ae>=j-1?j-2:ae}else pe.key==="Backspace"&&!F.value&&(b.value=j-1)}if(e.multiple){if(pe.key==="ArrowLeft"){if(b.value<0&&z>0)return;const ae=b.value>-1?b.value-1:j-1;I.value[ae]?b.value=ae:(b.value=-1,u.value.setSelectionRange(F.value.length,F.value.length))}if(pe.key==="ArrowRight"){if(b.value<0)return;const ae=b.value+1;I.value[ae]?b.value=ae:(b.value=-1,u.value.setSelectionRange(0,0))}}}function ie(){var pe;d.value&&(f.value=!0,(pe=u.value)==null||pe.focus())}function ee(pe){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!pe||pe.props.disabled))if(e.multiple){const j=I.value.findIndex(ae=>e.valueComparator(ae.value,pe.value)),ne=z??!~j;if(~j){const ae=ne?[...I.value,pe]:[...I.value];ae.splice(j,1),I.value=ae}else ne&&(I.value=[...I.value,pe]);e.clearOnSelect&&(F.value="")}else{const j=z!==!1;I.value=j?[pe]:[],L.value=j&&!P.value?pe.title:"",nextTick$1(()=>{v.value=!1,f.value=!0})}}function de(pe){d.value=!0,setTimeout(()=>{g.value=!0})}function me(pe){g.value=!1}function oe(pe){(pe==null||pe===""&&!e.multiple&&!P.value)&&(I.value=[])}return watch(d,(pe,z)=>{if(!(pe||pe===z)&&(b.value=-1,v.value=!1,F.value)){if(e.multiple){ee(transformItem$3(e,F.value));return}if(!P.value)return;I.value.some(j=>{let{title:ne}=j;return ne===F.value})?L.value="":ee(transformItem$3(e,F.value))}}),watch(v,()=>{if(!e.hideSelected&&v.value&&I.value.length){const pe=W.value.findIndex(z=>I.value.some(j=>e.valueComparator(j.value,z.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var z;pe>=0&&((z=S.value)==null||z.scrollToIndex(pe))})}}),watch(()=>e.items,(pe,z)=>{v.value||d.value&&!z.length&&pe.length&&(v.value=!0)}),useRender(()=>{const pe=!!(!e.hideNoData||W.value.length||a["prepend-item"]||a["append-item"]||a["no-data"]),z=I.value.length>0,j=VTextField.filterProps(e);return createVNode(VTextField,mergeProps({ref:u},j,{modelValue:F.value,"onUpdate:modelValue":[ne=>F.value=ne,oe],focused:d.value,"onUpdate:focused":ne=>d.value=ne,validationValue:I.externalValue,counterValue:B.value,dirty:z,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!P.value,"v-combobox--selecting-index":b.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:z?void 0:e.placeholder,"onClick:clear":te,"onMousedown:control":fe,onKeydown:ue}),{...a,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:_,modelValue:v.value,"onUpdate:modelValue":ne=>v.value=ne,activator:"parent",contentClass:"v-combobox__content",disabled:Y.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:ie},e.menuProps),{default:()=>[pe&&createVNode(VList,mergeProps({ref:Q,selected:K.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:ne=>ne.preventDefault(),onKeydown:J,onFocusin:de,onFocusout:me,onScrollPassive:Z,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var ne,ae,ce;return[(ne=a["prepend-item"])==null?void 0:ne.call(a),!W.value.length&&!e.hideNoData&&(((ae=a["no-data"])==null?void 0:ae.call(a))??createVNode(VListItem,{title:o(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:S,renderless:!0,items:W.value},{default:ye=>{var Oe;let{item:he,index:Ce,itemRef:Se}=ye;const ge=mergeProps(he.props,{ref:Se,key:Ce,active:G.value&&Ce===0?!0:void 0,onClick:()=>ee(he,null)});return((Oe=a.item)==null?void 0:Oe.call(a,{item:he,index:Ce,props:ge}))??createVNode(VListItem,mergeProps(ge,{role:"option"}),{prepend:De=>{let{isSelected:Re}=De;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:he.value,modelValue:Re,ripple:!1,tabindex:"-1"},null):void 0,he.props.prependAvatar&&createVNode(VAvatar,{image:he.props.prependAvatar},null),he.props.prependIcon&&createVNode(VIcon,{icon:he.props.prependIcon},null)])},title:()=>{var De,Re;return f.value?he.title:highlightResult(he.title,(De=U(he))==null?void 0:De.title,((Re=F.value)==null?void 0:Re.length)??0)}})}}),(ce=a["append-item"])==null?void 0:ce.call(a)]}})]}),I.value.map((ne,ae)=>{function ce(Se){Se.stopPropagation(),Se.preventDefault(),ee(ne,!1)}const ye={"onClick:close":ce,onKeydown(Se){Se.key!=="Enter"&&Se.key!==" "||(Se.preventDefault(),Se.stopPropagation(),ce(Se))},onMousedown(Se){Se.preventDefault(),Se.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},he=D.value?!!a.chip:!!a.selection,Ce=he?ensureValidVNode(D.value?a.chip({item:ne,index:ae,props:ye}):a.selection({item:ne,index:ae})):void 0;if(!(he&&!Ce))return createVNode("div",{key:ne.value,class:["v-combobox__selection",ae===b.value&&["v-combobox__selection--selected",x.value]],style:ae===b.value?N.value:{}},[D.value?a.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:ne.title}}},{default:()=>[Ce]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:ne.title,disabled:ne.props.disabled},ye),null):Ce??createVNode("span",{class:"v-combobox__selection-text"},[ne.title,e.multiple&&ae!0,save:e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),u=ref$1();watchEffect(()=>{u.value=structuredClone(toRaw(o.value))});const{t:d}=useLocale(),f=computed(()=>deepEqual(o.value,u.value));function g(){o.value=u.value,r("save",u.value)}function _(){u.value=structuredClone(toRaw(o.value)),r("cancel")}let S=!1;return useRender(()=>{var v;const E=createVNode(Fragment,null,[createVNode(VBtn,{disabled:f.value,variant:"text",color:e.color,onClick:_,text:d(e.cancelText)},null),createVNode(VBtn,{disabled:f.value,variant:"text",color:e.color,onClick:g,text:d(e.okText)},null)]);return createVNode(Fragment,null,[(v=a.default)==null?void 0:v.call(a,{model:u,save:g,cancel:_,isPristine:f.value,get actions(){return S=!0,E}}),!S&&E])}),{save:g,cancel:_,isPristine:f}}}),makeDataTableExpandProps=propsFactory({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),VDataTableExpandedKey=Symbol.for("vuetify:datatable:expanded");function provideExpanded(e){const t=toRef(e,"expandOnClick"),r=useProxiedModel(e,"expanded",e.expanded,f=>new Set(f),f=>[...f.values()]);function a(f,g){const _=new Set(r.value);g?_.add(f.value):_.delete(f.value),r.value=_}function o(f){return r.value.has(f.value)}function u(f){a(f,!o(f))}const d={expand:a,expanded:r,expandOnClick:t,isExpanded:o,toggleExpand:u};return provide(VDataTableExpandedKey,d),d}function useExpanded(){const e=inject$1(VDataTableExpandedKey);if(!e)throw new Error("foo");return e}const makeDataTableGroupProps=propsFactory({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),VDataTableGroupSymbol=Symbol.for("vuetify:data-table-group");function createGroupBy(e){return{groupBy:useProxiedModel(e,"groupBy")}}function provideGroupBy(e){const{disableSort:t,groupBy:r,sortBy:a}=e,o=ref$1(new Set),u=computed(()=>r.value.map(S=>({...S,order:S.order??!1})).concat(t!=null&&t.value?[]:a.value));function d(S){return o.value.has(S.id)}function f(S){const E=new Set(o.value);d(S)?E.delete(S.id):E.add(S.id),o.value=E}function g(S){function E(v){const b=[];for(const y of v.items)"type"in y&&y.type==="group"?b.push(...E(y)):b.push(y);return b}return E({type:"group",items:S,id:"dummy",key:"dummy",value:"dummy",depth:0})}const _={sortByWithGroups:u,toggleGroup:f,opened:o,groupBy:r,extractRows:g,isGroupOpen:d};return provide(VDataTableGroupSymbol,_),_}function useGroupBy(){const e=inject$1(VDataTableGroupSymbol);if(!e)throw new Error("Missing group!");return e}function groupItemsByProperty(e,t){if(!e.length)return[];const r=new Map;for(const a of e){const o=getObjectValueByPath(a.raw,t);r.has(o)||r.set(o,[]),r.get(o).push(a)}return r}function groupItems(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!t.length)return[];const o=groupItemsByProperty(e,t[0]),u=[],d=t.slice(1);return o.forEach((f,g)=>{const _=t[0],S=`${a}_${_}_${g}`;u.push({depth:r,id:S,key:_,value:g,items:d.length?groupItems(f,d,r+1,S):f,type:"group"})}),u}function flattenItems(e,t){const r=[];for(const a of e)"type"in a&&a.type==="group"?(a.value!=null&&r.push(a),(t.has(a.id)||a.value==null)&&r.push(...flattenItems(a.items,t))):r.push(a);return r}function useGroupedItems(e,t,r){return{flatItems:computed(()=>{if(!t.value.length)return e.value;const o=groupItems(e.value,t.value.map(u=>u.key));return flattenItems(o,r.value)})}}function useOptions(e){let{page:t,itemsPerPage:r,sortBy:a,groupBy:o,search:u}=e;const d=getCurrentInstance("VDataTable"),f=computed(()=>({page:t.value,itemsPerPage:r.value,sortBy:a.value,groupBy:o.value,search:u.value}));let g=null;watch(f,()=>{deepEqual(g,f.value)||(g&&g.search!==f.value.search&&(t.value=1),d.emit("update:options",f.value),g=f.value)},{deep:!0,immediate:!0})}const makeDataTablePaginateProps=propsFactory({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),VDataTablePaginationSymbol=Symbol.for("vuetify:data-table-pagination");function createPagination(e){const t=useProxiedModel(e,"page",void 0,a=>+(a??1)),r=useProxiedModel(e,"itemsPerPage",void 0,a=>+(a??10));return{page:t,itemsPerPage:r}}function providePagination(e){const{page:t,itemsPerPage:r,itemsLength:a}=e,o=computed(()=>r.value===-1?0:r.value*(t.value-1)),u=computed(()=>r.value===-1?a.value:Math.min(a.value,o.value+r.value)),d=computed(()=>r.value===-1||a.value===0?1:Math.ceil(a.value/r.value));watchEffect(()=>{t.value>d.value&&(t.value=d.value)});function f(v){r.value=v,t.value=1}function g(){t.value=clamp(t.value+1,1,d.value)}function _(){t.value=clamp(t.value-1,1,d.value)}function S(v){t.value=clamp(v,1,d.value)}const E={page:t,itemsPerPage:r,startIndex:o,stopIndex:u,pageCount:d,itemsLength:a,nextPage:g,prevPage:_,setPage:S,setItemsPerPage:f};return provide(VDataTablePaginationSymbol,E),E}function usePagination(){const e=inject$1(VDataTablePaginationSymbol);if(!e)throw new Error("Missing pagination!");return e}function usePaginatedItems(e){const t=getCurrentInstance("usePaginatedItems"),{items:r,startIndex:a,stopIndex:o,itemsPerPage:u}=e,d=computed(()=>u.value<=0?r.value:r.value.slice(a.value,o.value));return watch(d,f=>{t.emit("update:currentItems",f)}),{paginatedItems:d}}const singleSelectStrategy={showSelectAll:!1,allSelected:()=>[],select:e=>{var a;let{items:t,value:r}=e;return new Set(r?[(a=t[0])==null?void 0:a.value]:[])},selectAll:e=>{let{selected:t}=e;return t}},pageSelectStrategy={showSelectAll:!0,allSelected:e=>{let{currentPage:t}=e;return t},select:e=>{let{items:t,value:r,selected:a}=e;for(const o of t)r?a.add(o.value):a.delete(o.value);return a},selectAll:e=>{let{value:t,currentPage:r,selected:a}=e;return pageSelectStrategy.select({items:r,value:t,selected:a})}},allSelectStrategy={showSelectAll:!0,allSelected:e=>{let{allItems:t}=e;return t},select:e=>{let{items:t,value:r,selected:a}=e;for(const o of t)r?a.add(o.value):a.delete(o.value);return a},selectAll:e=>{let{value:t,allItems:r,selected:a}=e;return allSelectStrategy.select({items:r,value:t,selected:a})}},makeDataTableSelectProps=propsFactory({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:deepEqual}},"DataTable-select"),VDataTableSelectionSymbol=Symbol.for("vuetify:data-table-selection");function provideSelection(e,t){let{allItems:r,currentPage:a}=t;const o=useProxiedModel(e,"modelValue",e.modelValue,R=>new Set(wrapInArray(R).map(A=>{var O;return((O=r.value.find(x=>e.valueComparator(A,x.value)))==null?void 0:O.value)??A})),R=>[...R.values()]),u=computed(()=>r.value.filter(R=>R.selectable)),d=computed(()=>a.value.filter(R=>R.selectable)),f=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return singleSelectStrategy;case"all":return allSelectStrategy;case"page":default:return pageSelectStrategy}});function g(R){return wrapInArray(R).every(A=>o.value.has(A.value))}function _(R){return wrapInArray(R).some(A=>o.value.has(A.value))}function S(R,A){const O=f.value.select({items:R,value:A,selected:new Set(o.value)});o.value=O}function E(R){S([R],!g([R]))}function v(R){const A=f.value.selectAll({value:R,allItems:u.value,currentPage:d.value,selected:new Set(o.value)});o.value=A}const b=computed(()=>o.value.size>0),y=computed(()=>{const R=f.value.allSelected({allItems:u.value,currentPage:d.value});return!!R.length&&g(R)}),T=computed(()=>f.value.showSelectAll),C={toggleSelect:E,select:S,selectAll:v,isSelected:g,isSomeSelected:_,someSelected:b,allSelected:y,showSelectAll:T};return provide(VDataTableSelectionSymbol,C),C}function useSelection(){const e=inject$1(VDataTableSelectionSymbol);if(!e)throw new Error("Missing selection!");return e}const makeDataTableSortProps=propsFactory({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),VDataTableSortSymbol=Symbol.for("vuetify:data-table-sort");function createSort(e){const t=useProxiedModel(e,"sortBy"),r=toRef(e,"mustSort"),a=toRef(e,"multiSort");return{sortBy:t,mustSort:r,multiSort:a}}function provideSort(e){const{sortBy:t,mustSort:r,multiSort:a,page:o}=e,u=g=>{if(g.key==null)return;let _=t.value.map(E=>({...E}))??[];const S=_.find(E=>E.key===g.key);S?S.order==="desc"?r.value?S.order="asc":_=_.filter(E=>E.key!==g.key):S.order="desc":a.value?_=[..._,{key:g.key,order:"asc"}]:_=[{key:g.key,order:"asc"}],t.value=_,o&&(o.value=1)};function d(g){return!!t.value.find(_=>_.key===g.key)}const f={sortBy:t,toggleSort:u,isSorted:d};return provide(VDataTableSortSymbol,f),f}function useSort(){const e=inject$1(VDataTableSortSymbol);if(!e)throw new Error("Missing sort!");return e}function useSortedItems(e,t,r,a){const o=useLocale();return{sortedItems:computed(()=>{var d,f;return r.value.length?sortItems(t.value,r.value,o.current.value,{transform:a==null?void 0:a.transform,sortFunctions:{...e.customKeySort,...(d=a==null?void 0:a.sortFunctions)==null?void 0:d.value},sortRawFunctions:(f=a==null?void 0:a.sortRawFunctions)==null?void 0:f.value}):t.value})}}function sortItems(e,t,r,a){const o=new Intl.Collator(r,{sensitivity:"accent",usage:"sort"});return e.map(d=>[d,a!=null&&a.transform?a.transform(d):d]).sort((d,f)=>{var g,_;for(let S=0;SA!=null?A.toString().toLocaleLowerCase():A),y!==T)return isEmpty(y)&&isEmpty(T)?0:isEmpty(y)?-1:isEmpty(T)?1:!isNaN(y)&&!isNaN(T)?Number(y)-Number(T):o.compare(y,T)}}return 0}).map(d=>{let[f]=d;return f})}const makeDataIteratorItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},returnObject:Boolean},"DataIterator-items");function transformItem$1(e,t){const r=e.returnObject?t:getPropertyFromItem(t,e.itemValue),a=getPropertyFromItem(t,e.itemSelectable,!0);return{type:"item",value:r,selectable:a,raw:t}}function transformItems$1(e,t){const r=[];for(const a of t)r.push(transformItem$1(e,a));return r}function useDataIteratorItems(e){return{items:computed(()=>transformItems$1(e,e.items))}}const makeVDataIteratorProps=propsFactory({search:String,loading:Boolean,...makeComponentProps(),...makeDataIteratorItemsProps(),...makeDataTableSelectProps(),...makeDataTableSortProps(),...makeDataTablePaginateProps({itemsPerPage:5}),...makeDataTableExpandProps(),...makeDataTableGroupProps(),...makeFilterProps(),...makeTagProps(),...makeTransitionProps({transition:{component:VFadeTransition,hideOnLeave:!0}})},"VDataIterator"),VDataIterator=genericComponent()({name:"VDataIterator",props:makeVDataIteratorProps(),emits:{"update:modelValue":e=>!0,"update:groupBy":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0,"update:currentItems":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"groupBy"),o=toRef(e,"search"),{items:u}=useDataIteratorItems(e),{filteredItems:d}=useFilter(e,u,o,{transform:J=>J.raw}),{sortBy:f,multiSort:g,mustSort:_}=createSort(e),{page:S,itemsPerPage:E}=createPagination(e),{toggleSort:v}=provideSort({sortBy:f,multiSort:g,mustSort:_,page:S}),{sortByWithGroups:b,opened:y,extractRows:T,isGroupOpen:C,toggleGroup:R}=provideGroupBy({groupBy:a,sortBy:f}),{sortedItems:A}=useSortedItems(e,d,b,{transform:J=>J.raw}),{flatItems:O}=useGroupedItems(A,a,y),x=computed(()=>O.value.length),{startIndex:N,stopIndex:I,pageCount:k,prevPage:D,nextPage:P,setItemsPerPage:L,setPage:F}=providePagination({page:S,itemsPerPage:E,itemsLength:x}),{paginatedItems:B}=usePaginatedItems({items:O,startIndex:N,stopIndex:I,itemsPerPage:E}),V=computed(()=>T(B.value)),{isSelected:U,select:W,selectAll:K,toggleSelect:G}=provideSelection(e,{allItems:u,currentPage:V}),{isExpanded:Y,toggleExpand:Q}=provideExpanded(e);useOptions({page:S,itemsPerPage:E,sortBy:f,groupBy:a,search:o});const Z=computed(()=>({page:S.value,itemsPerPage:E.value,sortBy:f.value,pageCount:k.value,toggleSort:v,prevPage:D,nextPage:P,setPage:F,setItemsPerPage:L,isSelected:U,select:W,selectAll:K,toggleSelect:G,isExpanded:Y,toggleExpand:Q,isGroupOpen:C,toggleGroup:R,items:V.value,groupedItems:B.value}));return useRender(()=>createVNode(e.tag,{class:["v-data-iterator",{"v-data-iterator--loading":e.loading},e.class],style:e.style},{default:()=>{var J,te;return[(J=r.header)==null?void 0:J.call(r,Z.value),createVNode(MaybeTransition,{transition:e.transition},{default:()=>{var fe,ve;return[e.loading?createVNode(LoaderSlot,{key:"loader",name:"v-data-iterator",active:!0},{default:ue=>{var ie;return(ie=r.loader)==null?void 0:ie.call(r,ue)}}):createVNode("div",{key:"items"},[B.value.length?(ve=r.default)==null?void 0:ve.call(r,Z.value):(fe=r["no-data"])==null?void 0:fe.call(r)])]}}),(te=r.footer)==null?void 0:te.call(r,Z.value)]}})),{}}});function useRefs(){const e=ref$1([]);onBeforeUpdate(()=>e.value=[]);function t(r,a){e.value[a]=r}return{refs:e,updateRef:t}}const makeVPaginationProps=propsFactory({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:IconValue,default:"$first"},prevIcon:{type:IconValue,default:"$prev"},nextIcon:{type:IconValue,default:"$next"},lastIcon:{type:IconValue,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps({tag:"nav"}),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VPagination"),VPagination=genericComponent()({name:"VPagination",props:makeVPaginationProps(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,t){let{slots:r,emit:a}=t;const o=useProxiedModel(e,"modelValue"),{t:u,n:d}=useLocale(),{isRtl:f}=useRtl(),{themeClasses:g}=provideTheme(e),{width:_}=useDisplay(),S=shallowRef(-1);provideDefaults(void 0,{scoped:!0});const{resizeRef:E}=useResizeObserver(D=>{if(!D.length)return;const{target:P,contentRect:L}=D[0],F=P.querySelector(".v-pagination__list > *");if(!F)return;const B=L.width,V=F.offsetWidth+parseFloat(getComputedStyle(F).marginRight)*2;S.value=T(B,V)}),v=computed(()=>parseInt(e.length,10)),b=computed(()=>parseInt(e.start,10)),y=computed(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):S.value>=0?S.value:T(_.value,58));function T(D,P){const L=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((D-P*L)/P).toFixed(2)))}const C=computed(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(y.value<=0)return[];if(y.value===1)return[o.value];if(v.value<=y.value)return createRange(v.value,b.value);const D=y.value%2===0,P=D?y.value/2:Math.floor(y.value/2),L=D?P:P+1,F=v.value-P;if(L-o.value>=0)return[...createRange(Math.max(1,y.value-1),b.value),e.ellipsis,v.value];if(o.value-F>=(D?1:0)){const B=y.value-1,V=v.value-B+b.value;return[b.value,e.ellipsis,...createRange(B,V)]}else{const B=Math.max(1,y.value-3),V=B===1?o.value:o.value-Math.ceil(B/2)+b.value;return[b.value,e.ellipsis,...createRange(B,V),e.ellipsis,v.value]}});function R(D,P,L){D.preventDefault(),o.value=P,L&&a(L,P)}const{refs:A,updateRef:O}=useRefs();provideDefaults({VPaginationBtn:{color:toRef(e,"color"),border:toRef(e,"border"),density:toRef(e,"density"),size:toRef(e,"size"),variant:toRef(e,"variant"),rounded:toRef(e,"rounded"),elevation:toRef(e,"elevation")}});const x=computed(()=>C.value.map((D,P)=>{const L=F=>O(F,P);if(typeof D=="string")return{isActive:!1,key:`ellipsis-${P}`,page:D,props:{ref:L,ellipsis:!0,icon:!0,disabled:!0}};{const F=D===o.value;return{isActive:F,key:D,page:d(D),props:{ref:L,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:F?e.activeColor:e.color,"aria-current":F,"aria-label":u(F?e.currentPageAriaLabel:e.pageAriaLabel,D),onClick:B=>R(B,D)}}}})),N=computed(()=>{const D=!!e.disabled||o.value<=b.value,P=!!e.disabled||o.value>=b.value+v.value-1;return{first:e.showFirstLastPage?{icon:f.value?e.lastIcon:e.firstIcon,onClick:L=>R(L,b.value,"first"),disabled:D,"aria-label":u(e.firstAriaLabel),"aria-disabled":D}:void 0,prev:{icon:f.value?e.nextIcon:e.prevIcon,onClick:L=>R(L,o.value-1,"prev"),disabled:D,"aria-label":u(e.previousAriaLabel),"aria-disabled":D},next:{icon:f.value?e.prevIcon:e.nextIcon,onClick:L=>R(L,o.value+1,"next"),disabled:P,"aria-label":u(e.nextAriaLabel),"aria-disabled":P},last:e.showFirstLastPage?{icon:f.value?e.firstIcon:e.lastIcon,onClick:L=>R(L,b.value+v.value-1,"last"),disabled:P,"aria-label":u(e.lastAriaLabel),"aria-disabled":P}:void 0}});function I(){var P;const D=o.value-b.value;(P=A.value[D])==null||P.$el.focus()}function k(D){D.key===keyValues.left&&!e.disabled&&o.value>+e.start?(o.value=o.value-1,nextTick$1(I)):D.key===keyValues.right&&!e.disabled&&o.valuecreateVNode(e.tag,{ref:E,class:["v-pagination",g.value,e.class],style:e.style,role:"navigation","aria-label":u(e.ariaLabel),onKeydown:k,"data-test":"v-pagination-root"},{default:()=>[createVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&createVNode("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(N.value.first):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},N.value.first),null)]),createVNode("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(N.value.prev):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},N.value.prev),null)]),x.value.map((D,P)=>createVNode("li",{key:D.key,class:["v-pagination__item",{"v-pagination__item--is-active":D.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(D):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},D.props),{default:()=>[D.page]})])),createVNode("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(N.value.next):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},N.value.next),null)]),e.showFirstLastPage&&createVNode("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(N.value.last):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},N.value.last),null)])])]})),{}}}),makeVDataTableFooterProps=propsFactory({prevIcon:{type:IconValue,default:"$prev"},nextIcon:{type:IconValue,default:"$next"},firstIcon:{type:IconValue,default:"$first"},lastIcon:{type:IconValue,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),VDataTableFooter=genericComponent()({name:"VDataTableFooter",props:makeVDataTableFooterProps(),setup(e,t){let{slots:r}=t;const{t:a}=useLocale(),{page:o,pageCount:u,startIndex:d,stopIndex:f,itemsLength:g,itemsPerPage:_,setItemsPerPage:S}=usePagination(),E=computed(()=>e.itemsPerPageOptions.map(v=>typeof v=="number"?{value:v,title:v===-1?a("$vuetify.dataFooter.itemsPerPageAll"):String(v)}:{...v,title:isNaN(Number(v.title))?a(v.title):v.title}));return useRender(()=>{var b;const v=VPagination.filterProps(e);return createVNode("div",{class:"v-data-table-footer"},[(b=r.prepend)==null?void 0:b.call(r),createVNode("div",{class:"v-data-table-footer__items-per-page"},[createVNode("span",null,[a(e.itemsPerPageText)]),createVNode(VSelect,{items:E.value,modelValue:_.value,"onUpdate:modelValue":y=>S(Number(y)),density:"compact",variant:"outlined","hide-details":!0},null)]),createVNode("div",{class:"v-data-table-footer__info"},[createVNode("div",null,[a(e.pageText,g.value?d.value+1:0,f.value,g.value)])]),createVNode("div",{class:"v-data-table-footer__pagination"},[createVNode(VPagination,mergeProps({modelValue:o.value,"onUpdate:modelValue":y=>o.value=y,density:"comfortable","first-aria-label":e.firstPageLabel,"last-aria-label":e.lastPageLabel,length:u.value,"next-aria-label":e.nextPageLabel,"previous-aria-label":e.prevPageLabel,rounded:!0,"show-first-last-page":!0,"total-visible":e.showCurrentPage?1:0,variant:"plain"},v),null)])])}),{}}}),VDataTableColumn=defineFunctionalComponent({align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String],maxWidth:[Number,String],nowrap:Boolean},(e,t)=>{let{slots:r}=t;const a=e.tag??"td";return createVNode(a,{class:["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding,"v-data-table-column--nowrap":e.nowrap},`v-data-table-column--align-${e.align}`],style:{height:convertToUnit(e.height),width:convertToUnit(e.width),maxWidth:convertToUnit(e.maxWidth),left:convertToUnit(e.fixedOffset||null)}},{default:()=>{var o;return[(o=r.default)==null?void 0:o.call(r)]}})}),makeDataTableHeaderProps=propsFactory({headers:Array},"DataTable-header"),VDataTableHeadersSymbol=Symbol.for("vuetify:data-table-headers"),defaultHeader={title:"",sortable:!1},defaultActionHeader={...defaultHeader,width:48};function priorityQueue(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(r=>({element:r,priority:0}));return{enqueue:(r,a)=>{let o=!1;for(let u=0;ua){t.splice(u,0,{element:r,priority:a}),o=!0;break}o||t.push({element:r,priority:a})},size:()=>t.length,count:()=>{let r=0;if(!t.length)return 0;const a=Math.floor(t[0].priority);for(let o=0;ot.shift()}}function extractLeaves(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(!e.children)t.push(e);else for(const r of e.children)extractLeaves(r,t);return t}function extractKeys(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const r of e)r.key&&t.add(r.key),r.children&&extractKeys(r.children,t);return t}function getDefaultItem(e){if(e.key){if(e.key==="data-table-group")return defaultHeader;if(["data-table-expand","data-table-select"].includes(e.key))return defaultActionHeader}}function getDepth(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(t,...e.children.map(r=>getDepth(r,t+1))):t}function parseFixedColumns(e){let t=!1;function r(u){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(u)if(d&&(u.fixed=!0),u.fixed)if(u.children)for(let f=u.children.length-1;f>=0;f--)r(u.children[f],!0);else t?isNaN(+u.width)&&(`${u.key}`,void 0):u.lastFixed=!0,t=!0;else if(u.children)for(let f=u.children.length-1;f>=0;f--)r(u.children[f]);else t=!1}for(let u=e.length-1;u>=0;u--)r(e[u]);function a(u){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!u)return d;if(u.children){u.fixedOffset=d;for(const f of u.children)d=a(f,d)}else u.fixed&&(u.fixedOffset=d,d+=parseFloat(u.width||"0")||0);return d}let o=0;for(const u of e)o=a(u,o)}function parse(e,t){const r=[];let a=0;const o=priorityQueue(e);for(;o.size()>0;){let d=o.count();const f=[];let g=1;for(;d>0;){const{element:_,priority:S}=o.dequeue(),E=t-a-getDepth(_);if(f.push({..._,rowspan:E??1,colspan:_.children?extractLeaves(_).length:1}),_.children)for(const v of _.children){const b=S%1+g/Math.pow(10,a+2);o.enqueue(v,a+E+b)}g+=1,d-=1}a+=1,r.push(f)}return{columns:e.map(d=>extractLeaves(d)).flat(),headers:r}}function convertToInternalHeaders(e){const t=[];for(const r of e){const a={...getDefaultItem(r),...r},o=a.key??(typeof a.value=="string"?a.value:null),u=a.value??o??null,d={...a,key:o,value:u,sortable:a.sortable??(a.key!=null||!!a.sort),children:a.children?convertToInternalHeaders(a.children):void 0};t.push(d)}return t}function createHeaders(e,t){const r=ref$1([]),a=ref$1([]),o=ref$1({}),u=ref$1({}),d=ref$1({});watchEffect(()=>{var T,C,R;const _=(e.headers||Object.keys(e.items[0]??{}).map(A=>({key:A,title:capitalize(A)}))).slice(),S=extractKeys(_);(T=t==null?void 0:t.groupBy)!=null&&T.value.length&&!S.has("data-table-group")&&_.unshift({key:"data-table-group",title:"Group"}),(C=t==null?void 0:t.showSelect)!=null&&C.value&&!S.has("data-table-select")&&_.unshift({key:"data-table-select"}),(R=t==null?void 0:t.showExpand)!=null&&R.value&&!S.has("data-table-expand")&&_.push({key:"data-table-expand"});const E=convertToInternalHeaders(_);parseFixedColumns(E);const v=Math.max(...E.map(A=>getDepth(A)))+1,b=parse(E,v);r.value=b.headers,a.value=b.columns;const y=b.headers.flat(1);for(const A of y)A.key&&(A.sortable&&(A.sort&&(o.value[A.key]=A.sort),A.sortRaw&&(u.value[A.key]=A.sortRaw)),A.filter&&(d.value[A.key]=A.filter))});const f={headers:r,columns:a,sortFunctions:o,sortRawFunctions:u,filterFunctions:d};return provide(VDataTableHeadersSymbol,f),f}function useHeaders(){const e=inject$1(VDataTableHeadersSymbol);if(!e)throw new Error("Missing headers!");return e}const makeVDataTableHeadersProps=propsFactory({color:String,sticky:Boolean,disableSort:Boolean,multiSort:Boolean,sortAscIcon:{type:IconValue,default:"$sortAsc"},sortDescIcon:{type:IconValue,default:"$sortDesc"},headerProps:{type:Object},...makeDisplayProps(),...makeLoaderProps()},"VDataTableHeaders"),VDataTableHeaders=genericComponent()({name:"VDataTableHeaders",props:makeVDataTableHeadersProps(),setup(e,t){let{slots:r}=t;const{t:a}=useLocale(),{toggleSort:o,sortBy:u,isSorted:d}=useSort(),{someSelected:f,allSelected:g,selectAll:_,showSelectAll:S}=useSelection(),{columns:E,headers:v}=useHeaders(),{loaderClasses:b}=useLoader(e);function y(D,P){if(!(!e.sticky&&!D.fixed))return{position:"sticky",left:D.fixed?convertToUnit(D.fixedOffset):void 0,top:e.sticky?`calc(var(--v-table-header-height) * ${P})`:void 0}}function T(D){const P=u.value.find(L=>L.key===D.key);return P?P.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:C,backgroundColorStyles:R}=useBackgroundColor(e,"color"),{displayClasses:A,mobile:O}=useDisplay(e),x=computed(()=>({headers:v.value,columns:E.value,toggleSort:o,isSorted:d,sortBy:u.value,someSelected:f.value,allSelected:g.value,selectAll:_,getSortIcon:T})),N=computed(()=>["v-data-table__th",{"v-data-table__th--sticky":e.sticky},A.value,b.value]),I=D=>{let{column:P,x:L,y:F}=D;const B=P.key==="data-table-select"||P.key==="data-table-expand",V=mergeProps(e.headerProps??{},P.headerProps??{});return createVNode(VDataTableColumn,mergeProps({tag:"th",align:P.align,class:[{"v-data-table__th--sortable":P.sortable&&!e.disableSort,"v-data-table__th--sorted":d(P),"v-data-table__th--fixed":P.fixed},...N.value],style:{width:convertToUnit(P.width),minWidth:convertToUnit(P.minWidth),maxWidth:convertToUnit(P.maxWidth),...y(P,F)},colspan:P.colspan,rowspan:P.rowspan,onClick:P.sortable?()=>o(P):void 0,fixed:P.fixed,nowrap:P.nowrap,lastFixed:P.lastFixed,noPadding:B},V),{default:()=>{var K;const U=`header.${P.key}`,W={column:P,selectAll:_,isSorted:d,toggleSort:o,sortBy:u.value,someSelected:f.value,allSelected:g.value,getSortIcon:T};return r[U]?r[U](W):P.key==="data-table-select"?((K=r["header.data-table-select"])==null?void 0:K.call(r,W))??(S.value&&createVNode(VCheckboxBtn,{modelValue:g.value,indeterminate:f.value&&!g.value,"onUpdate:modelValue":_},null)):createVNode("div",{class:"v-data-table-header__content"},[createVNode("span",null,[P.title]),P.sortable&&!e.disableSort&&createVNode(VIcon,{key:"icon",class:"v-data-table-header__sort-icon",icon:T(P)},null),e.multiSort&&d(P)&&createVNode("div",{key:"badge",class:["v-data-table-header__sort-badge",...C.value],style:R.value},[u.value.findIndex(G=>G.key===P.key)+1])])}})},k=()=>{const D=mergeProps(e.headerProps??{}??{}),P=computed(()=>E.value.filter(F=>(F==null?void 0:F.sortable)&&!e.disableSort)),L=computed(()=>{if(E.value.find(B=>B.key==="data-table-select")!=null)return g.value?"$checkboxOn":f.value?"$checkboxIndeterminate":"$checkboxOff"});return createVNode(VDataTableColumn,mergeProps({tag:"th",class:[...N.value],colspan:v.value.length+1},D),{default:()=>[createVNode("div",{class:"v-data-table-header__content"},[createVNode(VSelect,{chips:!0,class:"v-data-table__td-sort-select",clearable:!0,density:"default",items:P.value,label:a("$vuetify.dataTable.sortBy"),multiple:e.multiSort,variant:"underlined","onClick:clear":()=>u.value=[],appendIcon:L.value,"onClick:append":()=>_(!g.value)},{...r,chip:F=>{var B;return createVNode(VChip,{onClick:(B=F.item.raw)!=null&&B.sortable?()=>o(F.item.raw):void 0,onMousedown:V=>{V.preventDefault(),V.stopPropagation()}},{default:()=>[F.item.title,createVNode(VIcon,{class:["v-data-table__td-sort-icon",d(F.item.raw)&&"v-data-table__td-sort-icon-active"],icon:T(F.item.raw),size:"small"},null)]})}})])]})};useRender(()=>O.value?createVNode("tr",null,[createVNode(k,null,null)]):createVNode(Fragment,null,[r.headers?r.headers(x.value):v.value.map((D,P)=>createVNode("tr",null,[D.map((L,F)=>createVNode(I,{column:L,x:F,y:P},null))])),e.loading&&createVNode("tr",{class:"v-data-table-progress"},[createVNode("th",{colspan:E.value.length},[createVNode(LoaderSlot,{name:"v-data-table-progress",absolute:!0,active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:r.loader})])])]))}}),makeVDataTableGroupHeaderRowProps=propsFactory({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),VDataTableGroupHeaderRow=genericComponent()({name:"VDataTableGroupHeaderRow",props:makeVDataTableGroupHeaderRowProps(),setup(e,t){let{slots:r}=t;const{isGroupOpen:a,toggleGroup:o,extractRows:u}=useGroupBy(),{isSelected:d,isSomeSelected:f,select:g}=useSelection(),{columns:_}=useHeaders(),S=computed(()=>u([e.item]));return()=>createVNode("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[_.value.map(E=>{var v,b;if(E.key==="data-table-group"){const y=a(e.item)?"$expand":"$next",T=()=>o(e.item);return((v=r["data-table-group"])==null?void 0:v.call(r,{item:e.item,count:S.value.length,props:{icon:y,onClick:T}}))??createVNode(VDataTableColumn,{class:"v-data-table-group-header-row__column"},{default:()=>[createVNode(VBtn,{size:"small",variant:"text",icon:y,onClick:T},null),createVNode("span",null,[e.item.value]),createVNode("span",null,[createTextVNode("("),S.value.length,createTextVNode(")")])]})}if(E.key==="data-table-select"){const y=d(S.value),T=f(S.value)&&!y,C=R=>g(S.value,R);return((b=r["data-table-select"])==null?void 0:b.call(r,{props:{modelValue:y,indeterminate:T,"onUpdate:modelValue":C}}))??createVNode("td",null,[createVNode(VCheckboxBtn,{modelValue:y,indeterminate:T,"onUpdate:modelValue":C},null)])}return createVNode("td",null,null)})])}}),makeVDataTableRowProps=propsFactory({index:Number,item:Object,cellProps:[Object,Function],onClick:EventProp(),onContextmenu:EventProp(),onDblclick:EventProp(),...makeDisplayProps()},"VDataTableRow"),VDataTableRow=genericComponent()({name:"VDataTableRow",props:makeVDataTableRowProps(),setup(e,t){let{slots:r}=t;const{displayClasses:a,mobile:o}=useDisplay(e,"v-data-table__tr"),{isSelected:u,toggleSelect:d,someSelected:f,allSelected:g,selectAll:_}=useSelection(),{isExpanded:S,toggleExpand:E}=useExpanded(),{toggleSort:v,sortBy:b,isSorted:y}=useSort(),{columns:T}=useHeaders();useRender(()=>createVNode("tr",{class:["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)},a.value],onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&T.value.map((C,R)=>{const A=e.item,O=`item.${C.key}`,x=`header.${C.key}`,N={index:e.index,item:A.raw,internalItem:A,value:getObjectValueByPath(A.columns,C.key),column:C,isSelected:u,toggleSelect:d,isExpanded:S,toggleExpand:E},I={column:C,selectAll:_,isSorted:y,toggleSort:v,sortBy:b.value,someSelected:f.value,allSelected:g.value,getSortIcon:()=>""},k=typeof e.cellProps=="function"?e.cellProps({index:N.index,item:N.item,internalItem:N.internalItem,value:N.value,column:C}):e.cellProps,D=typeof C.cellProps=="function"?C.cellProps({index:N.index,item:N.item,internalItem:N.internalItem,value:N.value}):C.cellProps;return createVNode(VDataTableColumn,mergeProps({align:C.align,class:{"v-data-table__td--expanded-row":C.key==="data-table-expand","v-data-table__td--select-row":C.key==="data-table-select"},fixed:C.fixed,fixedOffset:C.fixedOffset,lastFixed:C.lastFixed,maxWidth:o.value?void 0:C.maxWidth,noPadding:C.key==="data-table-select"||C.key==="data-table-expand",nowrap:C.nowrap,width:o.value?void 0:C.width},k,D),{default:()=>{var L,F,B,V,U;if(r[O]&&!o.value)return(L=r[O])==null?void 0:L.call(r,N);if(C.key==="data-table-select")return((F=r["item.data-table-select"])==null?void 0:F.call(r,N))??createVNode(VCheckboxBtn,{disabled:!A.selectable,modelValue:u([A]),onClick:withModifiers(()=>d(A),["stop"])},null);if(C.key==="data-table-expand")return((B=r["item.data-table-expand"])==null?void 0:B.call(r,N))??createVNode(VBtn,{icon:S(A)?"$collapse":"$expand",size:"small",variant:"text",onClick:withModifiers(()=>E(A),["stop"])},null);const P=toDisplayString(N.value);return o.value?createVNode(Fragment,null,[createVNode("div",{class:"v-data-table__td-title"},[((V=r[x])==null?void 0:V.call(r,I))??C.title]),createVNode("div",{class:"v-data-table__td-value"},[((U=r[O])==null?void 0:U.call(r,N))??P])]):P}})})]))}}),makeVDataTableRowsProps=propsFactory({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowProps:[Object,Function],cellProps:[Object,Function],...makeDisplayProps()},"VDataTableRows"),VDataTableRows=genericComponent()({name:"VDataTableRows",inheritAttrs:!1,props:makeVDataTableRowsProps(),setup(e,t){let{attrs:r,slots:a}=t;const{columns:o}=useHeaders(),{expandOnClick:u,toggleExpand:d,isExpanded:f}=useExpanded(),{isSelected:g,toggleSelect:_}=useSelection(),{toggleGroup:S,isGroupOpen:E}=useGroupBy(),{t:v}=useLocale(),{mobile:b}=useDisplay(e);return useRender(()=>{var y,T;return e.loading&&(!e.items.length||a.loading)?createVNode("tr",{class:"v-data-table-rows-loading",key:"loading"},[createVNode("td",{colspan:o.value.length},[((y=a.loading)==null?void 0:y.call(a))??v(e.loadingText)])]):!e.loading&&!e.items.length&&!e.hideNoData?createVNode("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[createVNode("td",{colspan:o.value.length},[((T=a["no-data"])==null?void 0:T.call(a))??v(e.noDataText)])]):createVNode(Fragment,null,[e.items.map((C,R)=>{var x;if(C.type==="group"){const N={index:R,item:C,columns:o.value,isExpanded:f,toggleExpand:d,isSelected:g,toggleSelect:_,toggleGroup:S,isGroupOpen:E};return a["group-header"]?a["group-header"](N):createVNode(VDataTableGroupHeaderRow,mergeProps({key:`group-header_${C.id}`,item:C},getPrefixedEventHandlers(r,":group-header",()=>N)),a)}const A={index:R,item:C.raw,internalItem:C,columns:o.value,isExpanded:f,toggleExpand:d,isSelected:g,toggleSelect:_},O={...A,props:mergeProps({key:`item_${C.key??C.index}`,onClick:u.value?()=>{d(C)}:void 0,index:R,item:C,cellProps:e.cellProps,mobile:b.value},getPrefixedEventHandlers(r,":row",()=>A),typeof e.rowProps=="function"?e.rowProps({item:A.item,index:A.index,internalItem:A.internalItem}):e.rowProps)};return createVNode(Fragment,{key:O.props.key},[a.item?a.item(O):createVNode(VDataTableRow,O.props,a),f(C)&&((x=a["expanded-row"])==null?void 0:x.call(a,A))])})])}),{}}}),makeVTableProps=propsFactory({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTable"),VTable=genericComponent()({name:"VTable",props:makeVTableProps(),setup(e,t){let{slots:r,emit:a}=t;const{themeClasses:o}=provideTheme(e),{densityClasses:u}=useDensity(e);return useRender(()=>createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":e.hover},o.value,u.value,e.class],style:e.style},{default:()=>{var d,f,g;return[(d=r.top)==null?void 0:d.call(r),r.default?createVNode("div",{class:"v-table__wrapper",style:{height:convertToUnit(e.height)}},[createVNode("table",null,[r.default()])]):(f=r.wrapper)==null?void 0:f.call(r),(g=r.bottom)==null?void 0:g.call(r)]}})),{}}}),makeDataTableItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function transformItem(e,t,r,a){const o=e.returnObject?t:getPropertyFromItem(t,e.itemValue),u=getPropertyFromItem(t,e.itemSelectable,!0),d=a.reduce((f,g)=>(g.key!=null&&(f[g.key]=getPropertyFromItem(t,g.value)),f),{});return{type:"item",key:e.returnObject?getPropertyFromItem(t,e.itemValue):o,index:r,value:o,selectable:u,columns:d,raw:t}}function transformItems(e,t,r){return t.map((a,o)=>transformItem(e,a,o,r))}function useDataTableItems(e,t){return{items:computed(()=>transformItems(e,e.items,t.value))}}const makeDataTableProps=propsFactory({...makeVDataTableRowsProps(),hideDefaultBody:Boolean,hideDefaultFooter:Boolean,hideDefaultHeader:Boolean,width:[String,Number],search:String,...makeDataTableExpandProps(),...makeDataTableGroupProps(),...makeDataTableHeaderProps(),...makeDataTableItemsProps(),...makeDataTableSelectProps(),...makeDataTableSortProps(),...makeVDataTableHeadersProps(),...makeVTableProps()},"DataTable"),makeVDataTableProps=propsFactory({...makeDataTablePaginateProps(),...makeDataTableProps(),...makeFilterProps(),...makeVDataTableFooterProps()},"VDataTable"),VDataTable=genericComponent()({name:"VDataTable",props:makeVDataTableProps(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0,"update:currentItems":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const{groupBy:o}=createGroupBy(e),{sortBy:u,multiSort:d,mustSort:f}=createSort(e),{page:g,itemsPerPage:_}=createPagination(e),{disableSort:S}=toRefs(e),{columns:E,headers:v,sortFunctions:b,sortRawFunctions:y,filterFunctions:T}=createHeaders(e,{groupBy:o,showSelect:toRef(e,"showSelect"),showExpand:toRef(e,"showExpand")}),{items:C}=useDataTableItems(e,E),R=toRef(e,"search"),{filteredItems:A}=useFilter(e,C,R,{transform:ee=>ee.columns,customKeyFilter:T}),{toggleSort:O}=provideSort({sortBy:u,multiSort:d,mustSort:f,page:g}),{sortByWithGroups:x,opened:N,extractRows:I,isGroupOpen:k,toggleGroup:D}=provideGroupBy({groupBy:o,sortBy:u,disableSort:S}),{sortedItems:P}=useSortedItems(e,A,x,{transform:ee=>({...ee.raw,...ee.columns}),sortFunctions:b,sortRawFunctions:y}),{flatItems:L}=useGroupedItems(P,o,N),F=computed(()=>L.value.length),{startIndex:B,stopIndex:V,pageCount:U,setItemsPerPage:W}=providePagination({page:g,itemsPerPage:_,itemsLength:F}),{paginatedItems:K}=usePaginatedItems({items:L,startIndex:B,stopIndex:V,itemsPerPage:_}),G=computed(()=>I(K.value)),{isSelected:Y,select:Q,selectAll:Z,toggleSelect:J,someSelected:te,allSelected:fe}=provideSelection(e,{allItems:C,currentPage:G}),{isExpanded:ve,toggleExpand:ue}=provideExpanded(e);useOptions({page:g,itemsPerPage:_,sortBy:u,groupBy:o,search:R}),provideDefaults({VDataTableRows:{hideNoData:toRef(e,"hideNoData"),noDataText:toRef(e,"noDataText"),loading:toRef(e,"loading"),loadingText:toRef(e,"loadingText")}});const ie=computed(()=>({page:g.value,itemsPerPage:_.value,sortBy:u.value,pageCount:U.value,toggleSort:O,setItemsPerPage:W,someSelected:te.value,allSelected:fe.value,isSelected:Y,select:Q,selectAll:Z,toggleSelect:J,isExpanded:ve,toggleExpand:ue,isGroupOpen:k,toggleGroup:D,items:G.value.map(ee=>ee.raw),internalItems:G.value,groupedItems:K.value,columns:E.value,headers:v.value}));return useRender(()=>{const ee=VDataTableFooter.filterProps(e),de=VDataTableHeaders.filterProps(e),me=VDataTableRows.filterProps(e),oe=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},oe),{top:()=>{var Ee;return(Ee=a.top)==null?void 0:Ee.call(a,ie.value)},default:()=>{var Ee,pe,z,j,ne,ae;return a.default?a.default(ie.value):createVNode(Fragment,null,[(Ee=a.colgroup)==null?void 0:Ee.call(a,ie.value),!e.hideDefaultHeader&&createVNode("thead",{key:"thead"},[createVNode(VDataTableHeaders,de,a)]),(pe=a.thead)==null?void 0:pe.call(a,ie.value),!e.hideDefaultBody&&createVNode("tbody",null,[(z=a["body.prepend"])==null?void 0:z.call(a,ie.value),a.body?a.body(ie.value):createVNode(VDataTableRows,mergeProps(r,me,{items:K.value}),a),(j=a["body.append"])==null?void 0:j.call(a,ie.value)]),(ne=a.tbody)==null?void 0:ne.call(a,ie.value),(ae=a.tfoot)==null?void 0:ae.call(a,ie.value)])},bottom:()=>a.bottom?a.bottom(ie.value):!e.hideDefaultFooter&&createVNode(Fragment,null,[createVNode(VDivider,null,null),createVNode(VDataTableFooter,ee,{prepend:a["footer.prepend"]})])})}),{}}}),makeVDataTableVirtualProps=propsFactory({...makeDataTableProps(),...makeDataTableGroupProps(),...makeVirtualProps(),...makeFilterProps()},"VDataTableVirtual"),VDataTableVirtual=genericComponent()({name:"VDataTableVirtual",props:makeVDataTableVirtualProps(),emits:{"update:modelValue":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const{groupBy:o}=createGroupBy(e),{sortBy:u,multiSort:d,mustSort:f}=createSort(e),{disableSort:g}=toRefs(e),{columns:_,headers:S,filterFunctions:E,sortFunctions:v,sortRawFunctions:b}=createHeaders(e,{groupBy:o,showSelect:toRef(e,"showSelect"),showExpand:toRef(e,"showExpand")}),{items:y}=useDataTableItems(e,_),T=toRef(e,"search"),{filteredItems:C}=useFilter(e,y,T,{transform:de=>de.columns,customKeyFilter:E}),{toggleSort:R}=provideSort({sortBy:u,multiSort:d,mustSort:f}),{sortByWithGroups:A,opened:O,extractRows:x,isGroupOpen:N,toggleGroup:I}=provideGroupBy({groupBy:o,sortBy:u,disableSort:g}),{sortedItems:k}=useSortedItems(e,C,A,{transform:de=>({...de.raw,...de.columns}),sortFunctions:v,sortRawFunctions:b}),{flatItems:D}=useGroupedItems(k,o,O),P=computed(()=>x(D.value)),{isSelected:L,select:F,selectAll:B,toggleSelect:V,someSelected:U,allSelected:W}=provideSelection(e,{allItems:P,currentPage:P}),{isExpanded:K,toggleExpand:G}=provideExpanded(e),{containerRef:Y,markerRef:Q,paddingTop:Z,paddingBottom:J,computedItems:te,handleItemResize:fe,handleScroll:ve,handleScrollend:ue}=useVirtual(e,D),ie=computed(()=>te.value.map(de=>de.raw));useOptions({sortBy:u,page:shallowRef(1),itemsPerPage:shallowRef(-1),groupBy:o,search:T}),provideDefaults({VDataTableRows:{hideNoData:toRef(e,"hideNoData"),noDataText:toRef(e,"noDataText"),loading:toRef(e,"loading"),loadingText:toRef(e,"loadingText")}});const ee=computed(()=>({sortBy:u.value,toggleSort:R,someSelected:U.value,allSelected:W.value,isSelected:L,select:F,selectAll:B,toggleSelect:V,isExpanded:K,toggleExpand:G,isGroupOpen:N,toggleGroup:I,items:P.value.map(de=>de.raw),internalItems:P.value,groupedItems:D.value,columns:_.value,headers:S.value}));useRender(()=>{const de=VDataTableHeaders.filterProps(e),me=VDataTableRows.filterProps(e),oe=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},oe),{top:()=>{var Ee;return(Ee=a.top)==null?void 0:Ee.call(a,ee.value)},wrapper:()=>{var Ee,pe,z;return createVNode("div",{ref:Y,onScrollPassive:ve,onScrollend:ue,class:"v-table__wrapper",style:{height:convertToUnit(e.height)}},[createVNode("table",null,[(Ee=a.colgroup)==null?void 0:Ee.call(a,ee.value),!e.hideDefaultHeader&&createVNode("thead",{key:"thead"},[createVNode(VDataTableHeaders,mergeProps(de,{sticky:e.fixedHeader}),a)]),!e.hideDefaultBody&&createVNode("tbody",null,[createVNode("tr",{ref:Q,style:{height:convertToUnit(Z.value),border:0}},[createVNode("td",{colspan:_.value.length,style:{height:0,border:0}},null)]),(pe=a["body.prepend"])==null?void 0:pe.call(a,ee.value),createVNode(VDataTableRows,mergeProps(r,me,{items:ie.value}),{...a,item:j=>createVNode(VVirtualScrollItem,{key:j.internalItem.index,renderless:!0,"onUpdate:height":ne=>fe(j.internalItem.index,ne)},{default:ne=>{var ce;let{itemRef:ae}=ne;return((ce=a.item)==null?void 0:ce.call(a,{...j,itemRef:ae}))??createVNode(VDataTableRow,mergeProps(j.props,{ref:ae,key:j.internalItem.index,index:j.internalItem.index}),a)}})}),(z=a["body.append"])==null?void 0:z.call(a,ee.value),createVNode("tr",{style:{height:convertToUnit(J.value),border:0}},[createVNode("td",{colspan:_.value.length,style:{height:0,border:0}},null)])])])])},bottom:()=>{var Ee;return(Ee=a.bottom)==null?void 0:Ee.call(a,ee.value)}})})}}),makeVDataTableServerProps=propsFactory({itemsLength:{type:[Number,String],required:!0},...makeDataTablePaginateProps(),...makeDataTableProps(),...makeVDataTableFooterProps()},"VDataTableServer"),VDataTableServer=genericComponent()({name:"VDataTableServer",props:makeVDataTableServerProps(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0,"update:groupBy":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const{groupBy:o}=createGroupBy(e),{sortBy:u,multiSort:d,mustSort:f}=createSort(e),{page:g,itemsPerPage:_}=createPagination(e),{disableSort:S}=toRefs(e),E=computed(()=>parseInt(e.itemsLength,10)),{columns:v,headers:b}=createHeaders(e,{groupBy:o,showSelect:toRef(e,"showSelect"),showExpand:toRef(e,"showExpand")}),{items:y}=useDataTableItems(e,v),{toggleSort:T}=provideSort({sortBy:u,multiSort:d,mustSort:f,page:g}),{opened:C,isGroupOpen:R,toggleGroup:A,extractRows:O}=provideGroupBy({groupBy:o,sortBy:u,disableSort:S}),{pageCount:x,setItemsPerPage:N}=providePagination({page:g,itemsPerPage:_,itemsLength:E}),{flatItems:I}=useGroupedItems(y,o,C),{isSelected:k,select:D,selectAll:P,toggleSelect:L,someSelected:F,allSelected:B}=provideSelection(e,{allItems:y,currentPage:y}),{isExpanded:V,toggleExpand:U}=provideExpanded(e),W=computed(()=>O(y.value));useOptions({page:g,itemsPerPage:_,sortBy:u,groupBy:o,search:toRef(e,"search")}),provide("v-data-table",{toggleSort:T,sortBy:u}),provideDefaults({VDataTableRows:{hideNoData:toRef(e,"hideNoData"),noDataText:toRef(e,"noDataText"),loading:toRef(e,"loading"),loadingText:toRef(e,"loadingText")}});const K=computed(()=>({page:g.value,itemsPerPage:_.value,sortBy:u.value,pageCount:x.value,toggleSort:T,setItemsPerPage:N,someSelected:F.value,allSelected:B.value,isSelected:k,select:D,selectAll:P,toggleSelect:L,isExpanded:V,toggleExpand:U,isGroupOpen:R,toggleGroup:A,items:W.value.map(G=>G.raw),internalItems:W.value,groupedItems:I.value,columns:v.value,headers:b.value}));useRender(()=>{const G=VDataTableFooter.filterProps(e),Y=VDataTableHeaders.filterProps(e),Q=VDataTableRows.filterProps(e),Z=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},Z),{top:()=>{var J;return(J=a.top)==null?void 0:J.call(a,K.value)},default:()=>{var J,te,fe,ve,ue,ie;return a.default?a.default(K.value):createVNode(Fragment,null,[(J=a.colgroup)==null?void 0:J.call(a,K.value),!e.hideDefaultHeader&&createVNode("thead",{key:"thead",class:"v-data-table__thead",role:"rowgroup"},[createVNode(VDataTableHeaders,mergeProps(Y,{sticky:e.fixedHeader}),a)]),(te=a.thead)==null?void 0:te.call(a,K.value),!e.hideDefaultBody&&createVNode("tbody",{class:"v-data-table__tbody",role:"rowgroup"},[(fe=a["body.prepend"])==null?void 0:fe.call(a,K.value),a.body?a.body(K.value):createVNode(VDataTableRows,mergeProps(r,Q,{items:I.value}),a),(ve=a["body.append"])==null?void 0:ve.call(a,K.value)]),(ue=a.tbody)==null?void 0:ue.call(a,K.value),(ie=a.tfoot)==null?void 0:ie.call(a,K.value)])},bottom:()=>a.bottom?a.bottom(K.value):!e.hideDefaultFooter&&createVNode(Fragment,null,[createVNode(VDivider,null,null),createVNode(VDataTableFooter,G,{prepend:a["footer.prepend"]})])})})}}),makeVContainerProps=propsFactory({fluid:{type:Boolean,default:!1},...makeComponentProps(),...makeTagProps()},"VContainer"),VContainer=genericComponent()({name:"VContainer",props:makeVContainerProps(),setup(e,t){let{slots:r}=t;const{rtlClasses:a}=useRtl();return useRender(()=>createVNode(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},a.value,e.class],style:e.style},r)),{}}}),breakpointProps=breakpoints.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}),offsetProps=breakpoints.reduce((e,t)=>{const r="offset"+capitalize(t);return e[r]={type:[String,Number],default:null},e},{}),orderProps=breakpoints.reduce((e,t)=>{const r="order"+capitalize(t);return e[r]={type:[String,Number],default:null},e},{}),propMap$1={col:Object.keys(breakpointProps),offset:Object.keys(offsetProps),order:Object.keys(orderProps)};function breakpointClass$1(e,t,r){let a=e;if(!(r==null||r===!1)){if(t){const o=t.replace(e,"");a+=`-${o}`}return e==="col"&&(a="v-"+a),e==="col"&&(r===""||r===!0)||(a+=`-${r}`),a.toLowerCase()}}const ALIGN_SELF_VALUES=["auto","start","end","center","baseline","stretch"],makeVColProps=propsFactory({cols:{type:[Boolean,String,Number],default:!1},...breakpointProps,offset:{type:[String,Number],default:null},...offsetProps,order:{type:[String,Number],default:null},...orderProps,alignSelf:{type:String,default:null,validator:e=>ALIGN_SELF_VALUES.includes(e)},...makeComponentProps(),...makeTagProps()},"VCol"),VCol=genericComponent()({name:"VCol",props:makeVColProps(),setup(e,t){let{slots:r}=t;const a=computed(()=>{const o=[];let u;for(u in propMap$1)propMap$1[u].forEach(f=>{const g=e[f],_=breakpointClass$1(u,f,g);_&&o.push(_)});const d=o.some(f=>f.startsWith("v-col-"));return o.push({"v-col":!d||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),o});return()=>{var o;return h(e.tag,{class:[a.value,e.class],style:e.style},(o=r.default)==null?void 0:o.call(r))}}}),ALIGNMENT=["start","end","center"],SPACE=["space-between","space-around","space-evenly"];function makeRowProps(e,t){return breakpoints.reduce((r,a)=>{const o=e+capitalize(a);return r[o]=t(),r},{})}const ALIGN_VALUES=[...ALIGNMENT,"baseline","stretch"],alignValidator=e=>ALIGN_VALUES.includes(e),alignProps=makeRowProps("align",()=>({type:String,default:null,validator:alignValidator})),JUSTIFY_VALUES=[...ALIGNMENT,...SPACE],justifyValidator=e=>JUSTIFY_VALUES.includes(e),justifyProps=makeRowProps("justify",()=>({type:String,default:null,validator:justifyValidator})),ALIGN_CONTENT_VALUES=[...ALIGNMENT,...SPACE,"stretch"],alignContentValidator=e=>ALIGN_CONTENT_VALUES.includes(e),alignContentProps=makeRowProps("alignContent",()=>({type:String,default:null,validator:alignContentValidator})),propMap={align:Object.keys(alignProps),justify:Object.keys(justifyProps),alignContent:Object.keys(alignContentProps)},classMap={align:"align",justify:"justify",alignContent:"align-content"};function breakpointClass(e,t,r){let a=classMap[e];if(r!=null){if(t){const o=t.replace(e,"");a+=`-${o}`}return a+=`-${r}`,a.toLowerCase()}}const makeVRowProps=propsFactory({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:alignValidator},...alignProps,justify:{type:String,default:null,validator:justifyValidator},...justifyProps,alignContent:{type:String,default:null,validator:alignContentValidator},...alignContentProps,...makeComponentProps(),...makeTagProps()},"VRow"),VRow=genericComponent()({name:"VRow",props:makeVRowProps(),setup(e,t){let{slots:r}=t;const a=computed(()=>{const o=[];let u;for(u in propMap)propMap[u].forEach(d=>{const f=e[d],g=breakpointClass(u,d,f);g&&o.push(g)});return o.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),o});return()=>{var o;return h(e.tag,{class:["v-row",a.value,e.class],style:e.style},(o=r.default)==null?void 0:o.call(r))}}}),VSpacer=createSimpleFunctional("v-spacer","div","VSpacer"),makeVDatePickerControlsProps=propsFactory({active:{type:[String,Array],default:void 0},disabled:{type:[Boolean,String,Array],default:!1},nextIcon:{type:IconValue,default:"$next"},prevIcon:{type:IconValue,default:"$prev"},modeIcon:{type:IconValue,default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),VDatePickerControls=genericComponent()({name:"VDatePickerControls",props:makeVDatePickerControlsProps(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,t){let{emit:r}=t;const a=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled),o=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled),u=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled),d=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled);function f(){r("click:prev")}function g(){r("click:next")}function _(){r("click:year")}function S(){r("click:month")}return useRender(()=>createVNode("div",{class:["v-date-picker-controls"]},[createVNode(VBtn,{class:"v-date-picker-controls__month-btn",disabled:a.value,text:e.text,variant:"text",rounded:!0,onClick:S},null),createVNode(VBtn,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:o.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:_},null),createVNode(VSpacer,{key:"mode-spacer"},null),createVNode("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[createVNode(VBtn,{disabled:u.value,icon:e.prevIcon,variant:"text",onClick:f},null),createVNode(VBtn,{disabled:d.value,icon:e.nextIcon,variant:"text",onClick:g},null)])])),{}}}),makeVDatePickerHeaderProps=propsFactory({appendIcon:String,color:String,header:String,transition:String,onClick:EventProp()},"VDatePickerHeader"),VDatePickerHeader=genericComponent()({name:"VDatePickerHeader",props:makeVDatePickerHeaderProps(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,t){let{emit:r,slots:a}=t;const{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(e,"color");function d(){r("click")}function f(){r("click:append")}return useRender(()=>{const g=!!(a.default||e.header),_=!!(a.append||e.appendIcon);return createVNode("div",{class:["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},o.value],style:u.value,onClick:d},[a.prepend&&createVNode("div",{key:"prepend",class:"v-date-picker-header__prepend"},[a.prepend()]),g&&createVNode(MaybeTransition,{key:"content",name:e.transition},{default:()=>{var S;return[createVNode("div",{key:e.header,class:"v-date-picker-header__content"},[((S=a.default)==null?void 0:S.call(a))??e.header])]}}),_&&createVNode("div",{class:"v-date-picker-header__append"},[a.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>{var S;return[(S=a.append)==null?void 0:S.call(a)]}}):createVNode(VBtn,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:f},null)])])}),{}}}),makeCalendarProps=propsFactory({allowedDates:[Array,Function],disabled:Boolean,displayValue:null,modelValue:Array,month:[Number,String],max:null,min:null,showAdjacentMonths:Boolean,year:[Number,String],weekdays:{type:Array,default:()=>[0,1,2,3,4,5,6]},weeksInMonth:{type:String,default:"dynamic"},firstDayOfWeek:[Number,String]},"calendar");function useCalendar(e){const t=useDate(),r=useProxiedModel(e,"modelValue",[],b=>wrapInArray(b)),a=computed(()=>e.displayValue?t.date(e.displayValue):r.value.length>0?t.date(r.value[0]):e.min?t.date(e.min):Array.isArray(e.allowedDates)?t.date(e.allowedDates[0]):t.date()),o=useProxiedModel(e,"year",void 0,b=>{const y=b!=null?Number(b):t.getYear(a.value);return t.startOfYear(t.setYear(t.date(),y))},b=>t.getYear(b)),u=useProxiedModel(e,"month",void 0,b=>{const y=b!=null?Number(b):t.getMonth(a.value),T=t.setYear(t.startOfMonth(t.date()),t.getYear(o.value));return t.setMonth(T,y)},b=>t.getMonth(b)),d=computed(()=>{const b=Number(e.firstDayOfWeek??0);return e.weekdays.map(y=>(y+b)%7)}),f=computed(()=>{const b=t.getWeekArray(u.value,e.firstDayOfWeek),y=b.flat(),T=6*7;if(e.weeksInMonth==="static"&&y.lengthd.value.includes(t.toJsDate(T).getDay())).map((T,C)=>{const R=t.toISO(T),A=!t.isSameMonth(T,u.value),O=t.isSameDay(T,t.startOfMonth(u.value)),x=t.isSameDay(T,t.endOfMonth(u.value)),N=t.isSameDay(T,u.value);return{date:T,isoDate:R,formatted:t.format(T,"keyboardDate"),year:t.getYear(T),month:t.getMonth(T),isDisabled:v(T),isWeekStart:C%7===0,isWeekEnd:C%7===6,isToday:t.isSameDay(T,y),isAdjacent:A,isHidden:A&&!e.showAdjacentMonths,isStart:O,isSelected:r.value.some(I=>t.isSameDay(T,I)),isEnd:x,isSame:N,localized:t.format(T,"dayOfMonth")}})}const _=computed(()=>{const b=t.startOfWeek(a.value,e.firstDayOfWeek),y=[];for(let C=0;C<=6;C++)y.push(t.addDays(b,C));const T=t.date();return g(y,T)}),S=computed(()=>{const b=f.value.flat(),y=t.date();return g(b,y)}),E=computed(()=>f.value.map(b=>b.length?getWeek(t,b[0]):null));function v(b){if(e.disabled)return!0;const y=t.date(b);return e.min&&t.isAfter(t.date(e.min),y)||e.max&&t.isAfter(y,t.date(e.max))?!0:Array.isArray(e.allowedDates)&&e.allowedDates.length>0?!e.allowedDates.some(T=>t.isSameDay(t.date(T),y)):typeof e.allowedDates=="function"?!e.allowedDates(y):!1}return{displayValue:a,daysInMonth:S,daysInWeek:_,genDays:g,model:r,weeksInMonth:f,weekDays:d,weekNumbers:E}}const makeVDatePickerMonthProps=propsFactory({color:String,hideWeekdays:Boolean,multiple:[Boolean,Number,String],showWeek:Boolean,transition:{type:String,default:"picker-transition"},reverseTransition:{type:String,default:"picker-reverse-transition"},...makeCalendarProps()},"VDatePickerMonth"),VDatePickerMonth=genericComponent()({name:"VDatePickerMonth",props:makeVDatePickerMonthProps(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=ref$1(),{daysInMonth:u,model:d,weekNumbers:f}=useCalendar(e),g=useDate(),_=shallowRef(),S=shallowRef(),E=shallowRef(!1),v=computed(()=>E.value?e.reverseTransition:e.transition);e.multiple==="range"&&d.value.length>0&&(_.value=d.value[0],d.value.length>1&&(S.value=d.value[d.value.length-1]));const b=computed(()=>{const R=["number","string"].includes(typeof e.multiple)?Number(e.multiple):1/0;return d.value.length>=R});watch(u,(R,A)=>{A&&(E.value=g.isBefore(R[0].date,A[0].date))});function y(R){const A=g.startOfDay(R);if(d.value.length===0?_.value=void 0:d.value.length===1&&(_.value=d.value[0],S.value=void 0),!_.value)_.value=A,d.value=[_.value];else if(S.value)_.value=R,S.value=void 0,d.value=[_.value];else{if(g.isSameDay(A,_.value)){_.value=void 0,d.value=[];return}else g.isBefore(A,_.value)?(S.value=g.endOfDay(_.value),_.value=A):S.value=g.endOfDay(A);const O=g.getDiff(S.value,_.value,"days"),x=[_.value];for(let N=1;Ng.isSameDay(O,R));if(A===-1)d.value=[...d.value,R];else{const O=[...d.value];O.splice(A,1),d.value=O}}function C(R){e.multiple==="range"?y(R):e.multiple?T(R):d.value=[R]}return()=>createVNode("div",{class:"v-date-picker-month"},[e.showWeek&&createVNode("div",{key:"weeks",class:"v-date-picker-month__weeks"},[!e.hideWeekdays&&createVNode("div",{key:"hide-week-days",class:"v-date-picker-month__day"},[createTextVNode(" ")]),f.value.map(R=>createVNode("div",{class:["v-date-picker-month__day","v-date-picker-month__day--adjacent"]},[R]))]),createVNode(MaybeTransition,{name:v.value},{default:()=>{var R;return[createVNode("div",{ref:o,key:(R=u.value[0].date)==null?void 0:R.toString(),class:"v-date-picker-month__days"},[!e.hideWeekdays&&g.getWeekdays(e.firstDayOfWeek).map(A=>createVNode("div",{class:["v-date-picker-month__day","v-date-picker-month__weekday"]},[A])),u.value.map((A,O)=>{const x={props:{onClick:()=>C(A.date)},item:A,i:O};return b.value&&!A.isSelected&&(A.isDisabled=!0),createVNode("div",{class:["v-date-picker-month__day",{"v-date-picker-month__day--adjacent":A.isAdjacent,"v-date-picker-month__day--hide-adjacent":A.isHidden,"v-date-picker-month__day--selected":A.isSelected,"v-date-picker-month__day--week-end":A.isWeekEnd,"v-date-picker-month__day--week-start":A.isWeekStart}],"data-v-date":A.isDisabled?void 0:A.isoDate},[(e.showAdjacentMonths||!A.isAdjacent)&&createVNode(VDefaultsProvider,{defaults:{VBtn:{class:"v-date-picker-month__day-btn",color:(A.isSelected||A.isToday)&&!A.isDisabled?e.color:void 0,disabled:A.isDisabled,icon:!0,ripple:!1,text:A.localized,variant:A.isDisabled?A.isToday?"outlined":"text":A.isToday&&!A.isSelected?"outlined":"flat",onClick:()=>C(A.date)}}},{default:()=>{var N;return[((N=a.day)==null?void 0:N.call(a,x))??createVNode(VBtn,x.props,null)]}})])})])]}})])}}),makeVDatePickerMonthsProps=propsFactory({color:String,height:[String,Number],min:null,max:null,modelValue:Number,year:Number},"VDatePickerMonths"),VDatePickerMonths=genericComponent()({name:"VDatePickerMonths",props:makeVDatePickerMonthsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=useDate(),u=useProxiedModel(e,"modelValue"),d=computed(()=>{let f=o.startOfYear(o.date());return e.year&&(f=o.setYear(f,e.year)),createRange(12).map(g=>{const _=o.format(f,"monthShort"),S=!!(e.min&&o.isAfter(o.startOfMonth(o.date(e.min)),f)||e.max&&o.isAfter(f,o.startOfMonth(o.date(e.max))));return f=o.getNextMonth(f),{isDisabled:S,text:_,value:g}})});return watchEffect(()=>{u.value=u.value??o.getMonth(o.date())}),useRender(()=>createVNode("div",{class:"v-date-picker-months",style:{height:convertToUnit(e.height)}},[createVNode("div",{class:"v-date-picker-months__content"},[d.value.map((f,g)=>{var E;const _={active:u.value===g,color:u.value===g?e.color:void 0,disabled:f.isDisabled,rounded:!0,text:f.text,variant:u.value===f.value?"flat":"text",onClick:()=>S(g)};function S(v){if(u.value===v){r("update:modelValue",u.value);return}u.value=v}return((E=a.month)==null?void 0:E.call(a,{month:f,i:g,props:_}))??createVNode(VBtn,mergeProps({key:"month"},_),null)})])])),{}}}),makeVDatePickerYearsProps=propsFactory({color:String,height:[String,Number],min:null,max:null,modelValue:Number},"VDatePickerYears"),VDatePickerYears=genericComponent()({name:"VDatePickerYears",props:makeVDatePickerYearsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=useDate(),u=useProxiedModel(e,"modelValue"),d=computed(()=>{const g=o.getYear(o.date());let _=g-100,S=g+52;e.min&&(_=o.getYear(o.date(e.min))),e.max&&(S=o.getYear(o.date(e.max)));let E=o.startOfYear(o.date());return E=o.setYear(E,_),createRange(S-_+1,_).map(v=>{const b=o.format(E,"year");return E=o.setYear(E,o.getYear(E)+1),{text:b,value:v}})});watchEffect(()=>{u.value=u.value??o.getYear(o.date())});const f=templateRef();return onMounted(async()=>{var g;await nextTick$1(),(g=f.el)==null||g.scrollIntoView({block:"center"})}),useRender(()=>createVNode("div",{class:"v-date-picker-years",style:{height:convertToUnit(e.height)}},[createVNode("div",{class:"v-date-picker-years__content"},[d.value.map((g,_)=>{var E;const S={ref:u.value===g.value?f:void 0,active:u.value===g.value,color:u.value===g.value?e.color:void 0,rounded:!0,text:g.text,variant:u.value===g.value?"flat":"text",onClick:()=>{if(u.value===g.value){r("update:modelValue",u.value);return}u.value=g.value}};return((E=a.year)==null?void 0:E.call(a,{year:g,i:_,props:S}))??createVNode(VBtn,mergeProps({key:"month"},S),null)})])])),{}}}),VPickerTitle=createSimpleFunctional("v-picker-title"),makeVPickerProps=propsFactory({bgColor:String,landscape:Boolean,title:String,hideHeader:Boolean,...makeVSheetProps()},"VPicker"),VPicker=genericComponent()({name:"VPicker",props:makeVPickerProps(),setup(e,t){let{slots:r}=t;const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"color"));return useRender(()=>{const u=VSheet.filterProps(e),d=!!(e.title||r.title);return createVNode(VSheet,mergeProps(u,{color:e.bgColor,class:["v-picker",{"v-picker--landscape":e.landscape,"v-picker--with-actions":!!r.actions},e.class],style:e.style}),{default:()=>{var f;return[!e.hideHeader&&createVNode("div",{key:"header",class:[a.value],style:[o.value]},[d&&createVNode(VPickerTitle,{key:"picker-title"},{default:()=>{var g;return[((g=r.title)==null?void 0:g.call(r))??e.title]}}),r.header&&createVNode("div",{class:"v-picker__header"},[r.header()])]),createVNode("div",{class:"v-picker__body"},[(f=r.default)==null?void 0:f.call(r)]),r.actions&&createVNode(VDefaultsProvider,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[createVNode("div",{class:"v-picker__actions"},[r.actions()])]})]}})}),{}}}),makeVDatePickerProps=propsFactory({header:{type:String,default:"$vuetify.datePicker.header"},...makeVDatePickerControlsProps(),...makeVDatePickerMonthProps({weeksInMonth:"static"}),...omit(makeVDatePickerMonthsProps(),["modelValue"]),...omit(makeVDatePickerYearsProps(),["modelValue"]),...makeVPickerProps({title:"$vuetify.datePicker.title"}),modelValue:null},"VDatePicker"),VDatePicker=genericComponent()({name:"VDatePicker",props:makeVDatePickerProps(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0,"update:viewMode":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const o=useDate(),{t:u}=useLocale(),d=useProxiedModel(e,"modelValue",void 0,P=>wrapInArray(P),P=>e.multiple?P:P[0]),f=useProxiedModel(e,"viewMode"),g=computed(()=>{var L;const P=o.date((L=d.value)==null?void 0:L[0]);return P&&o.isValid(P)?P:o.date()}),_=ref$1(Number(e.month??o.getMonth(o.startOfMonth(g.value)))),S=ref$1(Number(e.year??o.getYear(o.startOfYear(o.setMonth(g.value,_.value))))),E=shallowRef(!1),v=computed(()=>e.multiple&&d.value.length>1?u("$vuetify.datePicker.itemsSelected",d.value.length):d.value[0]&&o.isValid(d.value[0])?o.format(o.date(d.value[0]),"normalDateWithWeekday"):u(e.header)),b=computed(()=>{let P=o.date();return P=o.setDate(P,1),P=o.setMonth(P,_.value),P=o.setYear(P,S.value),o.format(P,"monthAndYear")}),y=computed(()=>`date-picker-header${E.value?"-reverse":""}-transition`),T=computed(()=>{const P=o.date(e.min);return e.min&&o.isValid(P)?P:null}),C=computed(()=>{const P=o.date(e.max);return e.max&&o.isValid(P)?P:null}),R=computed(()=>{if(e.disabled)return!0;const P=[];if(f.value!=="month")P.push("prev","next");else{let L=o.date();if(L=o.setYear(L,S.value),L=o.setMonth(L,_.value),T.value){const F=o.addDays(o.startOfMonth(L),-1);o.isAfter(T.value,F)&&P.push("prev")}if(C.value){const F=o.addDays(o.endOfMonth(L),1);o.isAfter(F,C.value)&&P.push("next")}}return P});function A(){_.value<11?_.value++:(S.value++,_.value=0,D(S.value)),k(_.value)}function O(){_.value>0?_.value--:(S.value--,_.value=11,D(S.value)),k(_.value)}function x(){f.value="month"}function N(){f.value=f.value==="months"?"month":"months"}function I(){f.value=f.value==="year"?"month":"year"}function k(P){f.value==="months"&&N(),r("update:month",P)}function D(P){f.value==="year"&&I(),r("update:year",P)}return watch(d,(P,L)=>{const F=wrapInArray(L),B=wrapInArray(P);if(!B.length)return;const V=o.date(F[F.length-1]),U=o.date(B[B.length-1]),W=o.getMonth(U),K=o.getYear(U);W!==_.value&&(_.value=W,k(_.value)),K!==S.value&&(S.value=K,D(S.value)),E.value=o.isBefore(V,U)}),useRender(()=>{const P=VPicker.filterProps(e),L=VDatePickerControls.filterProps(e),F=VDatePickerHeader.filterProps(e),B=VDatePickerMonth.filterProps(e),V=omit(VDatePickerMonths.filterProps(e),["modelValue"]),U=omit(VDatePickerYears.filterProps(e),["modelValue"]),W={header:v.value,transition:y.value};return createVNode(VPicker,mergeProps(P,{class:["v-date-picker",`v-date-picker--${f.value}`,{"v-date-picker--show-week":e.showWeek},e.class],style:e.style}),{title:()=>{var K;return((K=a.title)==null?void 0:K.call(a))??createVNode("div",{class:"v-date-picker__title"},[u(e.title)])},header:()=>a.header?createVNode(VDefaultsProvider,{defaults:{VDatePickerHeader:{...W}}},{default:()=>{var K;return[(K=a.header)==null?void 0:K.call(a,W)]}}):createVNode(VDatePickerHeader,mergeProps({key:"header"},F,W,{onClick:f.value!=="month"?x:void 0}),{...a,default:void 0}),default:()=>createVNode(Fragment,null,[createVNode(VDatePickerControls,mergeProps(L,{disabled:R.value,text:b.value,"onClick:next":A,"onClick:prev":O,"onClick:month":N,"onClick:year":I}),null),createVNode(VFadeTransition,{hideOnLeave:!0},{default:()=>[f.value==="months"?createVNode(VDatePickerMonths,mergeProps({key:"date-picker-months"},V,{modelValue:_.value,"onUpdate:modelValue":[K=>_.value=K,k],min:T.value,max:C.value,year:S.value}),null):f.value==="year"?createVNode(VDatePickerYears,mergeProps({key:"date-picker-years"},U,{modelValue:S.value,"onUpdate:modelValue":[K=>S.value=K,D],min:T.value,max:C.value}),null):createVNode(VDatePickerMonth,mergeProps({key:"date-picker-month"},B,{modelValue:d.value,"onUpdate:modelValue":K=>d.value=K,month:_.value,"onUpdate:month":[K=>_.value=K,k],year:S.value,"onUpdate:year":[K=>S.value=K,D],min:T.value,max:C.value}),null)]})]),actions:a.actions})}),{}}}),makeVEmptyStateProps=propsFactory({actionText:String,bgColor:String,color:String,icon:IconValue,image:String,justify:{type:String,default:"center"},headline:String,title:String,text:String,textWidth:{type:[Number,String],default:500},href:String,to:String,...makeComponentProps(),...makeDimensionProps(),...makeSizeProps({size:void 0}),...makeThemeProps()},"VEmptyState"),VEmptyState=genericComponent()({name:"VEmptyState",props:makeVEmptyStateProps(),emits:{"click:action":e=>!0},setup(e,t){let{emit:r,slots:a}=t;const{themeClasses:o}=provideTheme(e),{backgroundColorClasses:u,backgroundColorStyles:d}=useBackgroundColor(toRef(e,"bgColor")),{dimensionStyles:f}=useDimension(e),{displayClasses:g}=useDisplay();function _(S){r("click:action",S)}return useRender(()=>{var C,R,A;const S=!!(a.actions||e.actionText),E=!!(a.headline||e.headline),v=!!(a.title||e.title),b=!!(a.text||e.text),y=!!(a.media||e.image||e.icon),T=e.size||(e.image?200:96);return createVNode("div",{class:["v-empty-state",{[`v-empty-state--${e.justify}`]:!0},o.value,u.value,g.value,e.class],style:[d.value,f.value,e.style]},[y&&createVNode("div",{key:"media",class:"v-empty-state__media"},[a.media?createVNode(VDefaultsProvider,{key:"media-defaults",defaults:{VImg:{src:e.image,height:T},VIcon:{size:T,icon:e.icon}}},{default:()=>[a.media()]}):createVNode(Fragment,null,[e.image?createVNode(VImg,{key:"image",src:e.image,height:T},null):e.icon?createVNode(VIcon,{key:"icon",color:e.color,size:T,icon:e.icon},null):void 0])]),E&&createVNode("div",{key:"headline",class:"v-empty-state__headline"},[((C=a.headline)==null?void 0:C.call(a))??e.headline]),v&&createVNode("div",{key:"title",class:"v-empty-state__title"},[((R=a.title)==null?void 0:R.call(a))??e.title]),b&&createVNode("div",{key:"text",class:"v-empty-state__text",style:{maxWidth:convertToUnit(e.textWidth)}},[((A=a.text)==null?void 0:A.call(a))??e.text]),a.default&&createVNode("div",{key:"content",class:"v-empty-state__content"},[a.default()]),S&&createVNode("div",{key:"actions",class:"v-empty-state__actions"},[createVNode(VDefaultsProvider,{defaults:{VBtn:{class:"v-empty-state__action-btn",color:e.color??"surface-variant",text:e.actionText}}},{default:()=>{var O;return[((O=a.actions)==null?void 0:O.call(a,{props:{onClick:_}}))??createVNode(VBtn,{onClick:_},null)]}})])])}),{}}}),VExpansionPanelSymbol=Symbol.for("vuetify:v-expansion-panel"),makeVExpansionPanelTextProps=propsFactory({...makeComponentProps(),...makeLazyProps()},"VExpansionPanelText"),VExpansionPanelText=genericComponent()({name:"VExpansionPanelText",props:makeVExpansionPanelTextProps(),setup(e,t){let{slots:r}=t;const a=inject$1(VExpansionPanelSymbol);if(!a)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:o,onAfterLeave:u}=useLazy(e,a.isSelected);return useRender(()=>createVNode(VExpandTransition,{onAfterLeave:u},{default:()=>{var d;return[withDirectives(createVNode("div",{class:["v-expansion-panel-text",e.class],style:e.style},[r.default&&o.value&&createVNode("div",{class:"v-expansion-panel-text__wrapper"},[(d=r.default)==null?void 0:d.call(r)])]),[[vShow,a.isSelected.value]])]}})),{}}}),makeVExpansionPanelTitleProps=propsFactory({color:String,expandIcon:{type:IconValue,default:"$expand"},collapseIcon:{type:IconValue,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...makeComponentProps()},"VExpansionPanelTitle"),VExpansionPanelTitle=genericComponent()({name:"VExpansionPanelTitle",directives:{Ripple},props:makeVExpansionPanelTitleProps(),setup(e,t){let{slots:r}=t;const a=inject$1(VExpansionPanelSymbol);if(!a)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(e,"color"),d=computed(()=>({collapseIcon:e.collapseIcon,disabled:a.disabled.value,expanded:a.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly})),f=computed(()=>a.isSelected.value?e.collapseIcon:e.expandIcon);return useRender(()=>{var g;return withDirectives(createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":a.isSelected.value,"v-expansion-panel-title--focusable":e.focusable,"v-expansion-panel-title--static":e.static},o.value,e.class],style:[u.value,e.style],type:"button",tabindex:a.disabled.value?-1:void 0,disabled:a.disabled.value,"aria-expanded":a.isSelected.value,onClick:e.readonly?void 0:a.toggle},[createVNode("span",{class:"v-expansion-panel-title__overlay"},null),(g=r.default)==null?void 0:g.call(r,d.value),!e.hideActions&&createVNode(VDefaultsProvider,{defaults:{VIcon:{icon:f.value}}},{default:()=>{var _;return[createVNode("span",{class:"v-expansion-panel-title__icon"},[((_=r.actions)==null?void 0:_.call(r,d.value))??createVNode(VIcon,null,null)])]}})]),[[resolveDirective("ripple"),e.ripple]])}),{}}}),makeVExpansionPanelProps=propsFactory({title:String,text:String,bgColor:String,...makeElevationProps(),...makeGroupItemProps(),...makeRoundedProps(),...makeTagProps(),...makeVExpansionPanelTitleProps(),...makeVExpansionPanelTextProps()},"VExpansionPanel"),VExpansionPanel=genericComponent()({name:"VExpansionPanel",props:makeVExpansionPanelProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const a=useGroupItem(e,VExpansionPanelSymbol),{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(e,"bgColor"),{elevationClasses:d}=useElevation(e),{roundedClasses:f}=useRounded(e),g=computed(()=>(a==null?void 0:a.disabled.value)||e.disabled),_=computed(()=>a.group.items.value.reduce((v,b,y)=>(a.group.selected.value.includes(b.id)&&v.push(y),v),[])),S=computed(()=>{const v=a.group.items.value.findIndex(b=>b.id===a.id);return!a.isSelected.value&&_.value.some(b=>b-v===1)}),E=computed(()=>{const v=a.group.items.value.findIndex(b=>b.id===a.id);return!a.isSelected.value&&_.value.some(b=>b-v===-1)});return provide(VExpansionPanelSymbol,a),useRender(()=>{const v=!!(r.text||e.text),b=!!(r.title||e.title),y=VExpansionPanelTitle.filterProps(e),T=VExpansionPanelText.filterProps(e);return createVNode(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":a.isSelected.value,"v-expansion-panel--before-active":S.value,"v-expansion-panel--after-active":E.value,"v-expansion-panel--disabled":g.value},f.value,o.value,e.class],style:[u.value,e.style]},{default:()=>[createVNode("div",{class:["v-expansion-panel__shadow",...d.value]},null),createVNode(VDefaultsProvider,{defaults:{VExpansionPanelTitle:{...y},VExpansionPanelText:{...T}}},{default:()=>{var C;return[b&&createVNode(VExpansionPanelTitle,{key:"title"},{default:()=>[r.title?r.title():e.title]}),v&&createVNode(VExpansionPanelText,{key:"text"},{default:()=>[r.text?r.text():e.text]}),(C=r.default)==null?void 0:C.call(r)]}})]})}),{groupItem:a}}}),allowedVariants=["default","accordion","inset","popout"],makeVExpansionPanelsProps=propsFactory({flat:Boolean,...makeGroupProps(),...pick$1(makeVExpansionPanelProps(),["bgColor","collapseIcon","color","eager","elevation","expandIcon","focusable","hideActions","readonly","ripple","rounded","tile","static"]),...makeThemeProps(),...makeComponentProps(),...makeTagProps(),variant:{type:String,default:"default",validator:e=>allowedVariants.includes(e)}},"VExpansionPanels"),VExpansionPanels=genericComponent()({name:"VExpansionPanels",props:makeVExpansionPanelsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{next:a,prev:o}=useGroup(e,VExpansionPanelSymbol),{themeClasses:u}=provideTheme(e),d=computed(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return provideDefaults({VExpansionPanel:{bgColor:toRef(e,"bgColor"),collapseIcon:toRef(e,"collapseIcon"),color:toRef(e,"color"),eager:toRef(e,"eager"),elevation:toRef(e,"elevation"),expandIcon:toRef(e,"expandIcon"),focusable:toRef(e,"focusable"),hideActions:toRef(e,"hideActions"),readonly:toRef(e,"readonly"),ripple:toRef(e,"ripple"),rounded:toRef(e,"rounded"),static:toRef(e,"static")}}),useRender(()=>createVNode(e.tag,{class:["v-expansion-panels",{"v-expansion-panels--flat":e.flat,"v-expansion-panels--tile":e.tile},u.value,d.value,e.class],style:e.style},{default:()=>{var f;return[(f=r.default)==null?void 0:f.call(r,{prev:o,next:a})]}})),{next:a,prev:o}}}),makeVFabProps=propsFactory({app:Boolean,appear:Boolean,extended:Boolean,layout:Boolean,offset:Boolean,modelValue:{type:Boolean,default:!0},...omit(makeVBtnProps({active:!0}),["location"]),...makeLayoutItemProps(),...makeLocationProps(),...makeTransitionProps({transition:"fab-transition"})},"VFab"),VFab=genericComponent()({name:"VFab",props:makeVFabProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),o=shallowRef(56),u=ref$1(),{resizeRef:d}=useResizeObserver(E=>{E.length&&(o.value=E[0].target.clientHeight)}),f=computed(()=>e.app||e.absolute),g=computed(()=>{var E;return f.value?((E=e.location)==null?void 0:E.split(" ").shift())??"bottom":!1}),_=computed(()=>{var E;return f.value?((E=e.location)==null?void 0:E.split(" ")[1])??"end":!1});useToggleScope(()=>e.app,()=>{const E=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:g,layoutSize:computed(()=>e.layout?o.value+24:0),elementSize:computed(()=>o.value+24),active:computed(()=>e.app&&a.value),absolute:toRef(e,"absolute")});watchEffect(()=>{u.value=E.layoutItemStyles.value})});const S=ref$1();return useRender(()=>{const E=VBtn.filterProps(e);return createVNode("div",{ref:S,class:["v-fab",{"v-fab--absolute":e.absolute,"v-fab--app":!!e.app,"v-fab--extended":e.extended,"v-fab--offset":e.offset,[`v-fab--${g.value}`]:f.value,[`v-fab--${_.value}`]:f.value},e.class],style:[e.app?{...u.value}:{height:"inherit",width:void 0},e.style]},[createVNode("div",{class:"v-fab__container"},[createVNode(MaybeTransition,{appear:e.appear,transition:e.transition},{default:()=>[withDirectives(createVNode(VBtn,mergeProps({ref:d},E,{active:void 0,location:void 0}),r),[[vShow,e.active]])]})])])}),{}}}),makeVFileInputProps=propsFactory({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,showSize:{type:[Boolean,Number,String],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(Number(e))},...makeVInputProps({prependIcon:"$file"}),modelValue:{type:[Array,Object],default:e=>e.multiple?[]:null,validator:e=>wrapInArray(e).every(t=>t!=null&&typeof t=="object")},...makeVFieldProps({clearable:!0})},"VFileInput"),VFileInput=genericComponent()({name:"VFileInput",inheritAttrs:!1,props:makeVFileInputProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const{t:u}=useLocale(),d=useProxiedModel(e,"modelValue",e.modelValue,P=>wrapInArray(P),P=>e.multiple||Array.isArray(e.modelValue)?P:P[0]??null),{isFocused:f,focus:g,blur:_}=useFocus(e),S=computed(()=>typeof e.showSize!="boolean"?e.showSize:void 0),E=computed(()=>(d.value??[]).reduce((P,L)=>{let{size:F=0}=L;return P+F},0)),v=computed(()=>humanReadableFileSize(E.value,S.value)),b=computed(()=>(d.value??[]).map(P=>{const{name:L="",size:F=0}=P;return e.showSize?`${L} (${humanReadableFileSize(F,S.value)})`:L})),y=computed(()=>{var L;const P=((L=d.value)==null?void 0:L.length)??0;return e.showSize?u(e.counterSizeString,P,v.value):u(e.counterString,P)}),T=ref$1(),C=ref$1(),R=ref$1(),A=computed(()=>f.value||e.active),O=computed(()=>["plain","underlined"].includes(e.variant));function x(){var P;R.value!==document.activeElement&&((P=R.value)==null||P.focus()),f.value||g()}function N(P){var L;(L=R.value)==null||L.click()}function I(P){a("mousedown:control",P)}function k(P){var L;(L=R.value)==null||L.click(),a("click:control",P)}function D(P){P.stopPropagation(),x(),nextTick$1(()=>{d.value=[],callEvent(e["onClick:clear"],P)})}return watch(d,P=>{(!Array.isArray(P)||!P.length)&&R.value&&(R.value.value="")}),useRender(()=>{const P=!!(o.counter||e.counter),L=!!(P||o.details),[F,B]=filterInputAttrs(r),{modelValue:V,...U}=VInput.filterProps(e),W=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:T,modelValue:d.value,"onUpdate:modelValue":K=>d.value=K,class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-file-input--hide":e.hideInput,"v-input--plain-underlined":O.value},e.class],style:e.style,"onClick:prepend":N},F,U,{centerAffix:!O.value,focused:f.value}),{...o,default:K=>{let{id:G,isDisabled:Y,isDirty:Q,isReadonly:Z,isValid:J}=K;return createVNode(VField,mergeProps({ref:C,"prepend-icon":e.prependIcon,onMousedown:I,onClick:k,"onClick:clear":D,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},W,{id:G.value,active:A.value||Q.value,dirty:Q.value||e.dirty,disabled:Y.value,focused:f.value,error:J.value===!1}),{...o,default:te=>{var ue;let{props:{class:fe,...ve}}=te;return createVNode(Fragment,null,[createVNode("input",mergeProps({ref:R,type:"file",readonly:Z.value,disabled:Y.value,multiple:e.multiple,name:e.name,onClick:ie=>{ie.stopPropagation(),Z.value&&ie.preventDefault(),x()},onChange:ie=>{if(!ie.target)return;const ee=ie.target;d.value=[...ee.files??[]]},onFocus:x,onBlur:_},ve,B),null),createVNode("div",{class:fe},[!!((ue=d.value)!=null&&ue.length)&&!e.hideInput&&(o.selection?o.selection({fileNames:b.value,totalBytes:E.value,totalBytesReadable:v.value}):e.chips?b.value.map(ie=>createVNode(VChip,{key:ie,size:"small",text:ie},null)):b.value.join(", "))])])}})},details:L?K=>{var G,Y;return createVNode(Fragment,null,[(G=o.details)==null?void 0:G.call(o,K),P&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:!!((Y=d.value)!=null&&Y.length),value:y.value,disabled:e.disabled},o.counter)])])}:void 0})}),forwardRefs({},T,C,R)}}),makeVFooterProps=propsFactory({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...makeBorderProps(),...makeComponentProps(),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps({tag:"footer"}),...makeThemeProps()},"VFooter"),VFooter=genericComponent()({name:"VFooter",props:makeVFooterProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(toRef(e,"color")),{borderClasses:d}=useBorder(e),{elevationClasses:f}=useElevation(e),{roundedClasses:g}=useRounded(e),_=shallowRef(32),{resizeRef:S}=useResizeObserver(y=>{y.length&&(_.value=y[0].target.clientHeight)}),E=computed(()=>e.height==="auto"?_.value:parseInt(e.height,10)),{layoutItemStyles:v,layoutIsReady:b}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:computed(()=>"bottom"),layoutSize:E,elementSize:computed(()=>e.height==="auto"?void 0:E.value),active:computed(()=>e.app),absolute:toRef(e,"absolute")});return useRender(()=>createVNode(e.tag,{ref:S,class:["v-footer",a.value,o.value,d.value,f.value,g.value,e.class],style:[u.value,e.app?v.value:{height:convertToUnit(e.height)},e.style]},r)),e.app?b:{}}}),makeVFormProps=propsFactory({...makeComponentProps(),...makeFormProps()},"VForm"),VForm=genericComponent()({name:"VForm",props:makeVFormProps(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,t){let{slots:r,emit:a}=t;const o=createForm(e),u=ref$1();function d(g){g.preventDefault(),o.reset()}function f(g){const _=g,S=o.validate();_.then=S.then.bind(S),_.catch=S.catch.bind(S),_.finally=S.finally.bind(S),a("submit",_),_.defaultPrevented||S.then(E=>{var b;let{valid:v}=E;v&&((b=u.value)==null||b.submit())}),_.preventDefault()}return useRender(()=>{var g;return createVNode("form",{ref:u,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:d,onSubmit:f},[(g=r.default)==null?void 0:g.call(r,o)])}),forwardRefs(o,u)}}),makeVHoverProps=propsFactory({disabled:Boolean,modelValue:{type:Boolean,default:null},...makeDelayProps()},"VHover"),VHover=genericComponent()({name:"VHover",props:makeVHoverProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),{runOpenDelay:o,runCloseDelay:u}=useDelay(e,d=>!e.disabled&&(a.value=d));return()=>{var d;return(d=r.default)==null?void 0:d.call(r,{isHovering:a.value,props:{onMouseenter:o,onMouseleave:u}})}}}),makeVInfiniteScrollProps=propsFactory({color:String,direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},side:{type:String,default:"end",validator:e=>["start","end","both"].includes(e)},mode:{type:String,default:"intersect",validator:e=>["intersect","manual"].includes(e)},margin:[Number,String],loadMoreText:{type:String,default:"$vuetify.infiniteScroll.loadMore"},emptyText:{type:String,default:"$vuetify.infiniteScroll.empty"},...makeDimensionProps(),...makeTagProps()},"VInfiniteScroll"),VInfiniteScrollIntersect=defineComponent({name:"VInfiniteScrollIntersect",props:{side:{type:String,required:!0},rootRef:null,rootMargin:String},emits:{intersect:(e,t)=>!0},setup(e,t){let{emit:r}=t;const{intersectionRef:a,isIntersecting:o}=useIntersectionObserver(u=>{},e.rootMargin?{rootMargin:e.rootMargin}:void 0);return watch(o,async u=>{r("intersect",e.side,u)}),useRender(()=>createVNode("div",{class:"v-infinite-scroll-intersect",ref:a},[createTextVNode(" ")])),{}}}),VInfiniteScroll=genericComponent()({name:"VInfiniteScroll",props:makeVInfiniteScrollProps(),emits:{load:e=>!0},setup(e,t){let{slots:r,emit:a}=t;const o=ref$1(),u=shallowRef("ok"),d=shallowRef("ok"),f=computed(()=>convertToUnit(e.margin)),g=shallowRef(!1);function _(N){if(!o.value)return;const I=e.direction==="vertical"?"scrollTop":"scrollLeft";o.value[I]=N}function S(){if(!o.value)return 0;const N=e.direction==="vertical"?"scrollTop":"scrollLeft";return o.value[N]}function E(){if(!o.value)return 0;const N=e.direction==="vertical"?"scrollHeight":"scrollWidth";return o.value[N]}function v(){if(!o.value)return 0;const N=e.direction==="vertical"?"clientHeight":"clientWidth";return o.value[N]}onMounted(()=>{o.value&&(e.side==="start"?_(E()):e.side==="both"&&_(E()/2-v()/2))});function b(N,I){N==="start"?u.value=I:N==="end"&&(d.value=I)}function y(N){return N==="start"?u.value:d.value}let T=0;function C(N,I){g.value=I,g.value&&R(N)}function R(N){if(e.mode!=="manual"&&!g.value)return;const I=y(N);if(!o.value||["empty","loading"].includes(I))return;T=E(),b(N,"loading");function k(D){b(N,D),nextTick$1(()=>{D==="empty"||D==="error"||(D==="ok"&&N==="start"&&_(E()-T+S()),e.mode!=="manual"&&nextTick$1(()=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{R(N)})})})}))})}a("load",{side:N,done:k})}const{t:A}=useLocale();function O(N,I){var P,L,F,B,V;if(e.side!==N&&e.side!=="both")return;const k=()=>R(N),D={side:N,props:{onClick:k,color:e.color}};return I==="error"?(P=r.error)==null?void 0:P.call(r,D):I==="empty"?((L=r.empty)==null?void 0:L.call(r,D))??createVNode("div",null,[A(e.emptyText)]):e.mode==="manual"?I==="loading"?((F=r.loading)==null?void 0:F.call(r,D))??createVNode(VProgressCircular,{indeterminate:!0,color:e.color},null):((B=r["load-more"])==null?void 0:B.call(r,D))??createVNode(VBtn,{variant:"outlined",color:e.color,onClick:k},{default:()=>[A(e.loadMoreText)]}):((V=r.loading)==null?void 0:V.call(r,D))??createVNode(VProgressCircular,{indeterminate:!0,color:e.color},null)}const{dimensionStyles:x}=useDimension(e);useRender(()=>{const N=e.tag,I=e.side==="start"||e.side==="both",k=e.side==="end"||e.side==="both",D=e.mode==="intersect";return createVNode(N,{ref:o,class:["v-infinite-scroll",`v-infinite-scroll--${e.direction}`,{"v-infinite-scroll--start":I,"v-infinite-scroll--end":k}],style:x.value},{default:()=>{var P;return[createVNode("div",{class:"v-infinite-scroll__side"},[O("start",u.value)]),o.value&&I&&D&&createVNode(VInfiniteScrollIntersect,{key:"start",side:"start",onIntersect:C,rootRef:o.value,rootMargin:f.value},null),(P=r.default)==null?void 0:P.call(r),o.value&&k&&D&&createVNode(VInfiniteScrollIntersect,{key:"end",side:"end",onIntersect:C,rootRef:o.value,rootMargin:f.value},null),createVNode("div",{class:"v-infinite-scroll__side"},[O("end",d.value)])]}})})}}),VItemGroupSymbol=Symbol.for("vuetify:v-item-group"),makeVItemGroupProps=propsFactory({...makeComponentProps(),...makeGroupProps({selectedClass:"v-item--selected"}),...makeTagProps(),...makeThemeProps()},"VItemGroup"),VItemGroup=genericComponent()({name:"VItemGroup",props:makeVItemGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{isSelected:o,select:u,next:d,prev:f,selected:g}=useGroup(e,VItemGroupSymbol);return()=>createVNode(e.tag,{class:["v-item-group",a.value,e.class],style:e.style},{default:()=>{var _;return[(_=r.default)==null?void 0:_.call(r,{isSelected:o,select:u,next:d,prev:f,selected:g.value})]}})}}),VItem=genericComponent()({name:"VItem",props:makeGroupItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const{isSelected:a,select:o,toggle:u,selectedClass:d,value:f,disabled:g}=useGroupItem(e,VItemGroupSymbol);return()=>{var _;return(_=r.default)==null?void 0:_.call(r,{isSelected:a.value,selectedClass:d.value,select:o,toggle:u,value:f.value,disabled:g.value})}}}),VKbd=createSimpleFunctional("v-kbd"),makeVLayoutProps=propsFactory({...makeComponentProps(),...makeDimensionProps(),...makeLayoutProps()},"VLayout"),VLayout=genericComponent()({name:"VLayout",props:makeVLayoutProps(),setup(e,t){let{slots:r}=t;const{layoutClasses:a,layoutStyles:o,getLayoutItem:u,items:d,layoutRef:f}=createLayout(e),{dimensionStyles:g}=useDimension(e);return useRender(()=>createVNode("div",{ref:f,class:[a.value,e.class],style:[g.value,o.value,e.style]},[createVNode(Suspense,null,{default:()=>{var _;return[createVNode(Fragment,null,[(_=r.default)==null?void 0:_.call(r)])]}})])),{getLayoutItem:u,items:d}}}),makeVLayoutItemProps=propsFactory({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...makeComponentProps(),...makeLayoutItemProps()},"VLayoutItem"),VLayoutItem=genericComponent()({name:"VLayoutItem",props:makeVLayoutItemProps(),setup(e,t){let{slots:r}=t;const{layoutItemStyles:a,layoutIsReady:o}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:toRef(e,"position"),elementSize:toRef(e,"size"),layoutSize:toRef(e,"size"),active:toRef(e,"modelValue"),absolute:toRef(e,"absolute")});return useRender(()=>{var u;return createVNode("div",{class:["v-layout-item",e.class],style:[a.value,e.style]},[(u=r.default)==null?void 0:u.call(r)])}),o}}),makeVLazyProps=propsFactory({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...makeComponentProps(),...makeDimensionProps(),...makeTagProps(),...makeTransitionProps({transition:"fade-transition"})},"VLazy"),VLazy=genericComponent()({name:"VLazy",directives:{intersect:Intersect$1},props:makeVLazyProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{dimensionStyles:a}=useDimension(e),o=useProxiedModel(e,"modelValue");function u(d){o.value||(o.value=d)}return useRender(()=>withDirectives(createVNode(e.tag,{class:["v-lazy",e.class],style:[a.value,e.style]},{default:()=>[o.value&&createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>{var d;return[(d=r.default)==null?void 0:d.call(r)]}})]}),[[resolveDirective("intersect"),{handler:u,options:e.options},null]])),{}}}),makeVLocaleProviderProps=propsFactory({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...makeComponentProps()},"VLocaleProvider"),VLocaleProvider=genericComponent()({name:"VLocaleProvider",props:makeVLocaleProviderProps(),setup(e,t){let{slots:r}=t;const{rtlClasses:a}=provideLocale(e);return useRender(()=>{var o;return createVNode("div",{class:["v-locale-provider",a.value,e.class],style:e.style},[(o=r.default)==null?void 0:o.call(r)])}),{}}}),makeVMainProps=propsFactory({scrollable:Boolean,...makeComponentProps(),...makeDimensionProps(),...makeTagProps({tag:"main"})},"VMain"),VMain=genericComponent()({name:"VMain",props:makeVMainProps(),setup(e,t){let{slots:r}=t;const{dimensionStyles:a}=useDimension(e),{mainStyles:o,layoutIsReady:u}=useLayout(),{ssrBootStyles:d}=useSsrBoot();return useRender(()=>createVNode(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[o.value,d.value,a.value,e.style]},{default:()=>{var f,g;return[e.scrollable?createVNode("div",{class:"v-main__scroller"},[(f=r.default)==null?void 0:f.call(r)]):(g=r.default)==null?void 0:g.call(r)]}})),u}});function useSticky(e){let{rootEl:t,isSticky:r,layoutItemStyles:a}=e;const o=shallowRef(!1),u=shallowRef(0),d=computed(()=>{const _=typeof o.value=="boolean"?"top":o.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,o.value?{[_]:convertToUnit(u.value)}:{top:a.value.top}]});onMounted(()=>{watch(r,_=>{_?window.addEventListener("scroll",g,{passive:!0}):window.removeEventListener("scroll",g)},{immediate:!0})}),onBeforeUnmount(()=>{window.removeEventListener("scroll",g)});let f=0;function g(){const _=f>window.scrollY?"up":"down",S=t.value.getBoundingClientRect(),E=parseFloat(a.value.top??0),v=window.scrollY-Math.max(0,u.value-E),b=S.height+Math.max(u.value,E)-window.scrollY-window.innerHeight,y=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;S.height0;r--){if(e[r].t===e[r-1].t)continue;const a=kineticEnergyToVelocity(t),o=(e[r].d-e[r-1].d)/(e[r].t-e[r-1].t);t+=(o-a)*Math.abs(o),r===e.length-1&&(t*=.5)}return kineticEnergyToVelocity(t)*1e3}function useVelocity(){const e={};function t(o){Array.from(o.changedTouches).forEach(u=>{(e[u.identifier]??(e[u.identifier]=new CircularBuffer(HISTORY))).push([o.timeStamp,u])})}function r(o){Array.from(o.changedTouches).forEach(u=>{delete e[u.identifier]})}function a(o){var _;const u=(_=e[o])==null?void 0:_.values().reverse();if(!u)throw new Error(`No samples for touch id ${o}`);const d=u[0],f=[],g=[];for(const S of u){if(d[0]-S[0]>HORIZON)break;f.push({t:S[0],d:S[1].clientX}),g.push({t:S[0],d:S[1].clientY})}return{x:calculateImpulseVelocity(f),y:calculateImpulseVelocity(g),get direction(){const{x:S,y:E}=this,[v,b]=[Math.abs(S),Math.abs(E)];return v>b&&S>=0?"right":v>b&&S<=0?"left":b>v&&E>=0?"down":b>v&&E<=0?"up":oops$1()}}}return{addMovement:t,endTouch:r,getVelocity:a}}function oops$1(){throw new Error}function useTouch(e){let{el:t,isActive:r,isTemporary:a,width:o,touchless:u,position:d}=e;onMounted(()=>{window.addEventListener("touchstart",A,{passive:!0}),window.addEventListener("touchmove",O,{passive:!1}),window.addEventListener("touchend",x,{passive:!0})}),onBeforeUnmount(()=>{window.removeEventListener("touchstart",A),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",x)});const f=computed(()=>["left","right"].includes(d.value)),{addMovement:g,endTouch:_,getVelocity:S}=useVelocity();let E=!1;const v=shallowRef(!1),b=shallowRef(0),y=shallowRef(0);let T;function C(I,k){return(d.value==="left"?I:d.value==="right"?document.documentElement.clientWidth-I:d.value==="top"?I:d.value==="bottom"?document.documentElement.clientHeight-I:oops())-(k?o.value:0)}function R(I){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const D=d.value==="left"?(I-y.value)/o.value:d.value==="right"?(document.documentElement.clientWidth-I-y.value)/o.value:d.value==="top"?(I-y.value)/o.value:d.value==="bottom"?(document.documentElement.clientHeight-I-y.value)/o.value:oops();return k?Math.max(0,Math.min(1,D)):D}function A(I){if(u.value)return;const k=I.changedTouches[0].clientX,D=I.changedTouches[0].clientY,P=25,L=d.value==="left"?kdocument.documentElement.clientWidth-P:d.value==="top"?Ddocument.documentElement.clientHeight-P:oops(),F=r.value&&(d.value==="left"?kdocument.documentElement.clientWidth-o.value:d.value==="top"?Ddocument.documentElement.clientHeight-o.value:oops());(L||F||r.value&&a.value)&&(T=[k,D],y.value=C(f.value?k:D,r.value),b.value=R(f.value?k:D),E=y.value>-20&&y.value<80,_(I),g(I))}function O(I){const k=I.changedTouches[0].clientX,D=I.changedTouches[0].clientY;if(E){if(!I.cancelable){E=!1;return}const L=Math.abs(k-T[0]),F=Math.abs(D-T[1]);(f.value?L>F&&L>3:F>L&&F>3)?(v.value=!0,E=!1):(f.value?F:L)>3&&(E=!1)}if(!v.value)return;I.preventDefault(),g(I);const P=R(f.value?k:D,!1);b.value=Math.max(0,Math.min(1,P)),P>1?y.value=C(f.value?k:D,!0):P<0&&(y.value=C(f.value?k:D,!1))}function x(I){if(E=!1,!v.value)return;g(I),v.value=!1;const k=S(I.changedTouches[0].identifier),D=Math.abs(k.x),P=Math.abs(k.y);(f.value?D>P&&D>400:P>D&&P>3)?r.value=k.direction===({left:"right",right:"left",top:"down",bottom:"up"}[d.value]||oops()):r.value=b.value>.5}const N=computed(()=>v.value?{transform:d.value==="left"?`translateX(calc(-100% + ${b.value*o.value}px))`:d.value==="right"?`translateX(calc(100% - ${b.value*o.value}px))`:d.value==="top"?`translateY(calc(-100% + ${b.value*o.value}px))`:d.value==="bottom"?`translateY(calc(100% - ${b.value*o.value}px))`:oops(),transition:"none"}:void 0);return useToggleScope(v,()=>{var D,P;const I=((D=t.value)==null?void 0:D.style.transform)??null,k=((P=t.value)==null?void 0:P.style.transition)??null;watchEffect(()=>{var L,F,B,V;(F=t.value)==null||F.style.setProperty("transform",((L=N.value)==null?void 0:L.transform)||"none"),(V=t.value)==null||V.style.setProperty("transition",((B=N.value)==null?void 0:B.transition)||null)}),onScopeDispose(()=>{var L,F;(L=t.value)==null||L.style.setProperty("transform",I),(F=t.value)==null||F.style.setProperty("transition",k)})}),{isDragging:v,dragProgress:b,dragStyles:N}}function oops(){throw new Error}const locations=["start","end","left","right","top","bottom"],makeVNavigationDrawerProps=propsFactory({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>locations.includes(e)},sticky:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDelayProps(),...makeDisplayProps({mobile:null}),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps({tag:"nav"}),...makeThemeProps()},"VNavigationDrawer"),VNavigationDrawer=genericComponent()({name:"VNavigationDrawer",props:makeVNavigationDrawerProps(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const{isRtl:u}=useRtl(),{themeClasses:d}=provideTheme(e),{borderClasses:f}=useBorder(e),{backgroundColorClasses:g,backgroundColorStyles:_}=useBackgroundColor(toRef(e,"color")),{elevationClasses:S}=useElevation(e),{displayClasses:E,mobile:v}=useDisplay(e),{roundedClasses:b}=useRounded(e),y=useRouter(),T=useProxiedModel(e,"modelValue",null,te=>!!te),{ssrBootStyles:C}=useSsrBoot(),{scopeId:R}=useScopeId(),A=ref$1(),O=shallowRef(!1),{runOpenDelay:x,runCloseDelay:N}=useDelay(e,te=>{O.value=te}),I=computed(()=>e.rail&&e.expandOnHover&&O.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),k=computed(()=>toPhysical(e.location,u.value)),D=computed(()=>e.persistent),P=computed(()=>!e.permanent&&(v.value||e.temporary)),L=computed(()=>e.sticky&&!P.value&&k.value!=="bottom");useToggleScope(()=>e.expandOnHover&&e.rail!=null,()=>{watch(O,te=>a("update:rail",!te))}),useToggleScope(()=>!e.disableResizeWatcher,()=>{watch(P,te=>!e.permanent&&nextTick$1(()=>T.value=!te))}),useToggleScope(()=>!e.disableRouteWatcher&&!!y,()=>{watch(y.currentRoute,()=>P.value&&(T.value=!1))}),watch(()=>e.permanent,te=>{te&&(T.value=!0)}),e.modelValue==null&&!P.value&&(T.value=e.permanent||!v.value);const{isDragging:F,dragProgress:B}=useTouch({el:A,isActive:T,isTemporary:P,width:I,touchless:toRef(e,"touchless"),position:k}),V=computed(()=>{const te=P.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):I.value;return F.value?te*B.value:te}),U=computed(()=>["top","bottom"].includes(e.location)?0:I.value),{layoutItemStyles:W,layoutItemScrimStyles:K,layoutIsReady:G}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:k,layoutSize:V,elementSize:U,active:computed(()=>T.value||F.value),disableTransitions:computed(()=>F.value),absolute:computed(()=>e.absolute||L.value&&typeof Y.value!="string")}),{isStuck:Y,stickyStyles:Q}=useSticky({rootEl:A,isSticky:L,layoutItemStyles:W}),Z=useBackgroundColor(computed(()=>typeof e.scrim=="string"?e.scrim:null)),J=computed(()=>({...F.value?{opacity:B.value*.2,transition:"none"}:void 0,...K.value}));return provideDefaults({VList:{bgColor:"transparent"}}),useRender(()=>{const te=o.image||e.image;return createVNode(Fragment,null,[createVNode(e.tag,mergeProps({ref:A,onMouseenter:x,onMouseleave:N,class:["v-navigation-drawer",`v-navigation-drawer--${k.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":O.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":P.value,"v-navigation-drawer--persistent":D.value,"v-navigation-drawer--active":T.value,"v-navigation-drawer--sticky":L.value},d.value,g.value,f.value,E.value,S.value,b.value,e.class],style:[_.value,W.value,C.value,Q.value,e.style,["top","bottom"].includes(k.value)?{height:"auto"}:{}]},R,r),{default:()=>{var fe,ve,ue;return[te&&createVNode("div",{key:"image",class:"v-navigation-drawer__img"},[o.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},o.image):createVNode(VImg,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),o.prepend&&createVNode("div",{class:"v-navigation-drawer__prepend"},[(fe=o.prepend)==null?void 0:fe.call(o)]),createVNode("div",{class:"v-navigation-drawer__content"},[(ve=o.default)==null?void 0:ve.call(o)]),o.append&&createVNode("div",{class:"v-navigation-drawer__append"},[(ue=o.append)==null?void 0:ue.call(o)])]}}),createVNode(Transition$1,{name:"fade-transition"},{default:()=>[P.value&&(F.value||T.value)&&!!e.scrim&&createVNode("div",mergeProps({class:["v-navigation-drawer__scrim",Z.backgroundColorClasses.value],style:[J.value,Z.backgroundColorStyles.value],onClick:()=>{D.value||(T.value=!1)}},R),null)]})])}),G.then(()=>({isStuck:Y}))}}),VNoSsr=defineComponent({name:"VNoSsr",setup(e,t){let{slots:r}=t;const a=useHydration();return()=>{var o;return a.value&&((o=r.default)==null?void 0:o.call(r))}}}),makeVOtpInputProps=propsFactory({autofocus:Boolean,divider:String,focusAll:Boolean,label:{type:String,default:"$vuetify.input.otp"},length:{type:[Number,String],default:6},modelValue:{type:[Number,String],default:void 0},placeholder:String,type:{type:String,default:"number"},...makeDimensionProps(),...makeFocusProps(),...only(makeVFieldProps({variant:"outlined"}),["baseColor","bgColor","class","color","disabled","error","loading","rounded","style","theme","variant"])},"VOtpInput"),VOtpInput=genericComponent()({name:"VOtpInput",props:makeVOtpInputProps(),emits:{finish:e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const{dimensionStyles:u}=useDimension(e),{isFocused:d,focus:f,blur:g}=useFocus(e),_=useProxiedModel(e,"modelValue","",D=>D==null?[]:String(D).split(""),D=>D.join("")),{t:S}=useLocale(),E=computed(()=>Number(e.length)),v=computed(()=>Array(E.value).fill(0)),b=ref$1(-1),y=ref$1(),T=ref$1([]),C=computed(()=>T.value[b.value]);function R(){if(k(C.value.value)){C.value.value="";return}const D=_.value.slice(),P=C.value.value;D[b.value]=P;let L=null;b.value>_.value.length?L=_.value.length+1:b.value+1!==E.value&&(L="next"),_.value=D,L&&focusChild(y.value,L)}function A(D){const P=_.value.slice(),L=b.value;let F=null;["ArrowLeft","ArrowRight","Backspace","Delete"].includes(D.key)&&(D.preventDefault(),D.key==="ArrowLeft"?F="prev":D.key==="ArrowRight"?F="next":["Backspace","Delete"].includes(D.key)&&(P[b.value]="",_.value=P,b.value>0&&D.key==="Backspace"?F="prev":requestAnimationFrame(()=>{var B;(B=T.value[L])==null||B.select()})),requestAnimationFrame(()=>{F!=null&&focusChild(y.value,F)}))}function O(D,P){var F,B;P.preventDefault(),P.stopPropagation();const L=((F=P==null?void 0:P.clipboardData)==null?void 0:F.getData("Text").slice(0,E.value))??"";k(L)||(_.value=L.split(""),(B=T.value)==null||B[D].blur())}function x(){_.value=[]}function N(D,P){f(),b.value=P}function I(){g(),b.value=-1}function k(D){return e.type==="number"&&/[^0-9]/g.test(D)}return provideDefaults({VField:{color:computed(()=>e.color),bgColor:computed(()=>e.color),baseColor:computed(()=>e.baseColor),disabled:computed(()=>e.disabled),error:computed(()=>e.error),variant:computed(()=>e.variant)}},{scoped:!0}),watch(_,D=>{D.length===E.value&&a("finish",D.join(""))},{deep:!0}),watch(b,D=>{D<0||nextTick$1(()=>{var P;(P=T.value[D])==null||P.select()})}),useRender(()=>{var L;const[D,P]=filterInputAttrs(r);return createVNode("div",mergeProps({class:["v-otp-input",{"v-otp-input--divided":!!e.divider},e.class],style:[e.style]},D),[createVNode("div",{ref:y,class:"v-otp-input__content",style:[u.value]},[v.value.map((F,B)=>createVNode(Fragment,null,[e.divider&&B!==0&&createVNode("span",{class:"v-otp-input__divider"},[e.divider]),createVNode(VField,{focused:d.value&&e.focusAll||b.value===B,key:B},{...o,loader:void 0,default:()=>createVNode("input",{ref:V=>T.value[B]=V,"aria-label":S(e.label,B+1),autofocus:B===0&&e.autofocus,autocomplete:"one-time-code",class:["v-otp-input__field"],disabled:e.disabled,inputmode:e.type==="number"?"numeric":"text",min:e.type==="number"?0:void 0,maxlength:"1",placeholder:e.placeholder,type:e.type==="number"?"text":e.type,value:_.value[B],onInput:R,onFocus:V=>N(V,B),onBlur:I,onKeydown:A,onPaste:V=>O(B,V)},null)})])),createVNode("input",mergeProps({class:"v-otp-input-input",type:"hidden"},P,{value:_.value.join("")}),null),createVNode(VOverlay,{contained:!0,"content-class":"v-otp-input__loader","model-value":!!e.loading,persistent:!0},{default:()=>{var F;return[((F=o.loader)==null?void 0:F.call(o))??createVNode(VProgressCircular,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"24",width:"2"},null)]}}),(L=o.default)==null?void 0:L.call(o)])])}),{blur:()=>{var D;(D=T.value)==null||D.some(P=>P.blur())},focus:()=>{var D;(D=T.value)==null||D[0].focus()},reset:x,isFocused:d}}});function floor(e){return Math.floor(Math.abs(e))*Math.sign(e)}const makeVParallaxProps=propsFactory({scale:{type:[Number,String],default:.5},...makeComponentProps()},"VParallax"),VParallax=genericComponent()({name:"VParallax",props:makeVParallaxProps(),setup(e,t){let{slots:r}=t;const{intersectionRef:a,isIntersecting:o}=useIntersectionObserver(),{resizeRef:u,contentRect:d}=useResizeObserver(),{height:f}=useDisplay(),g=ref$1();watchEffect(()=>{var b;a.value=u.value=(b=g.value)==null?void 0:b.$el});let _;watch(o,b=>{b?(_=getScrollParent(a.value),_=_===document.scrollingElement?document:_,_.addEventListener("scroll",v,{passive:!0}),v()):_.removeEventListener("scroll",v)}),onBeforeUnmount(()=>{_==null||_.removeEventListener("scroll",v)}),watch(f,v),watch(()=>{var b;return(b=d.value)==null?void 0:b.height},v);const S=computed(()=>1-clamp(+e.scale));let E=-1;function v(){o.value&&(cancelAnimationFrame(E),E=requestAnimationFrame(()=>{var N;const b=((N=g.value)==null?void 0:N.$el).querySelector(".v-img__img");if(!b)return;const y=_ instanceof Document?document.documentElement.clientHeight:_.clientHeight,T=_ instanceof Document?window.scrollY:_.scrollTop,C=a.value.getBoundingClientRect().top+T,R=d.value.height,A=C+(R-y)/2,O=floor((T-A)*S.value),x=Math.max(1,(S.value*(y-R)+R)/R);b.style.setProperty("transform",`translateY(${O}px) scale(${x})`)}))}return useRender(()=>createVNode(VImg,{class:["v-parallax",{"v-parallax--active":o.value},e.class],style:e.style,ref:g,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),makeVRadioProps=propsFactory({...makeVSelectionControlProps({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),VRadio=genericComponent()({name:"VRadio",props:makeVRadioProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const a=VSelectionControl.filterProps(e);return createVNode(VSelectionControl,mergeProps(a,{class:["v-radio",e.class],style:e.style,type:"radio"}),r)}),{}}}),makeVRadioGroupProps=propsFactory({height:{type:[Number,String],default:"auto"},...makeVInputProps(),...omit(makeSelectionControlGroupProps(),["multiple"]),trueIcon:{type:IconValue,default:"$radioOn"},falseIcon:{type:IconValue,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),VRadioGroup=genericComponent()({name:"VRadioGroup",inheritAttrs:!1,props:makeVRadioGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const o=getUid(),u=computed(()=>e.id||`radio-group-${o}`),d=useProxiedModel(e,"modelValue");return useRender(()=>{const[f,g]=filterInputAttrs(r),_=VInput.filterProps(e),S=VSelectionControl.filterProps(e),E=a.label?a.label({label:e.label,props:{for:u.value}}):e.label;return createVNode(VInput,mergeProps({class:["v-radio-group",e.class],style:e.style},f,_,{modelValue:d.value,"onUpdate:modelValue":v=>d.value=v,id:u.value}),{...a,default:v=>{let{id:b,messagesId:y,isDisabled:T,isReadonly:C}=v;return createVNode(Fragment,null,[E&&createVNode(VLabel,{id:b.value},{default:()=>[E]}),createVNode(VSelectionControlGroup,mergeProps(S,{id:b.value,"aria-describedby":y.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:T.value,readonly:C.value,"aria-labelledby":E?b.value:void 0,multiple:!1},g,{modelValue:d.value,"onUpdate:modelValue":R=>d.value=R}),a)])}})}),{}}}),makeVRangeSliderProps=propsFactory({...makeFocusProps(),...makeVInputProps(),...makeSliderProps(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),VRangeSlider=genericComponent()({name:"VRangeSlider",props:makeVRangeSliderProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,end:e=>!0,start:e=>!0},setup(e,t){let{slots:r,emit:a}=t;const o=ref$1(),u=ref$1(),d=ref$1(),{rtlClasses:f}=useRtl();function g(L){if(!o.value||!u.value)return;const F=getOffset(L,o.value.$el,e.direction),B=getOffset(L,u.value.$el,e.direction),V=Math.abs(F),U=Math.abs(B);return VL!=null&&L.length?L.map(F=>_.roundValue(F)):[0,0]),{activeThumbRef:E,hasLabels:v,max:b,min:y,mousePressed:T,onSliderMousedown:C,onSliderTouchstart:R,position:A,trackContainerRef:O,readonly:x}=useSlider({props:e,steps:_,onSliderStart:()=>{a("start",S.value)},onSliderEnd:L=>{var V;let{value:F}=L;const B=E.value===((V=o.value)==null?void 0:V.$el)?[F,S.value[1]]:[S.value[0],F];!e.strict&&B[0]{var U,W,K,G;let{value:F}=L;const[B,V]=S.value;!e.strict&&B===V&&B!==y.value&&(E.value=F>B?(U=u.value)==null?void 0:U.$el:(W=o.value)==null?void 0:W.$el,(K=E.value)==null||K.focus()),E.value===((G=o.value)==null?void 0:G.$el)?S.value=[Math.min(F,V),V]:S.value=[B,Math.max(B,F)]},getActiveThumb:g}),{isFocused:N,focus:I,blur:k}=useFocus(e),D=computed(()=>A(S.value[0])),P=computed(()=>A(S.value[1]));return useRender(()=>{const L=VInput.filterProps(e),F=!!(e.label||r.label||r.prepend);return createVNode(VInput,mergeProps({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":N.value,"v-slider--pressed":T.value,"v-slider--disabled":e.disabled},f.value,e.class],style:e.style,ref:d},L,{focused:N.value}),{...r,prepend:F?B=>{var V,U;return createVNode(Fragment,null,[((V=r.label)==null?void 0:V.call(r,B))??(e.label?createVNode(VLabel,{class:"v-slider__label",text:e.label},null):void 0),(U=r.prepend)==null?void 0:U.call(r,B)])}:void 0,default:B=>{var W,K;let{id:V,messagesId:U}=B;return createVNode("div",{class:"v-slider__container",onMousedown:x.value?void 0:C,onTouchstartPassive:x.value?void 0:R},[createVNode("input",{id:`${V.value}_start`,name:e.name||V.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:S.value[0]},null),createVNode("input",{id:`${V.value}_stop`,name:e.name||V.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:S.value[1]},null),createVNode(VSliderTrack,{ref:O,start:D.value,stop:P.value},{"tick-label":r["tick-label"]}),createVNode(VSliderThumb,{ref:o,"aria-describedby":U.value,focused:N&&E.value===((W=o.value)==null?void 0:W.$el),modelValue:S.value[0],"onUpdate:modelValue":G=>S.value=[G,S.value[1]],onFocus:G=>{var Y,Q,Z,J;I(),E.value=(Y=o.value)==null?void 0:Y.$el,S.value[0]===S.value[1]&&S.value[1]===y.value&&G.relatedTarget!==((Q=u.value)==null?void 0:Q.$el)&&((Z=o.value)==null||Z.$el.blur(),(J=u.value)==null||J.$el.focus())},onBlur:()=>{k(),E.value=void 0},min:y.value,max:S.value[1],position:D.value,ripple:e.ripple},{"thumb-label":r["thumb-label"]}),createVNode(VSliderThumb,{ref:u,"aria-describedby":U.value,focused:N&&E.value===((K=u.value)==null?void 0:K.$el),modelValue:S.value[1],"onUpdate:modelValue":G=>S.value=[S.value[0],G],onFocus:G=>{var Y,Q,Z,J;I(),E.value=(Y=u.value)==null?void 0:Y.$el,S.value[0]===S.value[1]&&S.value[0]===b.value&&G.relatedTarget!==((Q=o.value)==null?void 0:Q.$el)&&((Z=u.value)==null||Z.$el.blur(),(J=o.value)==null||J.$el.focus())},onBlur:()=>{k(),E.value=void 0},min:S.value[0],max:b.value,position:P.value,ripple:e.ripple},{"thumb-label":r["thumb-label"]})])}})}),{}}}),makeVRatingProps=propsFactory({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:IconValue,default:"$ratingEmpty"},fullIcon:{type:IconValue,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...makeComponentProps(),...makeDensityProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps()},"VRating"),VRating=genericComponent()({name:"VRating",props:makeVRatingProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{t:a}=useLocale(),{themeClasses:o}=provideTheme(e),u=useProxiedModel(e,"modelValue"),d=computed(()=>clamp(parseFloat(u.value),0,+e.length)),f=computed(()=>createRange(Number(e.length),1)),g=computed(()=>f.value.flatMap(T=>e.halfIncrements?[T-.5,T]:[T])),_=shallowRef(-1),S=computed(()=>g.value.map(T=>{const C=e.hover&&_.value>-1,R=d.value>=T,A=_.value>=T,x=(C?A:R)?e.fullIcon:e.emptyIcon,N=e.activeColor??e.color,I=R||A?N:e.color;return{isFilled:R,isHovered:A,icon:x,color:I}})),E=computed(()=>[0,...g.value].map(T=>{function C(){_.value=T}function R(){_.value=-1}function A(){e.disabled||e.readonly||(u.value=d.value===T&&e.clearable?0:T)}return{onMouseenter:e.hover?C:void 0,onMouseleave:e.hover?R:void 0,onClick:A}})),v=computed(()=>e.name??`v-rating-${getUid()}`);function b(T){var D,P;let{value:C,index:R,showStar:A=!0}=T;const{onMouseenter:O,onMouseleave:x,onClick:N}=E.value[R+1],I=`${v.value}-${String(C).replace(".","-")}`,k={color:(D=S.value[R])==null?void 0:D.color,density:e.density,disabled:e.disabled,icon:(P=S.value[R])==null?void 0:P.icon,ripple:e.ripple,size:e.size,variant:"plain"};return createVNode(Fragment,null,[createVNode("label",{for:I,class:{"v-rating__item--half":e.halfIncrements&&C%1>0,"v-rating__item--full":e.halfIncrements&&C%1===0},onMouseenter:O,onMouseleave:x,onClick:N},[createVNode("span",{class:"v-rating__hidden"},[a(e.itemAriaLabel,C,e.length)]),A?r.item?r.item({...S.value[R],props:k,value:C,index:R,rating:d.value}):createVNode(VBtn,mergeProps({"aria-label":a(e.itemAriaLabel,C,e.length)},k),null):void 0]),createVNode("input",{class:"v-rating__hidden",name:v.value,id:I,type:"radio",value:C,checked:d.value===C,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function y(T){return r["item-label"]?r["item-label"](T):T.label?createVNode("span",null,[T.label]):createVNode("span",null,[createTextVNode(" ")])}return useRender(()=>{var C;const T=!!((C=e.itemLabels)!=null&&C.length)||r["item-label"];return createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},o.value,e.class],style:e.style},{default:()=>[createVNode(b,{value:0,index:-1,showStar:!1},null),f.value.map((R,A)=>{var O,x;return createVNode("div",{class:"v-rating__wrapper"},[T&&e.itemLabelPosition==="top"?y({value:R,index:A,label:(O=e.itemLabels)==null?void 0:O[A]}):void 0,createVNode("div",{class:"v-rating__item"},[e.halfIncrements?createVNode(Fragment,null,[createVNode(b,{value:R-.5,index:A*2},null),createVNode(b,{value:R,index:A*2+1},null)]):createVNode(b,{value:R,index:A},null)]),T&&e.itemLabelPosition==="bottom"?y({value:R,index:A,label:(x=e.itemLabels)==null?void 0:x[A]}):void 0])})]})}),{}}}),rootTypes={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function genBone(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return createVNode("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[t])}function genBones(e){const[t,r]=e.split("@");return Array.from({length:r}).map(()=>genStructure(t))}function genStructure(e){let t=[];if(!e)return t;const r=rootTypes[e];if(e!==r){if(e.includes(","))return mapBones(e);if(e.includes("@"))return genBones(e);r.includes(",")?t=mapBones(r):r.includes("@")?t=genBones(r):r&&t.push(genStructure(r))}return[genBone(e,t)]}function mapBones(e){return e.replace(/\s/g,"").split(",").map(genStructure)}const makeVSkeletonLoaderProps=propsFactory({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...makeDimensionProps(),...makeElevationProps(),...makeThemeProps()},"VSkeletonLoader"),VSkeletonLoader=genericComponent()({name:"VSkeletonLoader",props:makeVSkeletonLoaderProps(),setup(e,t){let{slots:r}=t;const{backgroundColorClasses:a,backgroundColorStyles:o}=useBackgroundColor(toRef(e,"color")),{dimensionStyles:u}=useDimension(e),{elevationClasses:d}=useElevation(e),{themeClasses:f}=provideTheme(e),{t:g}=useLocale(),_=computed(()=>genStructure(wrapInArray(e.type).join(",")));return useRender(()=>{var E;const S=!r.default||e.loading;return createVNode("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},f.value,a.value,d.value],style:[o.value,S?u.value:{}],"aria-busy":e.boilerplate?void 0:S,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:g(e.loadingText),role:e.boilerplate?void 0:"alert"},[S?_.value:(E=r.default)==null?void 0:E.call(r)])}),{}}}),VSlideGroupItem=genericComponent()({name:"VSlideGroupItem",props:makeGroupItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const a=useGroupItem(e,VSlideGroupSymbol);return()=>{var o;return(o=r.default)==null?void 0:o.call(r,{isSelected:a.isSelected.value,select:a.select,toggle:a.toggle,selectedClass:a.selectedClass.value})}}});function useCountdown(e){const t=shallowRef(e);let r=-1;function a(){clearInterval(r)}function o(){a(),nextTick$1(()=>t.value=e)}function u(d){const f=d?getComputedStyle(d):{transitionDuration:.2},g=parseFloat(f.transitionDuration)*1e3||200;if(a(),t.value<=0)return;const _=performance.now();r=window.setInterval(()=>{const S=performance.now()-_+g;t.value=Math.max(e-S,0),t.value<=0&&a()},g)}return onScopeDispose(a),{clear:a,time:t,start:u,reset:o}}const makeVSnackbarProps=propsFactory({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...makeLocationProps({location:"bottom"}),...makePositionProps(),...makeRoundedProps(),...makeVariantProps(),...makeThemeProps(),...omit(makeVOverlayProps({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),VSnackbar=genericComponent()({name:"VSnackbar",props:makeVSnackbarProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),{positionClasses:o}=usePosition(e),{scopeId:u}=useScopeId(),{themeClasses:d}=provideTheme(e),{colorClasses:f,colorStyles:g,variantClasses:_}=useVariant(e),{roundedClasses:S}=useRounded(e),E=useCountdown(Number(e.timeout)),v=ref$1(),b=ref$1(),y=shallowRef(!1),T=shallowRef(0),C=ref$1(),R=inject$1(VuetifyLayoutKey,void 0);useToggleScope(()=>!!R,()=>{const L=useLayout();watchEffect(()=>{C.value=L.mainStyles.value})}),watch(a,O),watch(()=>e.timeout,O),onMounted(()=>{a.value&&O()});let A=-1;function O(){E.reset(),window.clearTimeout(A);const L=Number(e.timeout);if(!a.value||L===-1)return;const F=refElement(b.value);E.start(F),A=window.setTimeout(()=>{a.value=!1},L)}function x(){E.reset(),window.clearTimeout(A)}function N(){y.value=!0,x()}function I(){y.value=!1,O()}function k(L){T.value=L.touches[0].clientY}function D(L){Math.abs(T.value-L.changedTouches[0].clientY)>50&&(a.value=!1)}const P=computed(()=>e.location.split(" ").reduce((L,F)=>(L[`v-snackbar--${F}`]=!0,L),{}));return useRender(()=>{const L=VOverlay.filterProps(e),F=!!(r.default||r.text||e.text);return createVNode(VOverlay,mergeProps({ref:v,class:["v-snackbar",{"v-snackbar--active":a.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},P.value,o.value,e.class],style:[C.value,e.style]},L,{modelValue:a.value,"onUpdate:modelValue":B=>a.value=B,contentProps:mergeProps({class:["v-snackbar__wrapper",d.value,f.value,S.value,_.value],style:[g.value],onPointerenter:N,onPointerleave:I},L.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:k,onTouchend:D},u),{default:()=>{var B,V;return[genOverlays(!1,"v-snackbar"),e.timer&&!y.value&&createVNode("div",{key:"timer",class:"v-snackbar__timer"},[createVNode(VProgressLinear,{ref:b,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,"model-value":E.time.value},null)]),F&&createVNode("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((B=r.text)==null?void 0:B.call(r))??e.text,(V=r.default)==null?void 0:V.call(r)]),r.actions&&createVNode(VDefaultsProvider,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[createVNode("div",{class:"v-snackbar__actions"},[r.actions({isActive:a})])]})]},activator:r.activator})}),forwardRefs({},v)}}),makeLineProps=propsFactory({autoDraw:Boolean,autoDrawDuration:[Number,String],autoDrawEasing:{type:String,default:"ease"},color:String,gradient:{type:Array,default:()=>[]},gradientDirection:{type:String,validator:e=>["top","bottom","left","right"].includes(e),default:"top"},height:{type:[String,Number],default:75},labels:{type:Array,default:()=>[]},labelSize:{type:[Number,String],default:7},lineWidth:{type:[String,Number],default:4},id:String,itemValue:{type:String,default:"value"},modelValue:{type:Array,default:()=>[]},min:[String,Number],max:[String,Number],padding:{type:[String,Number],default:8},showLabels:Boolean,smooth:Boolean,width:{type:[Number,String],default:300}},"Line"),makeVBarlineProps=propsFactory({autoLineWidth:Boolean,...makeLineProps()},"VBarline"),VBarline=genericComponent()({name:"VBarline",props:makeVBarlineProps(),setup(e,t){let{slots:r}=t;const a=getUid(),o=computed(()=>e.id||`barline-${a}`),u=computed(()=>Number(e.autoDrawDuration)||500),d=computed(()=>!!(e.showLabels||e.labels.length>0||r!=null&&r.label)),f=computed(()=>parseFloat(e.lineWidth)||4),g=computed(()=>Math.max(e.modelValue.length*f.value,Number(e.width))),_=computed(()=>({minX:0,maxX:g.value,minY:0,maxY:parseInt(e.height,10)})),S=computed(()=>e.modelValue.map(T=>getPropertyFromItem(T,e.itemValue,T)));function E(T,C){const{minX:R,maxX:A,minY:O,maxY:x}=C,N=T.length;let I=e.max!=null?Number(e.max):Math.max(...T),k=e.min!=null?Number(e.min):Math.min(...T);k>0&&e.min==null&&(k=0),I<0&&e.max==null&&(I=0);const D=A/N,P=(x-O)/(I-k||1),L=x-Math.abs(k*P);return T.map((F,B)=>{const V=Math.abs(P*F);return{x:R+B*D,y:L-V+ +(F<0)*V,height:V,value:F}})}const v=computed(()=>{const T=[],C=E(S.value,_.value),R=C.length;for(let A=0;T.lengthE(S.value,_.value)),y=computed(()=>(Math.abs(b.value[0].x-b.value[1].x)-f.value)/2);useRender(()=>{const T=e.gradient.slice().length?e.gradient.slice().reverse():[""];return createVNode("svg",{display:"block"},[createVNode("defs",null,[createVNode("linearGradient",{id:o.value,gradientUnits:"userSpaceOnUse",x1:e.gradientDirection==="left"?"100%":"0",y1:e.gradientDirection==="top"?"100%":"0",x2:e.gradientDirection==="right"?"100%":"0",y2:e.gradientDirection==="bottom"?"100%":"0"},[T.map((C,R)=>createVNode("stop",{offset:R/Math.max(T.length-1,1),"stop-color":C||"currentColor"},null))])]),createVNode("clipPath",{id:`${o.value}-clip`},[b.value.map(C=>createVNode("rect",{x:C.x+y.value,y:C.y,width:f.value,height:C.height,rx:typeof e.smooth=="number"?e.smooth:e.smooth?2:0,ry:typeof e.smooth=="number"?e.smooth:e.smooth?2:0},[e.autoDraw&&createVNode(Fragment,null,[createVNode("animate",{attributeName:"y",from:C.y+C.height,to:C.y,dur:`${u.value}ms`,fill:"freeze"},null),createVNode("animate",{attributeName:"height",from:"0",to:C.height,dur:`${u.value}ms`,fill:"freeze"},null)])]))]),d.value&&createVNode("g",{key:"labels",style:{textAnchor:"middle",dominantBaseline:"mathematical",fill:"currentColor"}},[v.value.map((C,R)=>{var A;return createVNode("text",{x:C.x+y.value+f.value/2,y:parseInt(e.height,10)-2+(parseInt(e.labelSize,10)||7*.75),"font-size":Number(e.labelSize)||7},[((A=r.label)==null?void 0:A.call(r,{index:R,value:C.value}))??C.value])})]),createVNode("g",{"clip-path":`url(#${o.value}-clip)`,fill:`url(#${o.value})`},[createVNode("rect",{x:0,y:0,width:Math.max(e.modelValue.length*f.value,Number(e.width)),height:e.height},null)])])})}});function genPath(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:75;if(e.length===0)return"";const o=e.shift(),u=e[e.length-1];return(r?`M${o.x} ${a-o.x+2} L${o.x} ${o.y}`:`M${o.x} ${o.y}`)+e.map((d,f)=>{const g=e[f+1],_=e[f-1]||o,S=g&&checkCollinear(g,d,_);if(!g||S)return`L${d.x} ${d.y}`;const E=Math.min(getDistance(_,d),getDistance(g,d)),b=E/2e.id||`trendline-${a}`),u=computed(()=>Number(e.autoDrawDuration)||(e.fill?500:2e3)),d=ref$1(0),f=ref$1(null);function g(C,R){const{minX:A,maxX:O,minY:x,maxY:N}=R,I=C.length,k=e.max!=null?Number(e.max):Math.max(...C),D=e.min!=null?Number(e.min):Math.min(...C),P=(O-A)/(I-1),L=(N-x)/(k-D||1);return C.map((F,B)=>({x:A+B*P,y:N-(F-D)*L,value:F}))}const _=computed(()=>!!(e.showLabels||e.labels.length>0||r!=null&&r.label)),S=computed(()=>parseFloat(e.lineWidth)||4),E=computed(()=>Number(e.width)),v=computed(()=>{const C=Number(e.padding);return{minX:C,maxX:E.value-C,minY:C,maxY:parseInt(e.height,10)-C}}),b=computed(()=>e.modelValue.map(C=>getPropertyFromItem(C,e.itemValue,C))),y=computed(()=>{const C=[],R=g(b.value,v.value),A=R.length;for(let O=0;C.lengthe.modelValue,async()=>{if(await nextTick$1(),!e.autoDraw||!f.value)return;const C=f.value,R=C.getTotalLength();e.fill?(C.style.transformOrigin="bottom center",C.style.transition="none",C.style.transform="scaleY(0)",C.getBoundingClientRect(),C.style.transition=`transform ${u.value}ms ${e.autoDrawEasing}`,C.style.transform="scaleY(1)"):(C.style.strokeDasharray=`${R}`,C.style.strokeDashoffset=`${R}`,C.getBoundingClientRect(),C.style.transition=`stroke-dashoffset ${u.value}ms ${e.autoDrawEasing}`,C.style.strokeDashoffset="0"),d.value=R},{immediate:!0});function T(C){return genPath(g(b.value,v.value),e.smooth?8:Number(e.smooth),C,parseInt(e.height,10))}useRender(()=>{var R;const C=e.gradient.slice().length?e.gradient.slice().reverse():[""];return createVNode("svg",{display:"block","stroke-width":parseFloat(e.lineWidth)??4},[createVNode("defs",null,[createVNode("linearGradient",{id:o.value,gradientUnits:"userSpaceOnUse",x1:e.gradientDirection==="left"?"100%":"0",y1:e.gradientDirection==="top"?"100%":"0",x2:e.gradientDirection==="right"?"100%":"0",y2:e.gradientDirection==="bottom"?"100%":"0"},[C.map((A,O)=>createVNode("stop",{offset:O/Math.max(C.length-1,1),"stop-color":A||"currentColor"},null))])]),_.value&&createVNode("g",{key:"labels",style:{textAnchor:"middle",dominantBaseline:"mathematical",fill:"currentColor"}},[y.value.map((A,O)=>{var x;return createVNode("text",{x:A.x+S.value/2+S.value/2,y:parseInt(e.height,10)-4+(parseInt(e.labelSize,10)||7*.75),"font-size":Number(e.labelSize)||7},[((x=r.label)==null?void 0:x.call(r,{index:O,value:A.value}))??A.value])})]),createVNode("path",{ref:f,d:T(e.fill),fill:e.fill?`url(#${o.value})`:"none",stroke:e.fill?"none":`url(#${o.value})`},null),e.fill&&createVNode("path",{d:T(!1),fill:"none",stroke:e.color??((R=e.gradient)==null?void 0:R[0])},null)])})}}),makeVSparklineProps=propsFactory({type:{type:String,default:"trend"},...makeVBarlineProps(),...makeVTrendlineProps()},"VSparkline"),VSparkline=genericComponent()({name:"VSparkline",props:makeVSparklineProps(),setup(e,t){let{slots:r}=t;const{textColorClasses:a,textColorStyles:o}=useTextColor(toRef(e,"color")),u=computed(()=>!!(e.showLabels||e.labels.length>0||r!=null&&r.label)),d=computed(()=>{let f=parseInt(e.height,10);return u.value&&(f+=parseInt(e.labelSize,10)*1.5),f});useRender(()=>{const f=e.type==="trend"?VTrendline:VBarline,g=e.type==="trend"?VTrendline.filterProps(e):VBarline.filterProps(e);return createVNode(f,mergeProps({key:e.type,class:a.value,style:o.value,viewBox:`0 0 ${e.width} ${parseInt(d.value,10)}`},g),r)})}}),makeVSpeedDialProps=propsFactory({...makeComponentProps(),...makeVMenuProps({offset:8,minWidth:0,openDelay:0,closeDelay:100,location:"top center",transition:"scale-transition"})},"VSpeedDial"),VSpeedDial=genericComponent()({name:"VSpeedDial",props:makeVSpeedDialProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),o=ref$1(),u=computed(()=>{const[f,g="center"]=e.location.split(" ");return`${f} ${g}`}),d=computed(()=>({[`v-speed-dial__content--${u.value.replace(" ","-")}`]:!0}));return useRender(()=>{const f=VMenu.filterProps(e);return createVNode(VMenu,mergeProps(f,{modelValue:a.value,"onUpdate:modelValue":g=>a.value=g,class:e.class,style:e.style,contentClass:["v-speed-dial__content",d.value],location:u.value,ref:o,transition:"fade-transition"}),{...r,default:g=>createVNode(VDefaultsProvider,{defaults:{VBtn:{size:"small"}}},{default:()=>[createVNode(MaybeTransition,{appear:!0,group:!0,transition:e.transition},{default:()=>{var _;return[(_=r.default)==null?void 0:_.call(r,g)]}})]})})}),{}}}),VStepperSymbol=Symbol.for("vuetify:v-stepper"),makeVStepperActionsProps=propsFactory({color:String,disabled:{type:[Boolean,String],default:!1},prevText:{type:String,default:"$vuetify.stepper.prev"},nextText:{type:String,default:"$vuetify.stepper.next"}},"VStepperActions"),VStepperActions=genericComponent()({name:"VStepperActions",props:makeVStepperActionsProps(),emits:{"click:prev":()=>!0,"click:next":()=>!0},setup(e,t){let{emit:r,slots:a}=t;const{t:o}=useLocale();function u(){r("click:prev")}function d(){r("click:next")}return useRender(()=>{const f={onClick:u},g={onClick:d};return createVNode("div",{class:"v-stepper-actions"},[createVNode(VDefaultsProvider,{defaults:{VBtn:{disabled:["prev",!0].includes(e.disabled),text:o(e.prevText),variant:"text"}}},{default:()=>{var _;return[((_=a.prev)==null?void 0:_.call(a,{props:f}))??createVNode(VBtn,f,null)]}}),createVNode(VDefaultsProvider,{defaults:{VBtn:{color:e.color,disabled:["next",!0].includes(e.disabled),text:o(e.nextText),variant:"tonal"}}},{default:()=>{var _;return[((_=a.next)==null?void 0:_.call(a,{props:g}))??createVNode(VBtn,g,null)]}})])}),{}}}),VStepperHeader=createSimpleFunctional("v-stepper-header"),makeStepperItemProps=propsFactory({color:String,title:String,subtitle:String,complete:Boolean,completeIcon:{type:String,default:"$complete"},editable:Boolean,editIcon:{type:String,default:"$edit"},error:Boolean,errorIcon:{type:String,default:"$error"},icon:String,ripple:{type:[Boolean,Object],default:!0},rules:{type:Array,default:()=>[]}},"StepperItem"),makeVStepperItemProps=propsFactory({...makeStepperItemProps(),...makeGroupItemProps()},"VStepperItem"),VStepperItem=genericComponent()({name:"VStepperItem",directives:{Ripple},props:makeVStepperItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const a=useGroupItem(e,VStepperSymbol,!0),o=computed(()=>(a==null?void 0:a.value.value)??e.value),u=computed(()=>e.rules.every(v=>v()===!0)),d=computed(()=>!e.disabled&&e.editable),f=computed(()=>!e.disabled&&e.editable),g=computed(()=>e.error||!u.value),_=computed(()=>e.complete||e.rules.length>0&&u.value),S=computed(()=>g.value?e.errorIcon:_.value?e.completeIcon:a.isSelected.value&&e.editable?e.editIcon:e.icon),E=computed(()=>({canEdit:f.value,hasError:g.value,hasCompleted:_.value,title:e.title,subtitle:e.subtitle,step:o.value,value:e.value}));return useRender(()=>{var C,R,A;const v=(!a||a.isSelected.value||_.value||f.value)&&!g.value&&!e.disabled,b=!!(e.title!=null||r.title),y=!!(e.subtitle!=null||r.subtitle);function T(){a==null||a.toggle()}return withDirectives(createVNode("button",{class:["v-stepper-item",{"v-stepper-item--complete":_.value,"v-stepper-item--disabled":e.disabled,"v-stepper-item--error":g.value},a==null?void 0:a.selectedClass.value],disabled:!e.editable,onClick:T},[d.value&&genOverlays(!0,"v-stepper-item"),createVNode(VAvatar,{key:"stepper-avatar",class:"v-stepper-item__avatar",color:v?e.color:void 0,size:24},{default:()=>{var O;return[((O=r.icon)==null?void 0:O.call(r,E.value))??(S.value?createVNode(VIcon,{icon:S.value},null):o.value)]}}),createVNode("div",{class:"v-stepper-item__content"},[b&&createVNode("div",{key:"title",class:"v-stepper-item__title"},[((C=r.title)==null?void 0:C.call(r,E.value))??e.title]),y&&createVNode("div",{key:"subtitle",class:"v-stepper-item__subtitle"},[((R=r.subtitle)==null?void 0:R.call(r,E.value))??e.subtitle]),(A=r.default)==null?void 0:A.call(r,E.value)])]),[[resolveDirective("ripple"),e.ripple&&e.editable,null]])}),{}}}),makeVStepperWindowProps=propsFactory({...omit(makeVWindowProps(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VStepperWindow"),VStepperWindow=genericComponent()({name:"VStepperWindow",props:makeVStepperWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=inject$1(VStepperSymbol,null),o=useProxiedModel(e,"modelValue"),u=computed({get(){var d;return o.value!=null||!a?o.value:(d=a.items.value.find(f=>a.selected.value.includes(f.id)))==null?void 0:d.value},set(d){o.value=d}});return useRender(()=>{const d=VWindow.filterProps(e);return createVNode(VWindow,mergeProps({_as:"VStepperWindow"},d,{modelValue:u.value,"onUpdate:modelValue":f=>u.value=f,class:["v-stepper-window",e.class],style:e.style,mandatory:!1,touch:!1}),r)}),{}}}),makeVStepperWindowItemProps=propsFactory({...makeVWindowItemProps()},"VStepperWindowItem"),VStepperWindowItem=genericComponent()({name:"VStepperWindowItem",props:makeVStepperWindowItemProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const a=VWindowItem.filterProps(e);return createVNode(VWindowItem,mergeProps({_as:"VStepperWindowItem"},a,{class:["v-stepper-window-item",e.class],style:e.style}),r)}),{}}}),makeStepperProps=propsFactory({altLabels:Boolean,bgColor:String,completeIcon:String,editIcon:String,editable:Boolean,errorIcon:String,hideActions:Boolean,items:{type:Array,default:()=>[]},itemTitle:{type:String,default:"title"},itemValue:{type:String,default:"value"},nonLinear:Boolean,flat:Boolean,...makeDisplayProps()},"Stepper"),makeVStepperProps=propsFactory({...makeStepperProps(),...makeGroupProps({mandatory:"force",selectedClass:"v-stepper-item--selected"}),...makeVSheetProps(),...only(makeVStepperActionsProps(),["prevText","nextText"])},"VStepper"),VStepper=genericComponent()({name:"VStepper",props:makeVStepperProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{items:a,next:o,prev:u,selected:d}=useGroup(e,VStepperSymbol),{displayClasses:f,mobile:g}=useDisplay(e),{completeIcon:_,editIcon:S,errorIcon:E,color:v,editable:b,prevText:y,nextText:T}=toRefs(e),C=computed(()=>e.items.map((O,x)=>{const N=getPropertyFromItem(O,e.itemTitle,O),I=getPropertyFromItem(O,e.itemValue,x+1);return{title:N,value:I,raw:O}})),R=computed(()=>a.value.findIndex(O=>d.value.includes(O.id))),A=computed(()=>e.disabled?e.disabled:R.value===0?"prev":R.value===a.value.length-1?"next":!1);return provideDefaults({VStepperItem:{editable:b,errorIcon:E,completeIcon:_,editIcon:S,prevText:y,nextText:T},VStepperActions:{color:v,disabled:A,prevText:y,nextText:T}}),useRender(()=>{const O=VSheet.filterProps(e),x=!!(r.header||e.items.length),N=e.items.length>0,I=!e.hideActions&&!!(N||r.actions);return createVNode(VSheet,mergeProps(O,{color:e.bgColor,class:["v-stepper",{"v-stepper--alt-labels":e.altLabels,"v-stepper--flat":e.flat,"v-stepper--non-linear":e.nonLinear,"v-stepper--mobile":g.value},f.value,e.class],style:e.style}),{default:()=>{var k,D;return[x&&createVNode(VStepperHeader,{key:"stepper-header"},{default:()=>[C.value.map((P,L)=>{let{raw:F,...B}=P;return createVNode(Fragment,null,[!!L&&createVNode(VDivider,null,null),createVNode(VStepperItem,B,{default:r[`header-item.${B.value}`]??r.header,icon:r.icon,title:r.title,subtitle:r.subtitle})])})]}),N&&createVNode(VStepperWindow,{key:"stepper-window"},{default:()=>[C.value.map(P=>createVNode(VStepperWindowItem,{value:P.value},{default:()=>{var L,F;return((L=r[`item.${P.value}`])==null?void 0:L.call(r,P))??((F=r.item)==null?void 0:F.call(r,P))}}))]}),(k=r.default)==null?void 0:k.call(r,{prev:u,next:o}),I&&(((D=r.actions)==null?void 0:D.call(r,{next:o,prev:u}))??createVNode(VStepperActions,{key:"stepper-actions","onClick:prev":u,"onClick:next":o},r))]}})}),{prev:u,next:o}}}),makeVSwitchProps=propsFactory({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...makeVInputProps(),...makeVSelectionControlProps()},"VSwitch"),VSwitch=genericComponent()({name:"VSwitch",inheritAttrs:!1,props:makeVSwitchProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const o=useProxiedModel(e,"indeterminate"),u=useProxiedModel(e,"modelValue"),{loaderClasses:d}=useLoader(e),{isFocused:f,focus:g,blur:_}=useFocus(e),S=ref$1(),E=IN_BROWSER&&window.matchMedia("(forced-colors: active)").matches,v=computed(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),b=getUid(),y=computed(()=>e.id||`switch-${b}`);function T(){o.value&&(o.value=!1)}function C(R){var A,O;R.stopPropagation(),R.preventDefault(),(O=(A=S.value)==null?void 0:A.input)==null||O.click()}return useRender(()=>{const[R,A]=filterInputAttrs(r),O=VInput.filterProps(e),x=VSelectionControl.filterProps(e);return createVNode(VInput,mergeProps({class:["v-switch",{"v-switch--flat":e.flat},{"v-switch--inset":e.inset},{"v-switch--indeterminate":o.value},d.value,e.class]},R,O,{modelValue:u.value,"onUpdate:modelValue":N=>u.value=N,id:y.value,focused:f.value,style:e.style}),{...a,default:N=>{let{id:I,messagesId:k,isDisabled:D,isReadonly:P,isValid:L}=N;const F={model:u,isValid:L};return createVNode(VSelectionControl,mergeProps({ref:S},x,{modelValue:u.value,"onUpdate:modelValue":[B=>u.value=B,T],id:I.value,"aria-describedby":k.value,type:"checkbox","aria-checked":o.value?"mixed":void 0,disabled:D.value,readonly:P.value,onFocus:g,onBlur:_},A),{...a,default:B=>{let{backgroundColorClasses:V,backgroundColorStyles:U}=B;return createVNode("div",{class:["v-switch__track",E?void 0:V.value],style:U.value,onClick:C},[a["track-true"]&&createVNode("div",{key:"prepend",class:"v-switch__track-true"},[a["track-true"](F)]),a["track-false"]&&createVNode("div",{key:"append",class:"v-switch__track-false"},[a["track-false"](F)])])},input:B=>{let{inputNode:V,icon:U,backgroundColorClasses:W,backgroundColorStyles:K}=B;return createVNode(Fragment,null,[V,createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":U||e.loading},e.inset||E?void 0:W.value],style:e.inset?void 0:K.value},[a.thumb?createVNode(VDefaultsProvider,{defaults:{VIcon:{icon:U,size:"x-small"}}},{default:()=>[a.thumb({...F,icon:U})]}):createVNode(VScaleTransition,null,{default:()=>[e.loading?createVNode(LoaderSlot,{name:"v-switch",active:!0,color:L.value===!1?void 0:v.value},{default:G=>a.loader?a.loader(G):createVNode(VProgressCircular,{active:G.isActive,color:G.color,indeterminate:!0,size:"16",width:"2"},null)}):U&&createVNode(VIcon,{key:String(U),icon:U,size:"x-small"},null)]})])])}})}})}),{}}}),makeVSystemBarProps=propsFactory({color:String,height:[Number,String],window:Boolean,...makeComponentProps(),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VSystemBar"),VSystemBar=genericComponent()({name:"VSystemBar",props:makeVSystemBarProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{backgroundColorClasses:o,backgroundColorStyles:u}=useBackgroundColor(toRef(e,"color")),{elevationClasses:d}=useElevation(e),{roundedClasses:f}=useRounded(e),{ssrBootStyles:g}=useSsrBoot(),_=computed(()=>e.height??(e.window?32:24)),{layoutItemStyles:S}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:shallowRef("top"),layoutSize:_,elementSize:_,active:computed(()=>!0),absolute:toRef(e,"absolute")});return useRender(()=>createVNode(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},a.value,o.value,d.value,f.value,e.class],style:[u.value,S.value,g.value,e.style]},r)),{}}}),VTabsSymbol=Symbol.for("vuetify:v-tabs"),makeVTabProps=propsFactory({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...omit(makeVBtnProps({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),VTab=genericComponent()({name:"VTab",props:makeVTabProps(),setup(e,t){let{slots:r,attrs:a}=t;const{textColorClasses:o,textColorStyles:u}=useTextColor(e,"sliderColor"),d=ref$1(),f=ref$1(),g=computed(()=>e.direction==="horizontal"),_=computed(()=>{var E,v;return((v=(E=d.value)==null?void 0:E.group)==null?void 0:v.isSelected.value)??!1});function S(E){var b,y;let{value:v}=E;if(v){const T=(y=(b=d.value)==null?void 0:b.$el.parentElement)==null?void 0:y.querySelector(".v-tab--selected .v-tab__slider"),C=f.value;if(!T||!C)return;const R=getComputedStyle(T).color,A=T.getBoundingClientRect(),O=C.getBoundingClientRect(),x=g.value?"x":"y",N=g.value?"X":"Y",I=g.value?"right":"bottom",k=g.value?"width":"height",D=A[x],P=O[x],L=D>P?A[I]-O[I]:A[x]-O[x],F=Math.sign(L)>0?g.value?"right":"bottom":Math.sign(L)<0?g.value?"left":"top":"center",V=(Math.abs(L)+(Math.sign(L)<0?A[k]:O[k]))/Math.max(A[k],O[k])||0,U=A[k]/O[k]||0,W=1.5;animate(C,{backgroundColor:[R,"currentcolor"],transform:[`translate${N}(${L}px) scale${N}(${U})`,`translate${N}(${L/W}px) scale${N}(${(V-1)/W+1})`,"none"],transformOrigin:Array(3).fill(F)},{duration:225,easing:standardEasing})}}return useRender(()=>{const E=VBtn.filterProps(e);return createVNode(VBtn,mergeProps({symbol:VTabsSymbol,ref:d,class:["v-tab",e.class],style:e.style,tabindex:_.value?0:-1,role:"tab","aria-selected":String(_.value),active:!1},E,a,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":S}),{...r,default:()=>{var v;return createVNode(Fragment,null,[((v=r.default)==null?void 0:v.call(r))??e.text,!e.hideSlider&&createVNode("div",{ref:f,class:["v-tab__slider",o.value],style:u.value},null)])}})}),forwardRefs({},d)}}),makeVTabsWindowProps=propsFactory({...omit(makeVWindowProps(),["continuous","nextIcon","prevIcon","showArrows","touch","mandatory"])},"VTabsWindow"),VTabsWindow=genericComponent()({name:"VTabsWindow",props:makeVTabsWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=inject$1(VTabsSymbol,null),o=useProxiedModel(e,"modelValue"),u=computed({get(){var d;return o.value!=null||!a?o.value:(d=a.items.value.find(f=>a.selected.value.includes(f.id)))==null?void 0:d.value},set(d){o.value=d}});return useRender(()=>{const d=VWindow.filterProps(e);return createVNode(VWindow,mergeProps({_as:"VTabsWindow"},d,{modelValue:u.value,"onUpdate:modelValue":f=>u.value=f,class:["v-tabs-window",e.class],style:e.style,mandatory:!1,touch:!1}),r)}),{}}}),makeVTabsWindowItemProps=propsFactory({...makeVWindowItemProps()},"VTabsWindowItem"),VTabsWindowItem=genericComponent()({name:"VTabsWindowItem",props:makeVTabsWindowItemProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const a=VWindowItem.filterProps(e);return createVNode(VWindowItem,mergeProps({_as:"VTabsWindowItem"},a,{class:["v-tabs-window-item",e.class],style:e.style}),r)}),{}}});function parseItems(e){return e?e.map(t=>isObject$1(t)?t:{text:t,value:t}):[]}const makeVTabsProps=propsFactory({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...makeVSlideGroupProps({mandatory:"force",selectedClass:"v-tab-item--selected"}),...makeDensityProps(),...makeTagProps()},"VTabs"),VTabs=genericComponent()({name:"VTabs",props:makeVTabsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:a}=t;const o=useProxiedModel(e,"modelValue"),u=computed(()=>parseItems(e.items)),{densityClasses:d}=useDensity(e),{backgroundColorClasses:f,backgroundColorStyles:g}=useBackgroundColor(toRef(e,"bgColor")),{scopeId:_}=useScopeId();return provideDefaults({VTab:{color:toRef(e,"color"),direction:toRef(e,"direction"),stacked:toRef(e,"stacked"),fixed:toRef(e,"fixedTabs"),sliderColor:toRef(e,"sliderColor"),hideSlider:toRef(e,"hideSlider")}}),useRender(()=>{const S=VSlideGroup.filterProps(e),E=!!(a.window||e.items.length>0);return createVNode(Fragment,null,[createVNode(VSlideGroup,mergeProps(S,{modelValue:o.value,"onUpdate:modelValue":v=>o.value=v,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},d.value,f.value,e.class],style:[{"--v-tabs-height":convertToUnit(e.height)},g.value,e.style],role:"tablist",symbol:VTabsSymbol},_,r),{default:()=>{var v;return[((v=a.default)==null?void 0:v.call(a))??u.value.map(b=>{var y;return((y=a.tab)==null?void 0:y.call(a,{item:b}))??createVNode(VTab,mergeProps(b,{key:b.text,value:b.value}),{default:a[`tab.${b.value}`]?()=>{var T;return(T=a[`tab.${b.value}`])==null?void 0:T.call(a,{item:b})}:void 0})})]}}),E&&createVNode(VTabsWindow,mergeProps({modelValue:o.value,"onUpdate:modelValue":v=>o.value=v,key:"tabs-window"},_),{default:()=>{var v;return[u.value.map(b=>{var y;return((y=a.item)==null?void 0:y.call(a,{item:b}))??createVNode(VTabsWindowItem,{value:b.value},{default:()=>{var T;return(T=a[`item.${b.value}`])==null?void 0:T.call(a,{item:b})}})}),(v=a.window)==null?void 0:v.call(a)]}})])}),{}}}),makeVTextareaProps=propsFactory({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextarea"),VTextarea=genericComponent()({name:"VTextarea",directives:{Intersect:Intersect$1},inheritAttrs:!1,props:makeVTextareaProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:a,slots:o}=t;const u=useProxiedModel(e,"modelValue"),{isFocused:d,focus:f,blur:g}=useFocus(e),_=computed(()=>typeof e.counterValue=="function"?e.counterValue(u.value):(u.value||"").toString().length),S=computed(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function E(F,B){var V,U;!e.autofocus||!F||(U=(V=B[0].target)==null?void 0:V.focus)==null||U.call(V)}const v=ref$1(),b=ref$1(),y=shallowRef(""),T=ref$1(),C=computed(()=>e.persistentPlaceholder||d.value||e.active);function R(){var F;T.value!==document.activeElement&&((F=T.value)==null||F.focus()),d.value||f()}function A(F){R(),a("click:control",F)}function O(F){a("mousedown:control",F)}function x(F){F.stopPropagation(),R(),nextTick$1(()=>{u.value="",callEvent(e["onClick:clear"],F)})}function N(F){var V;const B=F.target;if(u.value=B.value,(V=e.modelModifiers)!=null&&V.trim){const U=[B.selectionStart,B.selectionEnd];nextTick$1(()=>{B.selectionStart=U[0],B.selectionEnd=U[1]})}}const I=ref$1(),k=ref$1(+e.rows),D=computed(()=>["plain","underlined"].includes(e.variant));watchEffect(()=>{e.autoGrow||(k.value=+e.rows)});function P(){e.autoGrow&&nextTick$1(()=>{if(!I.value||!b.value)return;const F=getComputedStyle(I.value),B=getComputedStyle(b.value.$el),V=parseFloat(F.getPropertyValue("--v-field-padding-top"))+parseFloat(F.getPropertyValue("--v-input-padding-top"))+parseFloat(F.getPropertyValue("--v-field-padding-bottom")),U=I.value.scrollHeight,W=parseFloat(F.lineHeight),K=Math.max(parseFloat(e.rows)*W+V,parseFloat(B.getPropertyValue("--v-input-control-height"))),G=parseFloat(e.maxRows)*W+V||1/0,Y=clamp(U??0,K,G);k.value=Math.floor((Y-V)/W),y.value=convertToUnit(Y)})}onMounted(P),watch(u,P),watch(()=>e.rows,P),watch(()=>e.maxRows,P),watch(()=>e.density,P);let L;return watch(I,F=>{F?(L=new ResizeObserver(P),L.observe(I.value)):L==null||L.disconnect()}),onBeforeUnmount(()=>{L==null||L.disconnect()}),useRender(()=>{const F=!!(o.counter||e.counter||e.counterValue),B=!!(F||o.details),[V,U]=filterInputAttrs(r),{modelValue:W,...K}=VInput.filterProps(e),G=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:v,modelValue:u.value,"onUpdate:modelValue":Y=>u.value=Y,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":D.value},e.class],style:e.style},V,K,{centerAffix:k.value===1&&!D.value,focused:d.value}),{...o,default:Y=>{let{id:Q,isDisabled:Z,isDirty:J,isReadonly:te,isValid:fe}=Y;return createVNode(VField,mergeProps({ref:b,style:{"--v-textarea-control-height":y.value},onClick:A,onMousedown:O,"onClick:clear":x,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},G,{id:Q.value,active:C.value||J.value,centerAffix:k.value===1&&!D.value,dirty:J.value||e.dirty,disabled:Z.value,focused:d.value,error:fe.value===!1}),{...o,default:ve=>{let{props:{class:ue,...ie}}=ve;return createVNode(Fragment,null,[e.prefix&&createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),withDirectives(createVNode("textarea",mergeProps({ref:T,class:ue,value:u.value,onInput:N,autofocus:e.autofocus,readonly:te.value,disabled:Z.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:R,onBlur:g},ie,U),null),[[resolveDirective("intersect"),{handler:E},null,{once:!0}]]),e.autoGrow&&withDirectives(createVNode("textarea",{class:[ue,"v-textarea__sizer"],id:`${ie.id}-sizer`,"onUpdate:modelValue":ee=>u.value=ee,ref:I,readonly:!0,"aria-hidden":"true"},null),[[vModelText,u.value]]),e.suffix&&createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:B?Y=>{var Q;return createVNode(Fragment,null,[(Q=o.details)==null?void 0:Q.call(o,Y),F&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||d.value,value:_.value,max:S.value,disabled:e.disabled},o.counter)])])}:void 0})}),forwardRefs({},v,b,T)}}),makeVThemeProviderProps=propsFactory({withBackground:Boolean,...makeComponentProps(),...makeThemeProps(),...makeTagProps()},"VThemeProvider"),VThemeProvider=genericComponent()({name:"VThemeProvider",props:makeVThemeProviderProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e);return()=>{var o;return e.withBackground?createVNode(e.tag,{class:["v-theme-provider",a.value,e.class],style:e.style},{default:()=>{var u;return[(u=r.default)==null?void 0:u.call(r)]}}):(o=r.default)==null?void 0:o.call(r)}}}),makeVTimelineDividerProps=propsFactory({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:IconValue,iconColor:String,lineColor:String,...makeComponentProps(),...makeRoundedProps(),...makeSizeProps(),...makeElevationProps()},"VTimelineDivider"),VTimelineDivider=genericComponent()({name:"VTimelineDivider",props:makeVTimelineDividerProps(),setup(e,t){let{slots:r}=t;const{sizeClasses:a,sizeStyles:o}=useSize(e,"v-timeline-divider__dot"),{backgroundColorStyles:u,backgroundColorClasses:d}=useBackgroundColor(toRef(e,"dotColor")),{roundedClasses:f}=useRounded(e,"v-timeline-divider__dot"),{elevationClasses:g}=useElevation(e),{backgroundColorClasses:_,backgroundColorStyles:S}=useBackgroundColor(toRef(e,"lineColor"));return useRender(()=>createVNode("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[createVNode("div",{class:["v-timeline-divider__before",_.value],style:S.value},null),!e.hideDot&&createVNode("div",{key:"dot",class:["v-timeline-divider__dot",g.value,f.value,a.value],style:o.value},[createVNode("div",{class:["v-timeline-divider__inner-dot",d.value,f.value],style:u.value},[r.default?createVNode(VDefaultsProvider,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},r.default):createVNode(VIcon,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),createVNode("div",{class:["v-timeline-divider__after",_.value],style:S.value},null)])),{}}}),makeVTimelineItemProps=propsFactory({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:IconValue,iconColor:String,lineInset:[Number,String],...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps()},"VTimelineItem"),VTimelineItem=genericComponent()({name:"VTimelineItem",props:makeVTimelineItemProps(),setup(e,t){let{slots:r}=t;const{dimensionStyles:a}=useDimension(e),o=shallowRef(0),u=ref$1();return watch(u,d=>{var f;d&&(o.value=((f=d.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:f.getBoundingClientRect().width)??0)},{flush:"post"}),useRender(()=>{var d,f;return createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":convertToUnit(o.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${convertToUnit(e.lineInset)})`:convertToUnit(0)},e.style]},[createVNode("div",{class:"v-timeline-item__body",style:a.value},[(d=r.default)==null?void 0:d.call(r)]),createVNode(VTimelineDivider,{ref:u,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:r.icon}),e.density!=="compact"&&createVNode("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&((f=r.opposite)==null?void 0:f.call(r))])])}),{}}}),makeVTimelineProps=propsFactory({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>e==null||["start","end"].includes(e)},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...only(makeVTimelineItemProps({lineInset:0}),["dotColor","fillDot","hideOpposite","iconColor","lineInset","size"]),...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTimeline"),VTimeline=genericComponent()({name:"VTimeline",props:makeVTimelineProps(),setup(e,t){let{slots:r}=t;const{themeClasses:a}=provideTheme(e),{densityClasses:o}=useDensity(e),{rtlClasses:u}=useRtl();provideDefaults({VTimelineDivider:{lineColor:toRef(e,"lineColor")},VTimelineItem:{density:toRef(e,"density"),dotColor:toRef(e,"dotColor"),fillDot:toRef(e,"fillDot"),hideOpposite:toRef(e,"hideOpposite"),iconColor:toRef(e,"iconColor"),lineColor:toRef(e,"lineColor"),lineInset:toRef(e,"lineInset"),size:toRef(e,"size")}});const d=computed(()=>{const g=e.side?e.side:e.density!=="default"?"end":null;return g&&`v-timeline--side-${g}`}),f=computed(()=>{const g=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(e.truncateLine){case"both":return g;case"start":return g[0];case"end":return g[1];default:return null}});return useRender(()=>createVNode(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,f.value,{"v-timeline--inset-line":!!e.lineInset},a.value,o.value,d.value,u.value,e.class],style:[{"--v-timeline-line-thickness":convertToUnit(e.lineThickness)},e.style]},r)),{}}}),makeVToolbarItemsProps=propsFactory({...makeComponentProps(),...makeVariantProps({variant:"text"})},"VToolbarItems"),VToolbarItems=genericComponent()({name:"VToolbarItems",props:makeVToolbarItemsProps(),setup(e,t){let{slots:r}=t;return provideDefaults({VBtn:{color:toRef(e,"color"),height:"inherit",variant:toRef(e,"variant")}}),useRender(()=>{var a;return createVNode("div",{class:["v-toolbar-items",e.class],style:e.style},[(a=r.default)==null?void 0:a.call(r)])}),{}}}),makeVTooltipProps=propsFactory({id:String,text:String,...omit(makeVOverlayProps({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),VTooltip=genericComponent()({name:"VTooltip",props:makeVTooltipProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const a=useProxiedModel(e,"modelValue"),{scopeId:o}=useScopeId(),u=getUid(),d=computed(()=>e.id||`v-tooltip-${u}`),f=ref$1(),g=computed(()=>e.location.split(" ").length>1?e.location:e.location+" center"),_=computed(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),S=computed(()=>e.transition?e.transition:a.value?"scale-transition":"fade-transition"),E=computed(()=>mergeProps({"aria-describedby":d.value},e.activatorProps));return useRender(()=>{const v=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:f,class:["v-tooltip",e.class],style:e.style,id:d.value},v,{modelValue:a.value,"onUpdate:modelValue":b=>a.value=b,transition:S.value,absolute:!0,location:g.value,origin:_.value,persistent:!0,role:"tooltip",activatorProps:E.value,_disableGlobalStack:!0},o),{activator:r.activator,default:function(){var C;for(var b=arguments.length,y=new Array(b),T=0;T!0},setup(e,t){let{slots:r}=t;const a=useValidation(e,"validation");return()=>{var o;return(o=r.default)==null?void 0:o.call(r,a)}}}),components=Object.freeze(Object.defineProperty({__proto__:null,VAlert,VAlertTitle,VApp,VAppBar,VAppBarNavIcon,VAppBarTitle,VAutocomplete,VAvatar,VBadge,VBanner,VBannerActions,VBannerText,VBottomNavigation,VBottomSheet,VBreadcrumbs,VBreadcrumbsDivider,VBreadcrumbsItem,VBtn,VBtnGroup,VBtnToggle,VCard,VCardActions,VCardItem,VCardSubtitle,VCardText,VCardTitle,VCarousel,VCarouselItem,VCheckbox,VCheckboxBtn,VChip,VChipGroup,VClassIcon,VCode,VCol,VColorPicker,VCombobox,VComponentIcon,VConfirmEdit,VContainer,VCounter,VDataIterator,VDataTable,VDataTableFooter,VDataTableHeaders,VDataTableRow,VDataTableRows,VDataTableServer,VDataTableVirtual,VDatePicker,VDatePickerControls,VDatePickerHeader,VDatePickerMonth,VDatePickerMonths,VDatePickerYears,VDefaultsProvider,VDialog,VDialogBottomTransition,VDialogTopTransition,VDialogTransition,VDivider,VEmptyState,VExpandTransition,VExpandXTransition,VExpansionPanel,VExpansionPanelText,VExpansionPanelTitle,VExpansionPanels,VFab,VFabTransition,VFadeTransition,VField,VFieldLabel,VFileInput,VFooter,VForm,VHover,VIcon,VImg,VInfiniteScroll,VInput,VItem,VItemGroup,VKbd,VLabel,VLayout,VLayoutItem,VLazy,VLigatureIcon,VList,VListGroup,VListImg,VListItem,VListItemAction,VListItemMedia,VListItemSubtitle,VListItemTitle,VListSubheader,VLocaleProvider,VMain,VMenu,VMessages,VNavigationDrawer,VNoSsr,VOtpInput,VOverlay,VPagination,VParallax,VProgressCircular,VProgressLinear,VRadio,VRadioGroup,VRangeSlider,VRating,VResponsive,VRow,VScaleTransition,VScrollXReverseTransition,VScrollXTransition,VScrollYReverseTransition,VScrollYTransition,VSelect,VSelectionControl,VSelectionControlGroup,VSheet,VSkeletonLoader,VSlideGroup,VSlideGroupItem,VSlideXReverseTransition,VSlideXTransition,VSlideYReverseTransition,VSlideYTransition,VSlider,VSnackbar,VSpacer,VSparkline,VSpeedDial,VStepper,VStepperActions,VStepperHeader,VStepperItem,VStepperWindow,VStepperWindowItem,VSvgIcon,VSwitch,VSystemBar,VTab,VTable,VTabs,VTabsWindow,VTabsWindowItem,VTextField,VTextarea,VThemeProvider,VTimeline,VTimelineItem,VToolbar,VToolbarItems,VToolbarTitle,VTooltip,VValidation,VVirtualScroll,VWindow,VWindowItem},Symbol.toStringTag,{value:"Module"}));function mounted$2(e,t){const r=t.modifiers||{},a=t.value,{once:o,immediate:u,...d}=r,f=!Object.keys(d).length,{handler:g,options:_}=typeof a=="object"?a:{handler:a,options:{attributes:(d==null?void 0:d.attr)??f,characterData:(d==null?void 0:d.char)??f,childList:(d==null?void 0:d.child)??f,subtree:(d==null?void 0:d.sub)??f}},S=new MutationObserver(function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;g==null||g(E,v),o&&unmounted$2(e,t)});u&&(g==null||g([],S)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:S},S.observe(e,_)}function unmounted$2(e,t){var r;(r=e._mutate)!=null&&r[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const Mutate={mounted:mounted$2,unmounted:unmounted$2};function mounted$1(e,t){var o,u;const r=t.value,a={passive:!((o=t.modifiers)!=null&&o.active)};window.addEventListener("resize",r,a),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:r,options:a},(u=t.modifiers)!=null&&u.quiet||r()}function unmounted$1(e,t){var o;if(!((o=e._onResize)!=null&&o[t.instance.$.uid]))return;const{handler:r,options:a}=e._onResize[t.instance.$.uid];window.removeEventListener("resize",r,a),delete e._onResize[t.instance.$.uid]}const Resize={mounted:mounted$1,unmounted:unmounted$1};function mounted(e,t){const{self:r=!1}=t.modifiers??{},a=t.value,o=typeof a=="object"&&a.options||{passive:!0},u=typeof a=="function"||"handleEvent"in a?a:a.handler,d=r?e:t.arg?document.querySelector(t.arg):window;d&&(d.addEventListener("scroll",u,o),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:u,options:o,target:r?void 0:d})}function unmounted(e,t){var u;if(!((u=e._onScroll)!=null&&u[t.instance.$.uid]))return;const{handler:r,options:a,target:o=e}=e._onScroll[t.instance.$.uid];o.removeEventListener("scroll",r,a),delete e._onScroll[t.instance.$.uid]}function updated(e,t){t.value!==t.oldValue&&(unmounted(e,t),mounted(e,t))}const Scroll={mounted,unmounted,updated};function useDirectiveComponent(e,t){const r=typeof e=="string"?resolveComponent(e):e,a=mountComponent(r,t);return{mounted:a,updated:a,unmounted(o){render$2(null,o)}}}function mountComponent(e,t){return function(r,a,o){var E,v,b;const u=typeof t=="function"?t(a):t,d=((E=a.value)==null?void 0:E.text)??a.value??(u==null?void 0:u.text),f=isObject$1(a.value)?a.value:{},g=()=>d??r.innerHTML,_=(o.ctx===a.instance.$?(v=findComponentParent(o,a.instance.$))==null?void 0:v.provides:(b=o.ctx)==null?void 0:b.provides)??a.instance.$.provides,S=h(e,mergeProps(u,f),g);S.appContext=Object.assign(Object.create(null),a.instance.$.appContext,{provides:_}),render$2(S,r)}}function findComponentParent(e,t){const r=new Set,a=u=>{var d,f;for(const g of u){if(!g)continue;if(g===e)return!0;r.add(g);let _;if(g.suspense?_=a([g.ssContent]):Array.isArray(g.children)?_=a(g.children):(d=g.component)!=null&&d.vnode&&(_=a([(f=g.component)==null?void 0:f.subTree])),_)return _;r.delete(g)}return!1};if(!a([t.subTree]))throw new Error("Could not find original vnode");const o=Array.from(r).reverse();for(const u of o)if(u.component)return u.component;return t}const Tooltip=useDirectiveComponent(VTooltip,e=>{var t;return{activator:"parent",location:((t=e.arg)==null?void 0:t.replace("-"," "))??"top",text:typeof e.value=="boolean"?void 0:e.value}}),directives=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside,Intersect,Mutate,Resize,Ripple,Scroll,Tooltip,Touch},Symbol.toStringTag,{value:"Module"})),makeVTreeviewGroupProps=propsFactory({...omit(makeVListGroupProps({collapseIcon:"$treeviewCollapse",expandIcon:"$treeviewExpand"}),["subgroup"])},"VTreeviewGroup"),VTreeviewGroup=genericComponent()({name:"VTreeviewGroup",props:makeVTreeviewGroupProps(),setup(e,t){let{slots:r}=t;const a=ref$1(),o=computed(()=>{var d;return(d=a.value)!=null&&d.isOpen?e.collapseIcon:e.expandIcon}),u=computed(()=>{var d;return{VTreeviewItem:{prependIcon:void 0,appendIcon:void 0,active:(d=a.value)==null?void 0:d.isOpen,toggleIcon:o.value}}});return useRender(()=>{const d=VListGroup.filterProps(e);return createVNode(VListGroup,mergeProps(d,{ref:a,class:["v-treeview-group",e.class],subgroup:!0}),{...r,activator:r.activator?f=>createVNode(Fragment,null,[createVNode(VDefaultsProvider,{defaults:u.value},{default:()=>{var g;return[(g=r.activator)==null?void 0:g.call(r,f)]}})]):void 0})}),{}}}),VTreeviewSymbol=Symbol.for("vuetify:v-treeview"),makeVTreeviewItemProps=propsFactory({loading:Boolean,toggleIcon:IconValue,...makeVListItemProps({slim:!0})},"VTreeviewItem"),VTreeviewItem=genericComponent()({name:"VTreeviewItem",props:makeVTreeviewItemProps(),setup(e,t){let{attrs:r,slots:a,emit:o}=t;const u=useLink$1(e,r),d=computed(()=>e.value===void 0?u.href.value:e.value),f=ref$1(),{activate:g,isActivated:_,select:S,isSelected:E,isIndeterminate:v,isGroupActivator:b,root:y,id:T}=useNestedItem(d,!1),C=computed(()=>y.activatable.value&&b),{densityClasses:R}=useDensity(e,"v-list-item"),A=computed(()=>({isActive:_.value,select:S,isSelected:E.value,isIndeterminate:v.value})),O=computed(()=>{var k;return!e.disabled&&e.link!==!1&&(e.link||u.isClickable.value||e.value!=null&&!!((k=f.value)!=null&&k.list))});function x(k){var D,P;!O.value||!C.value&&b||y.activatable.value&&(C.value?g(!_.value,k):(P=f.value)==null||P.activate(!((D=f.value)!=null&&D.isActivated),k))}function N(k){(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),x(k))}const I=inject$1(VTreeviewSymbol,{visibleIds:ref$1()}).visibleIds;return useRender(()=>{var F;const k=a.title||e.title!=null,D=a.subtitle||e.subtitle!=null,P=VListItem.filterProps(e),L=a.prepend||e.toggleIcon;return C.value?withDirectives(createVNode("div",{class:["v-list-item","v-list-item--one-line","v-treeview-item","v-treeview-item--activetable-group-activator",{"v-list-item--active":_.value||E.value,"v-treeview-item--filtered":I.value&&!I.value.has(T.value)},R.value,e.class],onClick:x},[createVNode(Fragment,null,[genOverlays(_.value||E.value,"v-list-item"),e.toggleIcon&&createVNode(VListItemAction,{start:!1},{default:()=>[createVNode(VBtn,{density:"compact",icon:e.toggleIcon,loading:e.loading,variant:"text",onClick:e.onClick},{loader(){return createVNode(VProgressCircular,{indeterminate:"disable-shrink",size:"20",width:"2"},null)}})]})]),createVNode("div",{class:"v-list-item__content","data-no-activator":""},[k&&createVNode(VListItemTitle,{key:"title"},{default:()=>{var B;return[((B=a.title)==null?void 0:B.call(a,{title:e.title}))??e.title]}}),D&&createVNode(VListItemSubtitle,{key:"subtitle"},{default:()=>{var B;return[((B=a.subtitle)==null?void 0:B.call(a,{subtitle:e.subtitle}))??e.subtitle]}}),(F=a.default)==null?void 0:F.call(a,A.value)])]),[[resolveDirective("ripple"),O.value&&e.ripple]]):createVNode(VListItem,mergeProps({ref:f},P,{class:["v-treeview-item",{"v-treeview-item--filtered":I.value&&!I.value.has(T.value)},e.class],value:T.value,onClick:x,onKeydown:O.value&&N}),{...a,prepend:L?B=>{var V;return createVNode(Fragment,null,[e.toggleIcon&&createVNode(VListItemAction,{start:!1},{default:()=>[createVNode(VBtn,{density:"compact",icon:e.toggleIcon,loading:e.loading,variant:"text"},{loader(){return createVNode(VProgressCircular,{indeterminate:"disable-shrink",size:"20",width:"2"},null)}})]}),(V=a.prepend)==null?void 0:V.call(a,B)])}:void 0})}),{}}}),makeVTreeviewChildrenProps=propsFactory({loadChildren:Function,loadingIcon:{type:String,default:"$loading"},items:Array,selectable:Boolean,selectStrategy:[String,Function,Object]},"VTreeviewChildren"),VTreeviewChildren=genericComponent()({name:"VTreeviewChildren",props:makeVTreeviewChildrenProps(),setup(e,t){let{emit:r,slots:a}=t;const o=shallowRef(null);function u(f){return new Promise(g=>{var _,S;if(!((_=e.items)!=null&&_.length)||!e.loadChildren)return g();if(((S=f==null?void 0:f.children)==null?void 0:S.length)===0){o.value=f.value,e.loadChildren(f).then(g);return}g()}).finally(()=>{o.value=null})}function d(f,g){e.selectable&&f(!g)}return()=>{var f,g;return((f=a.default)==null?void 0:f.call(a))??((g=e.items)==null?void 0:g.map(_=>{var R;let{children:S,props:E,raw:v}=_;const b=o.value===v.value,y={prepend:A=>{var O;return createVNode(Fragment,null,[e.selectable&&(!S||S&&!["leaf","single-leaf"].includes(e.selectStrategy))&&createVNode("div",null,[createVNode(VCheckboxBtn,{key:v.value,modelValue:A.isSelected,loading:b,indeterminate:A.isIndeterminate,onClick:withModifiers(()=>d(A.select,A.isSelected),["stop"]),onKeydown:x=>{["Enter","Space"].includes(x.key)&&(x.stopPropagation(),d(A.select,A.isSelected))}},null)]),(O=a.prepend)==null?void 0:O.call(a,{...A,item:v})])},append:a.append?A=>{var O;return(O=a.append)==null?void 0:O.call(a,{...A,item:v})}:void 0,title:a.title?A=>{var O;return(O=a.title)==null?void 0:O.call(a,{...A,item:v})}:void 0},T=VTreeviewGroup.filterProps(E),C=VTreeviewChildren.filterProps(e);return S?createVNode(VTreeviewGroup,mergeProps({value:E==null?void 0:E.value},T),{activator:A=>{let{props:O}=A;const x={...E,...O,value:E==null?void 0:E.value};return createVNode(VTreeviewItem,mergeProps(x,{loading:b,onClick:()=>u(v)}),y)},default:()=>createVNode(VTreeviewChildren,mergeProps(C,{items:S}),a)}):((R=a.item)==null?void 0:R.call(a,{props:E}))??createVNode(VTreeviewItem,E,y)}))}}});function flatten(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];for(const r of e)t.push(r),r.children&&flatten(r.children,t);return t}const makeVTreeviewProps=propsFactory({openAll:Boolean,search:String,...makeFilterProps({filterKeys:["title"]}),...makeVTreeviewChildrenProps(),...omit(makeVListProps({collapseIcon:"$treeviewCollapse",expandIcon:"$treeviewExpand",slim:!0}),["nav"])},"VTreeview"),VTreeview=genericComponent()({name:"VTreeview",props:makeVTreeviewProps(),emits:{"update:opened":e=>!0,"update:activated":e=>!0,"update:selected":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:r}=t;const{items:a}=useListItems(e),o=toRef(e,"activeColor"),u=toRef(e,"baseColor"),d=toRef(e,"color"),f=useProxiedModel(e,"activated"),g=useProxiedModel(e,"selected"),_=ref$1(),S=computed(()=>e.openAll?R(a.value):e.opened),E=computed(()=>flatten(a.value)),v=toRef(e,"search"),{filteredItems:b}=useFilter(e,E,v),y=computed(()=>v.value?new Set(b.value.flatMap(A=>[...T(A.props.value),...C(A.props.value)])):null);function T(A){var N;const O=[];let x=A;for(;x!=null;)O.unshift(x),x=(N=_.value)==null?void 0:N.parents.get(x);return O}function C(A){var N,I;const O=[],x=(((N=_.value)==null?void 0:N.children.get(A))??[]).slice();for(;x.length;){const k=x.shift();k&&(O.push(k),x.push(...(((I=_.value)==null?void 0:I.children.get(k))??[]).slice()))}return O}function R(A){let O=[];for(const x of A)x.children&&(O.push(x.value),x.children&&(O=O.concat(R(x.children))));return O}return provide(VTreeviewSymbol,{visibleIds:y}),provideDefaults({VTreeviewGroup:{activeColor:o,baseColor:u,color:d,collapseIcon:toRef(e,"collapseIcon"),expandIcon:toRef(e,"expandIcon")},VTreeviewItem:{activeClass:toRef(e,"activeClass"),activeColor:o,baseColor:u,color:d,density:toRef(e,"density"),disabled:toRef(e,"disabled"),lines:toRef(e,"lines"),variant:toRef(e,"variant")}}),useRender(()=>{const A=VList.filterProps(e),O=VTreeviewChildren.filterProps(e);return createVNode(VList,mergeProps({ref:_},A,{class:["v-treeview",e.class],style:e.style,opened:S.value,activated:f.value,"onUpdate:activated":x=>f.value=x,selected:g.value,"onUpdate:selected":x=>g.value=x}),{default:()=>[createVNode(VTreeviewChildren,mergeProps(O,{items:a.value}),r)]})}),{open}}}),theme={dark:!1,colors:{background:"#fff","navigation-background":"#ffffff","group-background":"#ffffff",primary:"#0000ff",accent:"#ff6b99",secondary:"#26ff8c",success:"#a5d64c",surface:"#ffffff",info:"#ff53d0",warning:"#ff8e00",error:"#ff5252"}},vuetify=createVuetify({components:{...components,VNumberInput,VTreeview},directives:{...directives,resize},theme:{defaultTheme:"nrdb",themes:{nrdb:theme}},defaults:{global:{density:"default"}}}),host=new URL(window.location.href);function forcePageReload(e){console.log("Reloading page:",e),console.log("redirecting to:",window.location.origin+"/dashboard"),window.location.replace(window.location.origin+"/dashboard?reloadTime="+Date.now().toString()+Math.random())}fetch("_setup").then(async e=>{var v;switch(!0){case(!e.ok&&e.status===401):forcePageReload("Unauthenticated");return;case!e.ok:console.error("Failed to fetch setup data:",e);return;case host.origin!==new URL(e.url).origin:console.log("Following redirect:",e.url),window.location.replace(e.url);return}const r=new URL(e.url).pathname.replace("/_setup",""),a=await e.json();if(a.basePath=r,(v=a.socketio)!=null&&v.path){const b=a.socketio.path.split("/socket.io")[0];a.socketio.path=a.socketio.path.replace(b,r)}store.commit("setup/set",a);let o=!1,u=0,d=null;const f=22,g=lookup({...a.socketio,reconnection:!1});g.on("disconnect",b=>{o||(u=0,o=!0),Alerts.emit("Connection Lost","Attempting to reconnect to server...","red",{displayTime:0,allowDismiss:!1,showCountdown:!1}),_()}),g.on("connect",()=>{console.log("SIO connected"),o&&Alerts.emit("Connected","Connection re-established.","#1BC318",{displayTime:1,allowDismiss:!0,showCountdown:!0}),o=!1,clearTimeout(d)}),g.on("connect_error",b=>{console.error("SIO connect error:",b,`err: ${JSON.stringify(b)}`),(b==null?void 0:b.code)==="parser error"&&forcePageReload("parser error")});function _(b=2500){o&&(g.connect(),u>=14?b=3e4:u>=4&&(b=5e3),u++,u<=f?d=setTimeout(_,b):forcePageReload("Too many retries"))}window.Vue=Vue,window.vuex=vuex;const S=createApp(App).use(store).use(vuetify).use(router),E=createHead();S.use(E),S.mixin(VueHeadMixin),S.mixin({methods:{setDynamicProperties(b){this.$store.commit("ui/widgetState",{widgetId:this.id,config:b})},updateDynamicProperty(b,y){if(!b&&typeof b!="string")throw new Error('updateDynamicProperty requires a valid, string "property" argument');if(typeof y<"u"){const T={};T[b]=y,this.$store.commit("ui/widgetState",{widgetId:this.id,config:T})}},getProperty(b){const y=this.props?this.props[b]:null,T=this.state[b];return this.state&&b in this.state&&T!==null?T:y}}}),S.provide("$socket",g),S.provide("$dataTracker",useDataTracker),S.mount("#app")}).catch(e=>{e instanceof TypeError&&e.message==="Failed to fetch"?forcePageReload(e):console.error("An error occurred:",e)});export{parseDirective$1 as $,utils$1 as A,rgba$1 as B,Color as C,setDiagramTitle as D,getDiagramTitle as E,clear as F,curveBasis as G,parseGenericTypes as H,getConfig as I,setupGraphViewbox as J,random as K,define as L,extend$1 as M,Color$1 as N,rgbConvert as O,nogamma as P,hue as Q,Rgb as R,Selection$1 as S,commonjsGlobal as T,Utils as U,getDefaultExportFromCjs as V,dayjs as W,selectSvgElement as X,constant$1 as Y,tau as Z,defaultConfig$1 as _,getAccDescription as a,cleanAndMerge as a0,parseFontSize as a1,arc as a2,getThemeVariables$2 as a3,interpolateNumber as a4,interpolate$1 as a5,addFunction as a6,ZERO_WIDTH_SPACE as a7,generateId as a8,isObjectLike as a9,eq as aA,Uint8Array$1 as aB,isTypedArray$1 as aC,isLength as aD,isIndex as aE,identity as aF,baseFor as aG,root as aH,baseRest as aI,isIterateeCall as aJ,baseAssignValue as aK,Set$1 as aL,isArrayLikeObject as aM,constant as aN,isEmpty$1 as aO,merge$2 as aP,lineBreakRegex as aQ,defaultConfig as aR,decodeEntities as aS,withPath as aT,commonDb$1 as aU,isDark as aV,lighten$1 as aW,darken$1 as aX,dedent as aY,baseGetTag as aa,Symbol$1 as ab,isArray$2 as ac,isObject$3 as ad,isArrayLike as ae,arrayLikeKeys as af,baseKeys as ag,memoize as ah,isArguments$1 as ai,setToString as aj,overRest as ak,copyObject as al,keysIn as am,getPrototype$1 as an,cloneArrayBuffer as ao,cloneTypedArray as ap,getTag$1 as aq,nodeUtil as ar,baseUnary as as,copyArray as at,isBuffer$1 as au,cloneBuffer as av,initCloneObject as aw,Stack as ax,assignValue as ay,MapCache as az,setAccDescription as b,getConfig$1 as c,sanitizeText$2 as d,assignWithDepth$1 as e,calculateTextWidth as f,getAccTitle as g,select as h,configureSvgSize as i,common$1 as j,calculateTextHeight as k,log$1 as l,mermaidAPI as m,dist as n,curveLinear as o,getStylesFromArray as p,evaluate as q,interpolateToCurve as r,setAccTitle as s,setupGraphViewbox$1 as t,setConfig as u,root$1 as v,wrapLabel as w,array as x,isPlainObject as y,isFunction as z};