Page MenuHomePhorge

scalar.js
No OneTemporary

Size
2 MB
Referenced Files
None
Subscribers
None

scalar.js

This file is larger than 256 KB, so syntax highlighting was skipped.
/**
* _____ _________ __ ___ ____
* / ___// ____/ | / / / | / __ \
* \__ \/ / / /| | / / / /| | / /_/ /
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
*
* @scalar/api-reference 1.25.38
*
* Website: https://scalar.com
* GitHub: https://github.com/scalar/scalar
* License: https://github.com/scalar/scalar/blob/main/LICENSE
**/
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){
"use strict";var e,t,n=Object.defineProperty,r=(e,t,r)=>((e,t,r)=>t in e?n(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:r
}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);function o(e,t={},n){
for(const r in e){const i=e[r],a=n?`${n}:${r}`:r
;"object"==typeof i&&null!==i?o(i,t,a):"function"==typeof i&&(t[a]=i)}return t}
const i={run:e=>e()},a=void 0!==console.createTask?console.createTask:()=>i
;function s(e,t){const n=t.shift(),r=a(n)
;return e.reduce(((e,n)=>e.then((()=>r.run((()=>n(...t)))))),Promise.resolve())}
function l(e,t){const n=t.shift(),r=a(n)
;return Promise.all(e.map((e=>r.run((()=>e(...t))))))}function c(e,t){
for(const n of[...e])n(t)}class u{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(e,t,n={}){
if(!e||"function"!=typeof t)return()=>{};const r=e;let o
;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to
;if(o&&!n.allowDeprecated){let e=o.message
;e||(e=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),
this._deprecatedMessages||(this._deprecatedMessages=new Set),
this._deprecatedMessages.has(e)||(console.warn(e),
this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{
get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}
return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{
t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){
let n,r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e))
;return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){
const n=this._hooks[e].indexOf(t)
;-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]
}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t
;const n=this._hooks[e]||[];delete this._hooks[e]
;for(const r of n)this.hook(e,r)}deprecateHooks(e){
Object.assign(this._deprecatedHooks,e)
;for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){
const t=o(e),n=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{
for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=o(e)
;for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){
for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){
return t.unshift(e),this.callHookWith(s,e,...t)}callHookParallel(e,...t){
return t.unshift(e),this.callHookWith(l,e,...t)}callHookWith(e,t,...n){
const r=this._before||this._after?{name:t,args:n,context:{}}:void 0
;this._before&&c(this._before,r)
;const o=e(t in this._hooks?[...this._hooks[t]]:[],n)
;return o instanceof Promise?o.finally((()=>{this._after&&r&&c(this._after,r)
})):(this._after&&r&&c(this._after,r),o)}beforeEach(e){
return this._before=this._before||[],this._before.push(e),()=>{
if(void 0!==this._before){const t=this._before.indexOf(e)
;-1!==t&&this._before.splice(t,1)}}}afterEach(e){
return this._after=this._after||[],this._after.push(e),()=>{
if(void 0!==this._after){const t=this._after.indexOf(e)
;-1!==t&&this._after.splice(t,1)}}}}
const d=["title","titleTemplate","script","style","noscript"],p=["base","meta","link","style","script","noscript"],h=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],f=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],m=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],g="undefined"!=typeof window
;function v(e){let t=9
;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9)
;return(65536+(t^t>>>9)).toString(16).substring(1,8).toLowerCase()}
function b(e){
return e._h||v(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map((([e,t])=>`${e}:${String(t)}`)).join(",")}`)
}function O(e,t){const{props:n,tag:r}=e;if(f.includes(r))return r
;if("link"===r&&"canonical"===n.rel)return"canonical"
;if(n.charset)return"charset";const o=["id"]
;"meta"===r&&o.push("name","property","http-equiv")
;for(const i of o)if(void 0!==n[i]){return`${r}:${i}:${String(n[i])}`}return!1}
function y(e,t){return null==e?t||null:"function"==typeof e?e(t):e}
function w(e,t){
const n=[],r=t.resolveKeyData||(e=>e.key),o=t.resolveValueData||(e=>e.value)
;for(const[i,a]of Object.entries(e))n.push(...(Array.isArray(a)?a:[a]).map((e=>{
const n={key:i,value:e},a=o(n)
;return"object"==typeof a?w(a,t):Array.isArray(a)?a:{
["function"==typeof t.key?t.key(n):t.key]:r(n),
["function"==typeof t.value?t.value(n):t.value]:a}})).flat());return n}
function k(e,t){return Object.entries(e).map((([e,n])=>{
if("object"==typeof n&&(n=k(n,t)),t.resolve){const r=t.resolve({key:e,value:n})
;if(void 0!==r)return r}
return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&t.wrapValue&&(n=n.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),
n=`${t.wrapValue}${n}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${n}`
})).join(t.entrySeparator||"")}const x=e=>({keyValue:e,metaKey:"property"
}),S=e=>({keyValue:e}),_={appleItunesApp:{unpack:{entrySeparator:", ",
resolve:({key:e,value:t})=>`${C(e)}=${t}`}},
articleExpirationTime:x("article:expiration_time"),
articleModifiedTime:x("article:modified_time"),
articlePublishedTime:x("article:published_time"),
bookReleaseDate:x("book:release_date"),charset:{metaKey:"charset"},
contentSecurityPolicy:{unpack:{entrySeparator:"; ",
resolve:({key:e,value:t})=>`${C(e)} ${t}`},metaKey:"http-equiv"},contentType:{
metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},
fbAppId:x("fb:app_id"),msapplicationConfig:S("msapplication-Config"),
msapplicationTileColor:S("msapplication-TileColor"),
msapplicationTileImage:S("msapplication-TileImage"),
ogAudioSecureUrl:x("og:audio:secure_url"),ogAudioUrl:x("og:audio"),
ogImageSecureUrl:x("og:image:secure_url"),ogImageUrl:x("og:image"),
ogSiteName:x("og:site_name"),ogVideoSecureUrl:x("og:video:secure_url"),
ogVideoUrl:x("og:video"),profileFirstName:x("profile:first_name"),
profileLastName:x("profile:last_name"),profileUsername:x("profile:username"),
refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",
resolve({key:e,value:t}){if("seconds"===e)return`${t}`}}},robots:{unpack:{
entrySeparator:", ",
resolve:({key:e,value:t})=>"boolean"==typeof t?`${C(e)}`:`${C(e)}:${t}`}},
xUaCompatible:{metaKey:"http-equiv"}},E=["og","book","article","profile"]
;function T(e){var t;const n=C(e).split(":")[0]
;return E.includes(n)?"property":(null==(t=_[e])?void 0:t.metaKey)||"name"}
function C(e){
const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.split("-")[0]
;return E.includes(n)||"twitter"===n?e.replace(/([A-Z])/g,":$1").toLowerCase():t
}function A(e){if(Array.isArray(e))return e.map((e=>A(e)))
;if("object"!=typeof e||Array.isArray(e))return e;const t={}
;for(const[n,r]of Object.entries(e))t[C(n)]=A(r);return t}function P(e,t){
const n=_[t];return"refresh"===t?`${e.seconds};url=${e.url}`:k(A(e),{
keyValueSeparator:"=",entrySeparator:", ",
resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,
...null==n?void 0:n.unpack})}
const D=["og:image","og:video","og:audio","twitter:image"];function $(e){
const t={};return Object.entries(e).forEach((([e,n])=>{
"false"!==String(n)&&e&&(t[e]=n)})),t}function R(e,t){const n=$(t),r=C(e),o=T(r)
;if(D.includes(r)){const t={};return Object.entries(n).forEach((([n,r])=>{
t[`${e}${"url"===n?"":`${n.charAt(0).toUpperCase()}${n.slice(1)}`}`]=r
})),N(t).sort(((e,t)=>{var n,r
;return((null==(n=e[o])?void 0:n.length)||0)-((null==(r=t[o])?void 0:r.length)||0)
}))}return[{[o]:r,...n}]}function N(e){const t=[],n={}
;Object.entries(e).forEach((([e,r])=>{if(Array.isArray(r))r.forEach((n=>{
t.push(..."string"==typeof n?N({[e]:n}):R(e,n))
}));else if("object"==typeof r&&r){
if(D.includes(C(e)))return void t.push(...R(e,r));n[e]=$(r)}else n[e]=r}))
;const r=w(n,{key:({key:e})=>T(e),
value:({key:e})=>"charset"===e?"charset":"content",
resolveKeyData:({key:e})=>function(e){var t
;return(null==(t=_[e])?void 0:t.keyValue)||C(e)}(e),
resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?P(e,t):"number"==typeof e?e.toString():e
});return[...t,...r].map((e=>("_null"===e.content&&(e.content=null),e)))}
function M(e,t){var n;const r="class"===e?" ":";"
;return"object"!=typeof t||Array.isArray(t)||(t=Object.entries(t).filter((([,e])=>e)).map((([t,n])=>"style"===e?`${t}:${n}`:t))),
null==(n=String(Array.isArray(t)?t.join(r):t))?void 0:n.split(r).filter((e=>e.trim())).filter(Boolean).join(r)
}async function I(e,t){
for(const n of Object.keys(e))if(["class","style"].includes(n))e[n]=M(n,e[n]);else if(e[n]instanceof Promise&&(e[n]=await e[n]),
!t&&!m.includes(n)){const t=String(e[n]),r=n.startsWith("data-")
;"true"===t||""===t?e[n]=!r||"true":e[n]||(r&&"false"===t?e[n]="false":delete e[n])
}return e}const L=10;async function j(e){const t=[]
;return Object.entries(e.resolvedInput).filter((([e,t])=>void 0!==t&&h.includes(e))).forEach((([n,r])=>{
const o=function(e){return Array.isArray(e)?e:[e]}(r)
;t.push(...o.map((t=>async function(e,t,n){const r={tag:e,
props:await I("object"!=typeof t||"function"==typeof t||t instanceof Promise?{
[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t}:{...t
},["templateParams","titleTemplate"].includes(e))};return m.forEach((e=>{
const t=void 0!==r.props[e]?r.props[e]:n[e]
;void 0!==t&&(["innerHTML","textContent","children"].includes(e)&&!d.includes(r.tag)||(r["children"===e?"innerHTML":e]=t),
delete r.props[e])
})),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),
"script"===r.tag&&"object"==typeof r.innerHTML&&(r.innerHTML=JSON.stringify(r.innerHTML),
r.props.type=r.props.type||"application/json"),
Array.isArray(r.props.content)?r.props.content.map((e=>({...r,props:{...r.props,
content:e}}))):r}(n,t,e))).flat())
})),(await Promise.all(t)).flat().filter(Boolean).map(((t,n)=>(t._e=e._i,
e.mode&&(t._m=e.mode),t._p=(e._i<<L)+n,t)))}const B={base:-10,title:10},Q={
critical:-80,high:-10,low:20};function U(e){let t=100;const n=e.tagPriority
;return"number"==typeof n?n:("meta"===e.tag?("content-security-policy"===e.props["http-equiv"]&&(t=-30),
e.props.charset&&(t=-20),
"viewport"===e.props.name&&(t=-15)):"link"===e.tag&&"preconnect"===e.props.rel?t=20:e.tag in B&&(t=B[e.tag]),
"string"==typeof n&&n in Q?t+Q[n]:t)}const F=[{prefix:"before:",offset:-1},{
prefix:"after:",offset:1
}],z=["onload","onerror","onabort","onprogress","onloadstart"],q="%separator"
;function H(e,t,n){if("string"!=typeof e||!e.includes("%"))return e;let r=e;try{
r=decodeURI(e)}catch{}
return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach((n=>{
const r=function(e){let n
;return n=["s","pageTitle"].includes(e)?t.pageTitle:e.includes(".")?e.split(".").reduce(((e,t)=>e&&e[t]||void 0),t):t[e],
void 0!==n&&(n||"").replace(/"/g,'\\"')}(n.slice(1))
;"string"==typeof r&&(e=e.replace(new RegExp(`\\${n}(\\W|$)`,"g"),((e,t)=>`${r}${t}`)).trim())
})),
e.includes(q)&&(e.endsWith(q)&&(e=e.slice(0,-10).trim()),e.startsWith(q)&&(e=e.slice(10).trim()),
e=H(e=e.replace(new RegExp(`\\${q}\\s*\\${q}`,"g"),q),{separator:n},n)),e}
async function V(e,t={}){const n=t.delayFn||(e=>setTimeout(e,10))
;return e._domUpdatePromise=e._domUpdatePromise||new Promise((r=>n((async()=>{
await async function(e,t={}){var n
;const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const o={
shouldRender:!0,tags:[]}
;if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return
;const i=(await e.resolveTags()).map((e=>({tag:e,
id:p.includes(e.tag)?b(e):e.tag,shouldRender:!0})));let a=e._dom;if(!a){a={
elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}}
;for(const e of["body","head"]){const t=null==(n=r[e])?void 0:n.children,o=[]
;for(const e of[...t].filter((e=>p.includes(e.tagName.toLowerCase())))){
const t={tag:e.tagName.toLowerCase(),
props:await I(e.getAttributeNames().reduce(((t,n)=>({...t,[n]:e.getAttribute(n)
})),{})),innerHTML:e.innerHTML};let n=1,r=O(t)
;for(;r&&o.find((e=>e._d===r));)r=`${r}:${n++}`
;t._d=r||void 0,o.push(t),a.elMap[e.getAttribute("data-hid")||b(t)]=e}}}
function s(e,t,n){const r=`${e}:${t}`
;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}
function l({id:e,$el:t,tag:n}){const o=n.tag.endsWith("Attrs")
;a.elMap[e]=t,o||(["textContent","innerHTML"].forEach((e=>{
n[e]&&n[e]!==t[e]&&(t[e]=n[e])})),s(e,"el",(()=>{var t
;null==(t=a.elMap[e])||t.remove(),delete a.elMap[e]})))
;for(const[i,a]of Object.entries(n._eventHandlers||{}))""!==t.getAttribute(`data-${i}`)&&(("bodyAttrs"===n.tag?r.defaultView:t).addEventListener(i.replace("on",""),a.bind(t)),
t.setAttribute(`data-${i}`,""));Object.entries(n.props).forEach((([n,r])=>{
const i=`attr:${n}`
;if("class"===n)for(const a of(r||"").split(" ").filter(Boolean))o&&s(e,`${i}:${a}`,(()=>t.classList.remove(a))),
!t.classList.contains(a)&&t.classList.add(a);else if("style"===n)for(const o of(r||"").split(";").filter(Boolean)){
const[n,...r]=o.split(":").map((e=>e.trim()));s(e,`${i}:${o}:${n}`,(()=>{
t.style.removeProperty(n)})),t.style.setProperty(n,r.join(":"))
}else t.getAttribute(n)!==r&&t.setAttribute(n,!0===r?"":String(r)),
o&&s(e,i,(()=>t.removeAttribute(n)))}))}a.pendingSideEffects={
...a.sideEffects||{}},a.sideEffects={};const c=[],u={bodyClose:void 0,
bodyOpen:void 0,head:void 0};for(const d of i){
const{tag:e,shouldRender:t,id:n}=d;t&&("title"!==e.tag?(d.$el=d.$el||a.elMap[n],
d.$el?l(d):p.includes(e.tag)&&c.push(d)):r.title=e.textContent)}
for(const d of c){const e=d.tag.tagPosition||"head"
;d.$el=r.createElement(d.tag.tag),
l(d),u[e]=u[e]||r.createDocumentFragment(),u[e].appendChild(d.$el)}
for(const d of i)await e.hooks.callHook("dom:renderTag",d,r,s)
;u.head&&r.head.appendChild(u.head),
u.bodyOpen&&r.body.insertBefore(u.bodyOpen,r.body.firstChild),
u.bodyClose&&r.body.appendChild(u.bodyClose),
Object.values(a.pendingSideEffects).forEach((e=>e())),
e._dom=a,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:i})
}(e,t),delete e._domUpdatePromise,r()}))))}function Z(e){return t=>{var n,r
;const o=(null==(r=null==(n=t.resolvedOptions.document)?void 0:n.head.querySelector('script[id="unhead:payload"]'))?void 0:r.innerHTML)||!1
;return o&&t.push(JSON.parse(o)),{mode:"client",hooks:{
"entries:updated":function(t){V(t,e)}}}}}
const W=["templateParams","htmlAttrs","bodyAttrs"],X={hooks:{
"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach((t=>{
e.props[t]&&(e.key=e.props[t],delete e.props[t])}))
;const t=O(e)||!!e.key&&`${e.tag}:${e.key}`;t&&(e._d=t)},
"tags:resolve":function(e){const t={};e.tags.forEach((e=>{
const n=(e.key?`${e.tag}:${e.key}`:e._d)||e._p,r=t[n];if(r){
let o=null==e?void 0:e.tagDuplicateStrategy
;if(!o&&W.includes(e.tag)&&(o="merge"),"merge"===o){const o=r.props
;return["class","style"].forEach((t=>{
o[t]&&(e.props[t]?("style"!==t||o[t].endsWith(";")||(o[t]+=";"),
e.props[t]=`${o[t]} ${e.props[t]}`):e.props[t]=o[t])})),void(t[n].props={...o,
...e.props})}
if(e._e===r._e)return r._duped=r._duped||[],e._d=`${r._d}:${r._duped.length+1}`,
void r._duped.push(e);if(U(e)>U(r))return}
const o=Object.keys(e.props).length+(e.innerHTML?1:0)+(e.textContent?1:0)
;p.includes(e.tag)&&0===o?delete t[n]:t[n]=e}));const n=[]
;Object.values(t).forEach((e=>{const t=e._duped
;delete e._duped,n.push(e),t&&n.push(...t)
})),e.tags=n,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))
}}},G={mode:"server",hooks:{"tags:resolve":function(e){const t={}
;e.tags.filter((e=>["titleTemplate","templateParams","title"].includes(e.tag)&&"server"===e._m)).forEach((e=>{
t[e.tag]=e.tag.startsWith("title")?e.textContent:e.props
})),Object.keys(t).length&&e.tags.push({tag:"script",
innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}
})}}},Y=["script","link","bodyAttrs"],K=e=>({hooks:{"tags:resolve":function(t){
for(const n of t.tags.filter((e=>Y.includes(e.tag))))Object.entries(n.props).forEach((([t,r])=>{
t.startsWith("on")&&"function"==typeof r&&(e.ssr&&z.includes(t)?n.props[t]=`this.dataset.${t}fired = true`:delete n.props[t],
n._eventHandlers=n._eventHandlers||{},n._eventHandlers[t]=r)
})),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||v(n.props.src||n.props.href))
},"dom:renderTag":function({$el:e,tag:t}){var n,r
;for(const o of Object.keys((null==e?void 0:e.dataset)||{}).filter((e=>z.some((t=>`${t}fired`===e))))){
const i=o.replace("fired","")
;null==(r=null==(n=t._eventHandlers)?void 0:n[i])||r.call(e,new Event(i.replace("on","")))
}}}}),J=["link","style","script","noscript"],ee={hooks:{
"tag:normalise":({tag:e})=>{
e.key&&J.includes(e.tag)&&(e.props["data-hid"]=e._h=v(e.key))}}},te={hooks:{
"tags:resolve":e=>{const t=t=>{var n
;return null==(n=e.tags.find((e=>e._d===t)))?void 0:n._p}
;for(const{prefix:n,offset:r}of F)for(const o of e.tags.filter((e=>"string"==typeof e.tagPriority&&e.tagPriority.startsWith(n)))){
const e=t(o.tagPriority.replace(n,""));void 0!==e&&(o._p=e+r)}
e.tags.sort(((e,t)=>e._p-t._p)).sort(((e,t)=>U(e)-U(t)))}}},ne={meta:"content",
link:"href",htmlAttrs:"lang"},re=e=>({hooks:{"tags:resolve":t=>{var n
;const{tags:r}=t,o=null==(n=r.find((e=>"title"===e.tag)))?void 0:n.textContent,i=r.findIndex((e=>"templateParams"===e.tag)),a=-1!==i?r[i].props:{},s=a.separator||"|"
;delete a.separator,a.pageTitle=H(a.pageTitle||o||"",a,s)
;for(const e of r.filter((e=>!1!==e.processTemplateParams))){const t=ne[e.tag]
;t&&"string"==typeof e.props[t]?e.props[t]=H(e.props[t],a,s):(!0===e.processTemplateParams||["titleTemplate","title"].includes(e.tag))&&["innerHTML","textContent"].forEach((t=>{
"string"==typeof e[t]&&(e[t]=H(e[t],a,s))}))}e._templateParams=a,e._separator=s,
t.tags=r.filter((e=>"templateParams"!==e.tag))}}}),oe={hooks:{
"tags:resolve":e=>{const{tags:t}=e
;let n=t.findIndex((e=>"titleTemplate"===e.tag))
;const r=t.findIndex((e=>"title"===e.tag));if(-1!==r&&-1!==n){
const e=y(t[n].textContent,t[r].textContent)
;null!==e?t[r].textContent=e||t[r].textContent:delete t[r]}else if(-1!==n){
const e=y(t[n].textContent);null!==e&&(t[n].textContent=e,t[n].tag="title",n=-1)
}-1!==n&&delete t[n],e.tags=t.filter(Boolean)}}},ie={hooks:{
"tags:afterResolve":function(e){
for(const t of e.tags)"string"==typeof t.innerHTML&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))
}}};let ae;function se(e={}){const t=function(e={}){const t=new u
;t.addHooks(e.hooks||{}),e.document=e.document||(g?document:void 0)
;const n=!e.document,r=()=>{s.dirty=!0,t.callHook("entries:updated",s)}
;let o=0,i=[];const a=[],s={plugins:a,dirty:!1,resolvedOptions:e,hooks:t,
headEntries:()=>i,use(e){const r="function"==typeof e?e(s):e
;r.key&&a.some((e=>e.key===r.key))||(a.push(r),
le(r.mode,n)&&t.addHooks(r.hooks||{}))},push(e,a){null==a||delete a.head
;const l={_i:o++,input:e,...a};return le(l.mode,n)&&(i.push(l),r()),{dispose(){
i=i.filter((e=>e._i!==l._i)),t.callHook("entries:updated",s),r()},patch(e){
i=i.map((t=>(t._i===l._i&&(t.input=l.input=e),t))),r()}}},async resolveTags(){
const e={tags:[],entries:[...i]};await t.callHook("entries:resolve",e)
;for(const n of e.entries){const r=n.resolvedInput||n.input
;if(n.resolvedInput=await(n.transform?n.transform(r):r),
n.resolvedInput)for(const o of await j(n)){const r={tag:o,entry:n,
resolvedOptions:s.resolvedOptions}
;await t.callHook("tag:normalise",r),e.tags.push(r.tag)}}
return await t.callHook("tags:beforeResolve",e),
await t.callHook("tags:resolve",e),
await t.callHook("tags:afterResolve",e),e.tags},ssr:n}
;return[X,G,K,ee,te,re,oe,ie,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),
s.hooks.callHook("init",s),s}(e);return t.use(Z()),ae=t}function le(e,t){
return!e||"server"===e&&t||"client"===e&&!t}
/**
* @vue/shared v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
function ce(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1
;return e=>e in t}
const ue={},de=[],pe=()=>{},he=()=>!1,fe=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),me=e=>e.startsWith("onUpdate:"),ge=Object.assign,ve=(e,t)=>{
const n=e.indexOf(t);n>-1&&e.splice(n,1)
},be=Object.prototype.hasOwnProperty,Oe=(e,t)=>be.call(e,t),ye=Array.isArray,we=e=>"[object Map]"===Pe(e),ke=e=>"[object Set]"===Pe(e),xe=e=>"[object Date]"===Pe(e),Se=e=>"function"==typeof e,_e=e=>"string"==typeof e,Ee=e=>"symbol"==typeof e,Te=e=>null!==e&&"object"==typeof e,Ce=e=>(Te(e)||Se(e))&&Se(e.then)&&Se(e.catch),Ae=Object.prototype.toString,Pe=e=>Ae.call(e),De=e=>Pe(e).slice(8,-1),$e=e=>"[object Object]"===Pe(e),Re=e=>_e(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Ne=ce(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Me=e=>{
const t=Object.create(null);return n=>t[n]||(t[n]=e(n))
},Ie=/-(\w)/g,Le=Me((e=>e.replace(Ie,((e,t)=>t?t.toUpperCase():"")))),je=/\B([A-Z])/g,Be=Me((e=>e.replace(je,"-$1").toLowerCase())),Qe=Me((e=>e.charAt(0).toUpperCase()+e.slice(1))),Ue=Me((e=>e?`on${Qe(e)}`:"")),Fe=(e,t)=>!Object.is(e,t),ze=(e,...t)=>{
for(let n=0;n<e.length;n++)e[n](...t)},qe=(e,t,n,r=!1)=>{
Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})
},He=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ve=e=>{
const t=_e(e)?Number(e):NaN;return isNaN(t)?e:t};let Ze
;const We=()=>Ze||(Ze="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})
;function Xe(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++){
const r=e[n],o=_e(r)?Je(r):Xe(r);if(o)for(const e in o)t[e]=o[e]}return t}
if(_e(e)||Te(e))return e}
const Ge=/;(?![^(]*\))/g,Ye=/:([^]+)/,Ke=/\/\*[^]*?\*\//g;function Je(e){
const t={};return e.replace(Ke,"").split(Ge).forEach((e=>{if(e){
const n=e.split(Ye);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}
function et(e){let t="";if(_e(e))t=e;else if(ye(e))for(let n=0;n<e.length;n++){
const r=et(e[n]);r&&(t+=r+" ")}else if(Te(e))for(const n in e)e[n]&&(t+=n+" ")
;return t.trim()}function tt(e){if(!e)return null;let{class:t,style:n}=e
;return t&&!_e(t)&&(e.class=et(t)),n&&(e.style=Xe(n)),e}
const nt=ce("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly")
;function rt(e){return!!e||""===e}function ot(e,t){if(e===t)return!0
;let n=xe(e),r=xe(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime()
;if(n=Ee(e),r=Ee(t),n||r)return e===t
;if(n=ye(e),r=ye(t),n||r)return!(!n||!r)&&function(e,t){
if(e.length!==t.length)return!1;let n=!0
;for(let r=0;n&&r<e.length;r++)n=ot(e[r],t[r]);return n}(e,t)
;if(n=Te(e),r=Te(t),n||r){if(!n||!r)return!1
;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){
const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n)
;if(r&&!o||!r&&o||!ot(e[n],t[n]))return!1}}return String(e)===String(t)}
function it(e,t){return e.findIndex((e=>ot(e,t)))}
const at=e=>!(!e||!0!==e.__v_isRef),st=e=>_e(e)?e:null==e?"":ye(e)||Te(e)&&(e.toString===Ae||!Se(e.toString))?at(e)?st(e.value):JSON.stringify(e,lt,2):String(e),lt=(e,t)=>at(t)?lt(e,t.value):we(t)?{
[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[ct(t,r)+" =>"]=n,
e)),{})}:ke(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ct(e)))
}:Ee(t)?ct(t):!Te(t)||ye(t)||$e(t)?t:String(t),ct=(e,t="")=>{var n
;return Ee(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};
/**
* @vue/reactivity v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
let ut,dt;class pt{constructor(e=!1){
this.detached=e,this._active=!0,this.effects=[],
this.cleanups=[],this._isPaused=!1,
this.parent=ut,!e&&ut&&(this.index=(ut.scopes||(ut.scopes=[])).push(this)-1)}
get active(){return this._active}pause(){if(this._active){let e,t
;if(this._isPaused=!0,
this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,
t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){
if(this._active&&this._isPaused){let e,t
;if(this._isPaused=!1,this.scopes)for(e=0,
t=this.scopes.length;e<t;e++)this.scopes[e].resume()
;for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){
if(this._active){const t=ut;try{return ut=this,e()}finally{ut=t}}}on(){ut=this}
off(){ut=this.parent}stop(e){if(this._active){let t,n
;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop()
;for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]()
;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0)
;if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop()
;e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}
this.parent=void 0,this._active=!1}}}function ht(){return ut}
function ft(e,t=!1){ut&&ut.cleanups.push(e)}const mt=new WeakSet;class gt{
constructor(e){
this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,
this.cleanup=void 0,this.scheduler=void 0,ut&&ut.active&&ut.effects.push(this)}
pause(){this.flags|=64}resume(){
64&this.flags&&(this.flags&=-65,mt.has(this)&&(mt.delete(this),this.trigger()))}
notify(){2&this.flags&&!(32&this.flags)||8&this.flags||yt(this)}run(){
if(!(1&this.flags))return this.fn();this.flags|=2,Rt(this),xt(this)
;const e=dt,t=At;dt=this,At=!0;try{return this.fn()}finally{
St(this),dt=e,At=t,this.flags&=-3}}stop(){if(1&this.flags){
for(let e=this.deps;e;e=e.nextDep)Tt(e);this.deps=this.depsTail=void 0,Rt(this),
this.onStop&&this.onStop(),this.flags&=-2}}trigger(){
64&this.flags?mt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}
runIfDirty(){_t(this)&&this.run()}get dirty(){return _t(this)}}let vt,bt,Ot=0
;function yt(e,t=!1){if(e.flags|=8,t)return e.next=bt,void(bt=e);e.next=vt,vt=e}
function wt(){Ot++}function kt(){if(--Ot>0)return;if(bt){let e=bt
;for(bt=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e
;for(;vt;){let n=vt;for(vt=void 0;n;){const r=n.next
;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}
if(e)throw e}function xt(e){
for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,
t.dep.activeLink=t}function St(e){let t,n=e.depsTail,r=n;for(;r;){
const e=r.prevDep
;-1===r.version?(r===n&&(n=e),Tt(r),Ct(r)):t=r,r.dep.activeLink=r.prevActiveLink,
r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function _t(e){
for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Et(t.dep.computed)||t.dep.version!==t.version))return!0
;return!!e._dirty}function Et(e){if(4&e.flags&&!(16&e.flags))return
;if(e.flags&=-17,e.globalVersion===Nt)return;e.globalVersion=Nt;const t=e.dep
;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!_t(e))return void(e.flags&=-3)
;const n=dt,r=At;dt=e,At=!0;try{xt(e);const n=e.fn(e._value)
;(0===t.version||Fe(n,e._value))&&(e._value=n,t.version++)}catch(o){
throw t.version++,o}finally{dt=n,At=r,St(e),e.flags&=-3}}function Tt(e,t=!1){
const{dep:n,prevSub:r,nextSub:o}=e
;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,
e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5
;for(let e=n.computed.deps;e;e=e.nextDep)Tt(e,!0)}
t||--n.sc||!n.map||n.map.delete(n.key)}function Ct(e){
const{prevDep:t,nextDep:n}=e
;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let At=!0
;const Pt=[];function Dt(){Pt.push(At),At=!1}function $t(){const e=Pt.pop()
;At=void 0===e||e}function Rt(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){
const e=dt;dt=void 0;try{t()}finally{dt=e}}}let Nt=0;class Mt{constructor(e,t){
this.sub=e,
this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0
}}class It{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,
this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){
if(!dt||!At||dt===this.computed)return;let t=this.activeLink
;if(void 0===t||t.sub!==dt)t=this.activeLink=new Mt(dt,this),
dt.deps?(t.prevDep=dt.depsTail,
dt.depsTail.nextDep=t,dt.depsTail=t):dt.deps=dt.depsTail=t,
Lt(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){
const e=t.nextDep
;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=dt.depsTail,
t.nextDep=void 0,dt.depsTail.nextDep=t,dt.depsTail=t,dt.deps===t&&(dt.deps=e)}
return t}trigger(e){this.version++,Nt++,this.notify(e)}notify(e){wt();try{0
;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{
kt()}}}function Lt(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed
;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Lt(e)}
const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}
const jt=new WeakMap,Bt=Symbol(""),Qt=Symbol(""),Ut=Symbol("")
;function Ft(e,t,n){if(At&&dt){let t=jt.get(e);t||jt.set(e,t=new Map)
;let r=t.get(n);r||(t.set(n,r=new It),r.map=t,r.key=n),r.track()}}
function zt(e,t,n,r,o,i){const a=jt.get(e);if(!a)return void Nt++;const s=e=>{
e&&e.trigger()};if(wt(),"clear"===t)a.forEach(s);else{const o=ye(e),i=o&&Re(n)
;if(o&&"length"===n){const e=Number(r);a.forEach(((t,n)=>{
("length"===n||n===Ut||!Ee(n)&&n>=e)&&s(t)}))
}else switch((void 0!==n||a.has(void 0))&&s(a.get(n)),i&&s(a.get(Ut)),t){
case"add":o?i&&s(a.get("length")):(s(a.get(Bt)),we(e)&&s(a.get(Qt)));break
;case"delete":o||(s(a.get(Bt)),we(e)&&s(a.get(Qt)));break;case"set":
we(e)&&s(a.get(Bt))}}kt()}function qt(e){const t=$n(e)
;return t===e?t:(Ft(t,0,Ut),Pn(e)?t:t.map(Rn))}function Ht(e){
return Ft(e=$n(e),0,Ut),e}const Vt={__proto__:null,[Symbol.iterator](){
return Zt(this,Symbol.iterator,Rn)},concat(...e){
return qt(this).concat(...e.map((e=>ye(e)?qt(e):e)))},entries(){
return Zt(this,"entries",(e=>(e[1]=Rn(e[1]),e)))},every(e,t){
return Xt(this,"every",e,t,void 0,arguments)},filter(e,t){
return Xt(this,"filter",e,t,(e=>e.map(Rn)),arguments)},find(e,t){
return Xt(this,"find",e,t,Rn,arguments)},findIndex(e,t){
return Xt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){
return Xt(this,"findLast",e,t,Rn,arguments)},findLastIndex(e,t){
return Xt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){
return Xt(this,"forEach",e,t,void 0,arguments)},includes(...e){
return Yt(this,"includes",e)},indexOf(...e){return Yt(this,"indexOf",e)},
join(e){return qt(this).join(e)},lastIndexOf(...e){
return Yt(this,"lastIndexOf",e)},map(e,t){
return Xt(this,"map",e,t,void 0,arguments)},pop(){return Kt(this,"pop")},
push(...e){return Kt(this,"push",e)},reduce(e,...t){return Gt(this,"reduce",e,t)
},reduceRight(e,...t){return Gt(this,"reduceRight",e,t)},shift(){
return Kt(this,"shift")},some(e,t){return Xt(this,"some",e,t,void 0,arguments)},
splice(...e){return Kt(this,"splice",e)},toReversed(){
return qt(this).toReversed()},toSorted(e){return qt(this).toSorted(e)},
toSpliced(...e){return qt(this).toSpliced(...e)},unshift(...e){
return Kt(this,"unshift",e)},values(){return Zt(this,"values",Rn)}}
;function Zt(e,t,n){const r=Ht(e),o=r[t]();return r===e||Pn(e)||(o._next=o.next,
o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}
const Wt=Array.prototype;function Xt(e,t,n,r,o,i){
const a=Ht(e),s=a!==e&&!Pn(e),l=a[t];if(l!==Wt[t]){const t=l.apply(e,i)
;return s?Rn(t):t}let c=n;a!==e&&(s?c=function(t,r){
return n.call(this,Rn(t),r,e)}:n.length>2&&(c=function(t,r){
return n.call(this,t,r,e)}));const u=l.call(a,c,r);return s&&o?o(u):u}
function Gt(e,t,n,r){const o=Ht(e);let i=n
;return o!==e&&(Pn(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)
}):i=function(t,r,o){return n.call(this,t,Rn(r),o,e)}),o[t](i,...r)}
function Yt(e,t,n){const r=$n(e);Ft(r,0,Ut);const o=r[t](...n)
;return-1!==o&&!1!==o||!Dn(n[0])?o:(n[0]=$n(n[0]),r[t](...n))}
function Kt(e,t,n=[]){Dt(),wt();const r=$n(e)[t].apply(e,n);return kt(),$t(),r}
const Jt=ce("__proto__,__v_isRef,__isVue"),en=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Ee))
;function tn(e){Ee(e)||(e=String(e));const t=$n(this)
;return Ft(t,0,e),t.hasOwnProperty(e)}class nn{constructor(e=!1,t=!1){
this._isReadonly=e,this._isShallow=t}get(e,t,n){
const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r
;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o
;if("__v_raw"===t)return n===(r?o?kn:wn:o?yn:On).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0
;const i=ye(e);if(!r){let e;if(i&&(e=Vt[t]))return e
;if("hasOwnProperty"===t)return tn}const a=Reflect.get(e,t,Mn(e)?e:n)
;return(Ee(t)?en.has(t):Jt(t))?a:(r||Ft(e,0,t),
o?a:Mn(a)?i&&Re(t)?a:a.value:Te(a)?r?_n(a):xn(a):a)}}class rn extends nn{
constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){
const t=An(o)
;if(Pn(n)||An(n)||(o=$n(o),n=$n(n)),!ye(e)&&Mn(o)&&!Mn(n))return!t&&(o.value=n,
!0)}
const i=ye(e)&&Re(t)?Number(t)<e.length:Oe(e,t),a=Reflect.set(e,t,n,Mn(e)?e:r)
;return e===$n(r)&&(i?Fe(n,o)&&zt(e,"set",t,n):zt(e,"add",t,n)),a}
deleteProperty(e,t){const n=Oe(e,t);e[t];const r=Reflect.deleteProperty(e,t)
;return r&&n&&zt(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t)
;return Ee(t)&&en.has(t)||Ft(e,0,t),n}ownKeys(e){
return Ft(e,0,ye(e)?"length":Bt),Reflect.ownKeys(e)}}class on extends nn{
constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}
const an=new rn,sn=new on,ln=new rn(!0),cn=new on(!0),un=e=>e,dn=e=>Reflect.getPrototypeOf(e)
;function pn(e){return function(...t){
return"delete"!==e&&("clear"===e?void 0:this)}}function hn(e,t){const n={get(n){
const r=this.__v_raw,o=$n(r),i=$n(n);e||(Fe(n,i)&&Ft(o,0,n),Ft(o,0,i))
;const{has:a}=dn(o),s=t?un:e?Nn:Rn
;return a.call(o,n)?s(r.get(n)):a.call(o,i)?s(r.get(i)):void(r!==o&&r.get(n))},
get size(){const t=this.__v_raw;return!e&&Ft($n(t),0,Bt),Reflect.get(t,"size",t)
},has(t){const n=this.__v_raw,r=$n(n),o=$n(t)
;return e||(Fe(t,o)&&Ft(r,0,t),Ft(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},
forEach(n,r){const o=this,i=o.__v_raw,a=$n(i),s=t?un:e?Nn:Rn
;return!e&&Ft(a,0,Bt),i.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}};ge(n,e?{
add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(e){
t||Pn(e)||An(e)||(e=$n(e));const n=$n(this)
;return dn(n).has.call(n,e)||(n.add(e),zt(n,"add",e,e)),this},set(e,n){
t||Pn(n)||An(n)||(n=$n(n));const r=$n(this),{has:o,get:i}=dn(r)
;let a=o.call(r,e);a||(e=$n(e),a=o.call(r,e));const s=i.call(r,e)
;return r.set(e,n),a?Fe(n,s)&&zt(r,"set",e,n):zt(r,"add",e,n),this},delete(e){
const t=$n(this),{has:n,get:r}=dn(t);let o=n.call(t,e)
;o||(e=$n(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e)
;return o&&zt(t,"delete",e,void 0),i},clear(){
const e=$n(this),t=0!==e.size,n=e.clear();return t&&zt(e,"clear",void 0,void 0),
n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{
n[r]=function(e,t,n){return function(...r){
const o=this.__v_raw,i=$n(o),a=we(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=o[e](...r),u=n?un:t?Nn:Rn
;return!t&&Ft(i,0,l?Qt:Bt),{next(){const{value:e,done:t}=c.next();return t?{
value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){
return this}}}}(r,e,t)})),n}function fn(e,t){const n=hn(e,t)
;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Oe(n,r)&&r in t?n:t,r,o)
}const mn={get:fn(!1,!1)},gn={get:fn(!1,!0)},vn={get:fn(!0,!1)},bn={
get:fn(!0,!0)},On=new WeakMap,yn=new WeakMap,wn=new WeakMap,kn=new WeakMap
;function xn(e){return An(e)?e:Tn(e,!1,an,mn,On)}function Sn(e){
return Tn(e,!1,ln,gn,yn)}function _n(e){return Tn(e,!0,sn,vn,wn)}function En(e){
return Tn(e,!0,cn,bn,kn)}function Tn(e,t,n,r,o){if(!Te(e))return e
;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i
;const a=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){
case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":
case"WeakSet":return 2;default:return 0}}(De(s));var s;if(0===a)return e
;const l=new Proxy(e,2===a?r:n);return o.set(e,l),l}function Cn(e){
return An(e)?Cn(e.__v_raw):!(!e||!e.__v_isReactive)}function An(e){
return!(!e||!e.__v_isReadonly)}function Pn(e){return!(!e||!e.__v_isShallow)}
function Dn(e){return!!e&&!!e.__v_raw}function $n(e){const t=e&&e.__v_raw
;return t?$n(t):e}const Rn=e=>Te(e)?xn(e):e,Nn=e=>Te(e)?_n(e):e;function Mn(e){
return!!e&&!0===e.__v_isRef}function In(e){return jn(e,!1)}function Ln(e){
return jn(e,!0)}function jn(e,t){return Mn(e)?e:new Bn(e,t)}class Bn{
constructor(e,t){
this.dep=new It,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:$n(e),
this._value=t?e:Rn(e),this.__v_isShallow=t}get value(){
return this.dep.track(),this._value}set value(e){
const t=this._rawValue,n=this.__v_isShallow||Pn(e)||An(e)
;e=n?e:$n(e),Fe(e,t)&&(this._rawValue=e,
this._value=n?e:Rn(e),this.dep.trigger())}}function Qn(e){return Mn(e)?e.value:e
}function Un(e){return Se(e)?e():Qn(e)}const Fn={
get:(e,t,n)=>"__v_raw"===t?e:Qn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t]
;return Mn(o)&&!Mn(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function zn(e){
return Cn(e)?e:new Proxy(e,Fn)}class qn{constructor(e){
this.__v_isRef=!0,this._value=void 0
;const t=this.dep=new It,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t))
;this._get=n,this._set=r}get value(){return this._value=this._get()}
set value(e){this._set(e)}}function Hn(e){return new qn(e)}function Vn(e){
const t=ye(e)?new Array(e.length):{};for(const n in e)t[n]=Gn(e,n);return t}
class Zn{constructor(e,t,n){
this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,
this._value=void 0}get value(){const e=this._object[this._key]
;return this._value=void 0===e?this._defaultValue:e}set value(e){
this._object[this._key]=e}get dep(){return function(e,t){const n=jt.get(e)
;return n&&n.get(t)}($n(this._object),this._key)}}class Wn{constructor(e){
this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}
get value(){return this._value=this._getter()}}function Xn(e,t,n){
return Mn(e)?e:Se(e)?new Wn(e):Te(e)&&arguments.length>1?Gn(e,t,n):In(e)}
function Gn(e,t,n){const r=e[t];return Mn(r)?r:new Zn(e,t,n)}class Yn{
constructor(e,t,n){
this.fn=e,this.setter=t,this._value=void 0,this.dep=new It(this),
this.__v_isRef=!0,
this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Nt-1,
this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){
if(this.flags|=16,!(8&this.flags)&&dt!==this)return yt(this,!0),!0}get value(){
const e=this.dep.track()
;return Et(this),e&&(e.version=this.dep.version),this._value}set value(e){
this.setter&&this.setter(e)}}const Kn={},Jn=new WeakMap;let er
;function tr(e,t,n=ue){
const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:s,call:l}=n,c=e=>o?e:Pn(e)||!1===o||0===o?nr(e,1):nr(e)
;let u,d,p,h,f=!1,m=!1
;if(Mn(e)?(d=()=>e.value,f=Pn(e)):Cn(e)?(d=()=>c(e),f=!0):ye(e)?(m=!0,
f=e.some((e=>Cn(e)||Pn(e))),
d=()=>e.map((e=>Mn(e)?e.value:Cn(e)?c(e):Se(e)?l?l(e,2):e():void 0))):d=Se(e)?t?l?()=>l(e,2):e:()=>{
if(p){Dt();try{p()}finally{$t()}}const t=er;er=u;try{return l?l(e,3,[h]):e(h)
}finally{er=t}}:pe,t&&o){const e=d,t=!0===o?1/0:o;d=()=>nr(e(),t)}
const g=ht(),v=()=>{u.stop(),g&&ve(g.effects,u)};if(i&&t){const e=t;t=(...t)=>{
e(...t),v()}}let b=m?new Array(e.length).fill(Kn):Kn;const O=e=>{
if(1&u.flags&&(u.dirty||e))if(t){const e=u.run()
;if(o||f||(m?e.some(((e,t)=>Fe(e,b[t]))):Fe(e,b))){p&&p();const n=er;er=u;try{
const n=[e,b===Kn?void 0:m&&b[0]===Kn?[]:b,h];l?l(t,3,n):t(...n),b=e}finally{
er=n}}}else u.run()}
;return s&&s(O),u=new gt(d),u.scheduler=a?()=>a(O,!1):O,h=e=>function(e,t=!1,n=er){
if(n){let t=Jn.get(n);t||Jn.set(n,t=[]),t.push(e)}}(e,!1,u),p=u.onStop=()=>{
const e=Jn.get(u);if(e){if(l)l(e,4);else for(const t of e)t();Jn.delete(u)}
},t?r?O(!0):b=u.run():a?a(O.bind(null,!0),!0):u.run(),
v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}
function nr(e,t=1/0,n){if(t<=0||!Te(e)||e.__v_skip)return e
;if((n=n||new Set).has(e))return e
;if(n.add(e),t--,Mn(e))nr(e.value,t,n);else if(ye(e))for(let r=0;r<e.length;r++)nr(e[r],t,n);else if(ke(e)||we(e))e.forEach((e=>{
nr(e,t,n)}));else if($e(e)){for(const r in e)nr(e[r],t,n)
;for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&nr(e[r],t,n)
}return e}
/**
* @vue/runtime-core v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function rr(e,t,n,r){try{return r?e(...r):e()}catch(o){ir(o,t,n)}}
function or(e,t,n,r){if(Se(e)){const o=rr(e,t,n,r)
;return o&&Ce(o)&&o.catch((e=>{ir(e,t,n)})),o}if(ye(e)){const o=[]
;for(let i=0;i<e.length;i++)o.push(or(e[i],t,n,r));return o}}
function ir(e,t,n,r=!0){t&&t.vnode
;const{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ue
;if(t){let r=t.parent
;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){
const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,a))return
;r=r.parent}if(o)return Dt(),rr(o,null,10,[e,i,a]),void $t()}
!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,r,i)}const ar=[]
;let sr=-1;const lr=[];let cr=null,ur=0;const dr=Promise.resolve();let pr=null
;function hr(e){const t=pr||dr;return e?t.then(this?e.bind(this):e):t}
function fr(e){if(!(1&e.flags)){const t=br(e),n=ar[ar.length-1]
;!n||!(2&e.flags)&&t>=br(n)?ar.push(e):ar.splice(function(e){
let t=sr+1,n=ar.length;for(;t<n;){const r=t+n>>>1,o=ar[r],i=br(o)
;i<e||i===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,mr()}}
function mr(){pr||(pr=dr.then(Or))}function gr(e,t,n=sr+1){
for(;n<ar.length;n++){const t=ar[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue
;ar.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}
function vr(e){if(lr.length){const e=[...new Set(lr)].sort(((e,t)=>br(e)-br(t)))
;if(lr.length=0,cr)return void cr.push(...e);for(cr=e,ur=0;ur<cr.length;ur++){
const e=cr[ur];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}cr=null,ur=0}
}const br=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Or(e){try{
for(sr=0;sr<ar.length;sr++){const e=ar[sr]
;!e||8&e.flags||(4&e.flags&&(e.flags&=-2),
rr(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;sr<ar.length;sr++){
const e=ar[sr];e&&(e.flags&=-2)}
sr=-1,ar.length=0,vr(),pr=null,(ar.length||lr.length)&&Or()}}let yr=null,wr=null
;function kr(e){const t=yr;return yr=e,wr=e&&e.type.__scopeId||null,t}
function xr(e,t=yr,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{
r._d&&Xi(-1);const o=kr(t);let i;try{i=e(...n)}finally{kr(o),r._d&&Xi(1)}
return i};return r._n=!0,r._c=!0,r._d=!0,r}function Sr(e,t){
if(null===yr)return e;const n=Pa(yr),r=e.dirs||(e.dirs=[])
;for(let o=0;o<t.length;o++){let[e,i,a,s=ue]=t[o];e&&(Se(e)&&(e={mounted:e,
updated:e}),e.deep&&nr(i),r.push({dir:e,instance:n,value:i,oldValue:void 0,
arg:a,modifiers:s}))}return e}function _r(e,t,n,r){const o=e.dirs,i=t&&t.dirs
;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value)
;let l=s.dir[r];l&&(Dt(),or(l,n,8,[e.el,s,e,t]),$t())}}
const Er=Symbol("_vte"),Tr=e=>e.__isTeleport,Cr=e=>e&&(e.disabled||""===e.disabled),Ar=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Pr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Dr=(e,t)=>{
const n=e&&e.to;if(_e(n)){if(t){return t(n)}return null}return n},$r={
name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,l,c){
const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=c,v=Cr(t.props)
;let{shapeFlag:b,children:O,dynamicChildren:y}=t;if(null==e){
const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=(e,t)=>{
16&b&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(O,e,t,o,i,a,s,l))},p=()=>{
const e=t.target=Dr(t.props,f),n=Ir(e,t,m,h)
;e&&("svg"!==a&&Ar(e)?a="svg":"mathml"!==a&&Pr(e)&&(a="mathml"),
v||(d(e,n),Mr(t,!1)))}
;v&&(d(n,c),Mr(t,!0)),(w=t.props)&&(w.defer||""===w.defer)?bi(p,i):p()}else{
t.el=e.el,t.targetStart=e.targetStart
;const r=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=Cr(e.props),g=m?n:u,b=m?r:h
;if("svg"===a||Ar(u)?a="svg":("mathml"===a||Pr(u))&&(a="mathml"),
y?(p(e.dynamicChildren,y,g,o,i,a,s),
ki(e,t,!0)):l||d(e,t,g,b,o,i,a,s,!1),v)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rr(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){
const e=t.target=Dr(t.props,f);e&&Rr(t,e,null,c,0)}else m&&Rr(t,u,h,c,1);Mr(t,v)
}var w},remove(e,t,n,{um:r,o:{remove:o}},i){
const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e
;if(d&&(o(c),o(u)),i&&o(l),16&a){const e=i||!Cr(p);for(let o=0;o<s.length;o++){
const i=s[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:Rr,
hydrate:function(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:c,createText:u}},d){
const p=t.target=Dr(t.props,l);if(p){const l=Cr(t.props),h=p._lpa||p.firstChild
;if(16&t.shapeFlag)if(l)t.anchor=d(a(e),t,s(e),n,r,o,i),
t.targetStart=h,t.targetAnchor=h&&a(h);else{t.anchor=a(e);let s=h;for(;s;){
if(s&&8===s.nodeType)if("teleport start anchor"===s.data)t.targetStart=s;else if("teleport anchor"===s.data){
t.targetAnchor=s,p._lpa=t.targetAnchor&&a(t.targetAnchor);break}s=a(s)}
t.targetAnchor||Ir(p,t,u,c),d(h&&a(h),t,p,n,r,o,i)}Mr(t,l)}
return t.anchor&&a(t.anchor)}};function Rr(e,t,n,{o:{insert:r},m:o},i=2){
0===i&&r(e.targetAnchor,t,n)
;const{el:a,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===i
;if(d&&r(a,t,n),(!d||Cr(u))&&16&l)for(let p=0;p<c.length;p++)o(c[p],t,n,2)
;d&&r(s,t,n)}const Nr=$r;function Mr(e,t){const n=e.ctx;if(n&&n.ut){let r,o
;for(t?(r=e.el,
o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),
r=r.nextSibling;n.ut()}}function Ir(e,t,n,r){
const o=t.targetStart=n(""),i=t.targetAnchor=n("")
;return o[Er]=i,e&&(r(o,e),r(i,e)),i}
const Lr=Symbol("_leaveCb"),jr=Symbol("_enterCb");const Br=[Function,Array],Qr={
mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Br,onEnter:Br,
onAfterEnter:Br,onEnterCancelled:Br,onBeforeLeave:Br,onLeave:Br,onAfterLeave:Br,
onLeaveCancelled:Br,onBeforeAppear:Br,onAppear:Br,onAfterAppear:Br,
onAppearCancelled:Br},Ur=e=>{const t=e.subTree
;return t.component?Ur(t.component):t};function Fr(e){let t=e[0]
;if(e.length>1)for(const n of e)if(n.type!==zi){t=n;break}return t}const zr={
name:"BaseTransition",props:Qr,setup(e,{slots:t}){const n=ba(),r=function(){
const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map}
;return lo((()=>{e.isMounted=!0})),po((()=>{e.isUnmounting=!0})),e}()
;return()=>{const o=t.default&&Xr(t.default(),!0);if(!o||!o.length)return
;const i=Fr(o),a=$n(e),{mode:s}=a;if(r.isLeaving)return Vr(i);const l=Zr(i)
;if(!l)return Vr(i);let c=Hr(l,a,r,n,(e=>c=e));l.type!==zi&&Wr(l,c)
;const u=n.subTree,d=u&&Zr(u);if(d&&d.type!==zi&&!ea(l,d)&&Ur(n).type!==zi){
const e=Hr(d,a,r,n)
;if(Wr(d,e),"out-in"===s&&l.type!==zi)return r.isLeaving=!0,e.afterLeave=()=>{
r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave},Vr(i)
;"in-out"===s&&l.type!==zi&&(e.delayLeave=(e,t,n)=>{
qr(r,d)[String(d.key)]=d,e[Lr]=()=>{t(),e[Lr]=void 0,delete c.delayedLeave
},c.delayedLeave=n})}return i}}};function qr(e,t){const{leavingVNodes:n}=e
;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}
function Hr(e,t,n,r,o){
const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:b,onAppearCancelled:O}=t,y=String(e.key),w=qr(n,e),k=(e,t)=>{
e&&or(e,r,9,t)},x=(e,t)=>{const n=t[1]
;k(e,t),ye(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:a,
persisted:s,beforeEnter(t){let r=l;if(!n.isMounted){if(!i)return;r=g||l}
t[Lr]&&t[Lr](!0);const o=w[y];o&&ea(e,o)&&o.el[Lr]&&o.el[Lr](),k(r,[t])},
enter(e){let t=c,r=u,o=d;if(!n.isMounted){if(!i)return;t=v||c,r=b||u,o=O||d}
let a=!1;const s=e[jr]=t=>{
a||(a=!0,k(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[jr]=void 0)}
;t?x(t,[e,s]):s()},leave(t,r){const o=String(e.key)
;if(t[jr]&&t[jr](!0),n.isUnmounting)return r();k(p,[t]);let i=!1
;const a=t[Lr]=n=>{i||(i=!0,r(),k(n?m:f,[t]),t[Lr]=void 0,w[o]===e&&delete w[o])
};w[o]=e,h?x(h,[t,a]):a()},clone(e){const i=Hr(e,t,n,r,o);return o&&o(i),i}}
;return S}function Vr(e){if(eo(e))return(e=aa(e)).children=null,e}
function Zr(e){if(!eo(e))return Tr(e.type)&&e.children?Fr(e.children):e
;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0]
;if(32&t&&Se(n.default))return n.default()}}function Wr(e,t){
6&e.shapeFlag&&e.component?(e.transition=t,
Wr(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),
e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}
function Xr(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i]
;const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i)
;a.type===Ui?(128&a.patchFlag&&o++,
r=r.concat(Xr(a.children,t,s))):(t||a.type!==zi)&&r.push(null!=s?aa(a,{key:s
}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}
/*! #__NO_SIDE_EFFECTS__ */function Gr(e,t){return Se(e)?(()=>ge({name:e.name
},t,{setup:e}))():e}function Yr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}
function Kr(e,t,n,r,o=!1){
if(ye(e))return void e.forEach(((e,i)=>Kr(e,t&&(ye(t)?t[i]:t),n,r,o)))
;if(Jr(r)&&!o)return
;const i=4&r.shapeFlag?Pa(r.component):r.el,a=o?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===ue?s.refs={}:s.refs,d=s.setupState,p=$n(d),h=d===ue?()=>!1:e=>Oe(p,e)
;if(null!=c&&c!==l&&(_e(c)?(u[c]=null,h(c)&&(d[c]=null)):Mn(c)&&(c.value=null)),
Se(l))rr(l,s,12,[a,u]);else{const t=_e(l),r=Mn(l);if(t||r){const s=()=>{if(e.f){
const n=t?h(l)?d[l]:u[l]:l.value
;o?ye(n)&&ve(n,i):ye(n)?n.includes(i)||n.push(i):t?(u[l]=[i],
h(l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))
}else t?(u[l]=a,h(l)&&(d[l]=a)):r&&(l.value=a,e.k&&(u[e.k]=a))}
;a?(s.id=-1,bi(s,n)):s()}}}We().requestIdleCallback,We().cancelIdleCallback
;const Jr=e=>!!e.type.__asyncLoader,eo=e=>e.type.__isKeepAlive;function to(e,t){
ro(e,"a",t)}function no(e,t){ro(e,"da",t)}function ro(e,t,n=va){
const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return
;t=t.parent}return e()});if(io(t,r,n),n){let e=n.parent
;for(;e&&e.parent;)eo(e.parent.vnode)&&oo(r,t,n,e),e=e.parent}}
function oo(e,t,n,r){const o=io(t,e,r,!0);ho((()=>{ve(r[t],o)}),n)}
function io(e,t,n=va,r=!1){if(n){
const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Dt()
;const o=wa(n),i=or(t,n,e,r);return o(),$t(),i})
;return r?o.unshift(i):o.push(i),i}}const ao=e=>(t,n=va)=>{
_a&&"sp"!==e||io(e,((...e)=>t(...e)),n)
},so=ao("bm"),lo=ao("m"),co=ao("bu"),uo=ao("u"),po=ao("bum"),ho=ao("um"),fo=ao("sp"),mo=ao("rtg"),go=ao("rtc")
;function vo(e,t=va){io("ec",e,t)}const bo="components";function Oo(e,t){
return ko(bo,e,!0,t)||e}const yo=Symbol.for("v-ndc");function wo(e){
return _e(e)?ko(bo,e,!1)||e:e||yo}function ko(e,t,n=!0,r=!1){const o=yr||va
;if(o){const n=o.type;{const e=Da(n,!1)
;if(e&&(e===t||e===Le(t)||e===Qe(Le(t))))return n}
const i=xo(o[e]||n[e],t)||xo(o.appContext[e],t);return!i&&r?n:i}}
function xo(e,t){return e&&(e[t]||e[Le(t)]||e[Qe(Le(t))])}function So(e,t,n,r){
let o;const i=n,a=ye(e);if(a||_e(e)){let n=!1
;a&&Cn(e)&&(n=!Pn(e),e=Ht(e)),o=new Array(e.length)
;for(let r=0,a=e.length;r<a;r++)o[r]=t(n?Rn(e[r]):e[r],r,void 0,i)
}else if("number"==typeof e){o=new Array(e)
;for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i)
}else if(Te(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i)));else{
const n=Object.keys(e);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){
const a=n[r];o[r]=t(e[a],a,r,i)}}else o=[];return o}function _o(e,t){
for(let n=0;n<t.length;n++){const r=t[n]
;if(ye(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{
const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}
function Eo(e,t,n={},r,o){
if(yr.ce||yr.parent&&Jr(yr.parent)&&yr.parent.ce)return"default"!==t&&(n.name=t),
Zi(),Ki(Ui,null,[oa("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),Zi()
;const a=i&&To(i(n)),s=n.key||a&&a.key,l=Ki(Ui,{
key:(s&&!Ee(s)?s:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&1===e._?64:-2)
;return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}
function To(e){
return e.some((e=>!Ji(e)||e.type!==zi&&!(e.type===Ui&&!To(e.children))))?e:null}
function Co(e,t){const n={};for(const r in e)n[Ue(r)]=e[r];return n}
const Ao=e=>e?xa(e)?Pa(e):Ao(e.parent):null,Po=ge(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=>Ao(e.parent),$root:e=>Ao(e.root),
$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fo(e),$forceUpdate:e=>e.f||(e.f=()=>{
fr(e.update)}),$nextTick:e=>e.n||(e.n=hr.bind(e.proxy)),$watch:e=>Pi.bind(e)
}),Do=(e,t)=>e!==ue&&!e.__isScriptSetup&&Oe(e,t),$o={get({_:e},t){
if("__v_skip"===t)return!0
;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:l}=e
;let c;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return r[t]
;case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{
if(Do(r,t))return a[t]=1,r[t];if(o!==ue&&Oe(o,t))return a[t]=2,o[t]
;if((c=e.propsOptions[0])&&Oe(c,t))return a[t]=3,i[t]
;if(n!==ue&&Oe(n,t))return a[t]=4,n[t];jo&&(a[t]=0)}}const u=Po[t];let d,p
;return u?("$attrs"===t&&Ft(e.attrs,0,""),
u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==ue&&Oe(n,t)?(a[t]=4,
n[t]):(p=l.config.globalProperties,Oe(p,t)?p[t]:void 0)},set({_:e},t,n){
const{data:r,setupState:o,ctx:i}=e
;return Do(o,t)?(o[t]=n,!0):r!==ue&&Oe(r,t)?(r[t]=n,
!0):!Oe(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},
has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){
let s
;return!!n[a]||e!==ue&&Oe(e,a)||Do(t,a)||(s=i[0])&&Oe(s,a)||Oe(r,a)||Oe(Po,a)||Oe(o.config.globalProperties,a)
},defineProperty(e,t,n){
return null!=n.get?e._.accessCache[t]=0:Oe(n,"value")&&this.set(e,t,n.value,null),
Reflect.defineProperty(e,t,n)}};function Ro(){return Mo().slots}function No(){
return Mo().attrs}function Mo(){const e=ba()
;return e.setupContext||(e.setupContext=Aa(e))}function Io(e){
return ye(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Lo(e,t){
const n=Io(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r]
;e?ye(e)||Se(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={
default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n}let jo=!0
;function Bo(e){const t=Fo(e),n=e.proxy,r=e.ctx
;jo=!1,t.beforeCreate&&Qo(t.beforeCreate,e,"bc")
;const{data:o,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:f,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:b,destroyed:O,unmounted:y,render:w,renderTracked:k,renderTriggered:x,errorCaptured:S,serverPrefetch:_,expose:E,inheritAttrs:T,components:C,directives:A,filters:P}=t
;if(c&&function(e,t,n=pe){ye(e)&&(e=Vo(e));for(const r in e){const n=e[r];let o
;o=Te(n)?"default"in n?ti(n.from||r,n.default,!0):ti(n.from||r):ti(n),
Mn(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,
set:e=>o.value=e}):t[r]=o}}(c,r,null),a)for(const $ in a){const e=a[$]
;Se(e)&&(r[$]=e.bind(n))}if(o){const t=o.call(n,n);Te(t)&&(e.data=xn(t))}
if(jo=!0,i)for(const $ in i){
const e=i[$],t=Se(e)?e.bind(n,n):Se(e.get)?e.get.bind(n,n):pe,o=!Se(e)&&Se(e.set)?e.set.bind(n):pe,a=$a({
get:t,set:o});Object.defineProperty(r,$,{enumerable:!0,configurable:!0,
get:()=>a.value,set:e=>a.value=e})}if(s)for(const $ in s)Uo(s[$],r,n,$);if(l){
const e=Se(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{ei(t,e[t])}))}
function D(e,t){ye(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}
if(u&&Qo(u,e,"c"),
D(so,d),D(lo,p),D(co,h),D(uo,f),D(to,m),D(no,g),D(vo,S),D(go,k),D(mo,x),D(po,b),
D(ho,y),D(fo,_),ye(E))if(E.length){const t=e.exposed||(e.exposed={})
;E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))
}else e.exposed||(e.exposed={})
;w&&e.render===pe&&(e.render=w),null!=T&&(e.inheritAttrs=T),C&&(e.components=C),
A&&(e.directives=A),_&&Yr(e)}function Qo(e,t,n){
or(ye(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Uo(e,t,n,r){
let o=r.includes(".")?Di(n,r):()=>n[r];if(_e(e)){const n=t[e];Se(n)&&Ci(o,n)
}else if(Se(e))Ci(o,e.bind(n));else if(Te(e))if(ye(e))e.forEach((e=>Uo(e,t,n,r)));else{
const r=Se(e.handler)?e.handler.bind(n):t[e.handler];Se(r)&&Ci(o,r,e)}}
function Fo(e){
const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t)
;let l;return s?l=s:o.length||n||r?(l={},o.length&&o.forEach((e=>zo(l,e,a,!0))),
zo(l,t,a)):l=t,Te(t)&&i.set(t,l),l}function zo(e,t,n,r=!1){
const{mixins:o,extends:i}=t;i&&zo(e,i,n,!0),o&&o.forEach((t=>zo(e,t,n,!0)))
;for(const a in t)if(r&&"expose"===a);else{const r=qo[a]||n&&n[a]
;e[a]=r?r(e[a],t[a]):t[a]}return e}const qo={data:Ho,props:Xo,emits:Xo,
methods:Wo,computed:Wo,beforeCreate:Zo,created:Zo,beforeMount:Zo,mounted:Zo,
beforeUpdate:Zo,updated:Zo,beforeDestroy:Zo,beforeUnmount:Zo,destroyed:Zo,
unmounted:Zo,activated:Zo,deactivated:Zo,errorCaptured:Zo,serverPrefetch:Zo,
components:Wo,directives:Wo,watch:function(e,t){if(!e)return t;if(!t)return e
;const n=ge(Object.create(null),e);for(const r in t)n[r]=Zo(e[r],t[r]);return n
},provide:Ho,inject:function(e,t){return Wo(Vo(e),Vo(t))}};function Ho(e,t){
return t?e?function(){
return ge(Se(e)?e.call(this,this):e,Se(t)?t.call(this,this):t)}:t:e}
function Vo(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n]
;return t}return e}function Zo(e,t){return e?[...new Set([].concat(e,t))]:t}
function Wo(e,t){return e?ge(Object.create(null),e,t):t}function Xo(e,t){
return e?ye(e)&&ye(t)?[...new Set([...e,...t])]:ge(Object.create(null),Io(e),Io(null!=t?t:{})):t
}function Go(){return{app:null,config:{isNativeTag:he,performance:!1,
globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,
warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},
provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,
emitsCache:new WeakMap}}let Yo=0;function Ko(e,t){return function(n,r=null){
Se(n)||(n=ge({},n)),null==r||Te(r)||(r=null);const o=Go(),i=new WeakSet,a=[]
;let s=!1;const l=o.app={_uid:Yo++,_component:n,_props:r,_container:null,
_context:o,_instance:null,version:Na,get config(){return o.config},
set config(e){},
use:(e,...t)=>(i.has(e)||(e&&Se(e.install)?(i.add(e),e.install(l,...t)):Se(e)&&(i.add(e),
e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),
component:(e,t)=>t?(o.components[e]=t,l):o.components[e],
directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(i,a,c){if(!s){
const u=l._ceVNode||oa(n,r)
;return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),
a&&t?t(u,i):e(u,i,c),s=!0,l._container=i,i.__vue_app__=l,Pa(u.component)}},
onUnmount(e){a.push(e)},unmount(){s&&(or(a,l._instance,16),e(null,l._container),
delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),
runWithContext(e){const t=Jo;Jo=l;try{return e()}finally{Jo=t}}};return l}}
let Jo=null;function ei(e,t){if(va){let n=va.provides
;const r=va.parent&&va.parent.provides
;r===n&&(n=va.provides=Object.create(r)),n[e]=t}else;}function ti(e,t,n=!1){
const r=va||yr;if(r||Jo){
const o=Jo?Jo._context.provides:r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0
;if(o&&e in o)return o[e]
;if(arguments.length>1)return n&&Se(t)?t.call(r&&r.proxy):t}}
const ni={},ri=()=>Object.create(ni),oi=e=>Object.getPrototypeOf(e)===ni
;function ii(e,t,n,r){const[o,i]=e.propsOptions;let a,s=!1;if(t)for(let l in t){
if(Ne(l))continue;const c=t[l];let u
;o&&Oe(o,u=Le(l))?i&&i.includes(u)?(a||(a={}))[u]=c:n[u]=c:Mi(e.emitsOptions,l)||l in r&&c===r[l]||(r[l]=c,
s=!0)}if(i){const t=$n(n),r=a||ue;for(let a=0;a<i.length;a++){const s=i[a]
;n[s]=ai(o,t,s,r[s],e,!Oe(r,s))}}return s}function ai(e,t,n,r,o,i){const a=e[n]
;if(null!=a){const e=Oe(a,"default");if(e&&void 0===r){const e=a.default
;if(a.type!==Function&&!a.skipFactory&&Se(e)){const{propsDefaults:i}=o
;if(n in i)r=i[n];else{const a=wa(o);r=i[n]=e.call(null,t),a()}}else r=e
;o.ce&&o.ce._setProp(n,r)}a[0]&&(i&&!e?r=!1:!a[1]||""!==r&&r!==Be(n)||(r=!0))}
return r}const si=new WeakMap;function li(e,t,n=!1){
const r=n?si:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,a={},s=[]
;let l=!1;if(!Se(e)){const r=e=>{l=!0;const[n,r]=li(e,t,!0)
;ge(a,n),r&&s.push(...r)}
;!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),
e.mixins&&e.mixins.forEach(r)}if(!i&&!l)return Te(e)&&r.set(e,de),de
;if(ye(i))for(let u=0;u<i.length;u++){const e=Le(i[u]);ci(e)&&(a[e]=ue)
}else if(i)for(const u in i){const e=Le(u);if(ci(e)){
const t=i[u],n=a[e]=ye(t)||Se(t)?{type:t}:ge({},t),r=n.type;let o=!1,l=!0
;if(ye(r))for(let e=0;e<r.length;++e){const t=r[e],n=Se(t)&&t.name
;if("Boolean"===n){o=!0;break}"String"===n&&(l=!1)
}else o=Se(r)&&"Boolean"===r.name;n[0]=o,n[1]=l,(o||Oe(n,"default"))&&s.push(e)}
}const c=[a,s];return Te(e)&&r.set(e,c),c}function ci(e){
return"$"!==e[0]&&!Ne(e)}
const ui=e=>"_"===e[0]||"$stable"===e,di=e=>ye(e)?e.map(ua):[ua(e)],pi=(e,t,n)=>{
if(t._n)return t;const r=xr(((...e)=>di(t(...e))),n);return r._c=!1,r
},hi=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ui(o))continue;const n=e[o]
;if(Se(n))t[o]=pi(0,n,r);else if(null!=n){const e=di(n);t[o]=()=>e}}
},fi=(e,t)=>{const n=di(t);e.slots.default=()=>n},mi=(e,t,n)=>{
for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},gi=(e,t,n)=>{const r=e.slots=ri()
;if(32&e.vnode.shapeFlag){const e=t._;e?(mi(r,t,n),n&&qe(r,"_",e,!0)):hi(t,r)
}else t&&fi(e,t)},vi=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=ue
;if(32&r.shapeFlag){const e=t._
;e?n&&1===e?i=!1:mi(o,t,n):(i=!t.$stable,hi(t,o)),a=t}else t&&(fi(e,t),a={
default:1});if(i)for(const s in o)ui(s)||null!=a[s]||delete o[s]
},bi=function(e,t){
t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):(ye(n=e)?lr.push(...n):cr&&-1===n.id?cr.splice(ur+1,0,n):1&n.flags||(lr.push(n),
n.flags|=1),mr());var n};function Oi(e){return function(e,t){We().__VUE__=!0
;const{insert:n,remove:r,patchProp:o,createElement:i,createText:a,createComment:s,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:p=pe,insertStaticContent:h}=e,f=(e,t,n,r=null,o=null,i=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{
if(e===t)return
;e&&!ea(e,t)&&(r=F(e),L(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,
t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Fi:
m(e,t,n,r);break;case zi:g(e,t,n,r);break;case qi:null==e&&v(t,n,r,a);break
;case Ui:T(e,t,n,r,o,i,a,s,l);break;default:
1&d?y(e,t,n,r,o,i,a,s,l):6&d?C(e,t,n,r,o,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,r,o,i,a,s,l,H)
}null!=u&&o&&Kr(u,e&&e.ref,i,t||e,!t)},m=(e,t,r,o)=>{
if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el
;t.children!==e.children&&l(n,t.children)}},g=(e,t,r,o)=>{
null==e?n(t.el=s(t.children||""),r,o):t.el=e.el},v=(e,t,n,r)=>{
[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},b=({el:e,anchor:t},r,o)=>{
let i;for(;e&&e!==t;)i=d(e),n(e,r,o),e=i;n(t,r,o)},O=({el:e,anchor:t})=>{let n
;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)},y=(e,t,n,r,o,i,a,s,l)=>{
"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),
null==e?w(t,n,r,o,i,a,s,l):S(e,t,o,i,a,s,l)},w=(e,t,r,a,s,l,u,d)=>{let p,h
;const{props:f,shapeFlag:m,transition:g,dirs:v}=e
;if(p=e.el=i(e.type,l,f&&f.is,f),
8&m?c(p,e.children):16&m&&x(e.children,p,null,a,s,yi(e,l),u,d),
v&&_r(e,null,a,"created"),k(p,e,e.scopeId,u,a),f){
for(const e in f)"value"===e||Ne(e)||o(p,e,null,f[e],l,a)
;"value"in f&&o(p,"value",null,f.value,l),(h=f.onVnodeBeforeMount)&&fa(h,a,e)}
v&&_r(e,null,a,"beforeMount");const b=function(e,t){
return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,g)
;b&&g.beforeEnter(p),n(p,t,r),((h=f&&f.onVnodeMounted)||b||v)&&bi((()=>{
h&&fa(h,a,e),b&&g.enter(p),v&&_r(e,null,a,"mounted")}),s)},k=(e,t,n,r,o)=>{
if(n&&p(e,n),r)for(let i=0;i<r.length;i++)p(e,r[i]);if(o){let n=o.subTree
;if(t===n||Qi(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode
;k(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},x=(e,t,n,r,o,i,a,s,l=0)=>{
for(let c=l;c<e.length;c++){const l=e[c]=s?da(e[c]):ua(e[c])
;f(null,l,t,n,r,o,i,a,s)}},S=(e,t,n,r,i,a,s)=>{const l=t.el=e.el
;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag
;const h=e.props||ue,f=t.props||ue;let m
;if(n&&wi(n,!1),(m=f.onVnodeBeforeUpdate)&&fa(m,n,t,e),
p&&_r(t,e,n,"beforeUpdate"),
n&&wi(n,!0),(h.innerHTML&&null==f.innerHTML||h.textContent&&null==f.textContent)&&c(l,""),
d?_(e.dynamicChildren,d,l,n,r,yi(t,i),a):s||R(e,t,l,null,n,r,yi(t,i),a,!1),u>0){
if(16&u)E(l,h,f,n,i);else if(2&u&&h.class!==f.class&&o(l,"class",null,f.class,i),
4&u&&o(l,"style",h.style,f.style,i),8&u){const e=t.dynamicProps
;for(let t=0;t<e.length;t++){const r=e[t],a=h[r],s=f[r]
;s===a&&"value"!==r||o(l,r,a,s,i,n)}}
1&u&&e.children!==t.children&&c(l,t.children)}else s||null!=d||E(l,h,f,n,i)
;((m=f.onVnodeUpdated)||p)&&bi((()=>{m&&fa(m,n,t,e),p&&_r(t,e,n,"updated")}),r)
},_=(e,t,n,r,o,i,a)=>{for(let s=0;s<t.length;s++){
const l=e[s],c=t[s],d=l.el&&(l.type===Ui||!ea(l,c)||70&l.shapeFlag)?u(l.el):n
;f(l,c,d,null,r,o,i,a,!0)}},E=(e,t,n,r,i)=>{if(t!==n){
if(t!==ue)for(const a in t)Ne(a)||a in n||o(e,a,t[a],null,i,r)
;for(const a in n){if(Ne(a))continue;const s=n[a],l=t[a]
;s!==l&&"value"!==a&&o(e,a,l,s,i,r)}"value"in n&&o(e,"value",t.value,n.value,i)}
},T=(e,t,r,o,i,s,l,c,u)=>{const d=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("")
;let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t
;m&&(c=c?c.concat(m):m),null==e?(n(d,r,o),
n(p,r,o),x(t.children||[],r,p,i,s,l,c,u)):h>0&&64&h&&f&&e.dynamicChildren?(_(e.dynamicChildren,f,r,i,s,l,c),
(null!=t.key||i&&t===i.subTree)&&ki(e,t,!0)):R(e,t,r,p,i,s,l,c,u)
},C=(e,t,n,r,o,i,a,s,l)=>{
t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,a,l):A(t,n,r,o,i,a,l):P(e,t,l)
},A=(e,t,n,r,o,i,a)=>{const s=e.component=function(e,t,n){
const r=e.type,o=(t?t.appContext:e.appContext)||ma,i={uid:ga++,vnode:e,type:r,
parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,
job:null,scope:new pt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,
withProxy:null,provides:t?t.provides:Object.create(o.provides),
ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,
directives:null,propsOptions:li(r,o),emitsOptions:Ni(r,o),emit:null,
emitted:null,propsDefaults:ue,inheritAttrs:r.inheritAttrs,ctx:ue,data:ue,
props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:n,
suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,
isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,
um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};i.ctx={_:i
},i.root=t?t.root:i,i.emit=Ri.bind(null,i),e.ce&&e.ce(i);return i}(e,r,o)
;if(eo(e)&&(s.ctx.renderer=H),function(e,t=!1,n=!1){t&&ya(t)
;const{props:r,children:o}=e.vnode,i=xa(e);(function(e,t,n,r=!1){
const o={},i=ri();e.propsDefaults=Object.create(null),ii(e,t,o,i)
;for(const a in e.propsOptions[0])a in o||(o[a]=void 0)
;n?e.props=r?o:Sn(o):e.type.props?e.props=o:e.props=i,e.attrs=i
})(e,r,i,t),gi(e,o,n);const a=i?function(e,t){const n=e.type
;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,$o);const{setup:r}=n
;if(r){Dt()
;const n=e.setupContext=r.length>1?Aa(e):null,o=wa(e),i=rr(r,e,0,[e.props,n]),a=Ce(i)
;if($t(),o(),!a&&!e.sp||Jr(e)||Yr(e),a){if(i.then(ka,ka),t)return i.then((n=>{
Ea(e,n,t)})).catch((t=>{ir(t,e,0)}));e.asyncDep=i}else Ea(e,i,t)}else Ta(e,t)
}(e,t):void 0;t&&ya(!1)}(s,!1,a),s.asyncDep){if(o&&o.registerDep(s,D,a),!e.el){
const e=s.subTree=oa(zi);g(null,e,t,n)}}else D(s,e,t,n,o,i,a)},P=(e,t,n)=>{
const r=t.component=e.component;if(function(e,t,n){
const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions
;if(t.dirs||t.transition)return!0
;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==a&&(r?!a||Bi(r,a,c):!!a)
;if(1024&l)return!0;if(16&l)return r?Bi(r,a,c):!!a;if(8&l){
const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t]
;if(a[n]!==r[n]&&!Mi(c,n))return!0}}return!1}(e,t,n)){
if(r.asyncDep&&!r.asyncResolved)return void $(r,t,n);r.next=t,r.update()
}else t.el=e.el,r.vnode=t},D=(e,t,n,r,o,i,a)=>{const s=()=>{if(e.isMounted){
let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=xi(e)
;if(n)return t&&(t.el=c.el,$(e,t,a)),void n.asyncDep.then((()=>{
e.isUnmounted||s()}))}let d,p=t
;wi(e,!1),t?(t.el=c.el,$(e,t,a)):t=c,n&&ze(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&fa(d,l,t,c),
wi(e,!0);const h=Ii(e),m=e.subTree
;e.subTree=h,f(m,h,u(m.el),F(m),e,o,i),t.el=h.el,
null===p&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree
;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break
;(e=t.vnode).el=n,t=t.parent}
}(e,h.el),r&&bi(r,o),(d=t.props&&t.props.onVnodeUpdated)&&bi((()=>fa(d,l,t,c)),o)
}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d,root:p,type:h}=e,m=Jr(t)
;if(wi(e,!1),c&&ze(c),!m&&(a=l&&l.onVnodeBeforeMount)&&fa(a,d,t),wi(e,!0),s&&Z){
const t=()=>{e.subTree=Ii(e),Z(s,e.subTree,e,o,null)}
;m&&h.__asyncHydrate?h.__asyncHydrate(s,e,t):t()}else{
p.ce&&p.ce._injectChildStyle(h);const a=e.subTree=Ii(e)
;f(null,a,n,r,e,o,i),t.el=a.el}if(u&&bi(u,o),!m&&(a=l&&l.onVnodeMounted)){
const e=t;bi((()=>fa(a,d,e)),o)}
(256&t.shapeFlag||d&&Jr(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&bi(e.a,o),
e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new gt(s)
;e.scope.off();const c=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l)
;d.i=e,d.id=e.uid,l.scheduler=()=>fr(d),wi(e,!0),c()},$=(e,t,n)=>{t.component=e
;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){
const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=$n(o),[l]=e.propsOptions;let c=!1
;if(!(r||a>0)||16&a){let r;ii(e,t,o,i)&&(c=!0)
;for(const i in s)t&&(Oe(t,i)||(r=Be(i))!==i&&Oe(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=ai(l,s,i,void 0,e,!0)):delete o[i])
;if(i!==s)for(const e in i)t&&Oe(t,e)||(delete i[e],c=!0)}else if(8&a){
const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r]
;if(Mi(e.emitsOptions,a))continue;const u=t[a]
;if(l)if(Oe(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=Le(a)
;o[t]=ai(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=u,c=!0)}}c&&zt(e.attrs,"set","")
}(e,t.props,r,n),vi(e,t.children,n),Dt(),gr(e),$t()},R=(e,t,n,r,o,i,a,s,l=!1)=>{
const u=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:f}=t
;if(h>0){if(128&h)return void M(u,p,n,r,o,i,a,s,l)
;if(256&h)return void N(u,p,n,r,o,i,a,s,l)}
8&f?(16&d&&U(u,o,i),p!==u&&c(n,p)):16&d?16&f?M(u,p,n,r,o,i,a,s,l):U(u,o,i,!0):(8&d&&c(n,""),
16&f&&x(p,n,r,o,i,a,s,l))},N=(e,t,n,r,o,i,a,s,l)=>{t=t||de
;const c=(e=e||de).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){
const r=t[p]=l?da(t[p]):ua(t[p]);f(e[p],r,n,null,o,i,a,s,l)}
c>u?U(e,o,i,!0,!1,d):x(t,n,r,o,i,a,s,l,d)},M=(e,t,n,r,o,i,a,s,l)=>{let c=0
;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){
const r=e[c],u=t[c]=l?da(t[c]):ua(t[c]);if(!ea(r,u))break
;f(r,u,n,null,o,i,a,s,l),c++}for(;c<=d&&c<=p;){
const r=e[d],c=t[p]=l?da(t[p]):ua(t[p]);if(!ea(r,c))break
;f(r,c,n,null,o,i,a,s,l),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:r
;for(;c<=p;)f(null,t[c]=l?da(t[c]):ua(t[c]),n,d,o,i,a,s,l),c++}
}else if(c>p)for(;c<=d;)L(e[c],o,i,!0),c++;else{const h=c,m=c,g=new Map
;for(c=m;c<=p;c++){const e=t[c]=l?da(t[c]):ua(t[c]);null!=e.key&&g.set(e.key,c)}
let v,b=0;const O=p-m+1;let y=!1,w=0;const k=new Array(O);for(c=0;c<O;c++)k[c]=0
;for(c=h;c<=d;c++){const r=e[c];if(b>=O){L(r,o,i,!0);continue}let u
;if(null!=r.key)u=g.get(r.key);else for(v=m;v<=p;v++)if(0===k[v-m]&&ea(r,t[v])){
u=v;break}
void 0===u?L(r,o,i,!0):(k[u-m]=c+1,u>=w?w=u:y=!0,f(r,t[u],n,null,o,i,a,s,l),b++)
}const x=y?function(e){const t=e.slice(),n=[0];let r,o,i,a,s;const l=e.length
;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){
t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s
;l<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,a=n[i-1]
;for(;i-- >0;)n[i]=a,a=t[a];return n}(k):de;for(v=x.length-1,c=O-1;c>=0;c--){
const e=m+c,d=t[e],p=e+1<u?t[e+1].el:r
;0===k[c]?f(null,d,n,p,o,i,a,s,l):y&&(v<0||c!==x[v]?I(d,n,p,2):v--)}}
},I=(e,t,r,o,i=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e
;if(6&u)return void I(e.component.subTree,t,r,o)
;if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void s.move(e,t,r,H)
;if(s===Ui){n(a,t,r);for(let e=0;e<c.length;e++)I(c[e],t,r,o)
;return void n(e.anchor,t,r)}if(s===qi)return void b(e,t,r)
;if(2!==o&&1&u&&l)if(0===o)l.beforeEnter(a),
n(a,t,r),bi((()=>l.enter(a)),i);else{
const{leave:e,delayLeave:o,afterLeave:i}=l,s=()=>n(a,t,r),c=()=>{e(a,(()=>{
s(),i&&i()}))};o?o(a,s,c):c()}else n(a,t,r)},L=(e,t,n,r=!1,o=!1)=>{
const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e
;if(-2===d&&(o=!1),
null!=s&&Kr(s,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),
256&u)return void t.ctx.deactivate(e);const f=1&u&&p,m=!Jr(e);let g
;if(m&&(g=a&&a.onVnodeBeforeUnmount)&&fa(g,t,e),6&u)Q(e.component,n,r);else{
if(128&u)return void e.suspense.unmount(n,r)
;f&&_r(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,H,r):c&&!c.hasOnce&&(i!==Ui||d>0&&64&d)?U(c,t,n,!1,!0):(i===Ui&&384&d||!o&&16&u)&&U(l,t,n),
r&&j(e)}(m&&(g=a&&a.onVnodeUnmounted)||f)&&bi((()=>{
g&&fa(g,t,e),f&&_r(e,null,t,"unmounted")}),n)},j=e=>{
const{type:t,el:n,anchor:o,transition:i}=e;if(t===Ui)return void B(n,o)
;if(t===qi)return void O(e);const a=()=>{
r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()}
;if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,a)
;r?r(e.el,a,o):o()}else a()},B=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)
},Q=(e,t,n)=>{const{bum:r,scope:o,job:i,subTree:a,um:s,m:l,a:c}=e
;Si(l),Si(c),r&&ze(r),o.stop(),i&&(i.flags|=8,L(a,e,t,n)),s&&bi(s,t),bi((()=>{
e.isUnmounted=!0
}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,
0===t.deps&&t.resolve())},U=(e,t,n,r=!1,o=!1,i=0)=>{
for(let a=i;a<e.length;a++)L(e[a],t,n,r,o)},F=e=>{
if(6&e.shapeFlag)return F(e.component.subTree)
;if(128&e.shapeFlag)return e.suspense.next()
;const t=d(e.anchor||e.el),n=t&&t[Er];return n?d(n):t};let z=!1
;const q=(e,t,n)=>{
null==e?t._vnode&&L(t._vnode,null,null,!0):f(t._vnode||null,e,t,null,null,null,n),
t._vnode=e,z||(z=!0,gr(),vr(),z=!1)},H={p:f,um:L,m:I,r:j,mt:A,mc:x,pc:R,pbc:_,
n:F,o:e};let V,Z;return{render:q,hydrate:V,createApp:Ko(q,V)}}(e)}
function yi({type:e,props:t},n){
return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n
}function wi({effect:e,job:t},n){
n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ki(e,t,n=!1){
const r=e.children,o=t.children;if(ye(r)&&ye(o))for(let i=0;i<r.length;i++){
const e=r[i];let t=o[i]
;1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=da(o[i]),
t.el=e.el),n||-2===t.patchFlag||ki(e,t)),t.type===Fi&&(t.el=e.el)}}
function xi(e){const t=e.subTree.component
;if(t)return t.asyncDep&&!t.asyncResolved?t:xi(t)}function Si(e){
if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}
const _i=Symbol.for("v-scx"),Ei=()=>ti(_i);function Ti(e,t){return Ai(e,null,t)}
function Ci(e,t,n){return Ai(e,t,n)}function Ai(e,t,n=ue){
const{immediate:r,deep:o,flush:i,once:a}=n,s=ge({},n),l=t&&r||!t&&"post"!==i
;let c;if(_a)if("sync"===i){const e=Ei()
;c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{}
;return e.stop=pe,e.resume=pe,e.pause=pe,e}const u=va
;s.call=(e,t,n)=>or(e,u,t,n);let d=!1;"post"===i?s.scheduler=e=>{
bi(e,u&&u.suspense)}:"sync"!==i&&(d=!0,s.scheduler=(e,t)=>{t?e():fr(e)
}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))}
;const p=tr(e,t,s);return _a&&(c?c.push(p):l&&p()),p}function Pi(e,t,n){
const r=this.proxy,o=_e(e)?e.includes(".")?Di(r,e):()=>r[e]:e.bind(r,r);let i
;Se(t)?i=t:(i=t.handler,n=t);const a=wa(this),s=Ai(o,i.bind(r),n);return a(),s}
function Di(e,t){const n=t.split(".");return()=>{let t=e
;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}
const $i=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${Be(t)}Modifiers`]
;function Ri(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ue;let o=n
;const i=t.startsWith("update:"),a=i&&$i(r,t.slice(7));let s
;a&&(a.trim&&(o=n.map((e=>_e(e)?e.trim():e))),a.number&&(o=n.map(He)))
;let l=r[s=Ue(t)]||r[s=Ue(Le(t))];!l&&i&&(l=r[s=Ue(Be(t))]),l&&or(l,e,6,o)
;const c=r[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return
}else e.emitted={};e.emitted[s]=!0,or(c,e,6,o)}}function Ni(e,t,n=!1){
const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits
;let a={},s=!1;if(!Se(e)){const r=e=>{const n=Ni(e,t,!0);n&&(s=!0,ge(a,n))}
;!n&&t.mixins.length&&t.mixins.forEach(r),
e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}
return i||s?(ye(i)?i.forEach((e=>a[e]=null)):ge(a,i),
Te(e)&&r.set(e,a),a):(Te(e)&&r.set(e,null),null)}function Mi(e,t){
return!(!e||!fe(t))&&(t=t.slice(2).replace(/Once$/,""),
Oe(e,t[0].toLowerCase()+t.slice(1))||Oe(e,Be(t))||Oe(e,t))}function Ii(e){
const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:d,data:p,setupState:h,ctx:f,inheritAttrs:m}=e,g=kr(e)
;let v,b;try{if(4&n.shapeFlag){const e=o||r,t=e;v=ua(c.call(t,e,u,d,h,p,f)),b=s
}else{const e=t;0,v=ua(e.length>1?e(d,{attrs:s,slots:a,emit:l
}):e(d,null)),b=t.props?s:Li(s)}}catch(y){Hi.length=0,ir(y,e,1),v=oa(zi)}let O=v
;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=O
;e.length&&7&t&&(i&&e.some(me)&&(b=ji(b,i)),O=aa(O,b,!1,!0))}
return n.dirs&&(O=aa(O,null,!1,!0),
O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&Wr(O,n.transition),
v=O,kr(g),v}const Li=e=>{let t
;for(const n in e)("class"===n||"style"===n||fe(n))&&((t||(t={}))[n]=e[n])
;return t},ji=(e,t)=>{const n={}
;for(const r in e)me(r)&&r.slice(9)in t||(n[r]=e[r]);return n}
;function Bi(e,t,n){const r=Object.keys(t)
;if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){
const i=r[o];if(t[i]!==e[i]&&!Mi(n,i))return!0}return!1}
const Qi=e=>e.__isSuspense
;const Ui=Symbol.for("v-fgt"),Fi=Symbol.for("v-txt"),zi=Symbol.for("v-cmt"),qi=Symbol.for("v-stc"),Hi=[]
;let Vi=null;function Zi(e=!1){Hi.push(Vi=e?null:[])}let Wi=1;function Xi(e){
Wi+=e,e<0&&Vi&&(Vi.hasOnce=!0)}function Gi(e){
return e.dynamicChildren=Wi>0?Vi||de:null,
Hi.pop(),Vi=Hi[Hi.length-1]||null,Wi>0&&Vi&&Vi.push(e),e}
function Yi(e,t,n,r,o,i){return Gi(ra(e,t,n,r,o,i,!0))}function Ki(e,t,n,r,o){
return Gi(oa(e,t,n,r,o,!0))}function Ji(e){return!!e&&!0===e.__v_isVNode}
function ea(e,t){return e.type===t.type&&e.key===t.key}
const ta=({key:e})=>null!=e?e:null,na=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),
null!=e?_e(e)||Mn(e)||Se(e)?{i:yr,r:e,k:t,f:!!n}:e:null)
;function ra(e,t=null,n=null,r=0,o=null,i=(e===Ui?0:1),a=!1,s=!1){const l={
__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ta(t),ref:t&&na(t),scopeId:wr,
slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,
ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,
targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,
dynamicProps:o,dynamicChildren:null,appContext:null,ctx:yr}
;return s?(pa(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=_e(n)?8:16),
Wi>0&&!a&&Vi&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Vi.push(l),l}
const oa=function(e,t=null,n=null,r=0,o=null,i=!1){e&&e!==yo||(e=zi);if(Ji(e)){
const r=aa(e,t,!0)
;return n&&pa(r,n),Wi>0&&!i&&Vi&&(6&r.shapeFlag?Vi[Vi.indexOf(e)]=r:Vi.push(r)),
r.patchFlag=-2,r}a=e,Se(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=ia(t)
;let{class:e,style:n}=t
;e&&!_e(e)&&(t.class=et(e)),Te(n)&&(Dn(n)&&!ye(n)&&(n=ge({},n)),t.style=Xe(n))}
const s=_e(e)?1:Qi(e)?128:Tr(e)?64:Te(e)?4:Se(e)?2:0;return ra(e,t,n,r,o,s,i,!0)
};function ia(e){return e?Dn(e)||oi(e)?ge({},e):e:null}
function aa(e,t,n=!1,r=!1){
const{props:o,ref:i,patchFlag:a,children:s,transition:l}=e,c=t?ha(o||{},t):o,u={
__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ta(c),
ref:t&&t.ref?n&&i?ye(i)?i.concat(na(t)):[i,na(t)]:na(t):i,scopeId:e.scopeId,
slotScopeIds:e.slotScopeIds,children:s,target:e.target,
targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,
shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ui?-1===a?16:16|a:a,
dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,
appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,
suspense:e.suspense,ssContent:e.ssContent&&aa(e.ssContent),
ssFallback:e.ssFallback&&aa(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,
ce:e.ce};return l&&r&&Wr(u,l.clone(u)),u}function sa(e=" ",t=0){
return oa(Fi,null,e,t)}function la(e,t){const n=oa(qi,null,e)
;return n.staticCount=t,n}function ca(e="",t=!1){
return t?(Zi(),Ki(zi,null,e)):oa(zi,null,e)}function ua(e){
return null==e||"boolean"==typeof e?oa(zi):ye(e)?oa(Ui,null,e.slice()):Ji(e)?da(e):oa(Fi,null,String(e))
}function da(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:aa(e)}
function pa(e,t){let n=0;const{shapeFlag:r}=e
;if(null==t)t=null;else if(ye(t))n=16;else if("object"==typeof t){if(65&r){
const n=t.default;return void(n&&(n._c&&(n._d=!1),pa(e,n()),n._c&&(n._d=!0)))}{
n=32;const r=t._
;r||oi(t)?3===r&&yr&&(1===yr.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=yr}
}else Se(t)?(t={default:t,_ctx:yr},n=32):(t=String(t),64&r?(n=16,t=[sa(t)]):n=8)
;e.children=t,e.shapeFlag|=n}function ha(...e){const t={}
;for(let n=0;n<e.length;n++){const r=e[n]
;for(const e in r)if("class"===e)t.class!==r.class&&(t.class=et([t.class,r.class]));else if("style"===e)t.style=Xe([t.style,r.style]);else if(fe(e)){
const n=t[e],o=r[e];!o||n===o||ye(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)
}else""!==e&&(t[e]=r[e])}return t}function fa(e,t,n,r=null){or(e,t,7,[n,r])}
const ma=Go();let ga=0;let va=null;const ba=()=>va||yr;let Oa,ya;{
const e=We(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{
r.length>1?r.forEach((t=>t(e))):r[0](e)}}
;Oa=t("__VUE_INSTANCE_SETTERS__",(e=>va=e)),
ya=t("__VUE_SSR_SETTERS__",(e=>_a=e))}const wa=e=>{const t=va
;return Oa(e),e.scope.on(),()=>{e.scope.off(),Oa(t)}},ka=()=>{
va&&va.scope.off(),Oa(null)};function xa(e){return 4&e.vnode.shapeFlag}
let Sa,_a=!1;function Ea(e,t,n){
Se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Te(t)&&(e.setupState=zn(t)),
Ta(e,n)}function Ta(e,t,n){const r=e.type;if(!e.render){if(!t&&Sa&&!r.render){
const t=r.template||Fo(e).template;if(t){
const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,s=ge(ge({
isCustomElement:n,delimiters:i},o),a);r.render=Sa(t,s)}}e.render=r.render||pe}{
const t=wa(e);Dt();try{Bo(e)}finally{$t(),t()}}}const Ca={
get:(e,t)=>(Ft(e,0,""),e[t])};function Aa(e){const t=t=>{e.exposed=t||{}}
;return{attrs:new Proxy(e.attrs,Ca),slots:e.slots,emit:e.emit,expose:t}}
function Pa(e){
return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zn((t=e.exposed,
!Oe(t,"__v_skip")&&Object.isExtensible(t)&&qe(t,"__v_skip",!0),t)),{
get:(t,n)=>n in t?t[n]:n in Po?Po[n](e):void 0,has:(e,t)=>t in e||t in Po
})):e.proxy;var t}function Da(e,t=!0){
return Se(e)?e.displayName||e.name:e.name||t&&e.__name}const $a=(e,t)=>{
const n=function(e,t,n=!1){let r,o
;return Se(e)?r=e:(r=e.get,o=e.set),new Yn(r,o,n)}(e,0,_a);return n}
;function Ra(e,t,n){const r=arguments.length
;return 2===r?Te(t)&&!ye(t)?Ji(t)?oa(e,null,[t]):oa(e,t):oa(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Ji(n)&&(n=[n]),
oa(e,t,n))}const Na="3.5.12";
/**
* @vue/runtime-dom v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ma;const Ia="undefined"!=typeof window&&window.trustedTypes;if(Ia)try{
Ma=Ia.createPolicy("vue",{createHTML:e=>e})}catch(G$){}
const La=Ma?e=>Ma.createHTML(e):e=>e,ja="undefined"!=typeof document?document:null,Ba=ja&&ja.createElement("template"),Qa={
insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode
;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{
const o="svg"===t?ja.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ja.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ja.createElement(e,{
is:n}):ja.createElement(e)
;return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),
o},createText:e=>ja.createTextNode(e),createComment:e=>ja.createComment(e),
setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},
parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,
querySelector:e=>ja.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},
insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild
;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),
o!==i&&(o=o.nextSibling););else{
Ba.innerHTML=La("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e)
;const o=Ba.content;if("svg"===r||"mathml"===r){const e=o.firstChild
;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}
t.insertBefore(o,n)}
return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}
},Ua="transition",Fa="animation",za=Symbol("_vtc"),qa={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
},Ha=ge({},Qr,qa),Va=e=>(e.displayName="Transition",
e.props=Ha,e),Za=Va(((e,{slots:t})=>Ra(zr,function(e){const t={}
;for(const C in e)C in qa||(t[C]=e[C]);if(!1===e.css)return t
;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,f=function(e){
if(null==e)return null;if(Te(e))return[Ga(e.enter),Ga(e.leave)];{const t=Ga(e)
;return[t,t]}
}(o),m=f&&f[0],g=f&&f[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:O,onLeave:y,onLeaveCancelled:w,onBeforeAppear:k=v,onAppear:x=b,onAppearCancelled:S=O}=t,_=(e,t,n)=>{
Ka(e,t?u:s),Ka(e,t?c:a),n&&n()},E=(e,t)=>{
e._isLeaving=!1,Ka(e,d),Ka(e,h),Ka(e,p),t&&t()},T=e=>(t,n)=>{
const o=e?x:b,a=()=>_(t,e,n);Wa(o,[t,a]),Ja((()=>{
Ka(t,e?l:i),Ya(t,e?u:s),Xa(o)||ts(t,r,m,a)}))};return ge(t,{onBeforeEnter(e){
Wa(v,[e]),Ya(e,i),Ya(e,a)},onBeforeAppear(e){Wa(k,[e]),Ya(e,l),Ya(e,c)},
onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t)
;Ya(e,d),Ya(e,p),document.body.offsetHeight,Ja((()=>{
e._isLeaving&&(Ka(e,d),Ya(e,h),Xa(y)||ts(e,r,g,n))})),Wa(y,[e,n])},
onEnterCancelled(e){_(e,!1),Wa(O,[e])},onAppearCancelled(e){_(e,!0),Wa(S,[e])},
onLeaveCancelled(e){E(e),Wa(w,[e])}})}(e),t))),Wa=(e,t=[])=>{
ye(e)?e.forEach((e=>e(...t))):e&&e(...t)
},Xa=e=>!!e&&(ye(e)?e.some((e=>e.length>1)):e.length>1);function Ga(e){
return Ve(e)}function Ya(e,t){
t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),
(e[za]||(e[za]=new Set)).add(t)}function Ka(e,t){
t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[za]
;n&&(n.delete(t),n.size||(e[za]=void 0))}function Ja(e){
requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let es=0
;function ts(e,t,n,r){const o=e._endId=++es,i=()=>{o===e._endId&&r()}
;if(null!=n)return setTimeout(i,n)
;const{type:a,timeout:s,propCount:l}=function(e,t){
const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${Ua}Delay`),i=r(`${Ua}Duration`),a=ns(o,i),s=r(`${Fa}Delay`),l=r(`${Fa}Duration`),c=ns(s,l)
;let u=null,d=0,p=0
;t===Ua?a>0&&(u=Ua,d=a,p=i.length):t===Fa?c>0&&(u=Fa,d=c,p=l.length):(d=Math.max(a,c),
u=d>0?a>c?Ua:Fa:null,p=u?u===Ua?i.length:l.length:0)
;const h=u===Ua&&/\b(transform|all)(,|$)/.test(r(`${Ua}Property`).toString())
;return{type:u,timeout:d,propCount:p,hasTransform:h}}(e,t);if(!a)return r()
;const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{
t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()
}),s+1),e.addEventListener(c,p)}function ns(e,t){
for(;e.length<t.length;)e=e.concat(e)
;return Math.max(...t.map(((t,n)=>rs(t)+rs(e[n]))))}function rs(e){
return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}
const os=Symbol("_vod"),is=Symbol("_vsh"),as={
beforeMount(e,{value:t},{transition:n}){
e[os]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ss(e,t)
},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},
updated(e,{value:t,oldValue:n},{transition:r}){
!t!=!n&&(r?t?(r.beforeEnter(e),ss(e,!0),r.enter(e)):r.leave(e,(()=>{ss(e,!1)
})):ss(e,t))},beforeUnmount(e,{value:t}){ss(e,t)}};function ss(e,t){
e.style.display=t?e[os]:"none",e[is]=!t}const ls=Symbol("");function cs(e){
const t=ba();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{
Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>ds(e,n)))
},r=()=>{const r=e(t.proxy);t.ce?ds(t.ce,r):us(t.subTree,r),n(r)};so((()=>{
Ai(r,null,{flush:"post"})})),lo((()=>{const e=new MutationObserver(r)
;e.observe(t.subTree.el.parentNode,{childList:!0}),ho((()=>e.disconnect()))}))}
function us(e,t){if(128&e.shapeFlag){const n=e.suspense
;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{
us(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree
;if(1&e.shapeFlag&&e.el)ds(e.el,t);else if(e.type===Ui)e.children.forEach((e=>us(e,t)));else if(e.type===qi){
let{el:n,anchor:r}=e;for(;n&&(ds(n,t),n!==r);)n=n.nextSibling}}function ds(e,t){
if(1===e.nodeType){const n=e.style;let r=""
;for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[ls]=r}}
const ps=/(^|;)\s*display\s*:/;const hs=/\s*!important$/;function fs(e,t,n){
if(ye(n))n.forEach((n=>fs(e,t,n)));else if(null==n&&(n=""),
t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=gs[t]
;if(n)return n;let r=Le(t);if("filter"!==r&&r in e)return gs[t]=r;r=Qe(r)
;for(let o=0;o<ms.length;o++){const n=ms[o]+r;if(n in e)return gs[t]=n}return t
}(e,t);hs.test(n)?e.setProperty(Be(r),n.replace(hs,""),"important"):e[r]=n}}
const ms=["Webkit","Moz","ms"],gs={};const vs="http://www.w3.org/1999/xlink"
;function bs(e,t,n,r,o,i=nt(t)){
r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(vs,t.slice(6,t.length)):e.setAttributeNS(vs,t,n):null==n||i&&!rt(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ee(n)?String(n):n)
}function Os(e,t,n,r,o){
if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?La(n):n))
;const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){
const r="OPTION"===i?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n)
;return r===o&&"_value"in e||(e.value=o),
null==n&&e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){
const r=typeof e[t]
;"boolean"===r?n=rt(n):null==n&&"string"===r?(n="",a=!0):"number"===r&&(n=0,
a=!0)}try{e[t]=n}catch(G$){}a&&e.removeAttribute(o||t)}function ys(e,t,n,r){
e.addEventListener(t,n,r)}const ws=Symbol("_vei");function ks(e,t,n,r,o=null){
const i=e[ws]||(e[ws]={}),a=i[t];if(r&&a)a.value=r;else{const[n,s]=function(e){
let t;if(xs.test(e)){let n
;for(t={};n=e.match(xs);)e=e.slice(0,e.length-n[0].length),
t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):Be(e.slice(2))
;return[n,t]}(t);if(r){const a=i[t]=function(e,t){const n=e=>{if(e._vts){
if(e._vts<=n.attached)return}else e._vts=Date.now();or(function(e,t){if(ye(t)){
const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{
n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t
}(e,n.value),t,5,[e])};return n.value=e,n.attached=Es(),n}(r,o);ys(e,n,a,s)
}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,s),i[t]=void 0)
}}const xs=/(?:Once|Passive|Capture)$/;let Ss=0
;const _s=Promise.resolve(),Es=()=>Ss||(_s.then((()=>Ss=0)),Ss=Date.now())
;const Ts=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123
;const Cs=e=>{const t=e.props["onUpdate:modelValue"]||!1
;return ye(t)?e=>ze(t,e):t};function As(e){e.target.composing=!0}function Ps(e){
const t=e.target
;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}
const Ds=Symbol("_assign"),$s={
created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Ds]=Cs(o)
;const i=r||o.props&&"number"===o.props.type;ys(e,t?"change":"input",(t=>{
if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),i&&(r=He(r)),e[Ds](r)
})),n&&ys(e,"change",(()=>{e.value=e.value.trim()
})),t||(ys(e,"compositionstart",As),ys(e,"compositionend",Ps),ys(e,"change",Ps))
},mounted(e,{value:t}){e.value=null==t?"":t},
beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){
if(e[Ds]=Cs(a),e.composing)return;const s=null==t?"":t
;if((!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:He(e.value))!==s){
if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return
;if(o&&e.value.trim()===s)return}e.value=s}}},Rs={deep:!0,created(e,t,n){
e[Ds]=Cs(n),ys(e,"change",(()=>{
const t=e._modelValue,n=Ls(e),r=e.checked,o=e[Ds];if(ye(t)){
const e=it(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t]
;n.splice(e,1),o(n)}}else if(ke(t)){const e=new Set(t)
;r?e.add(n):e.delete(n),o(e)}else o(js(e,r))}))},mounted:Ns,beforeUpdate(e,t,n){
e[Ds]=Cs(n),Ns(e,t,n)}};function Ns(e,{value:t,oldValue:n},r){let o
;if(e._modelValue=t,
ye(t))o=it(t,r.props.value)>-1;else if(ke(t))o=t.has(r.props.value);else{
if(t===n)return;o=ot(t,js(e,!0))}e.checked!==o&&(e.checked=o)}const Ms={deep:!0,
created(e,{value:t,modifiers:{number:n}},r){const o=ke(t);ys(e,"change",(()=>{
const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?He(Ls(e)):Ls(e)))
;e[Ds](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,hr((()=>{e._assigning=!1
}))})),e[Ds]=Cs(r)},mounted(e,{value:t}){Is(e,t)},beforeUpdate(e,t,n){
e[Ds]=Cs(n)},updated(e,{value:t}){e._assigning||Is(e,t)}};function Is(e,t){
const n=e.multiple,r=ye(t);if(!n||r||ke(t)){
for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],a=Ls(i);if(n)if(r){
const e=typeof a
;i.selected="string"===e||"number"===e?t.some((e=>String(e)===String(a))):it(t,a)>-1
}else i.selected=t.has(a);else if(ot(Ls(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))
}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ls(e){
return"_value"in e?e._value:e.value}function js(e,t){
const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}
const Bs=["ctrl","shift","alt","meta"],Qs={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,
right:e=>"button"in e&&2!==e.button,
exact:(e,t)=>Bs.some((n=>e[`${n}Key`]&&!t.includes(n)))},Us=(e,t)=>{
const n=e._withMods||(e._withMods={}),r=t.join(".")
;return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Qs[t[e]]
;if(r&&r(n,t))return}return e(n,...r)})},Fs={esc:"escape",space:" ",
up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",
delete:"backspace"},zs=(e,t)=>{
const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{
if(!("key"in n))return;const r=Be(n.key)
;return t.some((e=>e===r||Fs[e]===r))?e(n):void 0})},qs=ge({
patchProp:(e,t,n,r,o,i)=>{const a="svg"===o;"class"===t?function(e,t,n){
const r=e[za]
;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t
}(e,r,a):"style"===t?function(e,t,n){const r=e.style,o=_e(n);let i=!1;if(n&&!o){
if(t)if(_e(t))for(const e of t.split(";")){
const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&fs(r,t,"")
}else for(const e in t)null==n[e]&&fs(r,e,"")
;for(const e in n)"display"===e&&(i=!0),fs(r,e,n[e])}else if(o){if(t!==n){
const e=r[ls];e&&(n+=";"+e),r.cssText=n,i=ps.test(n)}
}else t&&e.removeAttribute("style")
;os in e&&(e[os]=i?r.display:"",e[is]&&(r.display="none"))
}(e,n,r):fe(t)?me(t)||ks(e,t,0,r,i):("."===t[0]?(t=t.slice(1),
1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){
if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ts(t)&&Se(n))
;if("spellcheck"===t||"draggable"===t||"translate"===t)return!1
;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1
;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){
const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1
}if(Ts(t)&&_e(n))return!1;return t in e
}(e,t,r,a))?(Os(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||bs(e,t,r,a,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&_e(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),
bs(e,t,r,a)):Os(e,Le(t),r,0,t)}},Qa);let Hs;function Vs(){return Hs||(Hs=Oi(qs))
}const Zs=(...e)=>{const t=Vs().createApp(...e),{mount:n}=t;return t.mount=e=>{
const r=function(e){if(_e(e)){return document.querySelector(e)}return e}(e)
;if(!r)return;const o=t._component
;Se(o)||o.render||o.template||(o.template=r.innerHTML),
1===r.nodeType&&(r.textContent="");const i=n(r,!1,function(e){
if(e instanceof SVGElement)return"svg"
;if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"
}(r))
;return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),
i},t};const Ws=Na.startsWith("3");function Xs(e,t=""){
if(e instanceof Promise)return e;const n="function"==typeof(r=e)?r():Qn(r);var r
;return e&&n?Array.isArray(n)?n.map((e=>Xs(e,t))):"object"==typeof n?Object.fromEntries(Object.entries(n).map((([e,t])=>"titleTemplate"===e||e.startsWith("on")?[e,Qn(t)]:[e,Xs(t,e)]))):n:n
}const Gs={hooks:{"entries:resolve":function(e){
for(const t of e.entries)t.resolvedInput=Xs(t.input)}}},Ys="usehead"
;function Ks(e={}){
e.domDelayFn=e.domDelayFn||(e=>hr((()=>setTimeout((()=>e()),0))));const t=se(e)
;return t.use(Gs),t.install=function(e){return{install(t){
Ws&&(t.config.globalProperties.$unhead=e,
t.config.globalProperties.$head=e,t.provide(Ys,e))}}.install}(t),t}
const Js="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},el="__unhead_injection_handler__"
;function tl(){if(el in Js)return Js[el]();const e=ti(Ys);return e||ae}
function nl(e,t={}){const n=t.head||tl()
;if(n)return n.ssr?n.push(e,t):function(e,t,n={}){const r=In(!1),o=In({})
;Ti((()=>{o.value=r.value?{}:Xs(t)}));const i=e.push(o.value,n);Ci(o,(e=>{
i.patch(e)}));ba()&&(po((()=>{i.dispose()})),no((()=>{r.value=!0})),to((()=>{
r.value=!1})));return i}(n,e,t)}
const rl=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"]
;function ol(e,t){var n,r;const o=[],i=[],a=[]
;if(!e.customSecurity&&(!e.preferredSecurityScheme||(!(s=t)||Array.isArray(s)&&!s.length||(s??[]).some((e=>!Object.keys(e).length)))))return{
headers:o,queryString:i,cookies:a};var s
;const l=(null==t?void 0:t.some((t=>e.preferredSecurityScheme&&Object.keys(t).includes(e.preferredSecurityScheme))))||e.customSecurity?e.preferredSecurityScheme:Object.keys((null==t?void 0:t[0])??{}).pop(),c=null==(n=e.securitySchemes)?void 0:n[l??""]
;if(c)if("type"in c&&"apiKey"===c.type){if("in"in c&&"header"===c.in){
const t=(null==(r=e.apiKey.token)?void 0:r.length)?e.apiKey.token:"YOUR_TOKEN"
;o.push({name:"name"in c?c.name:"",value:t})}else if("in"in c&&"cookie"===c.in){
const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";a.push({name:c.name,
value:t})}else if("in"in c&&"query"===c.in){
const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";i.push({name:c.name,
value:t})}}else if(!("type"in c)||"http"!==c.type&&"basic"!==c.type){
if("type"in c&&"oauth2"===c.type.toLowerCase()){
const t=e.oAuth2.accessToken||"YOUR_SECRET_TOKEN";o.push({name:"Authorization",
value:`Bearer ${t}`})}
}else if("type"in c&&("basic"===c.type||"http"===c.type&&"basic"===c.scheme)){
const{username:t,password:n}=e.http.basic,r=il(t,n);o.push({
name:"Authorization",value:`Basic ${r}`.trim()})
}else if("type"in c&&"http"===c.type&&"bearer"===c.scheme){
const t=e.http.bearer.token.length?e.http.bearer.token:"YOUR_SECRET_TOKEN"
;o.push({name:"Authorization",value:`Bearer ${t}`})}return{headers:o,
queryString:i,cookies:a}}function il(e,t){
return(null==e?void 0:e.length)||(null==t?void 0:t.length)?(n=`${e}:${t}`,
"undefined"==typeof window?Buffer.from(n).toString("base64"):btoa(n)):"";var n}
function al(e){
return[e.apiKey.token,e.http.bearer.token,e.oAuth2.accessToken,il(e.http.basic.username,e.http.basic.password),e.http.basic.password].filter(Boolean)
}const sl=(e,t)=>{if("string"!=typeof t||!t.length)return e
;const n=e.trim(),r=t.trim()
;return[n.endsWith("/")?n:`${n}/`,r.startsWith("/")?r.slice(1):r].join("")}
;function ll(e,t){if(!ul(e,t))return t??"";const n=new URL(t)
;return n.href=e,n.searchParams.append("scalar_url",t),n.toString()}
const cl=e=>!/^https?:\/\//.test(e);function ul(e,t){
return!(!e||!t)&&(!cl(t)&&!function(e){const{hostname:t}=new URL(e)
;return["localhost","127.0.0.1","[::1]"].includes(t)}(t))}
const dl=Symbol.for("yaml.alias"),pl=Symbol.for("yaml.document"),hl=Symbol.for("yaml.map"),fl=Symbol.for("yaml.pair"),ml=Symbol.for("yaml.scalar"),gl=Symbol.for("yaml.seq"),vl=Symbol.for("yaml.node.type"),bl=e=>!!e&&"object"==typeof e&&e[vl]===dl,Ol=e=>!!e&&"object"==typeof e&&e[vl]===pl,yl=e=>!!e&&"object"==typeof e&&e[vl]===hl,wl=e=>!!e&&"object"==typeof e&&e[vl]===fl,kl=e=>!!e&&"object"==typeof e&&e[vl]===ml,xl=e=>!!e&&"object"==typeof e&&e[vl]===gl
;function Sl(e){if(e&&"object"==typeof e)switch(e[vl]){case hl:case gl:return!0}
return!1}function _l(e){if(e&&"object"==typeof e)switch(e[vl]){case dl:case hl:
case ml:case gl:return!0}return!1}
const El=e=>(kl(e)||Sl(e))&&!!e.anchor,Tl=Symbol("break visit"),Cl=Symbol("skip children"),Al=Symbol("remove node")
;function Pl(e,t){const n=function(e){
if("object"==typeof e&&(e.Collection||e.Node||e.Value))return Object.assign({
Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,
Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e)
;return e}(t);if(Ol(e)){
Dl(null,e.contents,n,Object.freeze([e]))===Al&&(e.contents=null)
}else Dl(null,e,n,Object.freeze([]))}function Dl(e,t,n,r){
const o=function(e,t,n,r){var o,i,a,s,l
;return"function"==typeof n?n(e,t,r):yl(t)?null==(o=n.Map)?void 0:o.call(n,e,t,r):xl(t)?null==(i=n.Seq)?void 0:i.call(n,e,t,r):wl(t)?null==(a=n.Pair)?void 0:a.call(n,e,t,r):kl(t)?null==(s=n.Scalar)?void 0:s.call(n,e,t,r):bl(t)?null==(l=n.Alias)?void 0:l.call(n,e,t,r):void 0
}(e,t,n,r);if(_l(o)||wl(o))return function(e,t,n){const r=t[t.length-1]
;if(Sl(r))r.items[e]=n;else if(wl(r))"key"===e?r.key=n:r.value=n;else{
if(!Ol(r)){const e=bl(r)?"alias":"scalar"
;throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}
}(e,r,o),Dl(e,o,n,r);if("symbol"!=typeof o)if(Sl(t)){
r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){
const o=Dl(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{
if(o===Tl)return Tl;o===Al&&(t.items.splice(e,1),e-=1)}}}else if(wl(t)){
r=Object.freeze(r.concat(t));const e=Dl("key",t.key,n,r);if(e===Tl)return Tl
;e===Al&&(t.key=null);const o=Dl("value",t.value,n,r);if(o===Tl)return Tl
;o===Al&&(t.value=null)}return o}Pl.BREAK=Tl,Pl.SKIP=Cl,Pl.REMOVE=Al;const $l={
"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class Rl{
constructor(e,t){
this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Rl.defaultYaml,e),
this.tags=Object.assign({},Rl.defaultTags,t)}clone(){
const e=new Rl(this.yaml,this.tags);return e.docStart=this.docStart,e}
atDocument(){const e=new Rl(this.yaml,this.tags);switch(this.yaml.version){
case"1.1":this.atNextDocument=!0;break;case"1.2":
this.atNextDocument=!1,this.yaml={explicit:Rl.defaultYaml.explicit,version:"1.2"
},this.tags=Object.assign({},Rl.defaultTags)}return e}add(e,t){
this.atNextDocument&&(this.yaml={explicit:Rl.defaultYaml.explicit,version:"1.1"
},this.tags=Object.assign({},Rl.defaultTags),this.atNextDocument=!1)
;const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{
if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),
n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{
if(this.yaml.explicit=!0,
1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1
;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0
;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:
return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!"
;if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){
const n=e.slice(2,-1)
;return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),
null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}
const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`)
;const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(i){
return t(String(i)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)
}tagString(e){
for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>$l[e]))
;return"!"===e[0]?e:`!<${e}>`}toString(e){
const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags)
;let r;if(e&&n.length>0&&_l(e.contents)){const t={};Pl(e.contents,((e,n)=>{
_l(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[]
;for(const[o,i]of n)"!!"===o&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${o} ${i}`)
;return t.join("\n")}}function Nl(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){
const t=JSON.stringify(e)
;throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)
}return!0}function Ml(e){const t=new Set;return Pl(e,{Value(e,n){
n.anchor&&t.add(n.anchor)}}),t}function Il(e,t){for(let n=1;;++n){
const r=`${e}${n}`;if(!t.has(r))return r}}function Ll(e,t,n,r){
if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;o<i;++o){
const t=r[o],n=Ll(e,r,String(o),t);void 0===n?delete r[o]:n!==t&&(r[o]=n)
}else if(r instanceof Map)for(const o of Array.from(r.keys())){
const t=r.get(o),n=Ll(e,r,o,t);void 0===n?r.delete(o):n!==t&&r.set(o,n)
}else if(r instanceof Set)for(const o of Array.from(r)){const t=Ll(e,r,o,o)
;void 0===t?r.delete(o):t!==o&&(r.delete(o),r.add(t))
}else for(const[o,i]of Object.entries(r)){const t=Ll(e,r,o,i)
;void 0===t?delete r[o]:t!==i&&(r[o]=t)}return e.call(t,n,r)}function jl(e,t,n){
if(Array.isArray(e))return e.map(((e,t)=>jl(e,String(t),n)))
;if(e&&"function"==typeof e.toJSON){if(!n||!El(e))return e.toJSON(t,n);const r={
aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{
r.res=e,delete n.onCreate};const o=e.toJSON(t,n)
;return n.onCreate&&n.onCreate(o),o}
return"bigint"!=typeof e||(null==n?void 0:n.keep)?e:Number(e)}Rl.defaultYaml={
explicit:!1,version:"1.2"},Rl.defaultTags={"!!":"tag:yaml.org,2002:"};class Bl{
constructor(e){Object.defineProperty(this,vl,{value:e})}clone(){
const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this))
;return this.range&&(e.range=this.range.slice()),e}
toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:o}={}){
if(!Ol(e))throw new TypeError("A document argument is required");const i={
anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,
maxAliasCount:"number"==typeof n?n:100},a=jl(this,"",i)
;if("function"==typeof r)for(const{count:s,res:l}of i.anchors.values())r(l,s)
;return"function"==typeof o?Ll(o,{"":a},"",a):a}}let Ql=class extends Bl{
constructor(e){super(dl),this.source=e,Object.defineProperty(this,"tag",{set(){
throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t
;return Pl(e,{Node:(e,n)=>{if(n===this)return Pl.BREAK
;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source}
;const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r);if(!i){
const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`
;throw new ReferenceError(e)}let a=n.get(i)
;if(a||(jl(i,null,t),a=n.get(i)),!a||void 0===a.res){
throw new ReferenceError("This should not happen: Alias anchor was not resolved?")
}
if(o>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=Ul(r,i,n)),a.count*a.aliasCount>o)){
throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")
}return a.res}toString(e,t,n){const r=`*${this.source}`;if(e){
if(Nl(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){
const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`
;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}
;function Ul(e,t,n){if(bl(t)){const r=t.resolve(e),o=n&&r&&n.get(r)
;return o?o.count*o.aliasCount:0}if(Sl(t)){let r=0;for(const o of t.items){
const t=Ul(e,o,n);t>r&&(r=t)}return r}if(wl(t)){
const r=Ul(e,t.key,n),o=Ul(e,t.value,n);return Math.max(r,o)}return 1}
const Fl=e=>!e||"function"!=typeof e&&"object"!=typeof e;class zl extends Bl{
constructor(e){super(ml),this.value=e}toJSON(e,t){
return(null==t?void 0:t.keep)?this.value:jl(this.value,e,t)}toString(){
return String(this.value)}}
zl.BLOCK_FOLDED="BLOCK_FOLDED",zl.BLOCK_LITERAL="BLOCK_LITERAL",
zl.PLAIN="PLAIN",zl.QUOTE_DOUBLE="QUOTE_DOUBLE",zl.QUOTE_SINGLE="QUOTE_SINGLE"
;const ql="tag:yaml.org,2002:";function Hl(e,t,n){var r,o,i
;if(Ol(e)&&(e=e.contents),_l(e))return e;if(wl(e)){
const t=null==(o=(r=n.schema[hl]).createNode)?void 0:o.call(r,n.schema,null,n)
;return t.items.push(e),t}
(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf())
;const{aliasDuplicateObjects:a,onAnchor:s,onTagObj:l,schema:c,sourceObjects:u}=n
;let d;if(a&&e&&"object"==typeof e){
if(d=u.get(e),d)return d.anchor||(d.anchor=s(e)),new Ql(d.anchor);d={
anchor:null,node:null},u.set(e,d)}
(null==t?void 0:t.startsWith("!!"))&&(t=ql+t.slice(2));let p=function(e,t,n){
if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0]
;if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>{var n
;return(null==(n=t.identify)?void 0:n.call(t,e))&&!t.format}))}(e,t,c.tags)
;if(!p){
if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){
const t=new zl(e);return d&&(d.node=t),t}
p=e instanceof Map?c[hl]:Symbol.iterator in Object(e)?c[gl]:c[hl]}
l&&(l(p),delete n.onTagObj)
;const h=(null==p?void 0:p.createNode)?p.createNode(n.schema,e,n):"function"==typeof(null==(i=null==p?void 0:p.nodeClass)?void 0:i.from)?p.nodeClass.from(n.schema,e,n):new zl(e)
;return t?h.tag=t:p.default||(h.tag=p.tag),d&&(d.node=h),h}function Vl(e,t,n){
let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o]
;if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t
}else r=new Map([[e,r]])}return Hl(r,void 0,{aliasDuplicateObjects:!1,
keepUndefined:!1,onAnchor:()=>{
throw new Error("This should not happen, please report a bug.")},schema:e,
sourceObjects:new Map})}
const Zl=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done
;class Wl extends Bl{constructor(e,t){
super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,
enumerable:!1,writable:!0})}clone(e){
const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this))
;return e&&(t.schema=e),
t.items=t.items.map((t=>_l(t)||wl(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),
t}addIn(e,t){if(Zl(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0)
;if(Sl(o))o.addIn(r,t);else{
if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)
;this.set(n,Vl(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e
;if(0===n.length)return this.delete(t);const r=this.get(t,!0)
;if(Sl(r))return r.deleteIn(n)
;throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}
getIn(e,t){const[n,...r]=e,o=this.get(n,!0)
;return 0===r.length?!t&&kl(o)?o.value:o:Sl(o)?o.getIn(r,t):void 0}
hasAllNullValues(e){return this.items.every((t=>{if(!wl(t))return!1
;const n=t.value
;return null==n||e&&kl(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag
}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t)
;const r=this.get(t,!0);return!!Sl(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e
;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0)
;if(Sl(e))e.setIn(r,t);else{
if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)
;this.set(n,Vl(this.schema,r,t))}}}}Wl.maxFlowStringSingleLineLength=60
;const Xl=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Gl(e,t){
return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}
const Yl=(e,t,n)=>e.endsWith("\n")?Gl(n,t):n.includes("\n")?"\n"+Gl(n,t):(e.endsWith(" ")?"":" ")+n,Kl="flow",Jl="block",ec="quoted"
;function tc(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:a,onOverflow:s}={}){
if(!o||o<0)return e;const l=Math.max(1+i,1+o-t.length);if(e.length<=l)return e
;const c=[],u={};let d,p,h=o-t.length
;"number"==typeof r&&(r>o-Math.max(2,i)?c.push(0):h=o-r);let f=!1,m=-1,g=-1,v=-1
;n===Jl&&(m=nc(e,m,t.length),-1!==m&&(h=m+l));for(let O;O=e[m+=1];){
if(n===ec&&"\\"===O){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break
;case"U":m+=9;break;default:m+=1}v=m}
if("\n"===O)n===Jl&&(m=nc(e,m,t.length)),h=m+t.length+l,d=void 0;else{
if(" "===O&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1]
;t&&" "!==t&&"\n"!==t&&"\t"!==t&&(d=m)}
if(m>=h)if(d)c.push(d),h=d+l,d=void 0;else if(n===ec){
for(;" "===p||"\t"===p;)p=O,O=e[m+=1],f=!0;const t=m>v+1?m-2:g-1
;if(u[t])return e;c.push(t),u[t]=!0,h=t+l,d=void 0}else f=!0}p=O}
if(f&&s&&s(),0===c.length)return e;a&&a();let b=e.slice(0,c[0])
;for(let O=0;O<c.length;++O){const r=c[O],o=c[O+1]||e.length
;0===r?b=`\n${t}${e.slice(0,o)}`:(n===ec&&u[r]&&(b+=`${e[r]}\\`),
b+=`\n${t}${e.slice(r+1,o)}`)}return b}function nc(e,t,n){let r=t,o=t+1,i=e[o]
;for(;" "===i||"\t"===i;)if(t<o+n)i=e[++t];else{do{i=e[++t]}while(i&&"\n"!==i)
;r=t,o=t+1,i=e[o]}return r}const rc=(e,t)=>({
indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,
minContentWidth:e.options.minContentWidth}),oc=e=>/^(%|---|\.\.\.)/m.test(e)
;function ic(e,t){const n=JSON.stringify(e)
;if(t.options.doubleQuotedAsJSON)return n
;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(oc(e)?" ":"")
;let a="",s=0
;for(let l=0,c=n[l];c;c=n[++l])if(" "===c&&"\\"===n[l+1]&&"n"===n[l+2]&&(a+=n.slice(s,l)+"\\ ",
l+=1,s=l,c="\\"),"\\"===c)switch(n[l+1]){case"u":{a+=n.slice(s,l)
;const e=n.substr(l+2,4);switch(e){case"0000":a+="\\0";break;case"0007":a+="\\a"
;break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N"
;break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P"
;break;default:"00"===e.substr(0,2)?a+="\\x"+e.substr(2):a+=n.substr(l,6)}
l+=5,s=l+1}break;case"n":if(r||'"'===n[l+2]||n.length<o)l+=1;else{
for(a+=n.slice(s,l)+"\n\n";"\\"===n[l+2]&&"n"===n[l+3]&&'"'!==n[l+4];)a+="\n",
l+=2;a+=i," "===n[l+2]&&(a+="\\"),l+=1,s=l+1}break;default:l+=1}
return a=s?a+n.slice(s):n,r?a:tc(a,i,ec,rc(t,!1))}function ac(e,t){
if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return ic(e,t)
;const n=t.indent||(oc(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'"
;return t.implicitKey?r:tc(r,n,Kl,rc(t,!1))}function sc(e,t){
const{singleQuote:n}=t.options;let r;if(!1===n)r=ic;else{
const t=e.includes('"'),o=e.includes("'");r=t&&!o?ac:o&&!t?ic:n?ac:ic}
return r(e,t)}let lc;try{lc=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{
lc=/\n+(?!\n|$)/g}function cc({comment:e,type:t,value:n},r,o,i){
const{blockQuote:a,commentString:s,lineWidth:l}=r.options
;if(!a||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return sc(n,r)
;const c=r.indent||(r.forceBlockIndent||oc(n)?" ":""),u="literal"===a||"folded"!==a&&t!==zl.BLOCK_FOLDED&&(t===zl.BLOCK_LITERAL||!function(e,t,n){
if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1
;for(let i=0,a=0;i<o;++i)if("\n"===e[i]){if(i-a>r)return!0
;if(a=i+1,o-a<=r)return!1}return!0}(n,l,c.length));if(!n)return u?"|\n":">\n"
;let d,p;for(p=n.length;p>0;--p){const e=n[p-1]
;if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(p)
;const f=h.indexOf("\n");-1===f?d="-":n===h||f!==h.length-1?(d="+",i&&i()):d="",
h&&(n=n.slice(0,-h.length),
"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(lc,`$&${c}`))
;let m,g=!1,v=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{
if("\n"!==e)break;v=m}}let b=n.substring(0,v<m?v+1:m)
;b&&(n=n.substring(b.length),b=b.replace(/\n+/g,`$&${c}`))
;let O=(u?"|":">")+(g?c?"2":"1":"")+d
;if(e&&(O+=" "+s(e.replace(/ ?[\r\n]+/g," ")),
o&&o()),u)return`${O}\n${c}${b}${n=n.replace(/\n+/g,`$&${c}`)}${h}`
;return`${O}\n${c}${tc(`${b}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Jl,rc(r,!0))}`
}function uc(e,t,n,r){
const{implicitKey:o,inFlow:i}=t,a="string"==typeof e.value?e:Object.assign({},e,{
value:String(e.value)});let{type:s}=e
;s!==zl.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(s=zl.QUOTE_DOUBLE)
;const l=e=>{switch(e){case zl.BLOCK_FOLDED:case zl.BLOCK_LITERAL:
return o||i?sc(a.value,t):cc(a,t,n,r);case zl.QUOTE_DOUBLE:return ic(a.value,t)
;case zl.QUOTE_SINGLE:return ac(a.value,t);case zl.PLAIN:
return function(e,t,n,r){
const{type:o,value:i}=e,{actualString:a,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t
;if(s&&i.includes("\n")||u&&/[[\]{},]/.test(i))return sc(i,t)
;if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return s||u||!i.includes("\n")?sc(i,t):cc(e,t,n,r)
;if(!s&&!u&&o!==zl.PLAIN&&i.includes("\n"))return cc(e,t,n,r);if(oc(i)){
if(""===l)return t.forceBlockIndent=!0,cc(e,t,n,r);if(s&&l===c)return sc(i,t)}
const d=i.replace(/\n+/g,`$&\n${l}`);if(a){const e=e=>{var t
;return e.default&&"tag:yaml.org,2002:str"!==e.tag&&(null==(t=e.test)?void 0:t.test(d))
},{compat:n,tags:r}=t.doc.schema
;if(r.some(e)||(null==n?void 0:n.some(e)))return sc(i,t)}
return s?d:tc(d,l,Kl,rc(t,!1))}(a,t,n,r);default:return null}};let c=l(s)
;if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n
;if(c=l(r),null===c)throw new Error(`Unsupported default string type ${r}`)}
return c}function dc(e,t){const n=Object.assign({blockQuote:!0,commentString:Xl,
defaultKeyType:null,defaultStringType:"PLAIN",directives:null,
doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",
flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,
nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0
},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1
;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,
flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",
indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,
options:n}}function pc(e,t,n,r){var o;if(wl(e))return e.toString(t,n,r)
;if(bl(e)){if(t.doc.directives)return e.toString(t)
;if(null==(o=t.resolvedAliases)?void 0:o.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes")
;t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),
e=e.resolve(t.doc)}let i;const a=_l(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e})
;i||(i=function(e,t){var n;if(t.tag){const n=e.filter((e=>e.tag===t.tag))
;if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let r,o;if(kl(t)){
o=t.value;const n=e.filter((e=>{var t
;return null==(t=e.identify)?void 0:t.call(e,o)}))
;r=n.find((e=>e.format===t.format))??n.find((e=>!e.format))
}else o=t,r=e.find((e=>e.nodeClass&&o instanceof e.nodeClass));if(!r){
const e=(null==(n=null==o?void 0:o.constructor)?void 0:n.name)??typeof o
;throw new Error(`Tag not resolved for ${e} value`)}return r
}(t.doc.schema.tags,a));const s=function(e,t,{anchors:n,doc:r}){
if(!r.directives)return"";const o=[],i=(kl(e)||Sl(e))&&e.anchor
;i&&Nl(i)&&(n.add(i),o.push(`&${i}`));const a=e.tag?e.tag:t.default?null:t.tag
;return a&&o.push(r.directives.tagString(a)),o.join(" ")}(a,i,t)
;s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1)
;const l="function"==typeof i.stringify?i.stringify(a,t,n,r):kl(a)?uc(a,t,n,r):a.toString(t,n,r)
;return s?kl(a)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}
function hc(e,t){
"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))
}function fc(e,t,{key:n,value:r}){
if((null==e?void 0:e.doc.schema.merge)&&mc(n))if(r=bl(r)?r.resolve(e.doc):r,
xl(r))for(const o of r.items)gc(e,t,o);else if(Array.isArray(r))for(const o of r)gc(e,t,o);else gc(e,t,r);else{
const o=jl(n,"",e)
;if(t instanceof Map)t.set(o,jl(r,o,e));else if(t instanceof Set)t.add(o);else{
const i=function(e,t,n){if(null===t)return""
;if("object"!=typeof t)return String(t);if(_l(e)&&(null==n?void 0:n.doc)){
const t=dc(n.doc,{});t.anchors=new Set
;for(const e of n.anchors.keys())t.anchors.add(e.anchor)
;t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){
let e=JSON.stringify(r)
;e.length>40&&(e=e.substring(0,36)+'..."'),hc(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),
n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),a=jl(r,i,e)
;i in t?Object.defineProperty(t,i,{value:a,writable:!0,enumerable:!0,
configurable:!0}):t[i]=a}}return t}
const mc=e=>"<<"===e||kl(e)&&"<<"===e.value&&(!e.type||e.type===zl.PLAIN)
;function gc(e,t,n){const r=e&&bl(n)?n.resolve(e.doc):n
;if(!yl(r))throw new Error("Merge sources must be maps or map aliases")
;const o=r.toJSON(null,e,Map)
;for(const[i,a]of o)t instanceof Map?t.has(i)||t.set(i,a):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{
value:a,writable:!0,enumerable:!0,configurable:!0});return t}function vc(e,t,n){
const r=Hl(e,void 0,n),o=Hl(t,void 0,n);return new bc(r,o)}class bc{
constructor(e,t=null){Object.defineProperty(this,vl,{value:fl
}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this
;return _l(t)&&(t=t.clone(e)),_l(n)&&(n=n.clone(e)),new bc(t,n)}toJSON(e,t){
return fc(t,(null==t?void 0:t.mapAsMap)?new Map:{},this)}toString(e,t,n){
return(null==e?void 0:e.doc)?function({key:e,value:t},n,r,o){
const{allNullValues:i,doc:a,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=n
;let p=_l(e)&&e.comment||null;if(d){
if(p)throw new Error("With simple keys, key nodes cannot have comments")
;if(Sl(e)||!_l(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")
}
let h=!d&&(!e||p&&null==t&&!n.inFlow||Sl(e)||(kl(e)?e.type===zl.BLOCK_FOLDED||e.type===zl.BLOCK_LITERAL:"object"==typeof e))
;n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(d||!i),indent:s+l})
;let f,m,g,v=!1,b=!1,O=pc(e,n,(()=>v=!0),(()=>b=!0))
;if(!h&&!n.inFlow&&O.length>1024){
if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters")
;h=!0}if(n.inFlow){if(i||null==t)return v&&r&&r(),""===O?"?":h?`? ${O}`:O
}else if(i&&!d||null==t&&h)return O=`? ${O}`,
p&&!v?O+=Yl(O,n.indent,c(p)):b&&o&&o(),O
;v&&(p=null),h?(p&&(O+=Yl(O,n.indent,c(p))),
O=`? ${O}\n${s}:`):(O=`${O}:`,p&&(O+=Yl(O,n.indent,c(p)))),
_l(t)?(f=!!t.spaceBefore,
m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=a.createNode(t))),
n.implicitKey=!1,
h||p||!kl(t)||(n.indentAtStart=O.length+1),b=!1,u||!(l.length>=2)||n.inFlow||h||!xl(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2))
;let y=!1;const w=pc(t,n,(()=>y=!0),(()=>b=!0));let k=" "
;if(p||f||m)k=f?"\n":"",
m&&(k+=`\n${Gl(c(m),n.indent)}`),""!==w||n.inFlow?k+=`\n${n.indent}`:"\n"===k&&(k="\n\n");else if(!h&&Sl(t)){
const e=w[0],r=w.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length
;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=w.indexOf(" ")
;"&"===e&&-1!==n&&n<r&&"!"===w[n+1]&&(n=w.indexOf(" ",n+1)),
(-1===n||r<n)&&(t=!0)}t||(k=`\n${n.indent}`)}}else""!==w&&"\n"!==w[0]||(k="")
;return O+=k+w,n.inFlow?y&&r&&r():g&&!y?O+=Yl(O,n.indent,c(g)):b&&o&&o(),O
}(this,e,t,n):JSON.stringify(this)}}function Oc(e,t,n){
return(t.inFlow??e.flow?wc:yc)(e,t,n)}
function yc({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:i,onChompKeep:a,onComment:s}){
const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:i,
type:null});let d=!1;const p=[];for(let f=0;f<t.length;++f){const e=t[f]
;let o=null
;if(_l(e))!d&&e.spaceBefore&&p.push(""),kc(n,p,e.commentBefore,d),e.comment&&(o=e.comment);else if(wl(e)){
const t=_l(e.key)?e.key:null
;t&&(!d&&t.spaceBefore&&p.push(""),kc(n,p,t.commentBefore,d))}d=!1
;let a=pc(e,u,(()=>o=null),(()=>d=!0))
;o&&(a+=Yl(a,i,c(o))),d&&o&&(d=!1),p.push(r+a)}let h
;if(0===p.length)h=o.start+o.end;else{h=p[0];for(let e=1;e<p.length;++e){
const t=p[e];h+=t?`\n${l}${t}`:"\n"}}
return e?(h+="\n"+Gl(c(e),l),s&&s()):d&&a&&a(),h}
function wc({items:e},t,{flowChars:n,itemIndent:r}){
const{indent:o,indentStep:i,flowCollectionPadding:a,options:{commentString:s}}=t
;r+=i;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,u=0
;const d=[];for(let f=0;f<e.length;++f){const n=e[f];let o=null
;if(_l(n))n.spaceBefore&&d.push(""),
kc(t,d,n.commentBefore,!1),n.comment&&(o=n.comment);else if(wl(n)){
const e=_l(n.key)?n.key:null
;e&&(e.spaceBefore&&d.push(""),kc(t,d,e.commentBefore,!1),e.comment&&(c=!0))
;const r=_l(n.value)?n.value:null
;r?(r.comment&&(o=r.comment),r.commentBefore&&(c=!0)):null==n.value&&(null==e?void 0:e.comment)&&(o=e.comment)
}o&&(c=!0);let i=pc(n,l,(()=>o=null))
;f<e.length-1&&(i+=","),o&&(i+=Yl(i,r,s(o))),
!c&&(d.length>u||i.includes("\n"))&&(c=!0),d.push(i),u=d.length}
const{start:p,end:h}=n;if(0===d.length)return p+h;if(!c){
const e=d.reduce(((e,t)=>e+t.length+2),2)
;c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p
;for(const t of d)e+=t?`\n${i}${o}${t}`:"\n";return`${e}\n${o}${h}`}
return`${p}${a}${d.join(" ")}${a}${h}`}
function kc({indent:e,options:{commentString:t}},n,r,o){
if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=Gl(t(r),e);n.push(o.trimStart())}}
function xc(e,t){const n=kl(t)?t.value:t;for(const r of e)if(wl(r)){
if(r.key===t||r.key===n)return r;if(kl(r.key)&&r.key.value===n)return r}}
class Sc extends Wl{static get tagName(){return"tag:yaml.org,2002:map"}
constructor(e){super(hl,e),this.items=[]}static from(e,t,n){
const{keepUndefined:r,replacer:o}=n,i=new this(e),a=(e,a)=>{
if("function"==typeof o)a=o.call(t,e,a);else if(Array.isArray(o)&&!o.includes(e))return
;(void 0!==a||r)&&i.items.push(vc(e,a,n))}
;if(t instanceof Map)for(const[s,l]of t)a(s,l);else if(t&&"object"==typeof t)for(const s of Object.keys(t))a(s,t[s])
;return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}
add(e,t){var n;let r
;r=wl(e)?e:e&&"object"==typeof e&&"key"in e?new bc(e.key,e.value):new bc(e,null==e?void 0:e.value)
;const o=xc(this.items,r.key),i=null==(n=this.schema)?void 0:n.sortMapEntries
;if(o){if(!t)throw new Error(`Key ${r.key} already set`)
;kl(o.value)&&Fl(r.value)?o.value.value=r.value:o.value=r.value}else if(i){
const e=this.items.findIndex((e=>i(r,e)<0))
;-1===e?this.items.push(r):this.items.splice(e,0,r)}else this.items.push(r)}
delete(e){const t=xc(this.items,e);if(!t)return!1
;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){
const n=xc(this.items,e),r=null==n?void 0:n.value
;return(!t&&kl(r)?r.value:r)??void 0}has(e){return!!xc(this.items,e)}set(e,t){
this.add(new bc(e,t),!0)}toJSON(e,t,n){
const r=n?new n:(null==t?void 0:t.mapAsMap)?new Map:{}
;(null==t?void 0:t.onCreate)&&t.onCreate(r);for(const o of this.items)fc(t,r,o)
;return r}toString(e,t,n){if(!e)return JSON.stringify(this)
;for(const r of this.items)if(!wl(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`)
;return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{
allNullValues:!0})),Oc(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},
itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const _c={collection:"map",
default:!0,nodeClass:Sc,tag:"tag:yaml.org,2002:map",
resolve:(e,t)=>(yl(e)||t("Expected a mapping for this tag"),e),
createNode:(e,t,n)=>Sc.from(e,t,n)};class Ec extends Wl{static get tagName(){
return"tag:yaml.org,2002:seq"}constructor(e){super(gl,e),this.items=[]}add(e){
this.items.push(e)}delete(e){const t=Tc(e);if("number"!=typeof t)return!1
;return this.items.splice(t,1).length>0}get(e,t){const n=Tc(e)
;if("number"!=typeof n)return;const r=this.items[n];return!t&&kl(r)?r.value:r}
has(e){const t=Tc(e);return"number"==typeof t&&t<this.items.length}set(e,t){
const n=Tc(e)
;if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`)
;const r=this.items[n];kl(r)&&Fl(t)?r.value=t:this.items[n]=t}toJSON(e,t){
const n=[];(null==t?void 0:t.onCreate)&&t.onCreate(n);let r=0
;for(const o of this.items)n.push(jl(o,String(r++),t));return n}toString(e,t,n){
return e?Oc(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},
itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}
static from(e,t,n){const{replacer:r}=n,o=new this(e)
;if(t&&Symbol.iterator in Object(t)){let e=0;for(let i of t){
if("function"==typeof r){const n=t instanceof Set?i:String(e++);i=r.call(t,n,i)}
o.items.push(Hl(i,void 0,n))}}return o}}function Tc(e){let t=kl(e)?e.value:e
;return t&&"string"==typeof t&&(t=Number(t)),
"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const Cc={collection:"seq",
default:!0,nodeClass:Ec,tag:"tag:yaml.org,2002:seq",
resolve:(e,t)=>(xl(e)||t("Expected a sequence for this tag"),e),
createNode:(e,t,n)=>Ec.from(e,t,n)},Ac={identify:e=>"string"==typeof e,
default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,
stringify:(e,t,n,r)=>uc(e,t=Object.assign({actualString:!0},t),n,r)},Pc={
identify:e=>null==e,createNode:()=>new zl(null),default:!0,
tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,
resolve:()=>new zl(null),
stringify:({source:e},t)=>"string"==typeof e&&Pc.test.test(e)?e:t.options.nullStr
},Dc={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
resolve:e=>new zl("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){
if(e&&Dc.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}
return t?n.options.trueStr:n.options.falseStr}}
;function $c({format:e,minFractionDigits:t,tag:n,value:r}){
if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r)
;if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf"
;let i=JSON.stringify(r)
;if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){
let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1)
;for(;n-- >0;)i+="0"}return i}const Rc={identify:e=>"number"==typeof e,
default:!0,tag:"tag:yaml.org,2002:float",
test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,
stringify:$c},Nc={identify:e=>"number"==typeof e,default:!0,
tag:"tag:yaml.org,2002:float",format:"EXP",
test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,
resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value)
;return isFinite(t)?t.toExponential():$c(e)}},Mc={
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){
const t=new zl(parseFloat(e)),n=e.indexOf(".")
;return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},
stringify:$c
},Ic=e=>"bigint"==typeof e||Number.isInteger(e),Lc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n)
;function jc(e,t,n){const{value:r}=e;return Ic(r)&&r>=0?n+r.toString(t):$c(e)}
const Bc={identify:e=>Ic(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",
format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Lc(e,2,8,n),
stringify:e=>jc(e,8,"0o")},Qc={identify:Ic,default:!0,
tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Lc(e,0,10,n),
stringify:$c},Uc={identify:e=>Ic(e)&&e>=0,default:!0,
tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,
resolve:(e,t,n)=>Lc(e,2,16,n),stringify:e=>jc(e,16,"0x")
},Fc=[_c,Cc,Ac,Pc,Dc,Bc,Qc,Uc,Rc,Nc,Mc];function zc(e){
return"bigint"==typeof e||Number.isInteger(e)}
const qc=({value:e})=>JSON.stringify(e),Hc=[_c,Cc].concat([{
identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",
resolve:e=>e,stringify:qc},{identify:e=>null==e,createNode:()=>new zl(null),
default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,
stringify:qc},{identify:e=>"boolean"==typeof e,default:!0,
tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,
stringify:qc},{identify:zc,default:!0,tag:"tag:yaml.org,2002:int",
test:/^-?(?:0|[1-9][0-9]*)$/,
resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),
stringify:({value:e})=>zc(e)?e.toString():JSON.stringify(e)},{
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
resolve:e=>parseFloat(e),stringify:qc}],{default:!0,tag:"",test:/^/,
resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Vc={
identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",
resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64")
;if("function"==typeof atob){
const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length)
;for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}
return t("This environment does not support reading binary tags; either Buffer or atob is required"),
e},stringify({comment:e,type:t,value:n},r,o,i){const a=n;let s
;if("function"==typeof Buffer)s=a instanceof Buffer?a.toString("base64"):Buffer.from(a.buffer).toString("base64");else{
if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required")
;{let e="";for(let t=0;t<a.length;++t)e+=String.fromCharCode(a[t]);s=btoa(e)}}
if(t||(t=zl.BLOCK_LITERAL),t!==zl.QUOTE_DOUBLE){
const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(s.length/e),o=new Array(n)
;for(let t=0,r=0;t<n;++t,r+=e)o[t]=s.substr(r,e)
;s=o.join(t===zl.BLOCK_LITERAL?"\n":" ")}return uc({comment:e,type:t,value:s
},r,o,i)}};function Zc(e,t){if(xl(e))for(let n=0;n<e.items.length;++n){
let r=e.items[n];if(!wl(r)){if(yl(r)){
r.items.length>1&&t("Each pair must have its own sequence indicator")
;const e=r.items[0]||new bc(new zl(null))
;if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),
r.comment){const t=e.value??e.key
;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}
e.items[n]=wl(r)?r:new bc(r)}}else t("Expected a sequence for this tag")
;return e}function Wc(e,t,n){const{replacer:r}=n,o=new Ec(e)
;o.tag="tag:yaml.org,2002:pairs";let i=0
;if(t&&Symbol.iterator in Object(t))for(let a of t){let e,s
;if("function"==typeof r&&(a=r.call(t,String(i++),a)),Array.isArray(a)){
if(2!==a.length)throw new TypeError(`Expected [key, value] tuple: ${a}`);e=a[0],
s=a[1]}else if(a&&a instanceof Object){const t=Object.keys(a)
;if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`)
;e=t[0],s=a[e]}else e=a;o.items.push(vc(e,s,n))}return o}const Xc={
collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Zc,
createNode:Wc};class Gc extends Ec{constructor(){
super(),this.add=Sc.prototype.add.bind(this),
this.delete=Sc.prototype.delete.bind(this),this.get=Sc.prototype.get.bind(this),
this.has=Sc.prototype.has.bind(this),
this.set=Sc.prototype.set.bind(this),this.tag=Gc.tag}toJSON(e,t){
if(!t)return super.toJSON(e);const n=new Map
;(null==t?void 0:t.onCreate)&&t.onCreate(n);for(const r of this.items){let e,o
;if(wl(r)?(e=jl(r.key,"",t),
o=jl(r.value,e,t)):e=jl(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys")
;n.set(e,o)}return n}static from(e,t,n){const r=Wc(e,t,n),o=new this
;return o.items=r.items,o}}Gc.tag="tag:yaml.org,2002:omap";const Yc={
collection:"seq",identify:e=>e instanceof Map,nodeClass:Gc,default:!1,
tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Zc(e,t),r=[]
;for(const{key:o}of n.items)kl(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value))
;return Object.assign(new Gc,n)},createNode:(e,t,n)=>Gc.from(e,t,n)}
;function Kc({value:e,source:t},n){
return t&&(e?Jc:eu).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}
const Jc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new zl(!0),
stringify:Kc},eu={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new zl(!1),
stringify:Kc},tu={identify:e=>"number"==typeof e,default:!0,
tag:"tag:yaml.org,2002:float",
test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,
stringify:$c},nu={identify:e=>"number"==typeof e,default:!0,
tag:"tag:yaml.org,2002:float",format:"EXP",
test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,
resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value)
;return isFinite(t)?t.toExponential():$c(e)}},ru={
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){
const t=new zl(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){
const r=e.substring(n+1).replace(/_/g,"")
;"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:$c
},ou=e=>"bigint"==typeof e||Number.isInteger(e)
;function iu(e,t,n,{intAsBigInt:r}){const o=e[0]
;if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){
case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}
const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n)
;return"-"===o?-1*i:i}function au(e,t,n){const{value:r}=e;if(ou(r)){
const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return $c(e)}const su={
identify:ou,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",
test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>iu(e,2,2,n),stringify:e=>au(e,2,"0b")
},lu={identify:ou,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",
test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>iu(e,1,8,n),stringify:e=>au(e,8,"0")
},cu={identify:ou,default:!0,tag:"tag:yaml.org,2002:int",
test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>iu(e,0,10,n),stringify:$c},uu={
identify:ou,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",
test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>iu(e,2,16,n),
stringify:e=>au(e,16,"0x")};class du extends Sc{constructor(e){
super(e),this.tag=du.tag}add(e){let t
;t=wl(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new bc(e.key,null):new bc(e,null)
;xc(this.items,t.key)||this.items.push(t)}get(e,t){const n=xc(this.items,e)
;return!t&&wl(n)?kl(n.key)?n.key.value:n.key:n}set(e,t){
if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t)
;const n=xc(this.items,e)
;n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new bc(e))
}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){
if(!e)return JSON.stringify(this)
;if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{
allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}
static from(e,t,n){const{replacer:r}=n,o=new this(e)
;if(t&&Symbol.iterator in Object(t))for(let i of t)"function"==typeof r&&(i=r.call(t,i,i)),
o.items.push(vc(i,null,n));return o}}du.tag="tag:yaml.org,2002:set";const pu={
collection:"map",identify:e=>e instanceof Set,nodeClass:du,default:!1,
tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>du.from(e,t,n),resolve(e,t){
if(yl(e)){if(e.hasAllNullValues(!0))return Object.assign(new du,e)
;t("Set items must all have null values")
}else t("Expected a mapping for this tag");return e}};function hu(e,t){
const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0))
;return"-"===n?o(-1)*i:i}function fu(e){let{value:t}=e,n=e=>e
;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return $c(e)
;let r="";t<0&&(r="-",t*=n(-1));const o=n(60),i=[t%o]
;return t<60?i.unshift(0):(t=(t-i[0])/o,
i.unshift(t%o),t>=60&&(t=(t-i[0])/o,i.unshift(t))),
r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}
const mu={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,
tag:"tag:yaml.org,2002:int",format:"TIME",
test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
resolve:(e,t,{intAsBigInt:n})=>hu(e,n),stringify:fu},gu={
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
resolve:e=>hu(e,!1),stringify:fu},vu={identify:e=>e instanceof Date,default:!0,
tag:"tag:yaml.org,2002:timestamp",
test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),
resolve(e){const t=e.match(vu.test)
;if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd")
;const[,n,r,o,i,a,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0
;let c=Date.UTC(n,r-1,o,i||0,a||0,s||0,l);const u=t[8];if(u&&"Z"!==u){
let e=hu(u,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},
stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")
},bu=[_c,Cc,Ac,Pc,Jc,eu,su,lu,cu,uu,tu,nu,ru,Vc,Yc,Xc,pu,mu,gu,vu],Ou=new Map([["core",Fc],["failsafe",[_c,Cc,Ac]],["json",Hc],["yaml11",bu],["yaml-1.1",bu]]),yu={
binary:Vc,bool:Dc,float:Mc,floatExp:Nc,floatNaN:Rc,floatTime:gu,int:Qc,
intHex:Uc,intOct:Bc,intTime:mu,map:_c,null:Pc,omap:Yc,pairs:Xc,seq:Cc,set:pu,
timestamp:vu},wu={"tag:yaml.org,2002:binary":Vc,"tag:yaml.org,2002:omap":Yc,
"tag:yaml.org,2002:pairs":Xc,"tag:yaml.org,2002:set":pu,
"tag:yaml.org,2002:timestamp":vu};function ku(e,t){let n=Ou.get(t);if(!n){
if(!Array.isArray(e)){
const e=Array.from(Ou.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ")
;throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)
}n=[]}
if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()))
;return n.map((e=>{if("string"!=typeof e)return e;const t=yu[e];if(t)return t
;const n=Object.keys(yu).map((e=>JSON.stringify(e))).join(", ")
;throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}
const xu=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;let Su=class e{
constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:a}){
this.compat=Array.isArray(e)?ku(e,"compat"):e?ku(null,e):null,
this.merge=!!n,this.name="string"==typeof o&&o||"core",
this.knownTags=r?wu:{},this.tags=ku(t,this.name),
this.toStringOptions=a??null,Object.defineProperty(this,hl,{value:_c
}),Object.defineProperty(this,ml,{value:Ac}),Object.defineProperty(this,gl,{
value:Cc}),this.sortMapEntries="function"==typeof i?i:!0===i?xu:null}clone(){
const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this))
;return t.tags=this.tags.slice(),t}};class _u{constructor(e,t,n){
this.commentBefore=null,
this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,vl,{
value:pl});let r=null
;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0)
;const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",
prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o
;let{version:i}=o
;(null==n?void 0:n._directives)?(this.directives=n._directives.atDocument(),
this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Rl({
version:i
}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}
clone(){const e=Object.create(_u.prototype,{[vl]:{value:pl}})
;return e.commentBefore=this.commentBefore,
e.comment=this.comment,e.errors=this.errors.slice(),
e.warnings=this.warnings.slice(),
e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),
e.schema=this.schema.clone(),
e.contents=_l(this.contents)?this.contents.clone(e.schema):this.contents,
this.range&&(e.range=this.range.slice()),e}add(e){
Eu(this.contents)&&this.contents.add(e)}addIn(e,t){
Eu(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){
const n=Ml(this);e.anchor=!t||n.has(t)?Il(t||"a",n):t}return new Ql(e.anchor)}
createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e
},"",e),r=t;else if(Array.isArray(t)){
const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String)
;n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0)
;const{aliasDuplicateObjects:o,anchorPrefix:i,flow:a,keepUndefined:s,onTagObj:l,tag:c}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){
const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=Ml(e))
;const i=Il(t,o);return o.add(i),i},setAnchors:()=>{for(const e of n){
const t=r.get(e);if("object"!=typeof t||!t.anchor||!kl(t.node)&&!Sl(t.node)){
const t=new Error("Failed to resolve repeated object (this should not happen)")
;throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}
}(this,i||"a"),h=Hl(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:s??!1,
onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p})
;return a&&Sl(h)&&(h.flow=!0),d(),h}createPair(e,t,n={}){
const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new bc(r,o)
}delete(e){return!!Eu(this.contents)&&this.contents.delete(e)}deleteIn(e){
return Zl(e)?null!=this.contents&&(this.contents=null,
!0):!!Eu(this.contents)&&this.contents.deleteIn(e)}get(e,t){
return Sl(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){
return Zl(e)?!t&&kl(this.contents)?this.contents.value:this.contents:Sl(this.contents)?this.contents.getIn(e,t):void 0
}has(e){return!!Sl(this.contents)&&this.contents.has(e)}hasIn(e){
return Zl(e)?void 0!==this.contents:!!Sl(this.contents)&&this.contents.hasIn(e)}
set(e,t){
null==this.contents?this.contents=Vl(this.schema,[e],t):Eu(this.contents)&&this.contents.set(e,t)
}setIn(e,t){
Zl(e)?this.contents=t:null==this.contents?this.contents=Vl(this.schema,Array.from(e),t):Eu(this.contents)&&this.contents.setIn(e,t)
}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":
this.directives?this.directives.yaml.version="1.1":this.directives=new Rl({
version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break
;case"1.2":case"next":
this.directives?this.directives.yaml.version=e:this.directives=new Rl({version:e
}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:
this.directives&&delete this.directives,n=null;break;default:{
const t=JSON.stringify(e)
;throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)
}}if(t.schema instanceof Object)this.schema=t.schema;else{
if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required")
;this.schema=new Su(Object.assign(n,t))}}
toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){
const a={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,
maxAliasCount:"number"==typeof r?r:100},s=jl(this.contents,t??"",a)
;if("function"==typeof o)for(const{count:l,res:c}of a.anchors.values())o(c,l)
;return"function"==typeof i?Ll(i,{"":s},"",s):s}toJSON(e,t){return this.toJS({
json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){
if(this.errors.length>0)throw new Error("Document with errors cannot be stringified")
;if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){
const t=JSON.stringify(e.indent)
;throw new Error(`"indent" option must be a positive integer, not ${t}`)}
return function(e,t){var n;const r=[];let o=!0===t.directives
;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e)
;t?(r.push(t),o=!0):e.directives.docStart&&(o=!0)}o&&r.push("---")
;const i=dc(e,t),{commentString:a}=i.options;if(e.commentBefore){
1!==r.length&&r.unshift("");const t=a(e.commentBefore);r.unshift(Gl(t,""))}
let s=!1,l=null;if(e.contents){if(_l(e.contents)){
if(e.contents.spaceBefore&&o&&r.push(""),e.contents.commentBefore){
const t=a(e.contents.commentBefore);r.push(Gl(t,""))}
i.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0
;let n=pc(e.contents,i,(()=>l=null),t)
;l&&(n+=Yl(n,"",a(l))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}`
}else r.push(pc(e.contents,i))
;if(null==(n=e.directives)?void 0:n.docEnd)if(e.comment){const t=a(e.comment)
;t.includes("\n")?(r.push("..."),r.push(Gl(t,""))):r.push(`... ${t}`)
}else r.push("...");else{let t=e.comment
;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!l||""===r[r.length-1]||r.push(""),
r.push(Gl(a(t),"")))}return r.join("\n")+"\n"}(this,e)}}function Eu(e){
if(Sl(e))return!0
;throw new Error("Expected a YAML collection as document contents")}
class Tu extends Error{constructor(e,t,n,r){
super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Cu extends Tu{
constructor(e,t,n){super("YAMLParseError",e,t,n)}}class Au extends Tu{
constructor(e,t,n){super("YAMLWarning",e,t,n)}}const Pu=(e,t)=>n=>{
if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)))
;const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`
;let i=o-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"")
;if(i>=60&&a.length>80){const e=Math.min(i-39,a.length-79);a="…"+a.substring(e),
i-=e-1}
if(a.length>80&&(a=a.substring(0,79)+"…"),r>1&&/^ *$/.test(a.substring(0,i))){
let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1])
;n.length>80&&(n=n.substring(0,79)+"…\n"),a=n+a}if(/[^ ]/.test(a)){let e=1
;const t=n.linePos[1]
;t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)))
;const s=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${a}\n${s}\n`}}
;function Du(e,{flow:t,indicator:n,next:r,offset:o,onError:i,parentIndent:a,startOnNewline:s}){
let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=!1,g=null,v=null,b=null,O=null,y=null,w=null
;for(const S of e)switch(m&&("space"!==S.type&&"newline"!==S.type&&"comma"!==S.type&&i(S.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),
m=!1),
g&&(c&&"comment"!==S.type&&"newline"!==S.type&&i(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),
g=null),S.type){case"space":
t||"doc-start"===n&&"flow-collection"===(null==r?void 0:r.type)||!S.source.includes("\t")||(g=S),
u=!0;break;case"comment":{
u||i(S,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
;const e=S.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":
c?d?d+=S.source:l=!0:p+=S.source,c=!0,h=!0,(v||b)&&(f=!0),u=!0;break
;case"anchor":
v&&i(S,"MULTIPLE_ANCHORS","A node can have at most one anchor"),S.source.endsWith(":")&&i(S.offset+S.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),
v=S,null===w&&(w=S.offset),c=!1,u=!1,m=!0;break;case"tag":
b&&i(S,"MULTIPLE_TAGS","A node can have at most one tag"),
b=S,null===w&&(w=S.offset),c=!1,u=!1,m=!0;break;case n:
(v||b)&&i(S,"BAD_PROP_ORDER",`Anchors and tags must be after the ${S.source} indicator`),
y&&i(S,"UNEXPECTED_TOKEN",`Unexpected ${S.source} in ${t??"collection"}`),
y=S,c="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(t){
O&&i(S,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),O=S,c=!1,u=!1;break}default:
i(S,"UNEXPECTED_TOKEN",`Unexpected ${S.type} token`),c=!1,u=!1}
const k=e[e.length-1],x=k?k.offset+k.source.length:o
;return m&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),
g&&(c&&g.indent<=a||"block-map"===(null==r?void 0:r.type)||"block-seq"===(null==r?void 0:r.type))&&i(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),
{comma:O,found:y,spaceBefore:l,comment:d,hasNewline:h,hasNewlineAfterProp:f,
anchor:v,tag:b,end:x,start:w??x}}function $u(e){if(!e)return null
;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":
case"single-quoted-scalar":if(e.source.includes("\n"))return!0
;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1
;case"flow-collection":for(const t of e.items){
for(const e of t.start)if("newline"===e.type)return!0
;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0
;if($u(t.key)||$u(t.value))return!0}return!1;default:return!0}}
function Ru(e,t,n){if("flow-collection"===(null==t?void 0:t.type)){
const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&$u(t)){
n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}
function Nu(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1
;const o="function"==typeof r?r:(t,n)=>t===n||kl(t)&&kl(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge)
;return t.some((e=>o(e.key,n)))}
const Mu="All mapping items must start at the same column";function Iu(e,t,n,r){
let o="";if(e){let i=!1,a="";for(const s of e){const{source:e,type:l}=s
;switch(l){case"space":i=!0;break;case"comment":{
n&&!i&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
;const t=e.substring(1)||" ";o?o+=a+t:o=t,a="";break}case"newline":
o&&(a+=e),i=!0;break;default:
r(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{
comment:o,offset:t}}
const Lu="Block collections are not allowed within flow collections",ju=e=>e&&("block-map"===e.type||"block-seq"===e.type)
;function Bu(e,t,n,r,o,i){
const a="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){
var a;const s=new((null==i?void 0:i.nodeClass)??Sc)(n.schema)
;n.atRoot&&(n.atRoot=!1);let l=r.offset,c=null;for(const u of r.items){
const{start:i,key:d,sep:p,value:h}=u,f=Du(i,{indicator:"explicit-key-ind",
next:d??(null==p?void 0:p[0]),offset:l,onError:o,parentIndent:r.indent,
startOnNewline:!0}),m=!f.found;if(m){
if(d&&("block-seq"===d.type?o(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==r.indent&&o(l,"BAD_INDENT",Mu)),
!f.anchor&&!f.tag&&!p){
c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment)
;continue}
(f.hasNewlineAfterProp||$u(d))&&o(d??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")
}else(null==(a=f.found)?void 0:a.indent)!==r.indent&&o(l,"BAD_INDENT",Mu)
;const g=f.end,v=d?e(n,d,f,o):t(n,g,i,null,f,o)
;n.schema.compat&&Ru(r.indent,d,o),
Nu(n,s.items,v)&&o(g,"DUPLICATE_KEY","Map keys must be unique")
;const b=Du(p??[],{indicator:"map-value-ind",next:h,offset:v.range[2],onError:o,
parentIndent:r.indent,startOnNewline:!d||"block-scalar"===d.type})
;if(l=b.end,b.found){
m&&("block-map"!==(null==h?void 0:h.type)||b.hasNewline||o(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),
n.options.strict&&f.start<b.found.offset-1024&&o(v.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"))
;const i=h?e(n,h,b,o):t(n,l,p,null,b,o)
;n.schema.compat&&Ru(r.indent,h,o),l=i.range[2];const a=new bc(v,i)
;n.options.keepSourceTokens&&(a.srcToken=u),s.items.push(a)}else{
m&&o(v.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),
b.comment&&(v.comment?v.comment+="\n"+b.comment:v.comment=b.comment)
;const e=new bc(v);n.options.keepSourceTokens&&(e.srcToken=u),s.items.push(e)}}
return c&&c<l&&o(c,"IMPOSSIBLE","Map comment with trailing content"),
s.range=[r.offset,l,c??l],s
}(e,t,n,r,i):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){
const a=new((null==i?void 0:i.nodeClass)??Ec)(n.schema);n.atRoot&&(n.atRoot=!1)
;let s=r.offset,l=null;for(const{start:c,value:u}of r.items){const i=Du(c,{
indicator:"seq-item-ind",next:u,offset:s,onError:o,parentIndent:r.indent,
startOnNewline:!0});if(!i.found){if(!(i.anchor||i.tag||u)){
l=i.end,i.comment&&(a.comment=i.comment);continue}
u&&"block-seq"===u.type?o(i.end,"BAD_INDENT","All sequence items must start at the same column"):o(s,"MISSING_CHAR","Sequence item without - indicator")
}const d=u?e(n,u,i,o):t(n,i.end,c,null,i,o)
;n.schema.compat&&Ru(r.indent,u,o),s=d.range[2],a.items.push(d)}
return a.range=[r.offset,s,l??s],a
}(e,t,n,r,i):function({composeNode:e,composeEmptyNode:t},n,r,o,i){
const a="{"===r.start.source,s=a?"flow map":"flow sequence",l=new((null==i?void 0:i.nodeClass)??(a?Sc:Ec))(n.schema)
;l.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1)
;let u=r.offset+r.start.source.length;for(let m=0;m<r.items.length;++m){
const i=r.items[m],{start:c,key:d,sep:p,value:h}=i,f=Du(c,{flow:s,
indicator:"explicit-key-ind",next:d??(null==p?void 0:p[0]),offset:u,onError:o,
parentIndent:r.indent,startOnNewline:!1});if(!f.found){
if(!(f.anchor||f.tag||p||h)){
0===m&&f.comma?o(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):m<r.items.length-1&&o(f.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),
f.comment&&(l.comment?l.comment+="\n"+f.comment:l.comment=f.comment),u=f.end
;continue}
!a&&n.options.strict&&$u(d)&&o(d,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")
}
if(0===m)f.comma&&o(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(f.comma||o(f.start,"MISSING_CHAR",`Missing , between ${s} items`),
f.comment){let e="";e:for(const t of c)switch(t.type){case"comma":case"space":
break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){
let t=l.items[l.items.length-1]
;wl(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,
f.comment=f.comment.substring(e.length+1)}}if(a||p||f.found){
const m=f.end,g=d?e(n,d,f,o):t(n,m,c,null,f,o)
;ju(d)&&o(g.range,"BLOCK_IN_FLOW",Lu);const v=Du(p??[],{flow:s,
indicator:"map-value-ind",next:h,offset:g.range[2],onError:o,
parentIndent:r.indent,startOnNewline:!1});if(v.found){
if(!a&&!f.found&&n.options.strict){if(p)for(const e of p){if(e===v.found)break
;if("newline"===e.type){
o(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")
;break}}
f.start<v.found.offset-1024&&o(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")
}
}else h&&("source"in h&&h.source&&":"===h.source[0]?o(h,"MISSING_CHAR",`Missing space after : in ${s}`):o(v.start,"MISSING_CHAR",`Missing , or : between ${s} items`))
;const b=h?e(n,h,v,o):v.found?t(n,v.end,p,null,v,o):null
;b?ju(h)&&o(b.range,"BLOCK_IN_FLOW",Lu):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment)
;const O=new bc(g,b);if(n.options.keepSourceTokens&&(O.srcToken=i),a){const e=l
;Nu(n,e.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(O)
}else{const e=new Sc(n.schema);e.flow=!0,e.items.push(O),l.items.push(e)}
u=b?b.range[2]:v.end}else{const r=h?e(n,h,f,o):t(n,f.end,p,null,f,o)
;l.items.push(r),u=r.range[2],ju(h)&&o(r.range,"BLOCK_IN_FLOW",Lu)}}
const d=a?"}":"]",[p,...h]=r.end;let f=u
;if(p&&p.source===d)f=p.offset+p.source.length;else{
const e=s[0].toUpperCase()+s.substring(1)
;o(u,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`),
p&&1!==p.source.length&&h.unshift(p)}if(h.length>0){
const e=Iu(h,f,n.options.strict,o)
;e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),
l.range=[r.offset,f,e.offset]}else l.range=[r.offset,f,f];return l
}(e,t,n,r,i),s=a.constructor
;return"!"===o||o===s.tagName?(a.tag=s.tagName,a):(o&&(a.tag=o),a)}
function Qu(e,t,n){const r=t.offset,o=function({offset:e,props:t},n,r){
if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),
null;const{source:o}=t[0],i=o[0];let a=0,s="",l=-1;for(let p=1;p<o.length;++p){
const t=o[p];if(s||"-"!==t&&"+"!==t){const n=Number(t);!a&&n?a=n:-1===l&&(l=e+p)
}else s=t}
-1!==l&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`)
;let c=!1,u="",d=o.length;for(let p=1;p<t.length;++p){const e=t[p]
;switch(e.type){case"space":c=!0;case"newline":d+=e.source.length;break
;case"comment":if(n&&!c){
r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
}d+=e.source.length,u=e.source.substring(1);break;case"error":
r(e,"UNEXPECTED_TOKEN",e.message),d+=e.source.length;break;default:{
r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`)
;const t=e.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:i,indent:a,
chomp:s,comment:u,length:d}}(t,e.options.strict,n);if(!o)return{value:"",
type:null,comment:"",range:[r,r,r]}
;const i=">"===o.mode?zl.BLOCK_FOLDED:zl.BLOCK_LITERAL,a=t.source?function(e){
const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[(null==r?void 0:r[1])?[r[1],n.slice(r[1].length)]:["",n]]
;for(let i=1;i<t.length;i+=2)o.push([t[i],t[i+1]]);return o}(t.source):[]
;let s=a.length;for(let m=a.length-1;m>=0;--m){const e=a[m][1]
;if(""!==e&&"\r"!==e)break;s=m}if(0===s){
const e="+"===o.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):""
;let n=r+o.length;return t.source&&(n+=t.source.length),{value:e,type:i,
comment:o.comment,range:[r,n,n]}}let l=t.indent+o.indent,c=t.offset+o.length,u=0
;for(let m=0;m<s;++m){const[t,r]=a[m];if(""!==r&&"\r"!==r){if(t.length<l){
const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator"
;n(c+t.length,"MISSING_CHAR",e)}
if(0===o.indent&&(l=t.length),u=m,0===l&&!e.atRoot){
n(c,"BAD_INDENT","Block scalar values in collections must be indented")}break}
0===o.indent&&t.length>l&&(l=t.length),c+=t.length+r.length+1}
for(let m=a.length-1;m>=s;--m)a[m][0].length>l&&(s=m+1);let d="",p="",h=!1
;for(let m=0;m<u;++m)d+=a[m][0].slice(l)+"\n";for(let m=u;m<s;++m){let[e,t]=a[m]
;c+=e.length+t.length+1;const r="\r"===t[t.length-1]
;if(r&&(t=t.slice(0,-1)),t&&e.length<l){
const i=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`
;n(c-t.length-(r?2:1),"BAD_INDENT",i),e=""}
i===zl.BLOCK_LITERAL?(d+=p+e.slice(l)+t,
p="\n"):e.length>l||"\t"===t[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),
d+=p+e.slice(l)+t,
p="\n",h=!0):""===t?"\n"===p?d+="\n":p="\n":(d+=p+t,p=" ",h=!1)}switch(o.chomp){
case"-":break;case"+":for(let e=s;e<a.length;++e)d+="\n"+a[e][0].slice(l)
;"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}
const f=r+o.length+t.source.length;return{value:d,type:i,comment:o.comment,
range:[r,f,f]}}function Uu(e,t,n){const{offset:r,type:o,source:i,end:a}=e
;let s,l;const c=(e,t,o)=>n(r+e,t,o);switch(o){case"scalar":
s=zl.PLAIN,l=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character"
;break;case",":n="flow indicator character ,";break;case"%":
n="directive indicator character %";break;case"|":case">":
n=`block scalar indicator ${e[0]}`;break;case"@":case"`":
n=`reserved character ${e[0]}`}
n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Fu(e)
}(i,c);break;case"single-quoted-scalar":s=zl.QUOTE_SINGLE,l=function(e,t){
"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote")
;return Fu(e.slice(1,-1)).replace(/''/g,"'")}(i,c);break
;case"double-quoted-scalar":s=zl.QUOTE_DOUBLE,l=function(e,t){let n=""
;for(let r=1;r<e.length-1;++r){const o=e[r]
;if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=zu(e,r);n+=t,r=o
}else if("\\"===o){let o=e[++r];const i=qu[o]
;if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){
const i={x:2,u:4,U:8}[o];n+=Hu(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2)
;t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}
}else if(" "===o||"\t"===o){const t=r;let i=e[r+1]
;for(;" "===i||"\t"===i;)i=e[1+ ++r]
;"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}
'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote')
;return n}(i,c);break;default:
return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{
value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}
const u=r+i.length,d=Iu(a,u,t,n);return{value:l,type:s,comment:d.comment,
range:[r,u,d.offset]}}function Fu(e){let t,n;try{
t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),
n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(l){
t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e)
;if(!r)return e;let o=r[1],i=" ",a=t.lastIndex
;for(n.lastIndex=a;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],
i=" "),a=n.lastIndex;const s=/[ \t]*(.*)/sy
;return s.lastIndex=a,r=s.exec(e),o+i+((null==r?void 0:r[1])??"")}
function zu(e,t){let n="",r=e[t+1]
;for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),
r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const qu={0:"\0",a:"",b:"\b",
e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029",
" ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function Hu(e,t,n,r){
const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN
;if(isNaN(i)){const o=e.substr(t-2,n+2)
;return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}
return String.fromCodePoint(i)}function Vu(e,t,n,r){
const{value:o,type:i,comment:a,range:s}="block-scalar"===t.type?Qu(e,t,r):Uu(t,e.options.strict,r),l=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,c=n&&l?function(e,t,n,r,o){
var i;if("!"===n)return e[ml];const a=[]
;for(const l of e.tags)if(!l.collection&&l.tag===n){
if(!l.default||!l.test)return l;a.push(l)}
for(const l of a)if(null==(i=l.test)?void 0:i.test(t))return l
;const s=e.knownTags[n]
;if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,
test:void 0})),s
;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),
e[ml]
}(e.schema,o,l,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){
const i=t.tags.find((e=>{var t
;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))||t[ml];if(t.compat){
const a=t.compat.find((e=>{var t
;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))??t[ml]
;if(i.tag!==a.tag){
o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(a.tag)}`,!0)
}}return i}(e,o,t,r):e.schema[ml];let u;try{
const i=c.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options)
;u=kl(i)?i:new zl(i)}catch(d){const e=d instanceof Error?d.message:String(d)
;r(n??t,"TAG_RESOLVE_FAILED",e),u=new zl(o)}
return u.range=s,u.source=o,i&&(u.type=i),
l&&(u.tag=l),c.format&&(u.format=c.format),a&&(u.comment=a),u}
function Zu(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){
let n=t[r];switch(n.type){case"space":case"comment":case"newline":
e-=n.source.length;continue}
for(n=t[++r];"space"===(null==n?void 0:n.type);)e+=n.source.length,n=t[++r]
;break}}return e}const Wu={composeNode:Xu,composeEmptyNode:Gu}
;function Xu(e,t,n,r){const{spaceBefore:o,comment:i,anchor:a,tag:s}=n;let l,c=!0
;switch(t.type){case"alias":l=function({options:e},{offset:t,source:n,end:r},o){
const i=new Ql(n.substring(1))
;""===i.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string")
;i.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0)
;const a=t+n.length,s=Iu(r,a,e.strict,o)
;i.range=[t,a,s.offset],s.comment&&(i.comment=s.comment);return i
}(e,t,r),(a||s)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties")
;break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":
case"block-scalar":l=Vu(e,t,s,r),a&&(l.anchor=a.source.substring(1));break
;case"block-map":case"block-seq":case"flow-collection":l=function(e,t,n,r,o){
var i
;const a=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq"
;if(!r||!a||"!"===a||a===Sc.tagName&&"map"===s||a===Ec.tagName&&"seq"===s||!s)return Bu(e,t,n,o,a)
;let l=t.schema.tags.find((e=>e.tag===a&&e.collection===s));if(!l){
const i=t.schema.knownTags[a]
;if(!i||i.collection!==s)return(null==i?void 0:i.collection)?o(r,"BAD_COLLECTION_TYPE",`${i.tag} used for ${s} collection, but expects ${i.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),
Bu(e,t,n,o,a);t.schema.tags.push(Object.assign({},i,{default:!1})),l=i}
const c=Bu(e,t,n,o,a,l),u=(null==(i=l.resolve)?void 0:i.call(l,c,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options))??c,d=_l(u)?u:new zl(u)
;return d.range=c.range,d.tag=a,(null==l?void 0:l.format)&&(d.format=l.format),d
}(Wu,e,t,s,r),a&&(l.anchor=a.source.substring(1));break;default:
r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),
l=Gu(e,t.offset,void 0,null,n,r),c=!1}
return a&&""===l.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),
o&&(l.spaceBefore=!0),
i&&("scalar"===t.type&&""===t.source?l.comment=i:l.commentBefore=i),
e.options.keepSourceTokens&&c&&(l.srcToken=t),l}
function Gu(e,t,n,r,{spaceBefore:o,comment:i,anchor:a,tag:s,end:l},c){
const u=Vu(e,{type:"scalar",offset:Zu(t,n,r),indent:-1,source:""},s,c)
;return a&&(u.anchor=a.source.substring(1),
""===u.anchor&&c(a,"BAD_ALIAS","Anchor cannot be an empty string")),
o&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=l),u}function Yu(e){
if("number"==typeof e)return[e,e+1]
;if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]]
;const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}
function Ku(e){var t;let n="",r=!1,o=!1;for(let i=0;i<e.length;++i){const a=e[i]
;switch(a[0]){case"#":
n+=(""===n?"":o?"\n\n":"\n")+(a.substring(1)||" "),r=!0,o=!1;break;case"%":
"#"!==(null==(t=e[i+1])?void 0:t[0])&&(i+=1),r=!1;break;default:r||(o=!0),r=!1}}
return{comment:n,afterEmptyLine:o}}class Ju{constructor(e={}){
this.doc=null,this.atDirectives=!1,
this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{
const o=Yu(e)
;r?this.warnings.push(new Au(o,t,n)):this.errors.push(new Cu(o,t,n))
},this.directives=new Rl({version:e.version||"1.2"}),this.options=e}
decorate(e,t){const{comment:n,afterEmptyLine:r}=Ku(this.prelude);if(n){
const o=e.contents
;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(Sl(o)&&!o.flow&&o.items.length>0){
let e=o.items[0];wl(e)&&(e=e.key);const t=e.commentBefore
;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore
;o.commentBefore=e?`${n}\n${e}`:n}}
t?(Array.prototype.push.apply(e.errors,this.errors),
Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,
e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}
streamInfo(){return{comment:Ku(this.prelude).comment,directives:this.directives,
errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){
for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){
case"directive":this.directives.add(e.source,((t,n,r)=>{const o=Yu(e)
;o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)
})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{
const t=function(e,t,{offset:n,start:r,value:o,end:i},a){const s=Object.assign({
_directives:t},e),l=new _u(void 0,s),c={atRoot:!0,directives:l.directives,
options:l.options,schema:l.schema},u=Du(r,{indicator:"doc-start",
next:o??(null==i?void 0:i[0]),offset:n,onError:a,parentIndent:0,
startOnNewline:!0})
;u.found&&(l.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||u.hasNewline||a(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),
l.contents=o?Xu(c,o,u,a):Gu(c,u.end,r,null,u,a)
;const d=l.contents.range[2],p=Iu(i,d,!1,a)
;return p.comment&&(l.comment=p.comment),l.range=[n,d,p.offset],l
}(this.options,this.directives,e,this.onError)
;this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),
this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1
;break}case"byte-order-mark":case"space":break;case"comment":case"newline":
this.prelude.push(e.source);break;case"error":{
const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Cu(Yu(e),"UNEXPECTED_TOKEN",t)
;this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}
case"doc-end":{if(!this.doc){
const t="Unexpected doc-end without preceding document"
;this.errors.push(new Cu(Yu(e),"UNEXPECTED_TOKEN",t));break}
this.doc.directives.docEnd=!0
;const t=Iu(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError)
;if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment
;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset
;break}default:
this.errors.push(new Cu(Yu(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))
}}*end(e=!1,t=-1){
if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){
const e=Object.assign({_directives:this.directives
},this.options),n=new _u(void 0,e)
;this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),
n.range=[0,t,t],this.decorate(n,!1),yield n}}}function ed(e){switch(e){
case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}
const td=new Set("0123456789ABCDEFabcdef"),nd=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),rd=new Set(",[]{}"),od=new Set(" ,[]{}\n\r\t"),id=e=>!e||od.has(e)
;class ad{constructor(){
this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,
this.buffer="",this.flowKey=!1,
this.flowLevel=0,this.indentNext=0,this.indentValue=0,
this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){
if("string"!=typeof e)throw TypeError("source is not a string")
;this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t
;let n=this.next??"stream"
;for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){
let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e]
;return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){
return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e]
;if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){
const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}
return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){
const t=this.buffer.substr(e,3)
;if(("---"===t||"..."===t)&&ed(this.buffer[e+3]))return-1}return e}getLine(){
let e=this.lineEndPos
;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),
this.lineEndPos=e),
-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),
this.buffer.substring(this.pos,e))}hasChars(e){
return this.pos+e<=this.buffer.length}setNext(e){
return this.buffer=this.buffer.substring(this.pos),
this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){
return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":
return yield*this.parseStream();case"line-start":
return yield*this.parseLineStart();case"block-start":
return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument()
;case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":
return yield*this.parseQuotedScalar();case"block-scalar":
return yield*this.parseBlockScalar();case"plain-scalar":
return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine()
;if(null===e)return this.setNext("stream")
;if("\ufeff"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){
let t=e.length,n=e.indexOf("#");for(;-1!==n;){const r=e[n-1]
;if(" "===r||"\t"===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){const n=e[t-1]
;if(" "!==n&&"\t"!==n)break;t-=1}
const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0))
;return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}
if(this.atLineEnd()){const t=yield*this.pushSpaces(!0)
;return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}
return yield"",yield*this.parseLineStart()}*parseLineStart(){
const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start")
;if("-"===e||"."===e){
if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start")
;const e=this.peek(3)
;if("---"===e&&ed(this.charAt(3)))return yield*this.pushCount(3),
this.indentValue=0,this.indentNext=0,"doc"
;if("..."===e&&ed(this.charAt(3)))return yield*this.pushCount(3),"stream"}
return this.indentValue=yield*this.pushSpaces(!1),
this.indentNext>this.indentValue&&!ed(this.charAt(1))&&(this.indentNext=this.indentValue),
yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2)
;if(!t&&!this.atEnd)return this.setNext("block-start")
;if(("-"===e||"?"===e||":"===e)&&ed(t)){
const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))
;return this.indentNext=this.indentValue+1,
this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){
yield*this.pushSpaces(!0);const e=this.getLine()
;if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators()
;switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:
return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":
return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":
case"]":return yield*this.pushCount(1),"doc";case"*":
return yield*this.pushUntil(id),"doc";case'"':case"'":
return yield*this.parseQuotedScalar();case"|":case">":
return t+=(yield*this.parseBlockScalarHeader()),
t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),
yield*this.pushNewline(),yield*this.parseBlockScalar();default:
return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{
e=yield*this.pushNewline(),
e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,
t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine()
;if(null===r)return this.setNext("flow")
;if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&ed(r[3])){
if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,
yield"",yield*this.parseLineStart()}let o=0
;for(;","===r[o];)o+=(yield*this.pushCount(1)),
o+=(yield*this.pushSpaces(!0)),this.flowKey=!1
;switch(o+=(yield*this.pushIndicators()),r[o]){case void 0:return"flow";case"#":
return yield*this.pushCount(r.length-o),"flow";case"{":case"[":
return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":
case"]":
return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc"
;case"*":return yield*this.pushUntil(id),"flow";case'"':case"'":
return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{
const e=this.charAt(1)
;if(this.flowKey||ed(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),
yield*this.pushSpaces(!0),"flow"}default:
return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){
const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1)
;if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){
let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break
;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t)
;let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){
const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}
-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){
if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}
return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}
*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1
;let e=this.pos;for(;;){const t=this.buffer[++e]
;if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break
}return yield*this.pushUntil((e=>ed(e)||"#"===e))}*parseBlockScalar(){
let e,t=this.pos-1,n=0;e:for(let o=this.pos;e=this.buffer[o];++o)switch(e){
case" ":n+=1;break;case"\n":t=o,n=0;break;case"\r":{const e=this.buffer[o+1]
;if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}
default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar")
;if(n>=this.indentNext){
-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext)
;do{const e=this.continueScalar(t+1);if(-1===e)break
;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){
if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}
let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if("\t"===e){
for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1
}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e]
;"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r;)r=this.buffer[--e]
;if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}
return yield"",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}
*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1
;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1]
;if(ed(t)||e&&rd.has(t))break;n=r}else if(ed(t)){let o=this.buffer[r+1]
;if("\r"===t&&("\n"===o?(r+=1,
t="\n",o=this.buffer[r+1]):n=r),"#"===o||e&&rd.has(o))break;if("\n"===t){
const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{
if(e&&rd.has(t))break;n=r}
return t||this.atEnd?(yield"",yield*this.pushToIndex(n+1,!0),
e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){
return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}
*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e)
;return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}
*pushIndicators(){switch(this.charAt(0)){case"!":
return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())
;case"&":
return(yield*this.pushUntil(id))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())
;case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1)
;if(ed(t)||e&&rd.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,
(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())
}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e]
;for(;!ed(t)&&">"!==t;)t=this.buffer[++e]
;return yield*this.pushToIndex(">"===t?e+1:e,!1)}{
let e=this.pos+1,t=this.buffer[e];for(;t;)if(nd.has(t))t=this.buffer[++e];else{
if("%"!==t||!td.has(this.buffer[e+1])||!td.has(this.buffer[e+2]))break
;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){
const e=this.buffer[this.pos]
;return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0
}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]
}while(" "===t||e&&"\t"===t);const r=n-this.pos
;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){
let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t]
;return yield*this.pushToIndex(t,!1)}}class sd{constructor(){this.lineStarts=[],
this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{
let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1
;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1}
;if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}
function ld(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}
function cd(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":
case"comment":case"newline":break;default:return t}return-1}function ud(e){
switch(null==e?void 0:e.type){case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":
return!0;default:return!1}}function dd(e){switch(e.type){case"document":
return e.start;case"block-map":{const t=e.items[e.items.length-1]
;return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start
;default:return[]}}function pd(e){var t;if(0===e.length)return[];let n=e.length
;e:for(;--n>=0;)switch(e[n].type){case"doc-start":case"explicit-key-ind":
case"map-value-ind":case"seq-item-ind":case"newline":break e}
for(;"space"===(null==(t=e[++n])?void 0:t.type););return e.splice(n,e.length)}
function hd(e){
if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||ld(t.start,"explicit-key-ind")||ld(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),
delete t.key,
ud(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),
delete t.sep)}let fd=class{constructor(e){
this.atNewLine=!0,this.atScalar=!1,this.indent=0,
this.offset=0,this.onKeyLine=!1,
this.stack=[],this.source="",this.type="",this.lexer=new ad,this.onNewLine=e}
*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0)
;for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}
*next(e){
if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),
void(this.offset+=e.length);const t=function(e){switch(e){case"\ufeff":
return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end"
;case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end"
;case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind"
;case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":
return"flow-map-start";case"}":return"flow-map-end";case"[":
return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}
switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":
return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":
return"tag";case"'":return"single-quoted-scalar";case'"':
return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}
return null}(e)
;if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{
switch(this.type=t,yield*this.step(),t){case"newline":
this.atNewLine=!0,this.indent=0,
this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":
this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break
;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":
this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":
case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length
}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",
offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){
for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{
type:this.type,offset:this.offset,indent:this.indent,source:this.source}}
*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){
if(!e)return yield*this.stream();switch(e.type){case"document":
return yield*this.document(e);case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":
return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e)
;case"block-map":return yield*this.blockMap(e);case"block-seq":
return yield*this.blockSequence(e);case"flow-collection":
return yield*this.flowCollection(e);case"doc-end":
return yield*this.documentEnd(e)}yield*this.pop()}else{
for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",
offset:this.offset,source:this.source})}}peek(e){
return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop()
;if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1)
;switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),
"flow-collection"===t.type&&hd(t),e.type){case"document":e.value=t;break
;case"block-scalar":e.props.push(t);break;case"block-map":{
const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],
key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,
sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=t;break}case"block-seq":{
const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t
}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1]
;return void(!n||n.value?e.items.push({start:[],key:t,sep:[]
}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:
yield*this.pop(),yield*this.pop(t)}
if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){
const n=t.items[t.items.length-1]
;n&&!n.sep&&!n.value&&n.start.length>0&&-1===cd(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({
start:n.start}),t.items.splice(-1,1))}}else{
const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,
source:"",message:e}}}*stream(){switch(this.type){case"directive-line":
return void(yield{type:"directive",offset:this.offset,source:this.source})
;case"byte-order-mark":case"space":case"comment":case"newline":
return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={
type:"document",offset:this.offset,start:[]}
;return"doc-start"===this.type&&e.start.push(this.sourceToken),
void this.stack.push(e)}}yield{type:"error",offset:this.offset,
message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}
*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){
case"doc-start":
return void(-1!==cd(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken))
;case"anchor":case"tag":case"space":case"comment":case"newline":
return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e)
;t?this.stack.push(t):yield{type:"error",offset:this.offset,
message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
*scalar(e){if("map-value-ind"===this.type){const t=pd(dd(this.peek(2)));let n
;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken]
;const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,
key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r
}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":
case"comment":case"newline":return void e.props.push(this.sourceToken)
;case"scalar":
if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){
let e=this.source.indexOf("\n")+1
;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}
yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){
var t;const n=e.items[e.items.length-1];switch(this.type){case"newline":
if(this.onKeyLine=!1,n.value){
const t="end"in n.value?n.value.end:void 0,r=Array.isArray(t)?t[t.length-1]:void 0
;"comment"===(null==r?void 0:r.type)?null==t||t.push(this.sourceToken):e.items.push({
start:[this.sourceToken]})
}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return
;case"space":case"comment":if(n.value)e.items.push({start:[this.sourceToken]
});else if(n.sep)n.sep.push(this.sourceToken);else{
if(this.atIndentedComment(n.start,e.indent)){
const r=e.items[e.items.length-2],o=null==(t=null==r?void 0:r.value)?void 0:t.end
;if(Array.isArray(o))return Array.prototype.push.apply(o,n.start),
o.push(this.sourceToken),void e.items.pop()}n.start.push(this.sourceToken)}
return}if(this.indent>=e.indent){
const t=!this.onKeyLine&&this.indent===e.indent,r=t&&(n.sep||n.explicitKey)&&"seq-item-ind"!==this.type
;let o=[];if(r&&n.sep&&!n.value){const t=[];for(let r=0;r<n.sep.length;++r){
const o=n.sep[r];switch(o.type){case"newline":t.push(r);break;case"space":break
;case"comment":o.indent>e.indent&&(t.length=0);break;default:t.length=0}}
t.length>=2&&(o=n.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":
return void(r||n.value?(o.push(this.sourceToken),e.items.push({start:o
}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken))
;case"explicit-key-ind":
return n.sep||n.explicitKey?r||n.value?(o.push(this.sourceToken),e.items.push({
start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,
indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]
}):(n.start.push(this.sourceToken),n.explicitKey=!0),void(this.onKeyLine=!0)
;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)e.items.push({
start:[],key:null,sep:[this.sourceToken]
});else if(ld(n.sep,"map-value-ind"))this.stack.push({type:"block-map",
offset:this.offset,indent:this.indent,items:[{start:o,key:null,
sep:[this.sourceToken]}]});else if(ud(n.key)&&!ld(n.sep,"newline")){
const e=pd(n.start),t=n.key,r=n.sep
;r.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,
sep:r}]})
}else o.length>0?n.sep=n.sep.concat(o,this.sourceToken):n.sep.push(this.sourceToken);else if(ld(n.start,"newline"))Object.assign(n,{
key:null,sep:[this.sourceToken]});else{const e=pd(n.start);this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,
sep:[this.sourceToken]}]})}else n.sep?n.value||r?e.items.push({start:o,key:null,
sep:[this.sourceToken]}):ld(n.sep,"map-value-ind")?this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],
key:null,sep:[this.sourceToken]}]
}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]
});return void(this.onKeyLine=!0);case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":{
const t=this.flowScalar(this.type);return void(r||n.value?(e.items.push({
start:o,key:t,sep:[]
}),this.onKeyLine=!0):n.sep?this.stack.push(t):(Object.assign(n,{key:t,sep:[]}),
this.onKeyLine=!0))}default:{const n=this.startBlockValue(e)
;if(n)return t&&"block-seq"!==n.type&&e.items.push({start:o
}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}
*blockSequence(e){var t;const n=e.items[e.items.length-1];switch(this.type){
case"newline":if(n.value){
const t="end"in n.value?n.value.end:void 0,r=Array.isArray(t)?t[t.length-1]:void 0
;"comment"===(null==r?void 0:r.type)?null==t||t.push(this.sourceToken):e.items.push({
start:[this.sourceToken]})}else n.start.push(this.sourceToken);return
;case"space":case"comment":if(n.value)e.items.push({start:[this.sourceToken]
});else{if(this.atIndentedComment(n.start,e.indent)){
const r=e.items[e.items.length-2],o=null==(t=null==r?void 0:r.value)?void 0:t.end
;if(Array.isArray(o))return Array.prototype.push.apply(o,n.start),
o.push(this.sourceToken),void e.items.pop()}n.start.push(this.sourceToken)}
return;case"anchor":case"tag":if(n.value||this.indent<=e.indent)break
;return void n.start.push(this.sourceToken);case"seq-item-ind":
if(this.indent!==e.indent)break
;return void(n.value||ld(n.start,"seq-item-ind")?e.items.push({
start:[this.sourceToken]}):n.start.push(this.sourceToken))}
if(this.indent>e.indent){const t=this.startBlockValue(e)
;if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}
*flowCollection(e){const t=e.items[e.items.length-1]
;if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)
}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){
switch(this.type){case"comma":case"explicit-key-ind":
return void(!t||t.sep?e.items.push({start:[this.sourceToken]
}):t.start.push(this.sourceToken));case"map-value-ind":
return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]
}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,
sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":
case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]
}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken))
;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":
{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({
start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]
}))}case"flow-map-end":case"flow-seq-end":
return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e)
;n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{
const t=this.peek(2)
;if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),
yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){
const n=pd(dd(t));hd(e);const r=e.end.splice(1,e.end.length)
;r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,
indent:e.indent,items:[{start:n,key:e,sep:r}]}
;this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}
}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1
;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}
return{type:e,offset:this.offset,indent:this.indent,source:this.source}}
startBlockValue(e){switch(this.type){case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":
return this.flowScalar(this.type);case"block-scalar-header":return{
type:"block-scalar",offset:this.offset,indent:this.indent,
props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":
return{type:"flow-collection",offset:this.offset,indent:this.indent,
start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{
type:"block-seq",offset:this.offset,indent:this.indent,items:[{
start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0
;const t=pd(dd(e));return t.push(this.sourceToken),{type:"block-map",
offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}
case"map-value-ind":{this.onKeyLine=!0;const t=pd(dd(e));return{
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,
sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){
return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))
}*documentEnd(e){
"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],
"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){
case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":
case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":
this.onKeyLine=!1;default:
e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],
"newline"===this.type&&(yield*this.pop())}}};function md(e,t={}){
const{lineCounter:n,prettyErrors:r}=function(e){const t=!1!==e.prettyErrors
;return{lineCounter:e.lineCounter||t&&new sd||null,prettyErrors:t}
}(t),o=new fd(null==n?void 0:n.addNewLine),i=new Ju(t);let a=null
;for(const s of i.compose(o.parse(e),!0,e.length))if(a){
if("silent"!==a.options.logLevel){
a.errors.push(new Cu(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"))
;break}}else a=s
;return r&&n&&(a.errors.forEach(Pu(e,n)),a.warnings.forEach(Pu(e,n))),a}
const gd={parse:e=>{const t=JSON.parse(e)
;if("object"!=typeof t)throw Error("Invalid JSON object");return t},
parseSafe(e,t){try{return gd.parse(e)}catch(n){return"function"==typeof t?t(n):t
}},stringify:e=>JSON.stringify(e)
},vd=e=>"string"==typeof e&&!!gd.parseSafe(e,!1);function bd(e){const t=e.trim()
;if("{"!==t[0]&&"["!==t[0])return e;try{
return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}
const Od="https://api.scalar.com/request-proxy",yd="https://proxy.scalar.com"
;async function wd(e,t){t===Od&&(t=yd);const n=await fetch(t?ll(t,e):e)
;if(200!==n.status)throw console.error(`[fetchSpecFromUrl] Failed to fetch the specification at ${e} (Status: ${n.status})`),
t||console.warn(`[fetchSpecFromUrl] Tried to fetch the specification (url: ${e}) without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`),
new Error(`Failed to fetch the specification (Status: ${n.status})`)
;return bd(await n.text())}const kd={get:{short:"GET",color:"text-blue",
backgroundColor:"bg-blue"},post:{short:"POST",color:"text-green",
backgroundColor:"bg-green"},put:{short:"PUT",color:"text-orange",
backgroundColor:"bg-orange"},patch:{short:"PATCH",color:"text-yellow",
backgroundColor:"bg-yellow"},delete:{short:"DEL",color:"text-red",
backgroundColor:"bg-red"},options:{short:"OPTS",color:"text-purple",
backgroundColor:"bg-purple"},head:{short:"HEAD",color:"text-scalar-c-2",
backgroundColor:"bg-c-2"},connect:{short:"CONN",color:"text-c-2",
backgroundColor:"bg-c-2"},trace:{short:"TRACE",color:"text-c-2",
backgroundColor:"bg-c-2"}
},xd=["post","put","patch","delete"],Sd=e=>xd.includes(e),_d=e=>{
const t=e.trim().toLowerCase();return kd[t]??{short:t,color:"text-c-2",
backgroundColor:"bg-c-2"}},Ed={100:{name:"Continue",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100"},101:{
name:"Switching Protocols",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101"},102:{
name:"Processing",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102"},103:{
name:"Early Hints",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103"},200:{
name:"OK",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200"},
201:{name:"Created",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201"},202:{
name:"Accepted",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202"},203:{
name:"Non-Authoritative Information",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203"},204:{
name:"No Content",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204"},205:{
name:"Reset Content",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205"},206:{
name:"Partial Content",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206"},207:{
name:"Multi-Status",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207"},208:{
name:"Already Reported",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208"},226:{
name:"IM Used",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226"},300:{
name:"Multiple Choices",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300"},301:{
name:"Moved Permanently",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301"},302:{
name:"Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302"
},303:{name:"See Other",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303"},304:{
name:"Not Modified",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304"},305:{
name:"Use Proxy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305"},306:{
name:"(Unused)",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306"},307:{
name:"Temporary Redirect",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307"},308:{
name:"Permanent Redirect",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308"},400:{
name:"Bad Request",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400"},401:{
name:"Unauthorized",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401"},402:{
name:"Payment Required",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"},403:{
name:"Forbidden",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"},404:{
name:"Not Found",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404"},405:{
name:"Method Not Allowed",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405"},406:{
name:"Not Acceptable",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406"},407:{
name:"Proxy Authentication Required",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407"},408:{
name:"Request Timeout",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408"},409:{
name:"Conflict",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409"},410:{
name:"Gone",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410"},
411:{name:"Length Required",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411"},412:{
name:"Precondition Failed",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412"},413:{
name:"Content Too Large",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413"},414:{
name:"URI Too Long",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414"},415:{
name:"Unsupported Media Type",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415"},416:{
name:"Range Not Satisfiable",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416"},417:{
name:"Expectation Failed",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417"},418:{
name:"I'm a teapot",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418"},421:{
name:"Misdirected Request",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421"},422:{
name:"Unprocessable Content",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422"},423:{
name:"Locked",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423"
},424:{name:"Failed Dependency",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424"},425:{
name:"Too Early",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425"},426:{
name:"Upgrade Required",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426"},428:{
name:"Precondition Required",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428"},429:{
name:"Too Many Requests",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429"},431:{
name:"Request Header Fields Too Large",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431"},451:{
name:"Unavailable For Legal Reasons",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451"},500:{
name:"Internal Server Error",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500"},501:{
name:"Not Implemented",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501"},502:{
name:"Bad Gateway",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502"},503:{
name:"Service Unavailable",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503"},504:{
name:"Gateway Timeout",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504"},505:{
name:"HTTP Version Not Supported",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505"},506:{
name:"Variant Also Negotiates",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506"},507:{
name:"Insufficient Storage",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507"},508:{
name:"Loop Detected",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508"},510:{
name:"Not Extended",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510"},511:{
name:"Network Authentication Required",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"}
},Td=(e,t,n=" #")=>{if(!t(e))return e
;const r=e.split(n),o=r.length>1?`${r.slice(0,-1).join()}${n}${Number(r.at(-1))+1}`:`${r.join()}${n}2`
;return Td(o,t,n)
},Cd="collection",Ad="cookie",Pd="environment",Dd="request",$d="requestExample",Rd="securityScheme",Nd="server",Md="tag",Id="workspace"
;function Ld(e){if(!e)return e;const t={...e}
;return Object.keys(t).forEach((e=>{const n=function(e){
if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/.+\+/,"/").trim()
}(e);void 0!==n&&(t[n]=t[e],e!==n&&delete t[e])})),t}function jd(e,t){
return Object.keys(e).forEach((n=>{Object.hasOwn(t,n)||delete e[n]
})),Object.assign(e,t),e}const Bd=e=>{
if("string"==typeof e)return vd(e)?JSON.stringify(JSON.parse(e),null,2):e
;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{
return function(e){const t=new Set;return JSON.stringify(e,((e,n)=>{
if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}
return n}),2)}(e)}return(null==e?void 0:e.toString())??""};function Qd(e,t){
const n=(e,n)=>{var r
;return"function"==typeof t?t(n):(null==(r=t[n])?void 0:r.toString())||`{${n}}`}
;return e.replace(/{{\s*([\w.-]+)\s*}}/g,n).replace(/{\s*([\w.-]+)\s*}/g,n)}
function Ud(e,t,n=!0,r){const o=t.safeParse(e)
;if(o.success||(console.group("Schema Error"),
console.warn(JSON.stringify(o.error.format(),null,2)),
console.log("Received: ",e),
console.groupEnd()),n&&!o.success)throw new Error("Zod validation failure")
;return o.data}
const Fd="undefined"!=typeof window?window.__SCALAR__??{}:{},zd=e=>e[0].toUpperCase()+e.slice(1)
;const qd=/{{((?:[^{}]|{[^{}]*})*)}}/g,Hd=new RegExp("(?<!{){([^{}]+)}(?!})","g")
;function Vd(e){var t,n
;const r=null==(t=null==e?void 0:e.servers)?void 0:t[e.selectedServer??0]
;(null==(n=null==r?void 0:r.url)?void 0:n.endsWith("/"))&&(r.url=r.url.slice(0,-1))
;return"string"==typeof(null==r?void 0:r.url)?Qd(null==r?void 0:r.url,e.variables):null==r?void 0:r.url
}function Zd(e){
return e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join("-")
}const Wd="get",Xd=e=>{
if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${Wd} as the default.`),
Wd;const t=e.trim().toUpperCase()
;return n=t,rl.includes(n)?t:(console.warn(`${e} is not a valid request method. Using ${Wd} as the default.`),
Wd);var n};const Gd=xn({showApiClient:!1,activeApiClientEndpointId:"",
activeItem:{},snippetType:"javascript"});function Yd(e,t=!1){
Gd.showApiClient=!!t||!Gd.showApiClient,e&&(Gd.activeItem=e)}function Kd(){
Gd.showApiClient=!1}function Jd(e){Gd.activeApiClientEndpointId=e}
function ep(e){Gd.snippetType=e}const tp=()=>({state:_n(Gd),toggleApiClient:Yd,
setActiveApiClientEndpointId:Jd,setSnippetType:ep,hideApiClient:Kd
}),np=xn(Fd["useGlobalStore-authentication"]??{preferredSecurityScheme:null,
customSecurity:!1,http:{basic:{username:"",password:""},bearer:{token:""}},
apiKey:{token:""},oAuth2:{username:"",password:"",clientId:"",scopes:[],
accessToken:"",state:""}}),rp=e=>Object.assign(np,e),op=()=>({authentication:np,
setAuthentication:rp}),ip=xn({operation:{},globalSecurity:[]}),ap=e=>{
Object.assign(ip,{...ip,operation:e})},sp=e=>{Object.assign(ip,{...ip,
globalSecurity:e})},lp=()=>({openApi:ip,setOperation:ap,setGlobalSecurity:sp
}),cp=xn({}),up=In([]),dp=In(""),pp=xn({name:"",url:"",type:"GET",path:"",
variables:[],headers:[],query:[],body:"",formData:[]}),hp=e=>{
cp[e.responseId]=e,dp.value=e.responseId,up.value.unshift(e.responseId)},fp=e=>{
var t;dp.value=e
;const n=null==(t=cp[e])?void 0:t.request,r=JSON.parse(JSON.stringify(n))
;r.body=JSON.stringify((null==n?void 0:n.body)??"",null,2),Object.assign(pp,r)
},mp=$a((()=>{var e
;return dp.value?null==(e=cp[dp.value??""])?void 0:e.response:null})),gp=e=>{
Object.assign(pp,e)},vp=()=>{dp.value=""},bp=In(!0);function Op(e,t){var n
;let r=[]
;if((null==e?void 0:e.servers)&&(null==e?void 0:e.servers.length)>0)r=e.servers;else if(null==e?void 0:e.host){
r=[{
url:`${(null==(n=e.schemes)?void 0:n[0])??"http"}://${e.host}${(null==e?void 0:e.basePath)??""}`
}]}else r=[{
url:(null==t?void 0:t.defaultServerUrl)?null==t?void 0:t.defaultServerUrl:"undefined"!=typeof window?window.location.origin:"/"
}]
;return((null==t?void 0:t.defaultServerUrl)||"undefined"!=typeof window)&&(r=r.map((e=>function(e,t){
var n
;if(!(null==(n=e.url)?void 0:n.match(/^(?!(https?|file):\/\/|{).+/)))return e
;return e.url=sl((null==t?void 0:t.defaultServerUrl)?null==t?void 0:t.defaultServerUrl:"undefined"!=typeof window?window.location.origin:"",e.url),
e}(e,t)))),r.map((e=>{const t=e.variables??{}
;return([...(e.url??"").matchAll(/(?:\{+)\s*(\w+)\s*(?:\}+)/g)].map((e=>e[1].trim()))||[]).filter((e=>!t[e])).forEach((t=>{
void 0===e.variables&&(e.variables={}),e.variables[t]={default:""}})),e}))}
function yp(e,t){
for(const[n,r]of Object.entries(e))null!==r&&"object"==typeof r?(t[n]??(t[n]=new r.__proto__.constructor),
yp(r,t[n])):void 0!==r&&(t[n]=r);return t}function wp(e){return yp(e??{},{info:{
title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},
contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}
const kp=xn({selectedServer:null,servers:[],variables:{}}),xp=e=>{
Object.assign(kp,{...kp,...e})};function Sp(e,t){
return Object.fromEntries(Object.entries(e).filter((([e])=>e in(t.variables??{}))))
}
const _p=({specification:e,defaultServerUrl:t,servers:n}={})=>(void 0!==(null==e?void 0:e.value)&&Ci((()=>[null==e?void 0:e.value,null==n?void 0:n.value,null==t?void 0:t.value]),(()=>{
const r=Op(void 0===(null==n?void 0:n.value)?(null==e?void 0:e.value)??wp():wp({
servers:n.value}),{defaultServerUrl:null==t?void 0:t.value
}),o=null==r?void 0:r[kp.selectedServer??0];var i;xp({servers:r,variables:{
...(i=(null==o?void 0:o.variables)??{},
Object.fromEntries(Object.entries(i??{}).map((([e,t])=>{var n,r,o
;return[e,(null==(n=t.default)?void 0:n.toString())??(null==(o=null==(r=t.enum)?void 0:r[0])?void 0:o.toString())??""]
})))),...Sp(kp.variables,(null==r?void 0:r[kp.selectedServer??0])??{})}})}),{
deep:!0,immediate:!0}),{server:kp,setServer:xp
}),Ep="/* basic theme */\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #0099ff;\n --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n --scalar-background-1: rgb(9 9 11);\n --scalar-background-2: #0f0f0f;\n --scalar-background-3: #1a1a1a;\n\n --scalar-color-1: #e7e7e7;\n --scalar-color-2: #a4a4a4;\n --scalar-color-3: #797979;\n\n --scalar-color-accent: #3ea6ff;\n --scalar-background-accent: #3ea6ff1f;\n\n --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* selection colors */\n.light-mode,\n.dark-mode {\n --scalar-selection-background: color-mix(\n in sRGB,\n var(--scalar-color-1) 80%,\n transparent\n );\n --scalar-selection-color: var(--scalar-background-1);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n",Tp=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],Cp=Tp.map((([e])=>e))
;function Ap(){if(typeof window>"u")return!1
;const e=document.createElement("div")
;e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),
e.classList.add("scrollbar-test");const t=document.createElement("div")
;t.setAttribute("style","width:100%;height:40px"),
e.appendChild(t),document.body.appendChild(e)
;const n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}
const Pp={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",
solarized:"Solarized",bluePlanet:"Blue Planet",saturn:"Saturn",
kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",none:""},Dp={
alternate:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode,\n.light-mode .dark-mode {\n --scalar-background-1: #f9f9f9;\n --scalar-background-2: #f1f1f1;\n --scalar-background-3: #e7e7e7;\n --scalar-background-card: #fff;\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --scalar-background-1: #131313;\n --scalar-background-2: #1d1d1d;\n --scalar-background-3: #272727;\n --scalar-background-card: #1d1d1d;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: #2a2b2a;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n}\n/* advanced */\n.light-mode .dark-mode,\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dd2f2c;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n\n.scalar-api-client__item,\n.scalar-card,\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-1: var(--scalar-background-card);\n --scalar-background-2: var(--scalar-background-1);\n --scalar-background-3: var(--scalar-background-1);\n}\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-3: var(--scalar-background-3);\n}\n.t-doc__sidebar {\n --scalar-color-green: var(--scalar-color-1);\n --scalar-color-red: var(--scalar-color-1);\n --scalar-color-yellow: var(--scalar-color-1);\n --scalar-color-blue: var(--scalar-color-1);\n --scalar-color-orange: var(--scalar-color-1);\n --scalar-color-purple: var(--scalar-color-1);\n}\n",
default:Ep,
moon:".light-mode {\n color-scheme: light;\n --scalar-color-1: #000000;\n --scalar-color-2: #000000;\n --scalar-color-3: #000000;\n --scalar-color-accent: #645b0f;\n --scalar-background-1: #ccc9b3;\n --scalar-background-2: #c2bfaa;\n --scalar-background-3: #b8b5a1;\n --scalar-background-accent: #000000;\n\n --scalar-border-color: rgba(0, 0, 0, 0.2);\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fffef3;\n --scalar-color-2: #fffef3;\n --scalar-color-3: #fffef3;\n --scalar-color-accent: #c3b531;\n --scalar-background-1: #313332;\n --scalar-background-2: #393b3a;\n --scalar-background-3: #414342;\n --scalar-background-accent: #fffef3;\n\n --scalar-border-color: #505452;\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-background-1);\n --scalar-sidebar-search-background: var(--scalar-background-3);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-3);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n",
purple:"/* basic theme */\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f5f6f8;\n --scalar-background-3: #eceef1;\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: rgba(215, 215, 206, 0.68);\n}\n.dark-mode {\n --scalar-background-1: #15171c;\n --scalar-background-2: #1c1e24;\n --scalar-background-3: #22252b;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: #c9ced8;\n --scalar-color-3: #8c99ad;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: #3f4145;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-3);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n",
solarized:".light-mode {\n color-scheme: light;\n --scalar-color-1: #584c27;\n --scalar-color-2: #616161;\n --scalar-color-3: #a89f84;\n --scalar-color-accent: #b58900;\n --scalar-background-1: #fdf6e3;\n --scalar-background-2: #eee8d5;\n --scalar-background-3: #ddd6c1;\n --scalar-background-accent: #b589001f;\n\n --scalar-border-color: #ded8c8;\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #cccccc;\n --scalar-color-3: #6d8890;\n --scalar-color-accent: #007acc;\n --scalar-background-1: #00212b;\n --scalar-background-2: #012b36;\n --scalar-background-3: #004052;\n --scalar-background-accent: #015a6f;\n\n --scalar-border-color: #2f4851;\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n",
bluePlanet:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f0f2f5;\n --scalar-background-2: #eaecf0;\n --scalar-background-3: #e0e2e6;\n --scalar-border-color: rgb(213 213 213);\n\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n}\n.light-mode .scalar-card.dark-mode,\n.dark-mode {\n --scalar-background-1: #000e23;\n --scalar-background-2: #01132e;\n --scalar-background-3: #03193b;\n --scalar-border-color: #2e394c;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n z-index: 1;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n/* Document header */\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n/* Hero Section Flare */\n.section-flare-item:nth-of-type(1) {\n --c1: #ffffff;\n --c2: #babfd8;\n --c3: #2e8bb2;\n --c4: #1a8593;\n --c5: #0a143e;\n --c6: #0a0f52;\n --c7: #2341b8;\n\n --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6),\n var(--c7);\n --solid-wrap: var(--solid), var(--c1);\n --trans: var(--c1), transparent, var(--c2), transparent, var(--c3),\n transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),\n transparent, var(--c7);\n --trans-wrap: var(--trans), transparent, var(--c1);\n\n background: radial-gradient(circle, var(--trans)),\n conic-gradient(from 180deg, var(--trans-wrap)),\n radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));\n width: 70vw;\n height: 700px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n right: 0;\n position: absolute;\n transform: rotate(-45deg);\n top: -300px;\n opacity: 0.3;\n}\n.section-flare-item:nth-of-type(3) {\n --star-color: #6b9acc;\n --star-color2: #446b8d;\n --star-color3: #3e5879;\n background-image: radial-gradient(\n 2px 2px at 20px 30px,\n var(--star-color2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(\n 2px 2px at 160px 120px,\n var(--star-color3),\n rgba(0, 0, 0, 0)\n );\n background-repeat: repeat;\n background-size: 200px 200px;\n width: 100%;\n height: 100%;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n}\n.section-flare {\n top: -150px !important;\n height: 100vh;\n background: linear-gradient(#000, var(--scalar-background-1));\n width: 100vw;\n overflow-x: hidden;\n}\n.light-mode .section-flare {\n display: none;\n}\n.light-mode .scalar-card {\n --scalar-background-1: #fff;\n --scalar-background-2: #fff;\n --scalar-background-3: #fff;\n}\n",
deepSpace:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f4f4f5;\n --scalar-background-3: #e3e3e6;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgb(228, 228, 231);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.16);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n width: 100vw;\n height: 550px;\n position: relative;\n}\n.section-flare-item:nth-of-type(1) {\n position: absolute;\n width: 100vw;\n height: 550px;\n --stripesDark: repeating-linear-gradient(\n 100deg,\n #000 0%,\n #000 7%,\n transparent 10%,\n transparent 12%,\n #000 16%\n );\n --rainbow: repeating-linear-gradient(\n 100deg,\n #fff 10%,\n #fff 16%,\n #fff 22%,\n #fff 30%\n );\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 300%, 200%;\n background-position:\n 50% 50%,\n 50% 50%;\n filter: invert(100%);\n -webkit-mask-image: radial-gradient(\n ellipse at 100% 0%,\n black 40%,\n transparent 70%\n );\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n pointer-events: none;\n opacity: 0.07;\n}\n.dark-mode .section-flare-item:nth-of-type(1) {\n background-image: var(--stripesDark), var(--rainbow);\n filter: opacity(50%) saturate(200%);\n opacity: 0.25;\n height: 350px;\n}\n.section-flare-item:nth-of-type(1):after {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 200%, 100%;\n background-attachment: fixed;\n mix-blend-mode: difference;\n}\n.dark-mode .section-flare:after {\n background-image: var(--stripesDark), var(--rainbow);\n}\n.section-flare-item:nth-of-type(2) {\n --star-color: #fff;\n --star-color2: #fff;\n --star-color3: #fff;\n width: 100%;\n height: 100%;\n position: absolute;\n background-image: radial-gradient(\n 2px 2px at 20px 30px,\n var(--star-color2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(\n 2px 2px at 160px 120px,\n var(--star-color3),\n rgba(0, 0, 0, 0)\n );\n background-repeat: repeat;\n background-size: 200px 200px;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n opacity: 0.2;\n}\n",
saturn:"/* basic theme */\n.light-mode {\n --scalar-background-1: #f3f3ee;\n --scalar-background-2: #e8e8e3;\n --scalar-background-3: #e4e4df;\n --scalar-border-color: rgba(215, 215, 206, 0.85);\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #1763a6;\n --scalar-background-accent: #1f648e1f;\n}\n.dark-mode {\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: #4eb3ec;\n --scalar-background-accent: #8ab4f81f;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n",
kepler:"/* basic theme */\n.light-mode {\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-accent: #7070ff;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #7070ff1f;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n.dark-mode {\n --scalar-color-1: #f7f8f8;\n --scalar-color-2: rgb(180, 188, 208);\n --scalar-color-3: #b4bcd099;\n --scalar-color-accent: #828fff;\n\n --scalar-background-1: #000212;\n --scalar-background-2: #0d0f1e;\n --scalar-background-3: #232533;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: #313245;\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-background-2: rgba(0, 0, 0, 0.03);\n}\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n.sidebar-search {\n backdrop-filter: blur(12px);\n}\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n.dark-mode .scalar-card {\n background: rgba(255, 255, 255, 0.05) !important;\n}\n.dark-mode .scalar-card * {\n --scalar-background-2: transparent !important;\n --scalar-background-1: transparent !important;\n}\n.light-mode .dark-mode.scalar-card *,\n.light-mode .dark-mode.scalar-card {\n --scalar-background-1: #0d0f1e !important;\n --scalar-background-2: #0d0f1e !important;\n --scalar-background-3: #191b29 !important;\n}\n.light-mode .dark-mode.scalar-card {\n background: #191b29 !important;\n}\n.badge {\n box-shadow: 0 0 0 1px var(--scalar-border-color);\n margin-right: 6px;\n}\n\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n background: transparent;\n box-shadow: none;\n}\n/* Hero Section Flare */\n.section-flare {\n width: 100vw;\n background: radial-gradient(\n ellipse 80% 50% at 50% -20%,\n rgba(120, 119, 198, 0.3),\n transparent\n );\n height: 100vh;\n}\n",
mars:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f9f6f0;\n --scalar-background-2: #f2efe8;\n --scalar-background-3: #e9e7e2;\n --scalar-border-color: rgba(203, 165, 156, 0.6);\n\n --scalar-color-1: #c75549;\n --scalar-color-2: #c75549;\n --scalar-color-3: #c75549;\n\n --scalar-color-accent: #c75549;\n --scalar-background-accent: #dcbfa81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n\n --scalar-selection-background: color-mix(\n in sRGB,\n var(--scalar-color-1) 90%,\n transparent\n );\n --scalar-selection-color: var(--scalar-background-1);\n}\n.dark-mode {\n --scalar-background-1: #140507;\n --scalar-background-2: #20090c;\n --scalar-background-3: #321116;\n --scalar-border-color: #3c3031;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: rgba(255, 255, 255, 0.9);\n --scalar-background-accent: #441313;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n\n --scalar-selection-background: color-mix(\n in sRGB,\n var(--scalar-color-1) 50%,\n transparent\n );\n --scalar-selection-color: var(--scalar-background-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n z-index: 1;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #09533a;\n --scalar-color-red: #aa181d;\n --scalar-color-yellow: #ab8d2b;\n --scalar-color-blue: #19689a;\n --scalar-color-orange: #b26c34;\n --scalar-color-purple: #4c2191;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n overflow-x: hidden;\n height: 100vh;\n left: initial;\n}\n.section-flare-item:nth-of-type(1) {\n background: #d25019;\n position: relative;\n top: -150px;\n right: -400px;\n width: 80vw;\n height: 500px;\n margin-top: -150px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n}\n.light-mode .section-flare {\n display: none;\n}\n"
},$p=e=>"none"===e?"":Dp[e||"default"]??Ep;function Rp(e){
return!!ht()&&(ft(e),!0)}function Np(e){return"function"==typeof e?e():Qn(e)}
const Mp="undefined"!=typeof window&&"undefined"!=typeof document
;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope)
;const Ip=e=>null!=e,Lp=Object.prototype.toString,jp=e=>"[object Object]"===Lp.call(e),Bp=()=>{},Qp=Up()
;function Up(){var e,t
;return Mp&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))
}function Fp(e,t=200,n={}){return function(e,t){return function(...n){
return new Promise(((r,o)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,
thisArg:this,args:n})).then(r).catch(o)}))}}(function(e,t={}){let n,r,o=Bp
;const i=e=>{clearTimeout(e),o(),o=Bp};return a=>{const s=Np(e),l=Np(t.maxWait)
;return n&&i(n),
s<=0||void 0!==l&&l<=0?(r&&(i(r),r=null),Promise.resolve(a())):new Promise(((e,c)=>{
o=t.rejectOnCancel?c:e,l&&!r&&(r=setTimeout((()=>{n&&i(n),r=null,e(a())
}),l)),n=setTimeout((()=>{r&&i(r),r=null,e(a())}),s)}))}}(t,n),e)}
function zp(e,t,n){return Ci(e,((e,n,r)=>{e&&t(e,n,r)}),{...n,once:!1})}
function qp(e){var t;const n=Np(e);return null!=(t=null==n?void 0:n.$el)?t:n}
const Hp=Mp?window:void 0,Vp=Mp?window.document:void 0;function Zp(...e){
let t,n,r,o
;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,o]=e,t=Hp):[t,n,r,o]=e,
!t)return Bp;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r])
;const i=[],a=()=>{i.forEach((e=>e())),i.length=0
},s=Ci((()=>[qp(t),Np(o)]),(([e,t])=>{if(a(),!e)return;const o=jp(t)?{...t}:t
;i.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),
()=>e.removeEventListener(t,n,r)))(e,t,n,o))))))}),{immediate:!0,flush:"post"
}),l=()=>{s(),a()};return Rp(l),l}let Wp=!1;function Xp(e){const t=function(){
const e=In(!1),t=ba();return t&&lo((()=>{e.value=!0}),t),e}()
;return $a((()=>(t.value,Boolean(e()))))}function Gp(e,t={}){
const{window:n=Hp}=t,r=Xp((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia))
;let o;const i=In(!1),a=e=>{i.value=e.matches},s=()=>{
o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))
},l=Ti((()=>{
r.value&&(s(),o=n.matchMedia(Np(e)),"addEventListener"in o?o.addEventListener("change",a):o.addListener(a),
i.value=o.matches)}));return Rp((()=>{l(),s(),o=void 0})),i}
function Yp(e,t,n={}){const{window:r=Hp,...o}=n;let i
;const a=Xp((()=>r&&"ResizeObserver"in r)),s=()=>{i&&(i.disconnect(),i=void 0)
},l=Ci($a((()=>Array.isArray(e)?e.map((e=>qp(e))):[qp(e)])),(e=>{
if(s(),a.value&&r){i=new ResizeObserver(t);for(const t of e)t&&i.observe(t,o)}
}),{immediate:!0,flush:"post"}),c=()=>{s(),l()};return Rp(c),{isSupported:a,
stop:c}}const Kp=new Map;function Jp(e){const t=ht();function n(n){var o
;const i=Kp.get(e)||new Set;i.add(n),Kp.set(e,i);const a=()=>r(n)
;return null==(o=null==t?void 0:t.cleanups)||o.push(a),a}function r(t){
const n=Kp.get(e);n&&(n.delete(t),n.size||o())}function o(){Kp.delete(e)}return{
on:n,once:function(e){return n((function t(...n){r(t),e(...n)}))},off:r,
emit:function(t,n){var r;null==(r=Kp.get(e))||r.forEach((e=>e(t,n)))},reset:o}}
function eh(e=null,t={}){
const{baseUrl:n="",rel:r="icon",document:o=Vp}=t,i=function(...e){
if(1!==e.length)return Xn(...e);const t=e[0]
;return"function"==typeof t?_n(Hn((()=>({get:t,set:Bp})))):In(t)}(e)
;return Ci(i,((e,t)=>{"string"==typeof e&&e!==t&&(e=>{
const t=null==o?void 0:o.head.querySelectorAll(`link[rel*="${r}"]`)
;if(t&&0!==t.length)null==t||t.forEach((t=>t.href=`${n}${e}`));else{
const t=null==o?void 0:o.createElement("link")
;t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(".").pop()}`,
null==o||o.head.append(t))}})(e)}),{immediate:!0}),i}const th={ctrl:"control",
command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",
left:"arrowleft",right:"arrowright"};function nh(e={}){
const{reactive:t=!1,target:n=Hp,aliasMap:r=th,passive:o=!0,onEventFired:i=Bp}=e,a=xn(new Set),s={
toJSON:()=>({}),current:a},l=t?xn(s):s,c=new Set,u=new Set;function d(e,n){
e in l&&(t?l[e]=n:l[e].value=n)}function p(){a.clear();for(const e of u)d(e,!1)}
function h(e,t){var n,r
;const o=null==(n=e.key)?void 0:n.toLowerCase(),i=[null==(r=e.code)?void 0:r.toLowerCase(),o].filter(Boolean)
;o&&(t?a.add(o):a.delete(o));for(const a of i)u.add(a),d(a,t)
;"meta"!==o||t?"function"==typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...a,...i].forEach((e=>c.add(e))):(c.forEach((e=>{
a.delete(e),d(e,!1)})),c.clear())}Zp(n,"keydown",(e=>(h(e,!0),i(e))),{passive:o
}),Zp(n,"keyup",(e=>(h(e,!1),i(e))),{passive:o}),Zp("blur",p,{passive:!0
}),Zp("focus",p,{passive:!0});const f=new Proxy(l,{get(e,n,o){
if("string"!=typeof n)return Reflect.get(e,n,o)
;if((n=n.toLowerCase())in r&&(n=r[n]),!(n in l))if(/[+_-]/.test(n)){
const e=n.split(/[+_-]/g).map((e=>e.trim()))
;l[n]=$a((()=>e.every((e=>Np(f[e])))))}else l[n]=In(!1)
;const i=Reflect.get(e,n,o);return t?Np(i):i}});return f}
var rh=Object.defineProperty,oh=(e,t,n)=>(((e,t,n)=>{t in e?rh(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n
})(e,"symbol"!=typeof t?t+"":t,n),n);!function(e){if(typeof document>"u")return
;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style")
;n.type="text/css",
t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))
}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}")
;let ih=0;const ah=new class{constructor(){
oh(this,"subscribers"),oh(this,"toasts"),
oh(this,"subscribe",(e=>(this.subscribers.push(e),()=>{
const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)
}))),oh(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))
})),oh(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]
})),oh(this,"create",(e=>{var t
;const{message:n,...r}=e,o="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:ih++,i=this.toasts.find((e=>e.id===o)),a=void 0===e.dismissible||e.dismissible
;return i?this.toasts=this.toasts.map((t=>t.id===o?(this.publish({...t,...e,
id:o,title:n}),{...t,...e,id:o,dismissible:a,title:n}):t)):this.addToast({
title:n,...r,dismissible:a,id:o}),o
})),oh(this,"dismiss",(e=>(e||this.toasts.forEach((e=>{
this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))
})),this.subscribers.forEach((t=>t({id:e,dismiss:!0
}))),e))),oh(this,"message",((e,t)=>this.create({...t,message:e,type:"default"
}))),oh(this,"error",((e,t)=>this.create({...t,type:"error",message:e
}))),oh(this,"success",((e,t)=>this.create({...t,type:"success",message:e
}))),oh(this,"info",((e,t)=>this.create({...t,type:"info",message:e
}))),oh(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e
}))),oh(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e
}))),oh(this,"promise",((e,t)=>{if(!t)return;let n
;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",
message:t.loading,
description:"function"!=typeof t.description?t.description:void 0}))
;const r=e instanceof Promise?e:e();let o=void 0!==n;return r.then((e=>{
if(e&&"boolean"==typeof e.ok&&!e.ok){o=!1
;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,r="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description
;this.create({id:n,type:"error",message:e,description:r})
}else if(void 0!==t.success){o=!1
;const r="function"==typeof t.success?t.success(e):t.success,i="function"==typeof t.description?t.description(e):t.description
;this.create({id:n,type:"success",message:r,description:i})}})).catch((e=>{
if(void 0!==t.error){o=!1
;const r="function"==typeof t.error?t.error(e):t.error,i="function"==typeof t.description?t.description(e):t.description
;this.create({id:n,type:"error",message:r,description:i})}})).finally((()=>{
var e;o&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)})),n
})),oh(this,"custom",((e,t)=>{const n=(null==t?void 0:t.id)||ih++
;return this.publish({component:e,id:n,...t}),n
})),this.subscribers=[],this.toasts=[]}},sh=(e,t)=>{
const n=(null==t?void 0:t.id)||ih++;return ah.create({message:e,id:n,
type:"default",...t}),n},lh=Object.assign(sh,{success:ah.success,info:ah.info,
warning:ah.warning,error:ah.error,custom:ah.custom,message:ah.message,
promise:ah.promise,dismiss:ah.dismiss,loading:ah.loading}),ch=(e,t)=>{
const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},uh={},dh={
xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",
fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round",
"stroke-linejoin":"round"},ph=[ra("line",{x1:"18",y1:"6",x2:"6",y2:"18"
},null,-1),ra("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]
;const hh=ch(uh,[["render",function(e,t){return Zi(),Yi("svg",dh,ph)
}]]),fh=["aria-live","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],mh=["aria-label","data-disabled"],gh={
key:0,"data-icon":""},vh={"data-content":""},bh=Gr({__name:"Toast",props:{
toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},
heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},
closeButton:{type:Boolean},interacting:{type:Boolean},duration:{},
descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},
unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},
closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}
},emits:["update:heights","removeToast"],setup(e,{emit:t}){
const n=t,r=e,o=In(!1),i=In(!1),a=In(!1),s=In(!1),l=In(0),c=In(0),u=In(null),d=In(null),p=$a((()=>0===r.index)),h=$a((()=>r.index+1<=r.visibleToasts)),f=$a((()=>r.toast.type)),m=$a((()=>!1!==r.toast.dismissible)),g=$a((()=>{
var e,t,n,o,i,a,s
;return r.cn(null==(e=r.classes)?void 0:e.toast,null==(n=null==(t=r.toast)?void 0:t.classes)?void 0:n.toast,null==(o=r.classes)?void 0:o.default,null==(i=r.classes)?void 0:i[r.toast.type||"default"],null==(s=null==(a=r.toast)?void 0:a.classes)?void 0:s[r.toast.type||"default"])
})),v=r.toast.style||{},b=$a((()=>r.heights.findIndex((e=>e.toastId===r.toast.id))||0)),O=$a((()=>r.toast.closeButton??r.closeButton)),y=$a((()=>r.toast.duration||r.duration||4e3)),w=In(0),k=In(0),x=In(y.value),S=In(0),_=In(null),E=$a((()=>r.position.split("-"))),T=$a((()=>E.value[0])),C=$a((()=>E.value[1])),A="string"!=typeof r.toast.title,P="string"!=typeof r.toast.description,D=$a((()=>r.heights.reduce(((e,t,n)=>n>=b.value?e:e+t.height),0))),$=(()=>{
const e=In(!1);return Ti((()=>{const t=()=>{e.value=document.hidden}
;return document.addEventListener("visibilitychange",t),
()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}
})(),R=$a((()=>r.toast.invert||r.invert)),N=$a((()=>"loading"===f.value))
;lo((()=>{if(!o.value)return;const e=d.value,t=null==e?void 0:e.style.height
;e.style.height="auto";const i=e.getBoundingClientRect().height;let a
;e.style.height=t,
c.value=i,a=r.heights.find((e=>e.toastId===r.toast.id))?r.heights.map((e=>e.toastId===r.toast.id?{
...e,height:i}:e)):[{toastId:r.toast.id,height:i,position:r.toast.position
},...r.heights],n("update:heights",a)}));const M=()=>{i.value=!0,l.value=k.value
;const e=r.heights.filter((e=>e.toastId!==r.toast.id))
;n("update:heights",e),setTimeout((()=>{n("removeToast",r.toast)}),200)},I=()=>{
var e,t
;N.value||!m.value||(M(),null==(t=(e=r.toast).onDismiss)||t.call(e,r.toast))
},L=e=>{
N.value||!m.value||(u.value=new Date,l.value=k.value,e.target.setPointerCapture(e.pointerId),
"BUTTON"!==e.target.tagName&&(a.value=!0,_.value={x:e.clientX,y:e.clientY}))
},j=e=>{var t,n,o,i;if(s.value)return;_.value=null
;const c=Number((null==(t=d.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),p=(new Date).getTime()-u.value.getTime(),h=Math.abs(c)/p
;if(Math.abs(c)>=20||h>.11)return l.value=k.value,
null==(o=(n=r.toast).onDismiss)||o.call(n,r.toast),M(),void(s.value=!0)
;null==(i=d.value)||i.style.setProperty("--swipe-amount","0px"),a.value=!1
},B=e=>{var t;if(!_.value)return
;const n=e.clientY-_.value.y,r=e.clientX-_.value.x,o=("top"===E.value[0]?Math.min:Math.max)(0,n),i="touch"===e.pointerType?10:2
;Math.abs(o)>i?null==(t=d.value)||t.style.setProperty("--swipe-amount",`${n}px`):Math.abs(r)>i&&(_.value=null)
};return Ti((()=>{k.value=14*b.value+D.value})),Ti((e=>{
if(r.toast.promise&&"loading"===f.value||r.toast.duration===1/0||"loading"===r.toast.type)return
;let t;r.expanded||r.interacting||r.pauseWhenPageIsHidden&&$?(()=>{
if(S.value<w.value){const e=(new Date).getTime()-w.value;x.value=x.value-e}
S.value=(new Date).getTime()
})():(w.value=(new Date).getTime(),t=setTimeout((()=>{var e,t
;null==(t=(e=r.toast).onAutoClose)||t.call(e,r.toast),M()}),x.value)),e((()=>{
clearTimeout(t)}))})),Ti((()=>{r.toast.delete&&M()})),lo((()=>{if(d.value){
const e=d.value.getBoundingClientRect().height;c.value=e;const t=[{
toastId:r.toast.id,height:e,position:r.toast.position},...r.heights]
;n("update:heights",t)}o.value=!0})),ho((()=>{if(d.value){
const e=r.heights.filter((e=>e.toastId!==r.toast.id));n("update:heights",e)}})),
(e,t)=>{var n,r,u,b,y,w,x,S,_,E,D,$;return Zi(),Yi("li",{
"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",
role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",
class:et(g.value),
"data-styled":!(e.toast.component||null!=(n=e.toast)&&n.unstyled||e.unstyled),
"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-removed":i.value,
"data-visible":h.value,"data-y-position":T.value,"data-x-position":C.value,
"data-index":e.index,"data-front":p.value,"data-swiping":a.value,
"data-dismissible":m.value,"data-type":f.value,"data-invert":R.value,
"data-swipe-out":s.value,
"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),style:Xe({
"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,
"--offset":`${i.value?l.value:k.value}px`,
"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...Qn(v)
}),onPointerdown:L,onPointerup:j,onPointermove:B
},[O.value&&!e.toast.component?(Zi(),Yi("button",{key:0,
"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":N.value,
"data-close-button":"",
class:et(e.cn(null==(r=e.classes)?void 0:r.closeButton,null==(b=null==(u=e.toast)?void 0:u.classes)?void 0:b.closeButton)),
onClick:I
},[oa(hh)],10,mh)):ca("",!0),e.toast.component?(Zi(),Ki(wo(e.toast.component),ha({
key:1},e.toast.componentProps,{onCloseToast:M}),null,16)):(Zi(),Yi(Ui,{key:2
},["default"!==f.value||e.toast.icon||e.toast.promise?(Zi(),
Yi("div",gh,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?ca("",!0):Eo(e.$slots,"loading-icon",{
key:0}),e.toast.icon?(Zi(),Ki(wo(e.toast.icon),{key:1})):(Zi(),Yi(Ui,{key:2
},["success"===f.value?Eo(e.$slots,"success-icon",{key:0
}):"error"===f.value?Eo(e.$slots,"error-icon",{key:1
}):"warning"===f.value?Eo(e.$slots,"warning-icon",{key:2
}):"info"===f.value?Eo(e.$slots,"info-icon",{key:3
}):ca("",!0)],64))])):ca("",!0),ra("div",vh,[ra("div",{"data-title":"",
class:et(e.cn(null==(y=e.classes)?void 0:y.title,null==(w=e.toast.classes)?void 0:w.title))
},[A?(Zi(),Ki(wo(e.toast.title),tt(ha({key:0
},e.toast.componentProps)),null,16)):(Zi(),Yi(Ui,{key:1
},[sa(st(e.toast.title),1)],64))],2),e.toast.description?(Zi(),Yi("div",{key:0,
"data-description":"",
class:et(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(x=e.classes)?void 0:x.description,null==(S=e.toast.classes)?void 0:S.description))
},[P?(Zi(),Ki(wo(e.toast.description),tt(ha({key:0
},e.toast.componentProps)),null,16)):(Zi(),Yi(Ui,{key:1
},[sa(st(e.toast.description),1)],64))],2)):ca("",!0)]),e.toast.cancel?(Zi(),
Yi("button",{key:1,
class:et(e.cn(null==(_=e.classes)?void 0:_.cancelButton,null==(E=e.toast.classes)?void 0:E.cancelButton)),
"data-button":"","data-cancel":"",onClick:t[0]||(t[0]=()=>{var t
;M(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})
},st(e.toast.cancel.label),3)):ca("",!0),e.toast.action?(Zi(),Yi("button",{
key:2,
class:et(e.cn(null==(D=e.classes)?void 0:D.actionButton,null==($=e.toast.classes)?void 0:$.actionButton)),
"data-button":"",onClick:t[1]||(t[1]=t=>{var n
;null==(n=e.toast.action)||n.onClick(t),!t.defaultPrevented&&M()})
},st(e.toast.action.label),3)):ca("",!0)],64))],46,fh)}}
}),Oh=["data-visible"],yh={class:"sonner-spinner"},wh=Gr({__name:"Loader",
props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0)
;return(e,n)=>(Zi(),Yi("div",{class:"sonner-loading-wrapper",
"data-visible":e.visible
},[ra("div",yh,[(Zi(!0),Yi(Ui,null,So(Qn(t),(e=>(Zi(),Yi("div",{
key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,Oh))}
}),kh={},xh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",
fill:"currentColor",height:"20",width:"20"},Sh=[ra("path",{
"fill-rule":"evenodd",
d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
"clip-rule":"evenodd"},null,-1)];const _h=ch(kh,[["render",function(e,t){
return Zi(),Yi("svg",xh,Sh)}]]),Eh={},Th={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ch=[ra("path",{
"fill-rule":"evenodd",
d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
"clip-rule":"evenodd"},null,-1)];const Ah=ch(Eh,[["render",function(e,t){
return Zi(),Yi("svg",Th,Ch)}]]),Ph={},Dh={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},$h=[ra("path",{
"fill-rule":"evenodd",
d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
"clip-rule":"evenodd"},null,-1)];const Rh=ch(Ph,[["render",function(e,t){
return Zi(),Yi("svg",Dh,$h)}]]),Nh={},Mh={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ih=[ra("path",{
"fill-rule":"evenodd",
d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
"clip-rule":"evenodd"},null,-1)];const Lh=ch(Nh,[["render",function(e,t){
return Zi(),Yi("svg",Mh,Ih)
}]]),jh=["aria-label"],Bh=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Qh="32px",Uh=typeof window<"u"&&typeof document<"u",Fh=Gr({
name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,
default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{
default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{
type:Boolean,default:!1},duration:{default:4e3},gap:{default:14},visibleToasts:{
default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})
},class:{default:""},style:{default:()=>({})},offset:{default:Qh},dir:{
default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},
pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){
function t(...e){return e.filter(Boolean).join(" ")}function n(){
if(typeof window>"u"||typeof document>"u")return"ltr"
;const e=document.documentElement.getAttribute("dir")
;return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction
}const r=e,o=No(),i=In([]),a=$a((()=>{
const e=i.value.filter((e=>e.position)).map((e=>e.position))
;return e.length>0?Array.from(new Set([r.position].concat(e))):[r.position]
})),s=In([]),l=In(!1),c=In(!1),u=In("system"!==r.theme?r.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=$a((()=>r.cn||t)),p=In(null),h=In(null),f=In(!1),m=r.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"")
;function g(e){i.value=i.value.filter((({id:t})=>t!==e.id))}const v=e=>{var t,n
;f.value&&(null==(n=null==(t=e.currentTarget)?void 0:t.contains)||!n.call(t,e.relatedTarget))&&(f.value=!1,
h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},b=e=>{
e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,
h.value=e.relatedTarget)},O=e=>{
e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!1)
};return Ti((e=>{const t=ah.subscribe((e=>{
e.dismiss?i.value=i.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):hr((()=>{
const t=i.value.findIndex((t=>t.id===e.id))
;-1!==t?i.value.splice(t,1,e):i.value=[e,...i.value]}))}));e((()=>{t()}))
})),Ci((()=>r.theme),(e=>{
"system"===e?("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),
!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{
u.value=e?"dark":"light"}))):u.value=e})),Ci((()=>p.value),(()=>{
if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0
}),h.value=null,f.value=!1)}})),Ti((()=>{i.value.length<=1&&(l.value=!1)
})),Ti((e=>{function t(e){
const t=r.hotkey.every((t=>e[t]||e.code===t)),n=Array.isArray(p.value)?p.value[0]:p.value
;t&&(l.value=!0,null==n||n.focus())
;const o=document.activeElement===p.value||(null==n?void 0:n.contains(document.activeElement))
;"Escape"===e.code&&o&&(l.value=!1)}Uh&&(document.addEventListener("keydown",t),
e((()=>{document.removeEventListener("keydown",t)})))
})),(e,t)=>(Zi(),Yi("section",{"aria-label":`${e.containerAriaLabel} ${Qn(m)}`,
tabIndex:-1},[(Zi(!0),Yi(Ui,null,So(a.value,((r,a)=>{var u
;return Zi(),Yi("ol",ha({key:r,ref_for:!0,ref_key:"listRef",ref:p,
"data-sonner-toaster":"",class:e.class,dir:"auto"===e.dir?n():e.dir,tabIndex:-1,
"data-theme":e.theme,"data-rich-colors":e.richColors,
"data-y-position":r.split("-")[0],"data-x-position":r.split("-")[1],style:{
"--front-toast-height":`${null==(u=s.value[0])?void 0:u.height}px`,
"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||Qh,
"--width":"356px","--gap":"14px",...e.style,...Qn(o).style},onBlur:v,onFocus:b,
onMouseenter:t[1]||(t[1]=e=>l.value=!0),onMousemove:t[2]||(t[2]=e=>l.value=!0),
onMouseleave:t[3]||(t[3]=()=>{c.value||(l.value=!1)}),onPointerdown:O,
onPointerup:t[4]||(t[4]=e=>c.value=!1)
},e.$attrs),[(Zi(!0),Yi(Ui,null,So(i.value.filter((t=>!t.position&&0===a||t.position===e.position)),((n,r)=>{
var o,a,u,p,h,f,m,v,b;return Zi(),Ki(bh,{key:n.id,index:r,toast:n,
duration:(null==(o=e.toastOptions)?void 0:o.duration)??e.duration,
class:et(null==(a=e.toastOptions)?void 0:a.class),
descriptionClass:null==(u=e.toastOptions)?void 0:u.descriptionClass,
invert:e.invert,visibleToasts:e.visibleToasts,
closeButton:(null==(p=e.toastOptions)?void 0:p.closeButton)??e.closeButton,
interacting:c.value,position:e.position,
style:Xe(null==(h=e.toastOptions)?void 0:h.style),
unstyled:null==(f=e.toastOptions)?void 0:f.unstyled,
classes:null==(m=e.toastOptions)?void 0:m.classes,
cancelButtonStyle:null==(v=e.toastOptions)?void 0:v.cancelButtonStyle,
actionButtonStyle:null==(b=e.toastOptions)?void 0:b.actionButtonStyle,
toasts:i.value,expandByDefault:e.expand,gap:e.gap,expanded:l.value,
pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:d.value,heights:s.value,
"onUpdate:heights":t[0]||(t[0]=e=>s.value=e),onRemoveToast:g},{
"loading-icon":xr((()=>[Eo(e.$slots,"loading-icon",{},(()=>[oa(wh,{
visible:"loading"===n.type},null,8,["visible"])]))])),
"success-icon":xr((()=>[Eo(e.$slots,"success-icon",{},(()=>[oa(_h)]))])),
"error-icon":xr((()=>[Eo(e.$slots,"error-icon",{},(()=>[oa(Lh)]))])),
"warning-icon":xr((()=>[Eo(e.$slots,"warning-icon",{},(()=>[oa(Rh)]))])),
"info-icon":xr((()=>[Eo(e.$slots,"info-icon",{},(()=>[oa(Ah)]))])),_:2
},1032,["index","toast","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn","heights"])
})),128))],16,Bh)})),128))],8,jh))}}),zh={toast:()=>null};function qh(e){
zh.toast=e}function Hh(){return{initializeToasts:qh,toast:(e,t="info",n={
timeout:3e3})=>{zh.toast(e,t,n)}}}const Vh=Gr({__name:"ScalarToasts",setup(e){
const t=In(!1);lo((()=>t.value=!0));const n={success:lh.success,error:lh.error,
warn:lh.warning,info:lh},{initializeToasts:r}=Hh()
;return r(((e,t="info",r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,
description:r.description})})),(e,n)=>t.value?(Zi(),Ki(Qn(Fh),{key:0,
class:"scalar-toaster"})):ca("",!0)}});!function(){try{if(typeof document<"u"){
var e=document.createElement("style")
;e.appendChild(document.createTextNode(".scalar-toaster [data-sonner-toast][data-styled=true]{background:var(--scalar-background-1);color:var(--scalar-color-1);padding:18px;border:none;border-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-font-medium);box-shadow:var(--scalar-shadow-2)}.scalar-toaster [data-sonner-toast] [data-icon]{align-self:flex-start;position:relative;top:2px}.scalar-toaster [data-sonner-toast][data-styled=true][data-expanded=true]{height:auto}.scalar-toaster [data-sonner-toast][data-type=error]{background:var(--scalar-background-1)}.scalar-toaster [data-sonner-toast][data-type=error] [data-icon]{color:color-mix(in srgb,var(--scalar-color-red) 75%,var(--scalar-color-1))}.scalar-toaster [data-sonner-toast][data-type=warning]{background:var(--scalar-background-1)}.scalar-toaster [data-sonner-toast][data-type=warning] [data-icon]{color:color-mix(in srgb,var(--scalar-color-orange) 90%,var(--scalar-color-1))}")),
document.head.appendChild(e)}}catch(dR){
console.error("vite-plugin-css-injected-by-js",dR)}}();const Zh=()=>{
const{toast:e}=Hh();return{copyToClipboard:t=>{
navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")
}))}}},Wh=In(!1);function Xh(e,t){var n
;return Wh.value=t?"dark"===t:("undefined"==typeof window?null:JSON.parse((null==(n=window.localStorage)?void 0:n.getItem("isDark"))||"null"))??e??(()=>{
var e,t
;const n="undefined"!=typeof window?null==(e=window.localStorage)?void 0:e.getItem("isDark"):null
;return"string"==typeof n?!!JSON.parse(n):!("undefined"==typeof window||"function"!=typeof(null==window?void 0:window.matchMedia)||!(null==(t=null==window?void 0:window.matchMedia("(prefers-color-scheme: dark)"))?void 0:t.matches))
})(),Ci(Wh,(e=>{
"undefined"!=typeof document&&(document.body.classList.toggle("dark-mode",e),
document.body.classList.toggle("light-mode",!e))}),{immediate:!0}),{isDark:Wh,
toggleDarkMode:()=>{var e
;Wh.value=!Wh.value,"undefined"!=typeof window&&(null==(e=null==window?void 0:window.localStorage)||e.setItem("isDark",JSON.stringify(Wh.value)))
},setDarkMode:function(e){var t
;Wh.value=e,"undefined"!=typeof window&&(null==(t=null==window?void 0:window.localStorage)||t.setItem("isDark",JSON.stringify(Wh.value)))
}}}const Gh="https://api.scalar.com/request-proxy",Yh="https://proxy.scalar.com"
;const Kh=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Jh=Object.hasOwnProperty
;class ef{constructor(){this.occurrences,this.reset()}slug(e,t){const n=this
;let r=tf(e,!0===t);const o=r;for(;Jh.call(n.occurrences,r);)n.occurrences[o]++,
r=o+"-"+n.occurrences[o];return n.occurrences[r]=0,r}reset(){
this.occurrences=Object.create(null)}}function tf(e,t){
return"string"!=typeof e?"":(t||(e=e.toLowerCase()),
e.replace(Kh,"").replace(/ /g,"-"))}
const nf=In(Fd.hash??""),rf=In(),of=In(!1),af=e=>e.slug?`description/${e.slug}`:"",sf=e=>{
var t;if(!rf.value)return""
;const n=new RegExp("^"+(null==(t=rf.value)?void 0:t.basePath)+"/?")
;return decodeURIComponent(e.replace(n,""))},lf=(e,t)=>{if(!e)return"webhooks"
;const n=tf(e);return`webhook/${t}/${encodeURIComponent(n)}`},cf=e=>{
if(!e)return"models";const t=tf(e);return`model/${encodeURIComponent(t)}`
},uf=(e,t)=>`${df(t)}/${e.httpVerb}${e.path}`,df=({name:e})=>{const t=tf(e)
;return`tag/${encodeURIComponent(t)}`},pf=(e=nf.value)=>{var t
;const n=null==(t=e.match(/(tag\/[^/]+)/))?void 0:t[0],r=e.startsWith("model")?"models":"",o=e.startsWith("webhook")?"webhooks":""
;return n||r||o},hf=()=>{
nf.value=rf.value?sf(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))
},ff=()=>({hash:nf,getWebhookId:lf,getModelId:cf,getHeadingId:af,
getOperationId:uf,getPathRoutingId:sf,getSectionId:pf,getTagId:df,
isIntersectionEnabled:of,pathRouting:rf,updateHash:hf});function mf(e){return{
parameterMap:$a((()=>{var t
;const n=(null==(t=e.operation.information)?void 0:t.parameters)??[],r={path:[],
query:[],header:[],body:[],formData:[]}
;return e.operation.pathParameters&&e.operation.pathParameters.forEach((e=>{
"path"===e.in?r.path.push(e):"query"===e.in?r.query.push(e):"header"===e.in?r.header.push(e):"body"===e.in?r.body.push(e):"formData"===e.in&&r.formData.push(e)
})),n&&n.forEach((e=>{
"path"===e.in?r.path.push(e):"query"===e.in?r.query.push(e):"header"===e.in?r.header.push(e):"body"===e.in?r.body.push(e):"formData"===e.in&&r.formData.push(e)
})),r}))}}const gf={"date-time":(new Date).toISOString(),
date:(new Date).toISOString().split("T")[0],email:"hello@example.com",
hostname:"example.com","idn-email":"jane.doe@example.com",
"idn-hostname":"example.com",ipv4:"127.0.0.1",
ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",
iri:"https://example.com/entity/123","json-pointer":"/nested/objects",
password:"super-secret",regex:"/[a-z]/",
"relative-json-pointer":"1/nested/objects",
time:(new Date).toISOString().split("T")[1].split(".")[0],
"uri-reference":"../folder","uri-template":"https://example.com/{id}",
uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000"}
;function vf(e,t=""){return gf[e.format]??t}const bf=new WeakMap
;function Of(e,t){return"object"!=typeof t||null===t||bf.set(e,t),t}
const yf=(e,t,n=0,r,o)=>{var i,a,s,l,c,u,d,p,h,f,m,g,v
;if(bf.has(e))return bf.get(e);if(6===n)try{JSON.stringify(e)}catch{
return"[Circular Reference]"}const b=!!(null==t?void 0:t.emptyString)
;if("write"===(null==t?void 0:t.mode)&&e.readOnly||"read"===(null==t?void 0:t.mode)&&e.writeOnly)return
;if(e["x-variable"]){
const n=null==(i=null==t?void 0:t.variables)?void 0:i[e["x-variable"]]
;if(void 0!==n)return"number"===e.type||"integer"===e.type?parseInt(n,10):Of(e,n)
}if(Array.isArray(e.examples)&&e.examples.length>0)return Of(e,e.examples[0])
;if(void 0!==e.example)return Of(e,e.example)
;if(void 0!==e.default)return Of(e,e.default)
;if(Array.isArray(e.enum)&&e.enum.length>0)return Of(e,e.enum[0])
;if(!("object"===e.type||"array"===e.type||!!(null==(s=null==(a=e.allOf)?void 0:a.at)?void 0:s.call(a,0))||!!(null==(c=null==(l=e.anyOf)?void 0:l.at)?void 0:c.call(l,0))||!!(null==(d=null==(u=e.oneOf)?void 0:u.at)?void 0:d.call(u,0)))&&!0===(null==t?void 0:t.omitEmptyAndOptionalProperties)){
if(!(!0===e.required||!0===(null==r?void 0:r.required)||(null==(p=null==r?void 0:r.required)?void 0:p.includes(o??e.name))))return
}if("object"===e.type||void 0!==e.properties){const r={}
;if(void 0!==e.properties)for(const o in e.properties)if(Object.prototype.hasOwnProperty.call(e.properties,o)){
const i=e.properties[o],a=(null==t?void 0:t.xml)?null==(h=i.xml)?void 0:h.name:void 0
;r[a??o]=yf(i,t,n+1,e,o),void 0===r[a??o]&&delete r[a??o]}
if(void 0!==e.additionalProperties){
!0===e.additionalProperties||"object"==typeof e.additionalProperties&&!Object.keys(e.additionalProperties).length?r.ANY_ADDITIONAL_PROPERTY="anything":!1!==e.additionalProperties&&(r.ANY_ADDITIONAL_PROPERTY=yf(e.additionalProperties,t,n+1))
}
return void 0!==e.anyOf?Object.assign(r,yf(e.anyOf[0],t,n+1)):void 0!==e.oneOf?Object.assign(r,yf(e.oneOf[0],t,n+1)):void 0!==e.allOf&&Object.assign(r,...e.allOf.map((r=>yf(r,t,n+1,e))).filter((e=>void 0!==e))),
Of(e,r)}if("array"===e.type||void 0!==e.items){
const r=null==(m=null==(f=null==e?void 0:e.items)?void 0:f.xml)?void 0:m.name,o=!!((null==t?void 0:t.xml)&&(null==(g=e.xml)?void 0:g.wrapped)&&r)
;if(void 0!==e.example)return Of(e,o?{[r]:e.example}:e.example);if(e.items){
const i=["anyOf","oneOf","allOf"];for(const a of i){if(!e.items[a])continue
;const i=(["anyOf","oneOf"].includes(a)?e.items[a].slice(0,1):e.items[a]).map((r=>yf(r,t,n+1,e))).filter((e=>void 0!==e))
;return Of(e,o?[{[r]:i}]:i)}}if(null==(v=e.items)?void 0:v.type){
const i=yf(e.items,t,n+1);return o?[{[r]:i}]:[i]}return[]}const O={
string:b?vf(e,null==t?void 0:t.emptyString):"",boolean:!0,integer:e.min??1,
number:e.min??1,array:[]}
;if(void 0!==e.type&&void 0!==O[e.type])return Of(e,O[e.type])
;const y=e.oneOf||e.anyOf;if(Array.isArray(y)&&y.length>0){const e=y[0]
;return yf(e,t,n+1)}if(Array.isArray(e.allOf)){let r=null
;return e.allOf.forEach((e=>{const o=yf(e,t,n+1)
;r="object"==typeof o&&"object"==typeof r?{...r??{},...o
}:Array.isArray(o)&&Array.isArray(r)?[...r??{},...o]:o})),Of(e,r)}
if(Array.isArray(e.type)){if(e.type.includes("null"))return null
;const t=O[e.type[0]];if(void 0!==t)return Of(e,t)}return null}
;function wf(e,t,n=!0){var r
;return[...e.pathParameters||[],...(null==(r=e.information)?void 0:r.parameters)||[]].filter((e=>e.in===t)).filter((e=>n&&e.required||!n)).map((e=>({
name:e.name,description:e.description??null,
value:e.example?e.example:e.schema?yf(e.schema,{mode:"write"}):"",
required:e.required??!1,enabled:e.required??!1
}))).sort(((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:0))}
function kf(e,t){const n=function(e,t,r){let o=""
;if(e instanceof Array)for(let i=0,a=e.length;i<a;i++)o+=r+n(e[i],t,r+"\t")+"\n";else if("object"==typeof e){
let i=!1;o+=r+"<"+t
;for(const t in e)"@"==t.charAt(0)?o+=" "+t.substr(1)+'="'+e[t].toString()+'"':i=!0
;if(o+=i?">":"/>",i){
for(const t in e)"#text"==t?o+=e[t]:"#cdata"==t?o+="<![CDATA["+e[t]+"]]>":"@"!=t.charAt(0)&&(o+=n(e[t],t,r+"\t"))
;o+=("\n"==o.charAt(o.length-1)?r:"")+"</"+t+">"}
}else o+=r+"<"+t+">"+e.toString()+"</"+t+">";return o};let r=""
;for(const o in e)r+=n(e[o],o,"")
;return t?r.replace(/\t/g,t):r.replace(/\t|\n/g,"")}function xf(e,t=""){
return Object.entries(e).flatMap((([e,n])=>{const r=t?`${t}[${e}]`:e
;return"object"==typeof n&&null!==n?xf(n,r):[{name:r,value:n}]}))}
const Sf=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"]
;function _f(e,t){var n,r,o,i
;const a=Ld(null==(r=null==(n=e.information)?void 0:n.requestBody)?void 0:r.content),s=Sf.find((e=>!!(null==a?void 0:a[e]))),l=null==(o=null==a?void 0:a["application/json"])?void 0:o.examples,c=null==(i=l??{})?void 0:i[t??Object.keys(l??{})[0]]
;if(c)return{body:{mimeType:"application/json",text:Bd(null==c?void 0:c.value)}}
;const u=wf(e,"body",!1);if(u.length>0)return{body:{mimeType:"application/json",
text:Bd(u[0].value)}};const d=wf(e,"formData",!1);if(d.length>0)return{body:{
mimeType:"application/x-www-form-urlencoded",params:d.map((e=>({name:e.name,
value:"string"==typeof e.value?e.value:JSON.stringify(e.value)})))}}
;if(!s)return null;const p=null==a?void 0:a[s],h=[{name:"Content-Type",value:s
}],f=(null==p?void 0:p.example)?null==p?void 0:p.example:void 0
;if("application/json"===s){
const e=(null==p?void 0:p.schema)?yf(null==p?void 0:p.schema,{mode:"write",
omitEmptyAndOptionalProperties:!0}):null,t=f??e;return{headers:h,body:{
mimeType:s,text:"string"==typeof t?t:JSON.stringify(t,null,2)}}}
if("application/xml"===s){
const e=(null==p?void 0:p.schema)?yf(null==p?void 0:p.schema,{xml:!0,
mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,body:{
mimeType:s,text:f??kf(e," ")}}}if("application/octet-stream"===s)return{
headers:h,body:{mimeType:s,text:"BINARY"}};if("text/plain"===s){
const e=(null==p?void 0:p.schema)?yf(null==p?void 0:p.schema,{xml:!0,
mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,body:{
mimeType:s,text:f??e??""}}}
if("multipart/form-data"===s||"application/x-www-form-urlencoded"===s){
const e=(null==p?void 0:p.schema)?yf(null==p?void 0:p.schema,{xml:!0,
mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,body:{
mimeType:s,params:xf(f??e??{})}}}return null}const Ef=(e,t,n)=>{let r=e.path
;const o=wf(e,"path",!1);if(o.length){const e=r.match(/{(.*?)}/g)
;e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");if(o){
const n=o.find((e=>e.name===t))
;(null==n?void 0:n.value)&&(r=r.replace(e,n.value.toString()))}}))}
if(!0===(null==t?void 0:t.replaceVariables)){const e=r.match(/{(.*?)}/g)
;e&&e.forEach((e=>{const t=e.replace(/{|}/g,"")
;r=r.replace(e,`__${t.toUpperCase()}__`)}))}const i=_f(e,n);return{
method:e.httpVerb.toUpperCase(),path:r,postData:null==i?void 0:i.body,
headers:[...wf(e,"header",null==t?void 0:t.requiredOnly),...(null==i?void 0:i.headers)??[]],
queryString:wf(e,"query",null==t?void 0:t.requiredOnly),
cookies:wf(e,"cookie",null==t?void 0:t.requiredOnly)}};function Tf(e){
return(e??[]).map((e=>({...e,enabled:!0})))}function Cf(e){
return e.reduce(((e,t)=>(e[t.name]=t.value,e)),{})}function Af(e){
return/\s|-/.test(e)}function Pf(e,t=0){
const n=[],r=" ".repeat(t),o=" ".repeat(t+2)
;for(const[i,a]of Object.entries(e)){const e=Af(i)?`'${i}'`:i
;if(Array.isArray(a)){
const r=a.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?Pf(e,t+2):e)).join(`, ${o}`)
;n.push(`${o}${e}: [${r}]`)
}else if(a&&"object"==typeof a)n.push(`${o}${e}: ${Pf(a,t+2)}`);else if("string"==typeof a){
let t=`${a}`;if(a.startsWith("JSON.stringify")){const e=a.split("\n")
;e.length>1&&(t=e.map(((e,t)=>0===t?e:`${o}${e}`)).join("\n"))}else t=`'${a}'`
;n.push(`${o}${e}: ${t}`)}else n.push(`${o}${e}: ${a}`)}
return`{\n${n.join(",\n")}\n${r}}`}function Df(e){var t,n;const r={method:"GET",
...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},i=new URLSearchParams(r.queryString?Cf(r.queryString):void 0),a=i.size?`?${i.toString()}`:""
;(null==(t=r.headers)?void 0:t.length)&&(o.headers={},r.headers.forEach((e=>{
o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Pf(JSON.parse(o.body))})`))
;const s=Object.keys(o).length?`, ${Pf(o)}`:"";return{target:"node",
client:"undici",
code:`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${r.url}${a}'${s})`
}}function $f(e){var t,n;const r={method:"GET",...e}
;r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},i=new URLSearchParams(r.queryString?Cf(r.queryString):void 0),a=i.size?`?${i.toString()}`:""
;(null==(t=r.headers)?void 0:t.length)&&(o.headers={},r.headers.forEach((e=>{
o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Pf(JSON.parse(o.body))})`))
;const s=Object.keys(o).length?`, ${Pf(o)}`:"";return{target:"node",
client:"fetch",code:`fetch('${r.url}${a}'${s})`}}function Rf(e){var t,n
;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},i=new URLSearchParams(r.queryString?Cf(r.queryString):void 0),a=i.size?`?${i.toString()}`:""
;(null==(t=r.headers)?void 0:t.length)&&(o.headers={},r.headers.forEach((e=>{
o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${Pf(JSON.parse(o.body))})`))
;const s=Object.keys(o).length?`, ${Pf(o)}`:"";return{target:"js",
client:"fetch",code:`fetch('${r.url}${a}'${s})`}}function Nf(e){var t,n
;const r={method:"GET",...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},i=new URLSearchParams(r.queryString?Cf(r.queryString):void 0)
;i.size&&(o.query={},i.forEach(((e,t)=>{o.query[t]=e
}))),(null==(t=r.headers)?void 0:t.length)&&(o.headers={},
r.headers.forEach((e=>{o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=JSON.parse(o.body)))
;const a=Object.keys(o).length?`, ${Pf(o)}`:"";return{target:"js",
client:"ofetch",code:`ofetch('${r.url}'${a})`}}function Mf(e){var t,n;const r={
method:"GET",...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},i=new URLSearchParams(r.queryString?Cf(r.queryString):void 0)
;i.size&&(o.query={},i.forEach(((e,t)=>{o.query[t]=e
}))),(null==(t=r.headers)?void 0:t.length)&&(o.headers={},
r.headers.forEach((e=>{o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=JSON.parse(o.body)))
;const a=Object.keys(o).length?`, ${Pf(o)}`:"";return{target:"node",
client:"ofetch",code:`ofetch('${r.url}'${a})`}}function If(){
const e=[Df,$f,Rf,Nf,Mf];return{get(e,t,n){const r=this.findPlugin(e,t)
;return r?r(n):{code:""}},print(e,t,n){var r
;return null==(r=this.get(e,t,n))?void 0:r.code},
targets:()=>e.map((e=>e().target)).filter(((e,t,n)=>n.indexOf(e)===t)),
clients:()=>e.map((e=>e().client)),plugins:()=>e.map((e=>{const t=e();return{
target:t.target,client:t.client}})),findPlugin:(t,n)=>e.find((e=>{const r=e()
;return r.target===t&&r.client===n})),hasPlugin(e,t){
return Boolean(this.findPlugin(e,t))}}}
const Lf="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:jf,Blob:Bf,File:Qf}=Lf,Uf="\r\n",Ff="-".repeat(2),zf=Symbol.toStringTag,qf=(e,t,n)=>{
let r=""
;return r+=`${Ff}${e}${Uf}`,r+=`Content-Disposition: form-data; name="${t}"`,
"string"!=typeof n&&"blob"!==n.name&&(r+=`; filename="${n.name}"${Uf}`,
r+=`Content-Type: ${n.type||"application/octet-stream"}`),`${r}${Uf.repeat(2)}`
},Hf=async function*(e,t){
for(const[n,r]of e)yield qf(t,n,r),"string"==typeof r?yield r:yield await r.text(),
yield Uf;yield(e=>`${Ff}${e}${Ff}${Uf.repeat(1)}`)(t)
},Vf=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),Zf=(e,t)=>{
const n=Vf(e,t);if(n)return e[n]
},Wf=(e,t)=>Boolean(Vf(e,t)),Xf=["application/json","application/x-json","text/json","text/x-json","+json"],Gf=(e,t)=>{
if(void 0===t.value)return e;const n=e[t.name]
;return void 0===n?(e[t.name]=t.value,
e):Array.isArray(n)?(n.push(t.value),e):(e[t.name]=[n,t.value],e)}
;function Yf(e){
return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))
}class Kf extends URL{get path(){return this.pathname+this.search}}class Jf{
constructor({indent:e,join:t}={}){
this.postProcessors=[],this.code=[],this.indentationCharacter="",
this.lineJoin="\n",
this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,
this.unshift=(e,t)=>{const n=this.indentLine(e,t);this.code.unshift(n)
},this.push=(e,t)=>{const n=this.indentLine(e,t);this.code.push(n)
},this.blank=()=>{this.code.push("")},this.join=()=>{
const e=this.code.join(this.lineJoin)
;return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{
this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",
this.lineJoin=null!=t?t:"\n"}}function em(e,t={}){
const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:o=!0}=t
;return[...e.toString()].map((e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?o?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?o?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")
}const tm=e=>em(e,{delimiter:"'"}),nm=e=>em(e,{delimiter:'"'}),rm={info:{
key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{
key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",
description:"Simple REST and HTTP API Client for C"},
convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:o})=>{
const{push:i,blank:a,join:s}=new Jf
;i("CURL *hnd = curl_easy_init();"),a(),i(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),
i(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(n)
;return l.length&&(a(),i("struct curl_slist *headers = NULL;"),l.forEach((e=>{
i(`headers = curl_slist_append(headers, "${e}: ${nm(n[e])}");`)
})),i("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),
r.cookie&&(a(),i(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),
(null==o?void 0:o.text)&&(a(),
i(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`)),a(),
i("CURLcode ret = curl_easy_perform(hnd);"),s()}}}};class om{constructor(e){
this.name="",this.toString=()=>`:${this.name}`,this.name=e}}class im{
constructor(e){
this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,
this.path=e}}
const am=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),sm=e=>"object"===am(e)&&0===Object.keys(e).length,lm=e=>(Object.keys(e).filter((t=>sm(e[t]))).forEach((t=>{
delete e[t]})),e),cm=(e,t)=>{const n=" ".repeat(e)
;return t.replace(/\n/g,`\n${n}`)},um=e=>{switch(am(e)){case"string":
return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:
return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`
;case"object":{
const t=Object.keys(e).reduce(((t,n)=>`${t}:${n} ${cm(n.length+2,um(e[n]))}\n `),"").trim()
;return`{${cm(1,t)}}`}case"array":{
const t=e.reduce(((e,t)=>`${e} ${um(t)}`),"").trim();return`[${cm(1,t)}]`}}
},dm={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},
clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http",
link:"https://github.com/dakrone/clj-http",
description:"An idiomatic clojure http client wrapping the apache client."},
convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:o},i)=>{
const{push:a,join:s}=new Jf({indent:null==i?void 0:i.indent})
;if(t=t.toLowerCase(),
!["get","post","put","delete","patch","head","options"].includes(t))return a("Method not supported"),
s();const l={headers:o,"query-params":e};switch(null==n?void 0:n.mimeType){
case"application/json":{
l["content-type"]=new om("json"),l["form-params"]=n.jsonObj
;const e=Vf(l.headers,"content-type");e&&delete l.headers[e]}break
;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj
;const e=Vf(l.headers,"content-type");e&&delete l.headers[e]}break
;case"text/plain":{l.body=n.text;const e=Vf(l.headers,"content-type")
;e&&delete l.headers[e]}break;case"multipart/form-data":if(n.params){
l.multipart=n.params.map((e=>e.fileName&&!e.value?{name:e.name,
content:new im(e.fileName)}:{name:e.name,content:e.value}))
;const e=Vf(l.headers,"content-type");e&&delete l.headers[e]}}
if("application/json"===Zf(l.headers,"accept")){l.accept=new om("json")
;const e=Vf(l.headers,"accept");e&&delete l.headers[e]}
if(a("(require '[clj-http.client :as client])\n"),
sm(lm(l)))a(`(client/${t} "${r}")`);else{const e=11+t.length+r.length
;a(`(client/${t} "${r}" ${cm(e,um(lm(l)))})`)}return s()}}}},pm={info:{
key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{
httpclient:{info:{key:"httpclient",title:"HttpClient",
link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",
description:".NET Standard HTTP Client"},
convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var i,a;const s={
indent:" ",...o},{push:l,join:c}=new Jf({indent:s.indent})
;l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{
let t=Zf(e,"accept-encoding");if(!t)return[];const n={
gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},r=[]
;return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{
const t=/\s*([^;\s]+)/.exec(e);if(t){const e=n[t[1]];e&&r.push(e)}}))})),r})(e)
;(d||p.length)&&(u="clientHandler",
l("var clientHandler = new HttpClientHandler"),
l("{"),d&&l("UseCookies = false,",1),
p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),
l("};")),l(`var client = new HttpClient(${u});`),
l("var request = new HttpRequestMessage"),l("{")
;n=(n=n.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(n)?`HttpMethod.${n[0]}${n.substring(1).toLowerCase()}`:`new HttpMethod("${n}")`,
l(`Method = ${n},`,1),l(`RequestUri = new Uri("${r}"),`,1)
;const h=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":
case"content-length":case"accept-encoding":return!1;default:return!0}}))
;if(h.length&&(l("Headers =",1),l("{",1),h.forEach((t=>{
l(`{ "${t}", "${nm(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){
const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":
l("Content = new FormUrlEncodedContent(new Dictionary<string, string>",1),
l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{
l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break
;case"multipart/form-data":
l("Content = new MultipartFormDataContent",1),l("{",1),
null===(a=t.params)||void 0===a||a.forEach((e=>{
l(`new StringContent(${JSON.stringify(e.value||"")})`,2),
l("{",2),l("Headers =",3),
l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),
l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),
l("{",4),
l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),
l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:
l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),
l("{",1),
l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),
l("}",2),l("}",1)}}
return l("};"),l("using (var response = await client.SendAsync(request))"),
l("{"),
l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),
l("Console.WriteLine(body);",1),l("}"),c()}},restsharp:{info:{key:"restsharp",
title:"RestSharp",link:"http://restsharp.org/",
description:"Simple REST and HTTP API Client for .NET"},
convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:o,postData:i})=>{
const{push:a,join:s}=new Jf
;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported"
;if(a(`var client = new RestClient("${n}");`),
a(`var request = new RestRequest(Method.${t.toUpperCase()});`),
Object.keys(r).forEach((e=>{a(`request.AddHeader("${e}", "${nm(r[e])}");`)
})),null==o||o.forEach((({name:e,value:t})=>{
a(`request.AddCookie("${e}", "${t}");`)})),null==i?void 0:i.text){
const t=Zf(e,"content-type"),n=JSON.stringify(i.text)
;a(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}
return a("IRestResponse response = client.Execute(request);"),s()}}}},hm={info:{
key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{
key:"native",title:"NewRequest",
link:"http://golang.org/pkg/net/http/#NewRequest",
description:"Golang HTTP client request"},
convert:({postData:e,method:t,allHeaders:n,fullUrl:r},o={})=>{
const{blank:i,push:a,join:s}=new Jf({indent:"\t"
}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:u=!0,timeout:d=-1,insecureSkipVerify:p=!1}=o,h=c?"err":"_",f=l?1:0,m=()=>{
c&&(a("if err != nil {",f),a("panic(err)",f+1),a("}",f))};l&&(a("package main"),
i(),
a("import ("),a('"fmt"',f),d>0&&a('"time"',f),p&&a('"crypto/tls"',f),(null==e?void 0:e.text)&&a('"strings"',f),
a('"net/http"',f),
u&&a('"io"',f),a(")"),i(),a("func main() {"),i()),p&&(a("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",f),
a("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",f))
;const g=d>0,v=g||p,b=v?"client":"http.DefaultClient"
;return v&&(a("client := http.Client{",f),
g&&a(`Timeout: time.Duration(${d} * time.Second),`,f+1),
p&&a("Transport: insecureTransport,",f+1),
a("}",f),i()),a(`url := "${r}"`,f),i(),
(null==e?void 0:e.text)?(a(`payload := strings.NewReader(${JSON.stringify(e.text)})`,f),
i(),
a(`req, ${h} := http.NewRequest("${t}", url, payload)`,f),i()):(a(`req, ${h} := http.NewRequest("${t}", url, nil)`,f),
i()),m(),Object.keys(n).length&&(Object.keys(n).forEach((e=>{
a(`req.Header.Add("${e}", "${nm(n[e])}")`,f)
})),i()),a(`res, ${h} := ${b}.Do(req)`,f),
m(),u&&(i(),a("defer res.Body.Close()",f),
a(`body, ${h} := io.ReadAll(res.Body)`,f),
m()),i(),a("fmt.Println(res)",f),u&&a("fmt.Println(string(body))",f),
l&&(i(),a("}")),s()}}}},fm={info:{key:"http",title:"HTTP",extname:null,
default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1",
link:"https://tools.ietf.org/html/rfc7230",
description:"HTTP/1.1 request string in accordance with RFC 7230"},
convert:({method:e,fullUrl:t,uriObj:n,httpVersion:r,allHeaders:o,postData:i},a)=>{
const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...a
},{blank:l,push:c,join:u}=new Jf({indent:"",join:"\r\n"
}),d=s.absoluteURI?t:n.path;c(`${e} ${d} ${r}`);const p=Object.keys(o)
;p.forEach((e=>{
const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()))
;c(`${t}: ${o[e]}`)
})),s.autoHost&&!p.includes("host")&&c(`Host: ${n.host}`),s.autoContentLength&&(null==i?void 0:i.text)&&!p.includes("content-length")&&c(`Content-Length: ${i.text.length}`),
l();return`${u()}\r\n${(null==i?void 0:i.text)||""}`}}}},mm={info:{key:"java",
title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{
key:"asynchttp",title:"AsyncHttp",
link:"https://github.com/AsyncHttpClient/async-http-client",
description:"Asynchronous Http and WebSocket Client library for Java"},
convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",
...o},{blank:a,push:s,join:l}=new Jf({indent:i.indent})
;return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),
s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{
s(`.setHeader("${e}", "${nm(t[e])}")`,1)
})),(null==n?void 0:n.text)&&s(`.setBody(${JSON.stringify(n.text)})`,1),
s(".execute()",1),
s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),
s(".join();",1),a(),s("client.close();"),l()}},nethttp:{info:{key:"nethttp",
title:"java.net.http",
link:"https://openjdk.java.net/groups/net/httpclient/intro.html",
description:"Java Standardized HTTP Client API"},
convert:({allHeaders:e,fullUrl:t,method:n,postData:r},o)=>{const i={indent:" ",
...o},{push:a,join:s}=new Jf({indent:i.indent})
;return a("HttpRequest request = HttpRequest.newBuilder()"),
a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{
a(`.header("${t}", "${nm(e[t])}")`,2)
})),(null==r?void 0:r.text)?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),
a(".build();",2),
a("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),
a("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp",
title:"OkHttp",link:"http://square.github.io/okhttp/",
description:"An HTTP Request Client Library"},
convert:({postData:e,method:t,fullUrl:n,allHeaders:r},o)=>{const i={indent:" ",
...o},{push:a,blank:s,join:l}=new Jf({indent:i.indent})
;return a("OkHttpClient client = new OkHttpClient();"),
s(),(null==e?void 0:e.text)&&(e.boundary?a(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),
a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),
a("Request request = new Request.Builder()"),
a(`.url("${n}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),
Object.keys(r).forEach((e=>{a(`.addHeader("${e}", "${nm(r[e])}")`,1)
})),a(".build();",1),
s(),a("Response response = client.newCall(request).execute();"),l()}},unirest:{
info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",
description:"Lightweight HTTP Request Client Library"},
convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",
...o},{join:a,push:s}=new Jf({indent:i.indent})
;return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),
Object.keys(t).forEach((e=>{s(`.header("${e}", "${nm(t[e])}")`,1)
})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1),
s(".asString();",1),a()}}}};function gm(e){
return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e
}var vm={};Object.defineProperty(vm,"__esModule",{value:!0
}),vm.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)))
;const bm=function(e){
return"[object RegExp]"===Object.prototype.toString.call(e)},Om=function(e){
var t=typeof e;return null!==e&&("object"===t||"function"===t)},ym=vm.default
;var wm=(e,t,n)=>{const r=[];return function e(t,n,o){let i
;(n=n||{}).indent=n.indent||"\t",o=o||"",i=void 0===n.inlineCharacterLimit?{
newLine:"\n",newLineOrSpace:"\n",pad:o,indent:o+n.indent}:{
newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",
newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",
pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"}
;const a=e=>{if(void 0===n.inlineCharacterLimit)return e
;const t=e.replace(new RegExp(i.newLine,"g"),"").replace(new RegExp(i.newLineOrSpace,"g")," ").replace(new RegExp(i.pad+"|"+i.indent,"g"),"")
;return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(i.newLine+"|"+i.newLineOrSpace,"g"),"\n").replace(new RegExp(i.pad,"g"),o).replace(new RegExp(i.indent,"g"),o+n.indent)
};if(-1!==r.indexOf(t))return'"[Circular]"'
;if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||bm(t))return String(t)
;if(t instanceof Date)return`new Date('${t.toISOString()}')`
;if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t)
;const s="["+i.newLine+t.map(((r,a)=>{
const s=t.length-1===a?i.newLine:","+i.newLineOrSpace;let l=e(r,n,o+n.indent)
;return n.transform&&(l=n.transform(t,a,l)),i.indent+l+s})).join("")+i.pad+"]"
;return r.pop(),a(s)}if(Om(t)){let s=Object.keys(t).concat(ym(t))
;if(n.filter&&(s=s.filter((e=>n.filter(t,e)))),0===s.length)return"{}";r.push(t)
;const l="{"+i.newLine+s.map(((r,a)=>{
const l=s.length-1===a?i.newLine:","+i.newLineOrSpace,c="symbol"==typeof r,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(r),d=c||u?r:e(r,n)
;let p=e(t[r],n,o+n.indent)
;return n.transform&&(p=n.transform(t,r,p)),i.indent+String(d)+": "+p+l
})).join("")+i.pad+"}";return r.pop(),a(l)}
return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),
!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`
}(e,t,n)};const km=gm(wm),xm={info:{key:"javascript",title:"JavaScript",
extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr",
title:"XMLHttpRequest",
link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",
description:"W3C Standard API that provides scripted client functionality"},
convert:({postData:e,allHeaders:t,method:n,fullUrl:r},o)=>{var i;const a={
indent:" ",cors:!0,...o},{blank:s,push:l,join:c}=new Jf({indent:a.indent})
;switch(null==e?void 0:e.mimeType){case"application/json":
l(`const data = JSON.stringify(${km(e.jsonObj,{indent:a.indent})});`),s();break
;case"multipart/form-data":if(!e.params)break
;if(l("const data = new FormData();"),e.params.forEach((e=>{
l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)
})),Wf(t,"content-type")&&(null===(i=Zf(t,"content-type"))||void 0===i?void 0:i.includes("boundary"))){
const e=Vf(t,"content-type");e&&delete t[e]}s();break;default:
l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}
return l("const xhr = new XMLHttpRequest();"),
a.cors&&l("xhr.withCredentials = true;"),
s(),l("xhr.addEventListener('readystatechange', function () {"),
l("if (this.readyState === this.DONE) {",1),
l("console.log(this.responseText);",2),
l("}",1),l("});"),s(),l(`xhr.open('${n}', '${r}');`),
Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${tm(t[e])}');`)
})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios",
link:"https://github.com/axios/axios",
description:"Promise based HTTP client for the browser and node.js"},
convert:({allHeaders:e,method:t,url:n,queryObj:r,postData:o},i)=>{const a={
indent:" ",...i},{blank:s,push:l,join:c,addPostProcessor:u}=new Jf({
indent:a.indent});l("import axios from 'axios';"),s();const d={method:t,url:n}
;switch(Object.keys(r).length&&(d.params=r),
Object.keys(e).length&&(d.headers=e),null==o?void 0:o.mimeType){
case"application/x-www-form-urlencoded":
o.params&&(l("const encodedParams = new URLSearchParams();"),
o.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),
d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))))
;break;case"application/json":o.jsonObj&&(d.data=o.jsonObj);break
;case"multipart/form-data":if(!o.params)break;l("const form = new FormData();"),
o.params.forEach((e=>{
l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)
})),s(),d.data="[form]";break;default:(null==o?void 0:o.text)&&(d.data=o.text)}
const p=km(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form")
;return l(`const options = ${p};`),
s(),l("try {"),l("const { data } = await axios.request(options);",1),
l("console.log(data);",1),
l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{
key:"fetch",title:"fetch",
link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",
description:"Perform asynchronous HTTP requests with the Fetch API"},
convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const i={indent:" ",
credentials:null,...o},{blank:a,join:s,push:l}=new Jf({indent:i.indent}),c={
method:e}
;switch(Object.keys(t).length&&(c.headers=t),null!==i.credentials&&(c.credentials=i.credentials),
l(`const url = '${r}';`),null==n?void 0:n.mimeType){
case"application/x-www-form-urlencoded":c.body=n.paramsObj?n.paramsObj:n.text
;break;case"application/json":c.body=JSON.stringify(n.jsonObj);break
;case"multipart/form-data":if(!n.params)break;const e=Vf(t,"content-type")
;e&&delete t[e],l("const form = new FormData();"),n.params.forEach((e=>{
l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),a();break
;default:(null==n?void 0:n.text)&&(c.body=n.text)}
return c.headers&&!Object.keys(c.headers).length&&delete c.headers,
l(`const options = ${km(c,{indent:i.indent,inlineCharacterLimit:80,
transform:(e,t,r)=>"body"===t&&n&&"application/x-www-form-urlencoded"===n.mimeType?`new URLSearchParams(${r})`:r
})};`),
a(),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&(l("options.body = form;"),
a()),
l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1),
l("console.log(data);",1),
l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{
key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",
description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},
convert:({fullUrl:e,method:t,allHeaders:n,postData:r},o)=>{var i;const a={
indent:" ",...o},{blank:s,push:l,join:c}=new Jf({indent:a.indent}),u={async:!0,
crossDomain:!0,url:e,method:t,headers:n};switch(null==r?void 0:r.mimeType){
case"application/x-www-form-urlencoded":u.data=r.paramsObj?r.paramsObj:r.text
;break;case"application/json":u.processData=!1,u.data=r.text;break
;case"multipart/form-data":if(!r.params)break
;if(l("const form = new FormData();"),r.params.forEach((e=>{
l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)
})),u.processData=!1,
u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",
Wf(n,"content-type")&&(null===(i=Zf(n,"content-type"))||void 0===i?void 0:i.includes("boundary"))){
const e=Vf(n,"content-type");e&&delete u.headers[e]}s();break;default:
(null==r?void 0:r.text)&&(u.data=r.text)}const d=km(u,{indent:a.indent
}).replace("'[form]'","form")
;return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),
l("console.log(response);",1),l("});"),c()}}}},Sm={info:{key:"kotlin",
title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{
key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",
description:"An HTTP Request Client Library"},
convert:({postData:e,fullUrl:t,method:n,allHeaders:r},o)=>{const i={indent:" ",
...o},{blank:a,join:s,push:l}=new Jf({indent:i.indent})
;return l("val client = OkHttpClient()"),
a(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),
l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),
l("val request = Request.Builder()"),
l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),
Object.keys(r).forEach((e=>{l(`.addHeader("${e}", "${nm(r[e])}")`,1)
})),l(".build()",1),
a(),l("val response = client.newCall(request).execute()"),s()}}}},_m={info:{
key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{
info:{key:"native",title:"HTTP",
link:"http://nodejs.org/api/http.html#http_http_request_options_callback",
description:"Node.js native HTTP interface"},
convert:({uriObj:e,method:t,allHeaders:n,postData:r},o={})=>{
const{indent:i=" ",insecureSkipVerify:a=!1}=o,{blank:s,join:l,push:c,unshift:u}=new Jf({
indent:i}),d={method:t,hostname:e.hostname,port:""===e.port?null:e.port,
path:e.path,headers:n,...a?{rejectUnauthorized:!1}:{}}
;switch(c(`const http = require('${e.protocol.replace(":","")}');`),
s(),c(`const options = ${km(d,{indent:i
})};`),s(),c("const req = http.request(options, function (res) {"),
c("const chunks = [];",1),
s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2),
c("});",1),
s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2),
c("console.log(body.toString());",2),
c("});",1),c("});"),s(),null==r?void 0:r.mimeType){
case"application/x-www-form-urlencoded":
r.paramsObj&&(u("const qs = require('querystring');"),
c(`req.write(qs.stringify(${km(r.paramsObj,{indent:" ",inlineCharacterLimit:80
})}));`));break;case"application/json":
r.jsonObj&&c(`req.write(JSON.stringify(${km(r.jsonObj,{indent:" ",
inlineCharacterLimit:80})}));`);break;default:
(null==r?void 0:r.text)&&c(`req.write(${km(r.text,{indent:i})});`)}
return c("req.end();"),l()}},request:{info:{key:"request",title:"Request",
link:"https://github.com/request/request",
description:"Simplified HTTP request client"},
convert:({method:e,url:t,queryObj:n,postData:r,headersObj:o,cookies:i},a)=>{
const s={indent:" ",...a};let l=!1
;const{push:c,blank:u,join:d,unshift:p}=new Jf({indent:s.indent})
;c("const request = require('request');"),u();const h={method:e,url:t}
;switch(Object.keys(n).length&&(h.qs=n),
Object.keys(o).length&&(h.headers=o),null==r?void 0:r.mimeType){
case"application/x-www-form-urlencoded":h.form=r.paramsObj;break
;case"application/json":r.jsonObj&&(h.body=r.jsonObj,h.json=!0);break
;case"multipart/form-data":if(!r.params)break
;h.formData={},r.params.forEach((e=>{
if(!e.fileName&&!e.fileName&&!e.contentType)return void(h.formData[e.name]=e.value)
;let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`,
options:{filename:e.fileName,contentType:e.contentType?e.contentType:null}
}):e.value&&(t.value=e.value),h.formData[e.name]=t}));break;default:
(null==r?void 0:r.text)&&(h.body=r.text)}
return i.length&&(h.jar="JAR",c("const jar = request.jar();"),i.forEach((e=>{
c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`)
})),u()),l&&p("const fs = require('fs');"),c(`const options = ${km(h,{
indent:" ",inlineCharacterLimit:80
})};`),u(),c("request(options, function (error, response, body) {"),
c("if (error) throw new Error(error);",1),
u(),c("console.log(body);",1),c("});"),
d().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')")
}},unirest:{info:{key:"unirest",title:"Unirest",
link:"http://unirest.io/nodejs.html",
description:"Lightweight HTTP Request Client Library"},
convert:({method:e,url:t,cookies:n,queryObj:r,postData:o,headersObj:i},a)=>{
const s={indent:" ",...a};let l=!1
;const{addPostProcessor:c,blank:u,join:d,push:p,unshift:h}=new Jf({
indent:s.indent})
;switch(p("const unirest = require('unirest');"),u(),p(`const req = unirest('${e}', '${t}');`),
u(),n.length&&(p("const CookieJar = unirest.jar();"),n.forEach((e=>{
p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`)
})),p("req.jar(CookieJar);"),u()),Object.keys(r).length&&(p(`req.query(${km(r,{
indent:s.indent})});`),u()),Object.keys(i).length&&(p(`req.headers(${km(i,{
indent:s.indent})});`),u()),null==o?void 0:o.mimeType){
case"application/x-www-form-urlencoded":
o.paramsObj&&(p(`req.form(${km(o.paramsObj,{indent:s.indent})});`),u());break
;case"application/json":
o.jsonObj&&(p("req.type('json');"),p(`req.send(${km(o.jsonObj,{indent:s.indent
})});`),u());break;case"multipart/form-data":{if(!o.params)break;const e=[]
;o.params.forEach((t=>{const n={}
;t.fileName&&!t.value?(l=!0,n.body=`fs.createReadStream('${t.fileName}')`,
c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(n.body=t.value),
n.body&&(t.contentType&&(n["content-type"]=t.contentType),e.push(n))
})),p(`req.multipart(${km(e,{indent:s.indent})});`),u();break}default:
(null==o?void 0:o.text)&&(p(`req.send(${km(o.text,{indent:s.indent})});`),u())}
return l&&h("const fs = require('fs');"),
p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1),
u(),p("console.log(res.body);",1),p("});"),d()}},axios:{info:{key:"axios",
title:"Axios",link:"https://github.com/axios/axios",
description:"Promise based HTTP client for the browser and node.js"},
convert:({method:e,url:t,queryObj:n,allHeaders:r,postData:o},i)=>{const a={
indent:" ",...i},{blank:s,join:l,push:c,addPostProcessor:u}=new Jf({
indent:a.indent});c("const axios = require('axios').default;");const d={
method:e,url:t}
;switch(Object.keys(n).length&&(d.params=n),Object.keys(r).length&&(d.headers=r),
null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":
o.params&&(c("const { URLSearchParams } = require('url');"),
s(),c("const encodedParams = new URLSearchParams();"),o.params.forEach((e=>{
c(`encodedParams.set('${e.name}', '${e.value}');`)
})),s(),d.data="encodedParams,",
u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break
;case"application/json":s(),o.jsonObj&&(d.data=o.jsonObj);break;default:
s(),(null==o?void 0:o.text)&&(d.data=o.text)}const p=km(d,{indent:" ",
inlineCharacterLimit:80})
;return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),
c("console.log(data);",1),
c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{
key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",
description:"Simplified HTTP node-fetch client"},
convert:({method:e,fullUrl:t,postData:n,headersObj:r,cookies:o},i)=>{var a
;const s={indent:" ",...i};let l=!1
;const{blank:c,push:u,join:d,unshift:p}=new Jf({indent:s.indent})
;u("const fetch = require('node-fetch');"),c();const h={method:e}
;switch(Object.keys(r).length&&(h.headers=r),null==n?void 0:n.mimeType){
case"application/x-www-form-urlencoded":
p("const { URLSearchParams } = require('url');"),
u("const encodedParams = new URLSearchParams();"),
null===(a=n.params)||void 0===a||a.forEach((e=>{
u(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),h.body="encodedParams"
;break;case"application/json":n.jsonObj&&(h.body=JSON.stringify(n.jsonObj))
;break;case"multipart/form-data":if(!n.params)break;const e=Vf(r,"content-type")
;e&&delete r[e],
p("const FormData = require('form-data');"),u("const formData = new FormData();"),
n.params.forEach((e=>{
e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,u(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):u(`formData.append('${e.name}', '${e.value}');`)
})),c();break;default:(null==n?void 0:n.text)&&(h.body=n.text)}if(o.length){
const e=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ")
;h.headers||(h.headers={}),h.headers.cookie=e}
u(`const url = '${t}';`),h.headers&&!Object.keys(h.headers).length&&delete h.headers
;const f=km(h,{indent:" ",inlineCharacterLimit:80})
;return u(`const options = ${f};`),
l&&p("const fs = require('fs');"),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&u("options.body = formData;"),
c(),
u("try {"),u("const response = await fetch(url, options);",1),u("const data = await response.json();",1),
u("console.log(data);",1),
u("} catch (error) {"),u("console.error(error);",1),u("}"),
d().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')
}}}},Em=(e,t,n,r)=>{const o=`${e} *${t} = `
;return`${o}${Tm(n,r?o.length:void 0)};`},Tm=(e,t)=>{
const n=void 0===t?", ":`,\n ${" ".repeat(t)}`
;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`
;case"[object Array]":return`@[ ${e.map((e=>Tm(e))).join(n)} ]`
;case"[object Object]":{const t=[]
;for(const n in e)t.push(`@"${n}": ${Tm(e[n])}`);return`@{ ${t.join(n)} }`}
case"[object Boolean]":return e?"@YES":"@NO";default:
return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},Cm={info:{
key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},
clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",
link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",
description:"Foundation's NSURLSession request"},
convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var i;const a={
indent:" ",pretty:!0,timeout:10,...o},{push:s,join:l,blank:c}=new Jf({
indent:a.indent}),u={hasHeaders:!1,hasBody:!1}
;if(s("#import <Foundation/Foundation.h>"),
Object.keys(e).length&&(u.hasHeaders=!0,
c(),s(Em("NSDictionary","headers",e,a.pretty))),
t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){
case"application/x-www-form-urlencoded":
if(null===(i=t.params)||void 0===i?void 0:i.length){c();const[e,...n]=t.params
;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),
n.forEach((({name:e,value:t})=>{
s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)
}))}else u.hasBody=!1;break;case"application/json":
t.jsonObj&&(s(Em("NSDictionary","parameters",t.jsonObj,a.pretty)),
c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"))
;break;case"multipart/form-data":
s(Em("NSArray","parameters",t.params||[],a.pretty)),
s(`NSString *boundary = @"${t.boundary}";`),
c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),
s("for (NSDictionary *param in parameters) {"),
s('[body appendFormat:@"--%@\\r\\n", boundary];',1),
s('if (param[@"fileName"]) {',1),
s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),
s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),
s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),
s("if (error) {",2),
s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),
s('[body appendFormat:@"%@", param[@"value"]];',2),
s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),
s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break
;default:
c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)
}
return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),
s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),
s(` timeoutInterval:${a.timeout.toFixed(1)}];`),
s(`[request setHTTPMethod:@"${n}"];`),
u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),
u.hasBody&&s("[request setHTTPBody:postData];"),
c(),s("NSURLSession *session = [NSURLSession sharedSession];"),
s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),
s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),
s(" if (error) {",1),
s(' NSLog(@"%@", error);',2),
s(" } else {",1),
s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),
s(' NSLog(@"%@", httpResponse);',2),
s(" }",1),
s(" }];"),s("[dataTask resume];"),l()
}}}},Am={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},
clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP",
link:"https://github.com/mirage/ocaml-cohttp",
description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"
},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},o)=>{const i={
indent:" ",...o},{push:a,blank:s,join:l}=new Jf({indent:i.indent})
;a("open Cohttp_lwt_unix"),
a("open Cohttp"),a("open Lwt"),s(),a(`let uri = Uri.of_string "${e}" in`)
;const c=Object.keys(t)
;1===c.length?a(`let headers = Header.add (Header.init ()) "${c[0]}" "${nm(t[c[0]])}" in`):c.length>1&&(a("let headers = Header.add_list (Header.init ()) ["),
c.forEach((e=>{a(`("${e}", "${nm(t[e])}");`,1)
})),a("] in")),(null==n?void 0:n.text)&&a(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),
s()
;const u=c.length?"~headers ":"",d=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`
;return a(`Client.call ${u}${d}${p} uri`),
a(">>= fun (res, body_stream) ->"),a("(* Do stuff with the result *)",1),l()}}}
},Pm=(e,t,n)=>{switch(n=n||"",t=t||"",Object.prototype.toString.call(e)){
case"[object Null]":case"[object Undefined]":default:return"null"
;case"[object String]":return`'${em(e,{delimiter:"'",escapeNewlines:!1})}'`
;case"[object Number]":return e.toString();case"[object Array]":{
const r=e.map((e=>Pm(e,`${t}${t}`,t))).join(`,\n${t}`)
;return`[\n${t}${r}\n${n}]`}case"[object Object]":{const r=[]
;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(`${Pm(n,t)} => ${Pm(e[n],`${t}${t}`,t)}`)
;return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}}
},Dm=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],$m={
info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{
info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",
description:"PHP with ext-curl"},
convert:({uriObj:e,postData:t,fullUrl:n,method:r,httpVersion:o,cookies:i,headersObj:a},s={})=>{
const{closingTag:l=!1,indent:c=" ",maxRedirects:u=10,namedErrors:d=!1,noTags:p=!1,shortTags:h=!1,timeout:f=30}=s,{push:m,blank:g,join:v}=new Jf({
indent:c});p||(m(h?"<?":"<?php"),g()),m("$curl = curl_init();"),g();const b=[{
escape:!0,name:"CURLOPT_PORT",value:""===e.port?null:e.port},{escape:!0,
name:"CURLOPT_URL",value:n},{escape:!1,name:"CURLOPT_RETURNTRANSFER",
value:"true"},{escape:!0,name:"CURLOPT_ENCODING",value:""},{escape:!1,
name:"CURLOPT_MAXREDIRS",value:u},{escape:!1,name:"CURLOPT_TIMEOUT",value:f},{
escape:!1,name:"CURLOPT_HTTP_VERSION",
value:"HTTP/1.0"===o?"CURL_HTTP_VERSION_1_0":"CURL_HTTP_VERSION_1_1"},{
escape:!0,name:"CURLOPT_CUSTOMREQUEST",value:r},{
escape:!(null==t?void 0:t.jsonObj),name:"CURLOPT_POSTFIELDS",
value:t?t.jsonObj?`json_encode(${Pm(t.jsonObj,c.repeat(2),c)})`:t.text:void 0}]
;m("curl_setopt_array($curl, [");const O=new Jf({indent:c,join:`\n${c}`})
;b.forEach((({value:e,name:t,escape:n})=>{
null!=e&&O.push(`${t} => ${n?JSON.stringify(e):e},`)}))
;const y=i.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`))
;y.length&&O.push(`CURLOPT_COOKIE => "${y.join("; ")}",`)
;const w=Object.keys(a).sort().map((e=>`"${e}: ${nm(a[e])}"`))
;return w.length&&(O.push("CURLOPT_HTTPHEADER => ["),
O.push(w.join(`,\n${c}${c}`),1),
O.push("],")),m(O.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),
m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),
m(d?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),
m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),v()}},guzzle:{
info:{key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",
description:"PHP with Guzzle"},
convert:({postData:e,fullUrl:t,method:n,cookies:r,headersObj:o},i)=>{var a
;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...i
},{push:l,blank:c,join:u}=new Jf({indent:s.indent
}),{code:d,push:p,join:h}=new Jf({indent:s.indent})
;switch(s.noTags||(l(s.shortTags?"<?":"<?php"),c()),null==e?void 0:e.mimeType){
case"application/x-www-form-urlencoded":
p(`'form_params' => ${Pm(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break
;case"multipart/form-data":{const t=[]
;if(e.params&&e.params.forEach((function(e){if(e.fileName){const n={name:e.name,
filename:e.fileName,contents:e.value};e.contentType&&(n.headers={
"Content-Type":e.contentType}),t.push(n)}else e.value&&t.push({name:e.name,
contents:e.value})
})),t.length&&(p(`'multipart' => ${Pm(t,s.indent+s.indent,s.indent)}`,1),
Wf(o,"content-type")&&(null===(a=Zf(o,"content-type"))||void 0===a?void 0:a.indexOf("boundary")))){
const e=Vf(o,"content-type");e&&delete o[e]}break}default:
(null==e?void 0:e.text)&&p(`'body' => ${Pm(e.text)},`,1)}
const f=Object.keys(o).sort().map((function(e){
return`${s.indent}${s.indent}'${e}' => '${tm(o[e])}',`
})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ")
;return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${tm(m)}',`),
f.length&&(p("'headers' => [",1),
p(f.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),
c(),d.length?(l(`$response = $client->request('${n}', '${t}', [`),
l(h()),l("]);")):l(`$response = $client->request('${n}', '${t}');`),
c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),u()}
},http1:{info:{key:"http1",title:"HTTP v1",
link:"http://php.net/manual/en/book.http.php",
description:"PHP with pecl/http v1"},
convert:({method:e,url:t,postData:n,queryObj:r,headersObj:o,cookiesObj:i},a={})=>{
const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:u=!1}=a,{push:d,blank:p,join:h}=new Jf({
indent:l})
;switch(c||(d(u?"<?":"<?php"),p()),Dm.includes(e.toUpperCase())||d(`HttpRequest::methodRegister('${e}');`),
d("$request = new HttpRequest();"),
d(`$request->setUrl(${Pm(t)});`),Dm.includes(e.toUpperCase())?d(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):d(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`),
p(),
Object.keys(r).length&&(d(`$request->setQueryData(${Pm(r,l)});`),p()),Object.keys(o).length&&(d(`$request->setHeaders(${Pm(o,l)});`),
p()),
Object.keys(i).length&&(d(`$request->setCookies(${Pm(i,l)});`),p()),null==n?void 0:n.mimeType){
case"application/x-www-form-urlencoded":
d(`$request->setContentType(${Pm(n.mimeType)});`),
d(`$request->setPostFields(${Pm(n.paramsObj,l)});`),p();break
;case"application/json":
d(`$request->setContentType(${Pm(n.mimeType)});`),d(`$request->setBody(json_encode(${Pm(n.jsonObj,l)}));`),
p();break;default:
(null==n?void 0:n.text)&&(d(`$request->setBody(${Pm(n.text)});`),p())}
return d("try {"),
d("$response = $request->send();",1),p(),d("echo $response->getBody();",1),
d("} catch (HttpException $ex) {"),d("echo $ex;",1),d("}"),!c&&s&&(p(),d("?>")),
h()}},http2:{info:{key:"http2",title:"HTTP v2",
link:"http://devel-m6w6.rhcloud.com/mdref/http",
description:"PHP with pecl/http v2"},
convert:({postData:e,headersObj:t,method:n,queryObj:r,cookiesObj:o,url:i},a={})=>{
var s
;const{closingTag:l=!1,indent:c=" ",noTags:u=!1,shortTags:d=!1}=a,{push:p,blank:h,join:f}=new Jf({
indent:c});let m=!1
;switch(u||(p(d?"<?":"<?php"),h()),p("$client = new http\\Client;"),
p("$request = new http\\Client\\Request;"),h(),null==e?void 0:e.mimeType){
case"application/x-www-form-urlencoded":
p("$body = new http\\Message\\Body;"),p(`$body->append(new http\\QueryString(${Pm(e.paramsObj,c)}));`),
h(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const n=[],r={}
;e.params.forEach((({name:e,fileName:t,value:o,contentType:i})=>{t?n.push({
name:e,type:i,file:t,data:o}):o&&(r[e]=o)}))
;const o=Object.keys(r).length?Pm(r,c):"null",i=n.length?Pm(n,c):"null"
;if(p("$body = new http\\Message\\Body;"),
p(`$body->addForm(${o}, ${i});`),Wf(t,"content-type")&&(null===(s=Zf(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){
const e=Vf(t,"content-type");e&&delete t[e]}h(),m=!0;break}
case"application/json":
p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${Pm(e.jsonObj,c)}));`),
m=!0;break;default:
(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),
p(`$body->append(${Pm(e.text)});`),h(),m=!0)}
return p(`$request->setRequestUrl(${Pm(i)});`),
p(`$request->setRequestMethod(${Pm(n)});`),
m&&(p("$request->setBody($body);"),h()),
Object.keys(r).length&&(p(`$request->setQuery(new http\\QueryString(${Pm(r,c)}));`),
h()),
Object.keys(t).length&&(p(`$request->setHeaders(${Pm(t,c)});`),h()),Object.keys(o).length&&(h(),
p(`$client->setCookies(${Pm(o,c)});`),
h()),p("$client->enqueue($request)->send();"),
p("$response = $client->getResponse();"),
h(),p("echo $response->getBody();"),!u&&l&&(h(),p("?>")),f()}}}
},Rm=e=>({method:t,headersObj:n,cookies:r,uriObj:o,fullUrl:i,postData:a,allHeaders:s})=>{
const{push:l,join:c}=new Jf
;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported"
;const u=[],d=Object.keys(n);return d.length&&(l("$headers=@{}"),d.forEach((e=>{
"connection"!==e&&l(`$headers.Add("${e}", "${em(n[e],{escapeChar:"`"})}")`)
})),u.push("-Headers $headers")),
r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),
r.forEach((e=>{
l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),
l(`$cookie.Value = '${e.value}'`),
l(`$cookie.Domain = '${o.host}'`),l("$session.Cookies.Add($cookie)")
})),u.push("-WebSession $session")),
(null==a?void 0:a.text)&&(u.push(`-ContentType '${em(Zf(s,"content-type"),{
delimiter:"'",escapeChar:"`"
})}'`),u.push(`-Body '${a.text}'`)),l(`$response = ${e} -Uri '${i}' -Method ${t} ${u.join(" ")}`),
c()},Nm={info:{key:"restmethod",title:"Invoke-RestMethod",
link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",
description:"Powershell Invoke-RestMethod client"},
convert:Rm("Invoke-RestMethod")},Mm={info:{key:"webrequest",
title:"Invoke-WebRequest",
link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",
description:"Powershell Invoke-WebRequest client"},
convert:Rm("Invoke-WebRequest")};function Im(e,t,n,r,o){
const i=r.repeat(o),a=r.repeat(o-1),s=n?`,\n${i}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]"
;return n?`${l}\n${i}${t.join(s)}\n${a}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`
}const Lm=(e,t,n)=>{
switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){
case"[object Number]":return e;case"[object Array]":{let r=!1
;return Im("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),
Lm(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[]
;for(const o in e)r.push(`"${o}": ${Lm(e[o],t,n)}`)
;return Im("object",r,t.pretty&&r.length>1,t.indent,n)}case"[object Null]":
return"None";case"[object Boolean]":return e?"True":"False";default:
return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}
},jm=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Bm={info:{
key:"httr",title:"httr",
link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",
description:"httr: Tools for Working with URLs and HTTP"},
convert:({url:e,queryObj:t,queryString:n,postData:r,allHeaders:o,method:i},a={})=>{
var s,l;const{push:c,blank:u,join:d}=new Jf({
indent:null!==(s=a.indent)&&void 0!==s?s:" "})
;c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key
;const h=Object.entries(p),f=h.length;if(1===f){const e=h[0]
;c(`queryString <- list(${e[0]} = "${e[1]}")`),u()
}else f>1&&(c("queryString <- list("),h.forEach((([e,t],n)=>{
c(`${e} = "${t}"${n!==f-1?",":""}`,1)})),c(")"),u())
;const m=JSON.stringify(null==r?void 0:r.text);if(m&&(c(`payload <- ${m}`),u()),
r&&(r.text||r.jsonObj||r.params))switch(r.mimeType){
case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break
;case"application/json":c('encode <- "json"'),u();break
;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:
c('encode <- "raw"'),u()}
const g=Zf(o,"cookie"),v=Zf(o,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,O=v?`accept("${nm(v)}")`:void 0,y=`content_type("${nm(null!==(l=null==r?void 0:r.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(o).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${tm(t)}'`)).join(", "),k=w?`add_headers(${w})`:void 0
;let x=`response <- VERB("${i}", url`
;m&&(x+=", body = payload"),n.length&&(x+=", query = queryString")
;const S=[k,y,O,b].filter((e=>!!e)).join(", ")
;return S&&(x+=`, ${S}`),r&&(r.text||r.jsonObj||r.params)&&(x+=", encode = encode"),
x+=")",c(x),u(),c('content(response, "text")'),d()}
},Qm=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,Um={
"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",
insecure:"k",request:"X"},Fm=(e,t)=>t.repeat(e),zm=(e,t,n,r)=>{
const o=Fm(r,n),i=Fm(r-1,n),a=t?`,\n${o}`:", "
;return t?`[\n${o}${e.join(a)}\n${i}]`:`[${e.join(a)}]`
},qm=(e,t,n)=>`let ${e} = ${Hm(t,n)}`,Hm=(e,t,n)=>{
switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){
case"[object Number]":return e;case"[object Array]":{let r=!1
;const o=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),
Hm(e,t,n))));return zm(o,r,t.indent,n)}case"[object Object]":{const r=[]
;for(const o in e)r.push(`"${o}": ${Hm(e[o],t,n)}`)
;return zm(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]":
return e.toString();default:
return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},Vm={c:rm,clojure:dm,
csharp:pm,go:hm,http:fm,java:mm,javascript:xm,kotlin:Sm,node:_m,objc:Cm,
ocaml:Am,php:$m,powershell:{info:{key:"powershell",title:"Powershell",
extname:".ps1",default:"webrequest"},clientsById:{webrequest:Mm,restmethod:Nm}},
python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},
clientsById:{python3:{info:{key:"python3",title:"http.client",
link:"https://docs.python.org/3/library/http.client.html",
description:"Python3 HTTP Client"},
convert:({uriObj:{path:e,protocol:t,host:n},postData:r,allHeaders:o,method:i},a={})=>{
const{insecureSkipVerify:s=!1}=a,{push:l,blank:c,join:u}=new Jf
;if(l("import http.client"),s&&l("import ssl"),c(),"https:"===t){
l(`conn = http.client.HTTPSConnection("${n}"${s?", context = ssl._create_unverified_context()":""})`),
c()}else l(`conn = http.client.HTTPConnection("${n}")`),c()
;const d=JSON.stringify(null==r?void 0:r.text);d&&(l(`payload = ${d}`),c())
;const p=o,h=Object.keys(p).length
;if(1===h)for(const f in p)l(`headers = { '${f}': "${nm(p[f])}" }`),
c();else if(h>1){let e=1;l("headers = {")
;for(const t in p)e++!==h?l(` '${t}': "${nm(p[t])}",`):l(` '${t}': "${nm(p[t])}"`)
;l("}"),c()}
return l(d&&h?`conn.request("${i}", "${e}", payload, headers)`:d&&!h?`conn.request("${i}", "${e}", payload)`:!d&&h?`conn.request("${i}", "${e}", headers=headers)`:`conn.request("${i}", "${e}")`),
c(),
l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),
u()}},requests:{info:{key:"requests",title:"Requests",
link:"http://docs.python-requests.org/en/latest/api/#requests.request",
description:"Requests HTTP library"},
convert:({queryObj:e,url:t,postData:n,allHeaders:r,method:o},i)=>{const a={
indent:" ",pretty:!0,...i},{push:s,blank:l,join:c}=new Jf({indent:a.indent})
;let u
;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(u=`querystring = ${JSON.stringify(e)}`,
s(u),l());const d=r;let p={};const h={};let f=!1,m=!1,g=!1
;switch(null==n?void 0:n.mimeType){case"application/json":
n.jsonObj&&(s(`payload = ${Lm(n.jsonObj,a)}`),g=!0,m=!0);break
;case"multipart/form-data":if(!n.params)break;if(p={},n.params.forEach((e=>{
e.fileName?(h[e.name]=`open('${e.fileName}', 'rb')`,
f=!0):(p[e.name]=e.value,m=!0)})),f){
s(`files = ${Lm(h,a)}`),m&&s(`payload = ${Lm(p,a)}`)
;const e=Vf(d,"content-type");e&&delete d[e]}else{const e=JSON.stringify(n.text)
;e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!n)break
;if("application/x-www-form-urlencoded"===n.mimeType&&n.paramsObj){
s(`payload = ${Lm(n.paramsObj,a)}`),m=!0;break}const e=JSON.stringify(n.text)
;e&&(s(`payload = ${e}`),m=!0)}}const v=Object.keys(d).length
;if(0===v&&(m||f))l();else if(1===v)for(const O in d)s(`headers = {"${O}": "${nm(d[O])}"}`),
l();else if(v>1){let e=1;s("headers = {")
;for(const t in d)s(e!==v?`"${t}": "${nm(d[t])}",`:`"${t}": "${nm(d[t])}"`,1),
e+=1;s("}"),l()}
let b=jm.includes(o)?`response = requests.${o.toLowerCase()}(url`:`response = requests.request("${o}", url`
;return m&&(b+=g?", json=payload":", data=payload"),
f&&(b+=", files=files"),v>0&&(b+=", headers=headers"),
u&&(b+=", params=querystring"),b+=")",s(b),l(),s("print(response.json())"),c()}}
}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:Bm}
},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},
clientsById:{native:{info:{key:"native",title:"net::http",
link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",
description:"Ruby HTTP client"},
convert:({uriObj:e,method:t,fullUrl:n,postData:r,allHeaders:o},i={})=>{
const{insecureSkipVerify:a=!1}=i,{push:s,blank:l,join:c}=new Jf
;s("require 'uri'"),s("require 'net/http'"),l()
;const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase()
;["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),
s(` METHOD = '${u.toUpperCase()}'`),
s(` REQUEST_HAS_BODY = '${(null==r?void 0:r.text)?"true":"false"}'`),
s(" RESPONSE_HAS_BODY = true"),
s("end"),l()),s(`url = URI("${n}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),
"https:"===e.protocol&&(s("http.use_ssl = true"),
a&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),
l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(o)
;return p.length&&p.forEach((e=>{s(`request["${e}"] = '${tm(o[e])}'`)
})),(null==r?void 0:r.text)&&s(`request.body = ${JSON.stringify(r.text)}`),
l(),s("response = http.request(request)"),s("puts response.read_body"),c()}}}},
shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},
clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/",
description:"cURL is a command line tool and library for transferring data with URL syntax"
},
convert:({fullUrl:e,method:t,httpVersion:n,headersObj:r,allHeaders:o,postData:i},a={})=>{
var s
;const{binary:l=!1,globOff:c=!1,indent:u=" ",insecureSkipVerify:d=!1,prettifyJson:p=!1,short:h=!1}=a,{push:f,join:m}=new Jf({
..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{
if(e){const e=Um[t];return e?`-${e}`:""}return`--${t}`})(h);let v=Qm(e)
;if(f(`curl ${g("request")} ${t}`),
c&&(v=unescape(v),f(g("globoff"))),f(`${g("url ")}${v}`),
d&&f(g("insecure")),"HTTP/1.0"===n&&f(g("http1.0")),
Zf(o,"accept-encoding")&&f("--compressed"),
"multipart/form-data"===(null==i?void 0:i.mimeType)){
const e=Vf(r,"content-type");if(e){const t=r[e];if(e&&t){
const n=t.replace(/; boundary.+?(?=(;|$))/,"");r[e]=n,o[e]=n}}}
switch(Object.keys(r).sort().forEach((e=>{const t=`${e}: ${r[e]}`
;f(`${g("header")} ${Qm(t)}`)
})),o.cookie&&f(`${g("cookie")} ${Qm(o.cookie)}`),null==i?void 0:i.mimeType){
case"multipart/form-data":null===(s=i.params)||void 0===s||s.forEach((e=>{
let t=""
;t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,f(`${g("form")} ${Qm(t)}`)
}));break;case"application/x-www-form-urlencoded":
i.params?i.params.forEach((e=>{
const t=e.name,n=encodeURIComponent(e.name),r=n!==t
;f(`${l?"--data-binary":"--data"+(r?"-urlencode":"")} ${Qm(`${r?n:t}=${e.value}`)}`)
})):f(`${l?"--data-binary":g("data")} ${Qm(i.text)}`);break;default:{if(!i)break
;if(!i.text)break;const e=l?"--data-binary":g("data");let t=!1
;if(b=i.mimeType,Xf.some((e=>b.includes(e)))){if(i.text.length>2&&p)try{
const n=JSON.parse(i.text);t=!0;const r=JSON.stringify(n,void 0,u)
;i.text.indexOf("'")>0?f(`${e} @- <<EOF\n${r}\nEOF`):f(`${e} '\n${r}\n'`)
}catch(O){}}t||f(`${e} ${Qm(i.text)}`)}}var b;return m()}},httpie:{info:{
key:"httpie",title:"HTTPie",link:"http://httpie.org/",
description:"a CLI, cURL-like tool for humans"},
convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:o,url:i},a)=>{
const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,
queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...a
},{push:l,join:c,unshift:u}=new Jf({indent:s.indent,
join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[]
;s.headers&&p.push(s.short?"-h":"--headers"),
s.body&&p.push(s.short?"-b":"--body"),
s.verbose&&p.push(s.short?"-v":"--verbose"),
s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),
s.verify&&p.push(`--verify=${s.verify}`),
s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),
s.style&&p.push(`--style=${s.style}`),
s.timeout&&p.push(`--timeout=${s.timeout}`),
s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e]
;Array.isArray(t)?t.forEach((t=>{l(`${e}==${Qm(t)}`)})):l(`${e}==${Qm(t)}`)
})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Qm(e[t])}`)
})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"),
t.params.forEach((e=>{l(`${e.name}=${Qm(e.value)}`)}))):d=!0
;if(u(`http ${p.length?`${p.join(" ")} `:""}${o} ${i=Qm(s.queryParams?i:r)}`),
d&&(null==t?void 0:t.text)){u(`echo ${Qm(t.text)} | `)}return c()}},wget:{info:{
key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",
description:"a free software package for retrieving files using HTTP, HTTPS"},
convert:({method:e,postData:t,allHeaders:n,fullUrl:r},o)=>{const i={indent:" ",
short:!1,verbose:!1,...o},{push:a,join:s}=new Jf({indent:i.indent,
join:!1!==i.indent?` \\\n${i.indent}`:" "});var l
;return i.verbose?a("wget "+(i.short?"-v":"--verbose")):a("wget "+(i.short?"-q":"--quiet")),
a(`--method ${Qm(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}`
;a(`--header ${Qm(t)}`)
})),(null==t?void 0:t.text)&&a(`--body-data ${l=Qm(t.text),
l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),
a(i.short?"-O":"--output-document"),a(`- ${Qm(r)}`),s()}}}},swift:{info:{
key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{
nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",
link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",
description:"Foundation's NSURLSession request"},
convert:({allHeaders:e,postData:t,fullUrl:n,method:r},o)=>{var i;const a={
indent:" ",pretty:!0,timeout:"10",...o},{push:s,blank:l,join:c}=new Jf({
indent:a.indent}),u={hasHeaders:!1,hasBody:!1}
;if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,
l(),s(qm("headers",e,a))),
t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){
case"application/x-www-form-urlencoded":
if(l(),null===(i=t.params)||void 0===i?void 0:i.length){const[e,...n]=t.params
;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),
n.forEach((({name:e,value:t})=>{
s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))
}else u.hasBody=!1;break;case"application/json":
t.jsonObj&&(s(`${qm("parameters",t.jsonObj,a)} as [String : Any]`),
l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"))
;break;case"multipart/form-data":
s(qm("parameters",t.params,a)),l(),s(`let boundary = "${t.boundary}"`),
l(),s('var body = ""'),
s("var error: NSError? = nil"),s("for param in parameters {"),
s('let paramName = param["name"]!',1),
s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),
s('if let filename = param["fileName"] {',1),
s('let contentType = param["content-type"]!',2),
s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),
s("if (error != nil) {",2),
s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),
s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),
s("body += fileContent",2),
s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),
s("}",1),s("}");break;default:
l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)
}
return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${n}")! as URL,`),
s(" cachePolicy: .useProtocolCachePolicy,"),
s(` timeoutInterval: ${parseInt(a.timeout,10).toFixed(1)})`),
s(`request.httpMethod = "${r}"`),
u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),
u.hasBody&&s("request.httpBody = postData as Data"),
l(),s("let session = URLSession.shared"),
s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),
s("if (error != nil) {",1),
s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),
s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}}}}}
;class Zm{constructor(e){let t=[];var n
;t="object"==typeof(n=e)&&"log"in n&&"object"==typeof n.log&&"entries"in n.log&&Array.isArray(n.log.entries)?e.log.entries:[{
request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const n={
bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",
queryString:[],postData:{
mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"
},...e};return this.prepare(n)})))}async prepare(e){var t,n,r,o;const i={...e,
fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}}
;if(i.queryString&&i.queryString.length&&(i.queryObj=i.queryString.reduce(Gf,{})),
i.headers&&i.headers.length){const e=/^HTTP\/2/
;i.headersObj=i.headers.reduce(((t,{name:n,value:r})=>{
const o=e.exec(i.httpVersion)?n.toLocaleLowerCase():n;return{...t,[o]:r}}),{})}
i.cookies&&i.cookies.length&&(i.cookiesObj=i.cookies.reduceRight(((e,{name:t,value:n})=>({
...e,[t]:n})),{}))
;const a=null===(t=i.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`))
;switch((null==a?void 0:a.length)&&(i.allHeaders.cookie=a.join("; ")),
null===(n=i.postData)||void 0===n?void 0:n.mimeType){case"multipart/mixed":
case"multipart/related":case"multipart/form-data":case"multipart/alternative":
if(i.postData.text="",
i.postData.mimeType="multipart/form-data",null===(r=i.postData)||void 0===r?void 0:r.params){
const e=new jf,t="---011000010111000001101001"
;null===(o=i.postData)||void 0===o||o.params.forEach((t=>{
const n=t.name,r=t.value||"",o=t.fileName;var i
;"object"==typeof(i=r)&&"function"==typeof i.arrayBuffer&&"string"==typeof i.type&&"function"==typeof i.stream&&"function"==typeof i.constructor&&/^(Blob|File)$/.test(i[zf])?e.append(n,r,o):e.append(n,new Bf([r],{
type:t.contentType}),o?function(e){const t=e.split("/");return t[t.length-1]
}(o):o)}));const{postData:n}=i;for await(const o of Hf(e,t))n.text+=o
;i.postData.boundary=t;const r=Vf(i.headersObj,"content-type")||"content-type"
;i.headersObj[r]=`multipart/form-data; boundary=${t}`}break
;case"application/x-www-form-urlencoded":
i.postData.params?(i.postData.paramsObj=i.postData.params.reduce(Gf,{}),
i.postData.text=Yf(i.postData.paramsObj).toString()):i.postData.text="";break
;case"text/json":case"text/x-json":case"application/json":
case"application/x-json":
if(i.postData.mimeType="application/json",i.postData.text)try{
i.postData.jsonObj=JSON.parse(i.postData.text)}catch(G$){
i.postData.mimeType="text/plain"}}const s={...i.allHeaders,...i.headersObj
},l=new URL(i.url),c=Object.fromEntries(l.searchParams);i.queryObj={
...i.queryObj,...c};const u=Yf(i.queryObj),d=new URL(i.url)
;return d.search=u.toString(),l.search="",{...i,allHeaders:s,
fullUrl:d.toString(),url:l.toString(),uriObj:new Kf(d.toString())}}
async convert(e,t,n){!n&&t&&(n=t);const r=Vm[e];if(!r)return null
;const{convert:o}=r.clientsById[t||r.info.default],i=(await this.requests).map((e=>o(e,n)))
;return 1===i.length?i[0]:i}}const Wm=(...e)=>{let t={httpVersion:"1.1",
method:"GET",url:"",path:"",headers:[],headersSize:-1,queryString:[],cookies:[],
bodySize:-1};e.forEach((e=>{t={...t,...e,
headers:[...t.headers,...e.headers??[]],
queryString:[...t.queryString,...e.queryString??[]],
cookies:[...t.cookies,...e.cookies??[]]}})),t.headers=(e=>{if(Array.isArray(e)){
const t=new Map;return e.forEach((e=>{t.set(Zd(e.name),e)
})),Array.from(t.values()).map((e=>({...e,name:Zd(e.name)})))}
return Object.fromEntries(Object.entries(e??{}).reverse().filter((([e],t,n)=>n.findIndex((([t])=>Zd(t)===Zd(e)))===t)).reverse().map((([e,t])=>[Zd(e),t])))
})(t.headers);const{path:n,...r}=t;return n?{...r,url:`${t.url}${n}`}:r
},Xm="object"==typeof self?self:globalThis,Gm=e=>((e,t)=>{
const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o]
;switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o)
;for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o)
;for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:
{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{
const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{
const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{
const{name:e,message:t}=a;return n(new Xm[e](t),o)}case 8:return n(BigInt(a),o)
;case"BigInt":return n(Object(BigInt(a)),o)}return n(new Xm[i](a),o)};return r
})(new Map,e)(0),Ym="",{toString:Km}={},{keys:Jm}=Object,eg=e=>{const t=typeof e
;if("object"!==t||!e)return[0,t];const n=Km.call(e).slice(8,-1);switch(n){
case"Array":return[1,Ym];case"Object":return[2,Ym];case"Date":return[3,Ym]
;case"RegExp":return[4,Ym];case"Map":return[5,Ym];case"Set":return[6,Ym]}
return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]
},tg=([e,t])=>0===e&&("function"===t||"symbol"===t),ng=(e,{json:t,lossy:n}={})=>{
const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1
;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=eg(r)
;switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break
;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s)
;t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{
if(s)return o([s,[...r]],r);const e=[],t=o([a,e],r)
;for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":
return o([s,r.toString()],r);case"Boolean":case"Number":case"String":
return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON())
;const n=[],l=o([a,n],r)
;for(const t of Jm(r))!e&&tg(eg(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:
return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{
source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r)
;for(const[o,a]of r)(e||!tg(eg(o))&&!tg(eg(a)))&&t.push([i(o),i(a)]);return n}
case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&tg(eg(o))||t.push(i(o))
;return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i
})(!(t||n),!!t,new Map,r)(e),r
},rg="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Gm(ng(e,t)):structuredClone(e):(e,t)=>Gm(ng(e,t)),og=function(e,t,n,r,o){
const i=ig(t);return!!lg(e)&&i.call(o,e,n,r)},ig=function(e){
if(null==e)return sg;if("string"==typeof e)return function(e){return ag(t)
;function t(t){return t.tagName===e}}(e)
;if("object"==typeof e)return function(e){const t=[];let n=-1
;for(;++n<e.length;)t[n]=ig(e[n]);return ag(r);function r(...e){let n=-1
;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e)
;if("function"==typeof e)return ag(e)
;throw new Error("Expected function, string, or array as `test`")}
;function ag(e){return function(t,n,r){
return Boolean(lg(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}
function sg(e){
return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)
}function lg(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}
const cg=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,ug=/^[a-zA-Z]:\\/;function dg(e){
const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}
function pg(e){return e.join(" ").trim()}const hg=function(e){
if(null==e)return mg;if("function"==typeof e)return fg(e)
;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1
;for(;++n<e.length;)t[n]=hg(e[n]);return fg(r);function r(...e){let n=-1
;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){
const t=e;return fg(n);function n(n){const r=n;let o
;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e)
;if("string"==typeof e)return function(e){return fg(t);function t(t){
return t&&t.type===e}}(e)
;throw new Error("Expected function, string, or object as test")}
;function fg(e){return function(t,n,r){return Boolean(function(e){
return null!==e&&"object"==typeof e&&"type"in e
}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function mg(){
return!0}const gg=[],vg=!0,bg=!1,Og="skip";function yg(e,t,n,r){let o
;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=hg(o),a=r?-1:1
;!function e(o,s,l){const c=o&&"object"==typeof o?o:{}
;if("string"==typeof c.type){
const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0
;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}
return u;function u(){let c,u,d,p=gg
;if((!t||i(o,s,l[l.length-1]||void 0))&&(p=function(e){
if(Array.isArray(e))return e;if("number"==typeof e)return[vg,e]
;return null==e?gg:[e]}(n(o,l)),p[0]===bg))return p
;if("children"in o&&o.children){const t=o
;if(t.children&&p[0]!==Og)for(u=(r?t.children.length:-1)+a,
d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),
c[0]===bg)return c;u="number"==typeof c[1]?c[1]:u+a}}return p}}(e,void 0,[])()}
function wg(e,t,n,r){let o,i,a
;"function"==typeof t&&"function"!=typeof n?(i=void 0,
a=t,o=n):(i=t,a=n,o=r),yg(e,i,(function(e,t){
const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)}),o)}
const kg=["http","https"],xg=["nofollow"],Sg={};function _g(e){
const t=e||Sg,n=t.protocols||kg,r=ig(t.test);return function(e){
wg(e,"element",(function(e,o,i){
if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,o,i)){
const r=e.properties.href;if(function(e){
if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)
;return!ug.test(e)&&cg.test(e)
}(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){
const n=Eg(t.content,e),r=n&&!Array.isArray(n)?[n]:n,o=Eg(t.rel,e)||xg,i="string"==typeof o?dg(o):o,a=Eg(t.target,e),s=Eg(t.properties,e)
;if(s&&Object.assign(e.properties,rg(s)),
i.length>0&&(e.properties.rel=[...i]),a&&(e.properties.target=a),r){
const n=Eg(t.contentProperties,e)||{};e.children.push({type:"element",
tagName:"span",properties:rg(n),children:rg(r)})}}}}))}}function Eg(e,t){
return"function"==typeof e?e(t):e}const Tg=ig((function(e){
return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName
})),Cg={}.hasOwnProperty;const Ag=new Set(["pingback","prefetch","stylesheet"])
;const Pg=ig(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),Dg=ig("meta")
;function $g(e){return Boolean("text"===e.type||Pg(e)||Tg(e)||function(e){
if("element"!==e.type||"link"!==e.tagName)return!1
;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1
;if(!Array.isArray(t)||0===t.length)return!1
;for(;++n<t.length;)if(!Ag.has(String(t[n])))return!1;return!0
}(e)||Dg(e)&&function(e,t){
const n="element"===e.type&&Cg.call(e.properties,t)&&e.properties[t]
;return null!=n&&!1!==n}(e,"itemProp"))}const Rg=/[ \t\n\f\r]/g;function Ng(e){
return"object"==typeof e?"text"===e.type&&Mg(e.value):Mg(e)}function Mg(e){
return""===e.replace(Rg,"")}
const Ig=["pre","script","style","textarea"],Lg=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],jg=["button","input","select","textarea"],Bg=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],Qg={},Ug=hg(["doctype","comment"])
;function Fg(e,t){if("children"in e){const n={...t}
;return("root"===e.type||Vg(e))&&(n.before=!0,
n.after=!0),n.whitespace=function(e,t){
if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":
case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap"
;case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":
return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"
}return t.whitespace}(e,t),function(e,t){let n=t.before
;const r=t.after,o=e.children;let i=o.length,a=-1;for(;++a<i;){const e=Fg(o[a],{
...t,after:zg(o,a,r),before:n})
;e.remove?(o.splice(a,1),a--,i--):e.ignore||(n=e.stripAtStart),Hg(o[a])&&(n=!1)}
return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(e,n)}
if("text"===e.type){if("normal"===t.whitespace)return function(e,t){
const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1}
;let o=0,i=n.length;t.before&&Wg(n.charAt(0))&&o++
;o!==i&&Wg(n.charAt(i-1))&&(t.after?i--:r.stripAtStart=!0)
;o===i?r.remove=!0:e.value=n.slice(o,i);return r}(e,t)
;"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:Ug(e),
stripAtStart:!1,remove:!1}}function zg(e,t,n){for(;++t<e.length;){const n=e[t]
;let r=qg(n)
;if(void 0===r&&"children"in n&&!Zg(n)&&(r=zg(n.children,-1)),"boolean"==typeof r)return r
}return n}function qg(e){if("element"===e.type){if(Hg(e))return!1
;if(Vg(e))return!0}else if("text"===e.type){if(!Ng(e))return!1
}else if(!Ug(e))return!1}function Hg(e){return Tg(e)||og(e,jg)}function Vg(e){
return og(e,Lg)}function Zg(e){
return Boolean("element"===e.type&&e.properties.hidden)||Ug(e)||og(e,Bg)}
function Wg(e){return" "===e||"\n"===e}function Xg(e){const t=/\r?\n|\r/.exec(e)
;return t?t[0]:" "}function Gg(){return" "}const Yg={},Kg=function(e){
const t=function(e){return t;function t(t){
return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}((e||Qg).newlines?Xg:Gg)
;return function(e){Fg(e,{collapse:t,whitespace:"normal"})}}({newlines:!0})
;function Jg(e){const t=e||Yg;let n=t.indent||2,r=t.indentInitial
;return"number"==typeof n&&(n=" ".repeat(n)),null==r&&(r=!0),function(e){let t
;Kg(e),yg(e,(function(e,i){let a=-1;if(!("children"in e))return
;if(og(e,"head")&&(t=!0),t&&og(e,"body")&&(t=void 0),og(e,Ig))return Og
;const s=e.children;let l,c=i.length;if(0===s.length||!ev(e,t))return
;for(r||c--;++a<s.length;){const e=s[a]
;"text"!==e.type&&"comment"!==e.type||(e.value.includes("\n")&&(l=!0),
e.value=e.value.replace(/ *\n/g,"$&"+String(n).repeat(c)))}const u=[];let d
;for(a=-1;++a<s.length;){const e=s[a]
;(ev(e,t)||l&&!a)&&(o(u,c,e),l=!0),d=e,u.push(e)}
d&&(l||ev(d,t))&&(Ng(d)&&(u.pop(),d=u[u.length-1]),o(u,c-1)),e.children=u}))}
;function o(e,t,r){
const o=e[e.length-1],a=(i(o&&Ng(o)?e[e.length-2]:o)&&i(r)?"\n\n":"\n")+String(n).repeat(Math.max(t,0))
;o&&"text"===o.type?o.value=Ng(o)?a:o.value+a:e.push({type:"text",value:a})}
function i(e){
return Boolean(e&&"element"===e.type&&t.blanks&&t.blanks.length>0&&t.blanks.includes(e.tagName))
}}function ev(e,t){
return"root"===e.type||"element"===e.type&&(t||og(e,"script")||Tg(e)||!$g(e))}
let tv=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}
};function nv(e,t){const n={},r={};let o=-1
;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal)
;return new tv(n,r,t)}function rv(e){return e.toLowerCase()}
tv.prototype.property={},tv.prototype.normal={},tv.prototype.space=null
;class ov{constructor(e,t){this.property=e,this.attribute=t}}
ov.prototype.space=null,
ov.prototype.boolean=!1,ov.prototype.booleanish=!1,ov.prototype.overloadedBoolean=!1,
ov.prototype.number=!1,
ov.prototype.commaSeparated=!1,ov.prototype.spaceSeparated=!1,
ov.prototype.commaOrSpaceSeparated=!1,
ov.prototype.mustUseProperty=!1,ov.prototype.defined=!1;let iv=0
;const av=hv(),sv=hv(),lv=hv(),cv=hv(),uv=hv(),dv=hv(),pv=hv();function hv(){
return 2**++iv}const fv=Object.freeze(Object.defineProperty({__proto__:null,
boolean:av,booleanish:sv,commaOrSpaceSeparated:pv,commaSeparated:dv,number:cv,
overloadedBoolean:lv,spaceSeparated:uv},Symbol.toStringTag,{value:"Module"
})),mv=Object.keys(fv);class gv extends ov{constructor(e,t,n,r){let o=-1
;if(super(e,t),vv(this,"space",r),"number"==typeof n)for(;++o<mv.length;){
const e=mv[o];vv(this,mv[o],(n&fv[e])===fv[e])}}}function vv(e,t,n){n&&(e[t]=n)}
gv.prototype.defined=!0;const bv={}.hasOwnProperty;function Ov(e){
const t={},n={};let r;for(r in e.properties)if(bv.call(e.properties,r)){
const o=e.properties[r],i=new gv(r,e.transform(e.attributes||{},r),o,e.space)
;e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),
t[r]=i,n[rv(r)]=r,n[rv(i.attribute)]=r}return new tv(t,n,e.space)}const yv=Ov({
space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{
xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,
xLinkShow:null,xLinkTitle:null,xLinkType:null}}),wv=Ov({space:"xml",
transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,
xmlBase:null,xmlSpace:null}});function kv(e,t){return t in e?e[t]:t}
function xv(e,t){return kv(e,t.toLowerCase())}const Sv=Ov({space:"xmlns",
attributes:{xmlnsxlink:"xmlns:xlink"},transform:xv,properties:{xmlns:null,
xmlnsXLink:null}}),_v=Ov({
transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{
ariaActiveDescendant:null,ariaAtomic:sv,ariaAutoComplete:null,ariaBusy:sv,
ariaChecked:sv,ariaColCount:cv,ariaColIndex:cv,ariaColSpan:cv,ariaControls:uv,
ariaCurrent:null,ariaDescribedBy:uv,ariaDetails:null,ariaDisabled:sv,
ariaDropEffect:uv,ariaErrorMessage:null,ariaExpanded:sv,ariaFlowTo:uv,
ariaGrabbed:sv,ariaHasPopup:null,ariaHidden:sv,ariaInvalid:null,
ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:uv,ariaLevel:cv,
ariaLive:null,ariaModal:sv,ariaMultiLine:sv,ariaMultiSelectable:sv,
ariaOrientation:null,ariaOwns:uv,ariaPlaceholder:null,ariaPosInSet:cv,
ariaPressed:sv,ariaReadOnly:sv,ariaRelevant:null,ariaRequired:sv,
ariaRoleDescription:uv,ariaRowCount:cv,ariaRowIndex:cv,ariaRowSpan:cv,
ariaSelected:sv,ariaSetSize:cv,ariaSort:null,ariaValueMax:cv,ariaValueMin:cv,
ariaValueNow:cv,ariaValueText:null,role:null}}),Ev=Ov({space:"html",attributes:{
acceptcharset:"accept-charset",classname:"class",htmlfor:"for",
httpequiv:"http-equiv"},transform:xv,
mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,
accept:dv,acceptCharset:uv,accessKey:uv,action:null,allow:null,
allowFullScreen:av,allowPaymentRequest:av,allowUserMedia:av,alt:null,as:null,
async:av,autoCapitalize:null,autoComplete:uv,autoFocus:av,autoPlay:av,
blocking:uv,capture:null,charSet:null,checked:av,cite:null,className:uv,cols:cv,
colSpan:null,content:null,contentEditable:sv,controls:av,controlsList:uv,
coords:cv|dv,crossOrigin:null,data:null,dateTime:null,decoding:null,default:av,
defer:av,dir:null,dirName:null,disabled:av,download:lv,draggable:sv,
encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,
formEncType:null,formMethod:null,formNoValidate:av,formTarget:null,headers:uv,
height:cv,hidden:av,high:cv,href:null,hrefLang:null,htmlFor:uv,httpEquiv:uv,
id:null,imageSizes:null,imageSrcSet:null,inert:av,inputMode:null,integrity:null,
is:null,isMap:av,itemId:null,itemProp:uv,itemRef:uv,itemScope:av,itemType:uv,
kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:av,
low:cv,manifest:null,max:null,maxLength:cv,media:null,method:null,min:null,
minLength:cv,multiple:av,muted:av,name:null,nonce:null,noModule:av,
noValidate:av,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,
onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,
onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,
onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,
onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,
onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,
onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,
onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,
onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,
onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,
onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,
onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,
onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,
onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,
onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,
onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,
onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,
onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,
onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,
onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:av,
optimum:cv,pattern:null,ping:uv,placeholder:null,playsInline:av,popover:null,
popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,
readOnly:av,referrerPolicy:null,rel:uv,required:av,reversed:av,rows:cv,
rowSpan:cv,sandbox:uv,scope:null,scoped:av,seamless:av,selected:av,
shadowRootClonable:av,shadowRootDelegatesFocus:av,shadowRootMode:null,
shape:null,size:cv,sizes:null,slot:null,span:cv,spellCheck:sv,src:null,
srcDoc:null,srcLang:null,srcSet:null,start:cv,step:null,style:null,tabIndex:cv,
target:null,title:null,translate:null,type:null,typeMustMatch:av,useMap:null,
value:sv,width:cv,wrap:null,writingSuggestions:null,align:null,aLink:null,
archive:uv,axis:null,background:null,bgColor:null,border:cv,borderColor:null,
bottomMargin:cv,cellPadding:null,cellSpacing:null,char:null,charOff:null,
classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,
compact:av,declare:av,event:null,face:null,frame:null,frameBorder:null,
hSpace:cv,leftMargin:cv,link:null,longDesc:null,lowSrc:null,marginHeight:cv,
marginWidth:cv,noResize:av,noHref:av,noShade:av,noWrap:av,object:null,
profile:null,prompt:null,rev:null,rightMargin:cv,rules:null,scheme:null,
scrolling:sv,standby:null,summary:null,text:null,topMargin:cv,valueType:null,
version:null,vAlign:null,vLink:null,vSpace:cv,allowTransparency:null,
autoCorrect:null,autoSave:null,disablePictureInPicture:av,
disableRemotePlayback:av,prefix:null,property:null,results:cv,security:null,
unselectable:null}}),Tv=Ov({space:"svg",attributes:{
accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",
arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",
className:"class",clipPath:"clip-path",clipRule:"clip-rule",
colorInterpolation:"color-interpolation",
colorInterpolationFilters:"color-interpolation-filters",
colorProfile:"color-profile",colorRendering:"color-rendering",
crossOrigin:"crossorigin",dataType:"datatype",
dominantBaseline:"dominant-baseline",enableBackground:"enable-background",
fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",
floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",
fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",
fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",
glyphName:"glyph-name",
glyphOrientationHorizontal:"glyph-orientation-horizontal",
glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",
horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",
horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",
letterSpacing:"letter-spacing",lightingColor:"lighting-color",
markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",
navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",
navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",
navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",
onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",
onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",
onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",
onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",
onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",
onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",
onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",
onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",
onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",
onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",
onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",
onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",
onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",
onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",
onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",
onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",
onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",
onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",
onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",
onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",
onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",
onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",
onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",
onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",
onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",
overlinePosition:"overline-position",overlineThickness:"overline-thickness",
paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",
referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",
shapeRendering:"shape-rendering",stopColor:"stop-color",
stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",
strikethroughThickness:"strikethrough-thickness",
strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",
strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",
strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",
strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",
textDecoration:"text-decoration",textRendering:"text-rendering",
transformOrigin:"transform-origin",typeOf:"typeof",
underlinePosition:"underline-position",underlineThickness:"underline-thickness",
unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",
unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",
vIdeographic:"v-ideographic",vMathematical:"v-mathematical",
vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",
vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",
writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",
timelineBegin:"timelinebegin"},transform:kv,properties:{about:pv,
accentHeight:cv,accumulate:null,additive:null,alignmentBaseline:null,
alphabetic:cv,amplitude:cv,arabicForm:null,ascent:cv,attributeName:null,
attributeType:null,azimuth:cv,bandwidth:null,baselineShift:null,
baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:cv,by:null,
calcMode:null,capHeight:cv,className:uv,clip:null,clipPath:null,
clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,
colorInterpolationFilters:null,colorProfile:null,colorRendering:null,
content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,
cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:cv,
diffuseConstant:cv,direction:null,display:null,dur:null,divisor:cv,
dominantBaseline:null,download:av,dx:null,dy:null,edgeMode:null,editable:null,
elevation:cv,enableBackground:null,end:null,event:null,exponent:cv,
externalResourcesRequired:null,fill:null,fillOpacity:cv,fillRule:null,
filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,
focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,
fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,
fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:dv,g2:dv,
glyphName:dv,glyphOrientationHorizontal:null,glyphOrientationVertical:null,
glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:cv,
hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,
horizAdvX:cv,horizOriginX:cv,horizOriginY:cv,id:null,ideographic:cv,
imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:cv,k:cv,
k1:cv,k2:cv,k3:cv,k4:cv,kernelMatrix:pv,kernelUnitLength:null,keyPoints:null,
keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,
letterSpacing:null,lightingColor:null,limitingConeAngle:cv,local:null,
markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,
markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,
maskUnits:null,mathematical:null,max:null,media:null,
mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:cv,
mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,
navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,
navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,
observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,
onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,
onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,
onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,
onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,
onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,
onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,
onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,
onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,
onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,
onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,
onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,
onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,
onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,
onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,
onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,
onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,
onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,
orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:cv,
overlineThickness:cv,paintOrder:null,panose1:null,path:null,pathLength:cv,
patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,
ping:uv,pitch:null,playbackOrder:null,pointerEvents:null,points:null,
pointsAtX:cv,pointsAtY:cv,pointsAtZ:cv,preserveAlpha:null,
preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:pv,r:null,
radius:null,referrerPolicy:null,refX:null,refY:null,rel:pv,rev:pv,
renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:pv,
requiredFeatures:pv,requiredFonts:pv,requiredFormats:pv,resource:null,
restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,
shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:cv,
specularExponent:cv,spreadMethod:null,spacing:null,startOffset:null,
stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,
stopOpacity:null,strikethroughPosition:cv,strikethroughThickness:cv,string:null,
stroke:null,strokeDashArray:pv,strokeDashOffset:null,strokeLineCap:null,
strokeLineJoin:null,strokeMiterLimit:cv,strokeOpacity:cv,strokeWidth:null,
style:null,surfaceScale:cv,syncBehavior:null,syncBehaviorDefault:null,
syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:pv,
tabIndex:cv,tableValues:null,target:null,targetX:cv,targetY:cv,textAnchor:null,
textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,
title:null,transformBehavior:null,type:null,typeOf:pv,to:null,transform:null,
transformOrigin:null,u1:null,u2:null,underlinePosition:cv,underlineThickness:cv,
unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:cv,values:null,
vAlphabetic:cv,vMathematical:cv,vectorEffect:null,vHanging:cv,vIdeographic:cv,
version:null,vertAdvY:cv,vertOriginX:cv,vertOriginY:cv,viewBox:null,
viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,
writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:cv,y:null,
y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}
}),Cv=/^data[-\w.:]+$/i,Av=/-[a-z]/g,Pv=/[A-Z]/g;function Dv(e,t){const n=rv(t)
;let r=t,o=ov;if(n in e.normal)return e.property[e.normal[n]]
;if(n.length>4&&"data"===n.slice(0,4)&&Cv.test(t)){if("-"===t.charAt(4)){
const e=t.slice(5).replace(Av,Rv);r="data"+e.charAt(0).toUpperCase()+e.slice(1)
}else{const e=t.slice(4);if(!Av.test(e)){let n=e.replace(Pv,$v)
;"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=gv}return new o(r,t)}function $v(e){
return"-"+e.toLowerCase()}function Rv(e){return e.charAt(1).toUpperCase()}
const Nv=nv([wv,yv,Sv,_v,Ev],"html"),Mv=nv([wv,yv,Sv,_v,Tv],"svg")
;function Iv(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1
;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim()
;!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function Lv(e,t){
const n=t||{}
;return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()
}const jv=/[#.]/g
;const Bv=new Set(["button","menu","reset","submit"]),Qv={}.hasOwnProperty
;function Uv(e,t,n){const r=n&&function(e){const t={};let n=-1
;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n)
;return function(n,o,...i){let a,s=-1;if(null==n){a={type:"root",children:[]}
;const e=o;i.unshift(e)}else if(a=function(e,t){const n=e||"",r={};let o,i,a=0
;for(;a<n.length;){jv.lastIndex=a
;const e=jv.exec(n),t=n.slice(a,e?e.index:n.length)
;t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,
a+=t.length),e&&(o=e[0],a++)}return{type:"element",tagName:i||t||"div",
properties:r,children:[]}
}(n,t),a.tagName=a.tagName.toLowerCase(),r&&Qv.call(r,a.tagName)&&(a.tagName=r[a.tagName]),
function(e,t){if(null==e||"object"!=typeof e||Array.isArray(e))return!1
;if("input"===t||!e.type||"string"!=typeof e.type)return!0
;if("children"in e&&Array.isArray(e.children))return!1
;if("button"===t)return Bv.has(e.type.toLowerCase());return!("value"in e)
}(o,a.tagName)){let t;for(t in o)Qv.call(o,t)&&Fv(e,a.properties,t,o[t])
}else i.unshift(o);for(;++s<i.length;)zv(a.children,i[s])
;return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",
children:a.children},a.children=[]),a}}function Fv(e,t,n,r){const o=Dv(e,n)
;let i,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r
}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?dg(r):o.commaSeparated?Iv(r):o.commaOrSpaceSeparated?dg(Iv(r).join(" ")):qv(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){
const t=[];let n;for(n in e)Qv.call(e,n)&&t.push([n,e[n]].join(": "))
;return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[]
;for(;++a<i.length;){const t=qv(o,o.property,i[a]);e[a]=t}i=e}
if("className"===o.property&&Array.isArray(t.className)){const e=i
;i=t.className.concat(e)}t[o.property]=i}}function zv(e,t){let n=-1
;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",
value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)zv(e,t[n]);else{
if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`")
;"root"===t.type?zv(e,t.children):e.push(t)}}function qv(e,t,n){
if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n)
;if((e.boolean||e.overloadedBoolean)&&(""===n||rv(n)===rv(t)))return!0}return n}
const Hv=Uv(Nv,"div"),Vv=Uv(Mv,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),Zv=/\r?\n|\r/g
;const Wv={html:"http://www.w3.org/1999/xhtml",
mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",
xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",
xmlns:"http://www.w3.org/2000/xmlns/"},Xv={}.hasOwnProperty,Gv=Object.prototype
;function Yv(e,t){const n=t||{};return Kv({file:n.file||void 0,location:!1,
schema:"svg"===n.space?Mv:Nv,verbose:n.verbose||!1},e)}function Kv(e,t){let n
;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",
value:r.data},eb(e,r,n),n}case"#document":case"#document-fragment":{
const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={
type:"root",children:Jv(e,t.childNodes),data:{quirksMode:o}
},e.file&&e.location){const t=String(e.file),r=function(e){
const t=String(e),n=[];for(Zv.lastIndex=0;Zv.test(t);)n.push(Zv.lastIndex)
;return n.push(t.length+1),{toPoint:function(e){let t=-1
;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{
line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){
const t=e&&e.line,r=e&&e.column
;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){
const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}
}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}
case"#documentType":return n={type:"doctype"},eb(e,t,n),n;case"#text":{const r=t
;return n={type:"text",value:r.value},eb(e,r,n),n}default:
return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===Wv.svg?Mv:Nv
;let r=-1;const o={};for(;++r<t.attrs.length;){
const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name
;Xv.call(Gv,n)||(o[n]=e.value)}
const i="svg"===e.schema.space?Vv:Hv,a=i(t.tagName,o,Jv(e,t.childNodes))
;if(eb(e,t,a),"template"===a.tagName){
const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&tb(r.startTag),i=r&&r.endTag&&tb(r.endTag),s=Kv(e,n.content)
;o&&i&&e.file&&(s.position={start:o.end,end:i.start}),a.content=s}
return e.schema=n,a}(e,t),n}}function Jv(e,t){let n=-1;const r=[]
;for(;++n<t.length;){const o=Kv(e,t[n]);r.push(o)}return r}function eb(e,t,n){
if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){
const r=function(e,t,n){const r=tb(n);if("element"===t.type){
const o=t.children[t.children.length-1]
;if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),
e.verbose){const r={};let o
;if(n.attrs)for(o in n.attrs)Xv.call(n.attrs,o)&&(r[Dv(e.schema,o).property]=tb(n.attrs[o]))
;n.startTag;const i=tb(n.startTag),a=n.endTag?tb(n.endTag):void 0,s={opening:i}
;a&&(s.closing=a),s.properties=r,t.data={position:s}}}return r
}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function tb(e){
const t=nb({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=nb({
line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n
}:void 0}function nb(e){return e.line&&e.column?e:void 0}
const rb={}.hasOwnProperty;function ob(e,t){const n=t||{};function r(t,...n){
let o=r.invalid;const i=r.handlers;if(t&&rb.call(t,e)){const n=String(t[e])
;o=rb.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}
return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}
const ib={},ab={}.hasOwnProperty,sb=ob("type",{handlers:{root:function(e,t){
const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",
childNodes:[]};return n.childNodes=cb(e.children,n,t),ub(e,n),n},
element:function(e,t){const n=t;let r=n
;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=Mv)
;const o=[];let i
;if(e.properties)for(i in e.properties)if("children"!==i&&ab.call(e.properties,i)){
const t=lb(r,i,e.properties[i]);t&&o.push(t)}const a=r.space,s={
nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:Wv[a],childNodes:[],
parentNode:null}
;s.childNodes=cb(e.children,s,r),ub(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){
const n={nodeName:"#document-fragment",childNodes:[]}
;return n.childNodes=cb(e.children,n,t),ub(e,n),n}(e.content,r));return s},
text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null}
;return ub(e,t),t},comment:function(e){const t={nodeName:"#comment",
data:e.value,parentNode:null};return ub(e,t),t},doctype:function(e){const t={
nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null}
;return ub(e,t),t}}});function lb(e,t,n){const r=Dv(e,t)
;if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return
;Array.isArray(n)&&(n=r.commaSeparated?Lv(n):pg(n));const o={name:r.attribute,
value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){
const e=o.name.indexOf(":")
;e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),
o.namespace=Wv[r.space]}return o}function cb(e,t,n){let r=-1;const o=[]
;if(e)for(;++r<e.length;){const i=sb(e[r],n);i.parentNode=t,o.push(i)}return o}
function ub(e,t){const n=e.position
;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={
startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,
endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}
const db=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],pb=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),hb="�"
;var fb,mb
;(mb=fb=fb||(fb={}))[mb.EOF=-1]="EOF",mb[mb.NULL=0]="NULL",mb[mb.TABULATION=9]="TABULATION",
mb[mb.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",
mb[mb.LINE_FEED=10]="LINE_FEED",mb[mb.FORM_FEED=12]="FORM_FEED",
mb[mb.SPACE=32]="SPACE",
mb[mb.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",mb[mb.QUOTATION_MARK=34]="QUOTATION_MARK",
mb[mb.NUMBER_SIGN=35]="NUMBER_SIGN",
mb[mb.AMPERSAND=38]="AMPERSAND",mb[mb.APOSTROPHE=39]="APOSTROPHE",
mb[mb.HYPHEN_MINUS=45]="HYPHEN_MINUS",
mb[mb.SOLIDUS=47]="SOLIDUS",mb[mb.DIGIT_0=48]="DIGIT_0",
mb[mb.DIGIT_9=57]="DIGIT_9",
mb[mb.SEMICOLON=59]="SEMICOLON",mb[mb.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",
mb[mb.EQUALS_SIGN=61]="EQUALS_SIGN",
mb[mb.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",
mb[mb.QUESTION_MARK=63]="QUESTION_MARK",
mb[mb.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",
mb[mb.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",
mb[mb.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",
mb[mb.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",
mb[mb.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",
mb[mb.GRAVE_ACCENT=96]="GRAVE_ACCENT",
mb[mb.LATIN_SMALL_A=97]="LATIN_SMALL_A",mb[mb.LATIN_SMALL_F=102]="LATIN_SMALL_F",
mb[mb.LATIN_SMALL_X=120]="LATIN_SMALL_X",
mb[mb.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",
mb[mb.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"
;const gb="--",vb="[CDATA[",bb="doctype",Ob="script",yb="public",wb="system"
;function kb(e){return e>=55296&&e<=57343}function xb(e){
return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}
function Sb(e){return e>=64976&&e<=65007||pb.has(e)}var _b,Eb
;(Eb=_b=_b||(_b={})).controlCharacterInInputStream="control-character-in-input-stream",
Eb.noncharacterInInputStream="noncharacter-in-input-stream",
Eb.surrogateInInputStream="surrogate-in-input-stream",
Eb.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",
Eb.endTagWithAttributes="end-tag-with-attributes",
Eb.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",
Eb.unexpectedSolidusInTag="unexpected-solidus-in-tag",
Eb.unexpectedNullCharacter="unexpected-null-character",
Eb.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",
Eb.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",
Eb.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",
Eb.missingEndTagName="missing-end-tag-name",
Eb.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",
Eb.unknownNamedCharacterReference="unknown-named-character-reference",
Eb.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",
Eb.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",
Eb.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",
Eb.eofBeforeTagName="eof-before-tag-name",
Eb.eofInTag="eof-in-tag",Eb.missingAttributeValue="missing-attribute-value",
Eb.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",
Eb.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",
Eb.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",
Eb.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",
Eb.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",
Eb.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",
Eb.missingDoctypePublicIdentifier="missing-doctype-public-identifier",
Eb.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",
Eb.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",
Eb.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",
Eb.cdataInHtmlContent="cdata-in-html-content",
Eb.incorrectlyOpenedComment="incorrectly-opened-comment",
Eb.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",
Eb.eofInDoctype="eof-in-doctype",
Eb.nestedComment="nested-comment",Eb.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",
Eb.eofInComment="eof-in-comment",
Eb.incorrectlyClosedComment="incorrectly-closed-comment",
Eb.eofInCdata="eof-in-cdata",
Eb.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",
Eb.nullCharacterReference="null-character-reference",
Eb.surrogateCharacterReference="surrogate-character-reference",
Eb.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",
Eb.controlCharacterReference="control-character-reference",
Eb.noncharacterCharacterReference="noncharacter-character-reference",
Eb.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",
Eb.missingDoctypeName="missing-doctype-name",
Eb.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",
Eb.duplicateAttribute="duplicate-attribute",
Eb.nonConformingDoctype="non-conforming-doctype",
Eb.missingDoctype="missing-doctype",
Eb.misplacedDoctype="misplaced-doctype",Eb.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",
Eb.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",
Eb.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",
Eb.openElementsLeftAfterEof="open-elements-left-after-eof",
Eb.abandonedHeadElementChild="abandoned-head-element-child",
Eb.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",
Eb.nestedNoscriptInHead="nested-noscript-in-head",
Eb.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"
;class Tb{constructor(e){
this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,
this.gapStack=[],this.skipNextNewLine=!1,
this.lastChunkWritten=!1,this.endOfChunkHit=!1,
this.bufferWaterline=65536,this.isEol=!1,
this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}
get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}
get offset(){return this.droppedBufferSize+this.pos}getError(e){
const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,
startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){
this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,
this.handler.onParseError(this.getError(e)))}_addGap(){
this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}
_processSurrogate(e){if(this.pos!==this.html.length-1){
const t=this.html.charCodeAt(this.pos+1);if(function(e){
return e>=56320&&e<=57343
}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t
}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,fb.EOF
;return this._err(_b.surrogateInInputStream),e}willDropParsedChunk(){
return this.pos>this.bufferWaterline}dropParsedChunk(){
this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),
this.lineStartPos-=this.pos,
this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,
this.gapStack.length=0)}write(e,t){
this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,
this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){
this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),
this.endOfChunkHit=!1}startsWith(e,t){
if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,
!1;if(t)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++){
if((32|this.html.charCodeAt(this.pos+n))!==e.charCodeAt(n))return!1}return!0}
peek(e){const t=this.pos+e
;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,fb.EOF
;const n=this.html.charCodeAt(t);return n===fb.CARRIAGE_RETURN?fb.LINE_FEED:n}
advance(){
if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),
this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,
fb.EOF;let e=this.html.charCodeAt(this.pos)
;if(e===fb.CARRIAGE_RETURN)return this.isEol=!0,
this.skipNextNewLine=!0,fb.LINE_FEED
;if(e===fb.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,
this.skipNextNewLine=!1,this._addGap(),this.advance()
;this.skipNextNewLine=!1,kb(e)&&(e=this._processSurrogate(e))
;return null===this.handler.onParseError||e>31&&e<127||e===fb.LINE_FEED||e===fb.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),
e}_checkForProblematicCharacters(e){
xb(e)?this._err(_b.controlCharacterInInputStream):Sb(e)&&this._err(_b.noncharacterInInputStream)
}retreat(e){
for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),
this.pos--;this.isEol=!1}}var Cb,Ab;function Pb(e,t){
for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value
;return null}
(Ab=Cb=Cb||(Cb={}))[Ab.CHARACTER=0]="CHARACTER",Ab[Ab.NULL_CHARACTER=1]="NULL_CHARACTER",
Ab[Ab.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",
Ab[Ab.START_TAG=3]="START_TAG",
Ab[Ab.END_TAG=4]="END_TAG",Ab[Ab.COMMENT=5]="COMMENT",
Ab[Ab.DOCTYPE=6]="DOCTYPE",Ab[Ab.EOF=7]="EOF",Ab[Ab.HIBERNATION=8]="HIBERNATION"
;const Db=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),$b=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))))
;var Rb
;const Nb=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Mb=null!==(Rb=String.fromCodePoint)&&void 0!==Rb?Rb:function(e){
let t=""
;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),
t+=String.fromCharCode(e),t};var Ib,Lb
;(Lb=Ib||(Ib={}))[Lb.NUM=35]="NUM",Lb[Lb.SEMI=59]="SEMI",
Lb[Lb.EQUALS=61]="EQUALS",
Lb[Lb.ZERO=48]="ZERO",Lb[Lb.NINE=57]="NINE",Lb[Lb.LOWER_A=97]="LOWER_A",
Lb[Lb.LOWER_F=102]="LOWER_F",
Lb[Lb.LOWER_X=120]="LOWER_X",Lb[Lb.LOWER_Z=122]="LOWER_Z",
Lb[Lb.UPPER_A=65]="UPPER_A",
Lb[Lb.UPPER_F=70]="UPPER_F",Lb[Lb.UPPER_Z=90]="UPPER_Z"
;var jb,Bb,Qb,Ub,Fb,zb,qb,Hb,Vb,Zb,Wb,Xb,Gb,Yb,Kb,Jb;function eO(e){
return e>=Ib.ZERO&&e<=Ib.NINE}function tO(e){return e===Ib.EQUALS||function(e){
return e>=Ib.UPPER_A&&e<=Ib.UPPER_Z||e>=Ib.LOWER_A&&e<=Ib.LOWER_Z||eO(e)}(e)}
(Bb=jb||(jb={}))[Bb.VALUE_LENGTH=49152]="VALUE_LENGTH",
Bb[Bb.BRANCH_LENGTH=16256]="BRANCH_LENGTH",
Bb[Bb.JUMP_TABLE=127]="JUMP_TABLE",(Ub=Qb||(Qb={}))[Ub.EntityStart=0]="EntityStart",
Ub[Ub.NumericStart=1]="NumericStart",
Ub[Ub.NumericDecimal=2]="NumericDecimal",Ub[Ub.NumericHex=3]="NumericHex",
Ub[Ub.NamedEntity=4]="NamedEntity",
(zb=Fb||(Fb={}))[zb.Legacy=0]="Legacy",zb[zb.Strict=1]="Strict",
zb[zb.Attribute=2]="Attribute";class nO{constructor(e,t,n){
this.decodeTree=e,this.emitCodePoint=t,
this.errors=n,this.state=Qb.EntityStart,this.consumed=1,
this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Fb.Strict}
startEntity(e){
this.decodeMode=e,this.state=Qb.EntityStart,this.result=0,this.treeIndex=0,
this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Qb.EntityStart:
return e.charCodeAt(t)===Ib.NUM?(this.state=Qb.NumericStart,
this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Qb.NamedEntity,
this.stateNamedEntity(e,t));case Qb.NumericStart:
return this.stateNumericStart(e,t);case Qb.NumericDecimal:
return this.stateNumericDecimal(e,t);case Qb.NumericHex:
return this.stateNumericHex(e,t);case Qb.NamedEntity:
return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){
return t>=e.length?-1:(32|e.charCodeAt(t))===Ib.LOWER_X?(this.state=Qb.NumericHex,
this.consumed+=1,
this.stateNumericHex(e,t+1)):(this.state=Qb.NumericDecimal,this.stateNumericDecimal(e,t))
}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t
;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),
this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){
const o=e.charCodeAt(t)
;if(!(eO(o)||(r=o,r>=Ib.UPPER_A&&r<=Ib.UPPER_F||r>=Ib.LOWER_A&&r<=Ib.LOWER_F)))return this.addToNumericResult(e,n,t,16),
this.emitNumericEntity(o,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),
-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t)
;if(!eO(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)
;t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n
;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),
0;if(e===Ib.SEMI)this.consumed+=1;else if(this.decodeMode===Fb.Strict)return 0
;return this.emitCodePoint(function(e){var t
;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Nb.get(e))&&void 0!==t?t:e
}(this.result),this.consumed),
this.errors&&(e!==Ib.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),
this.errors.validateNumericCharacterReference(this.result)),this.consumed}
stateNamedEntity(e,t){const{decodeTree:n}=this
;let r=n[this.treeIndex],o=(r&jb.VALUE_LENGTH)>>14
;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t)
;if(this.treeIndex=oO(n,r,this.treeIndex+Math.max(1,o),i),
this.treeIndex<0)return 0===this.result||this.decodeMode===Fb.Attribute&&(0===o||tO(i))?0:this.emitNotTerminatedNamedEntity()
;if(r=n[this.treeIndex],o=(r&jb.VALUE_LENGTH)>>14,0!==o){
if(i===Ib.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess)
;this.decodeMode!==Fb.Strict&&(this.result=this.treeIndex,
this.consumed+=this.excess,this.excess=0)}}return-1}
emitNotTerminatedNamedEntity(){var e
;const{result:t,decodeTree:n}=this,r=(n[t]&jb.VALUE_LENGTH)>>14
;return this.emitNamedEntityData(t,r,this.consumed),
null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),
this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this
;return this.emitCodePoint(1===t?r[e]&~jb.VALUE_LENGTH:r[e+1],n),
3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){
case Qb.NamedEntity:
return 0===this.result||this.decodeMode===Fb.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity()
;case Qb.NumericDecimal:return this.emitNumericEntity(0,2);case Qb.NumericHex:
return this.emitNumericEntity(0,3);case Qb.NumericStart:
return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),
0;case Qb.EntityStart:return 0}}}function rO(e){let t=""
;const n=new nO(e,(e=>t+=Mb(e)));return function(e,r){let o=0,i=0
;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(o,i),n.startEntity(r)
;const a=n.write(e,i+1);if(a<0){o=i+n.end();break}o=i+a,i=0===a?o+1:o}
const a=t+e.slice(o);return t="",a}}function oO(e,t,n,r){
const o=(t&jb.BRANCH_LENGTH)>>7,i=t&jb.JUMP_TABLE
;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i
;return t<0||t>=o?-1:e[n+t]-1}let a=n,s=a+o-1;for(;a<=s;){const t=a+s>>>1,n=e[t]
;if(n<r)a=t+1;else{if(!(n>r))return e[t+o];s=t-1}}return-1}
rO(Db),rO($b),(Hb=qb=qb||(qb={})).HTML="http://www.w3.org/1999/xhtml",
Hb.MATHML="http://www.w3.org/1998/Math/MathML",
Hb.SVG="http://www.w3.org/2000/svg",
Hb.XLINK="http://www.w3.org/1999/xlink",Hb.XML="http://www.w3.org/XML/1998/namespace",
Hb.XMLNS="http://www.w3.org/2000/xmlns/",
(Zb=Vb=Vb||(Vb={})).TYPE="type",Zb.ACTION="action",
Zb.ENCODING="encoding",Zb.PROMPT="prompt",
Zb.NAME="name",Zb.COLOR="color",Zb.FACE="face",
Zb.SIZE="size",(Xb=Wb=Wb||(Wb={})).NO_QUIRKS="no-quirks",
Xb.QUIRKS="quirks",Xb.LIMITED_QUIRKS="limited-quirks",(Yb=Gb=Gb||(Gb={})).A="a",
Yb.ADDRESS="address",
Yb.ANNOTATION_XML="annotation-xml",Yb.APPLET="applet",Yb.AREA="area",
Yb.ARTICLE="article",
Yb.ASIDE="aside",Yb.B="b",Yb.BASE="base",Yb.BASEFONT="basefont",
Yb.BGSOUND="bgsound",
Yb.BIG="big",Yb.BLOCKQUOTE="blockquote",Yb.BODY="body",Yb.BR="br",
Yb.BUTTON="button",
Yb.CAPTION="caption",Yb.CENTER="center",Yb.CODE="code",Yb.COL="col",
Yb.COLGROUP="colgroup",
Yb.DD="dd",Yb.DESC="desc",Yb.DETAILS="details",Yb.DIALOG="dialog",
Yb.DIR="dir",Yb.DIV="div",
Yb.DL="dl",Yb.DT="dt",Yb.EM="em",Yb.EMBED="embed",Yb.FIELDSET="fieldset",
Yb.FIGCAPTION="figcaption",Yb.FIGURE="figure",Yb.FONT="font",Yb.FOOTER="footer",
Yb.FOREIGN_OBJECT="foreignObject",
Yb.FORM="form",Yb.FRAME="frame",Yb.FRAMESET="frameset",
Yb.H1="h1",Yb.H2="h2",Yb.H3="h3",
Yb.H4="h4",Yb.H5="h5",Yb.H6="h6",Yb.HEAD="head",
Yb.HEADER="header",Yb.HGROUP="hgroup",
Yb.HR="hr",Yb.HTML="html",Yb.I="i",Yb.IMG="img",
Yb.IMAGE="image",Yb.INPUT="input",
Yb.IFRAME="iframe",Yb.KEYGEN="keygen",Yb.LABEL="label",
Yb.LI="li",Yb.LINK="link",
Yb.LISTING="listing",Yb.MAIN="main",Yb.MALIGNMARK="malignmark",
Yb.MARQUEE="marquee",
Yb.MATH="math",Yb.MENU="menu",Yb.META="meta",Yb.MGLYPH="mglyph",
Yb.MI="mi",Yb.MO="mo",
Yb.MN="mn",Yb.MS="ms",Yb.MTEXT="mtext",Yb.NAV="nav",Yb.NOBR="nobr",
Yb.NOFRAMES="noframes",
Yb.NOEMBED="noembed",Yb.NOSCRIPT="noscript",Yb.OBJECT="object",
Yb.OL="ol",Yb.OPTGROUP="optgroup",
Yb.OPTION="option",Yb.P="p",Yb.PARAM="param",Yb.PLAINTEXT="plaintext",
Yb.PRE="pre",
Yb.RB="rb",Yb.RP="rp",Yb.RT="rt",Yb.RTC="rtc",Yb.RUBY="ruby",Yb.S="s",
Yb.SCRIPT="script",
Yb.SECTION="section",Yb.SELECT="select",Yb.SOURCE="source",Yb.SMALL="small",
Yb.SPAN="span",
Yb.STRIKE="strike",Yb.STRONG="strong",Yb.STYLE="style",Yb.SUB="sub",
Yb.SUMMARY="summary",
Yb.SUP="sup",Yb.TABLE="table",Yb.TBODY="tbody",Yb.TEMPLATE="template",
Yb.TEXTAREA="textarea",
Yb.TFOOT="tfoot",Yb.TD="td",Yb.TH="th",Yb.THEAD="thead",Yb.TITLE="title",
Yb.TR="tr",
Yb.TRACK="track",Yb.TT="tt",Yb.U="u",Yb.UL="ul",Yb.SVG="svg",Yb.VAR="var",
Yb.WBR="wbr",
Yb.XMP="xmp",(Jb=Kb=Kb||(Kb={}))[Jb.UNKNOWN=0]="UNKNOWN",Jb[Jb.A=1]="A",
Jb[Jb.ADDRESS=2]="ADDRESS",
Jb[Jb.ANNOTATION_XML=3]="ANNOTATION_XML",Jb[Jb.APPLET=4]="APPLET",
Jb[Jb.AREA=5]="AREA",
Jb[Jb.ARTICLE=6]="ARTICLE",Jb[Jb.ASIDE=7]="ASIDE",Jb[Jb.B=8]="B",
Jb[Jb.BASE=9]="BASE",
Jb[Jb.BASEFONT=10]="BASEFONT",Jb[Jb.BGSOUND=11]="BGSOUND",Jb[Jb.BIG=12]="BIG",
Jb[Jb.BLOCKQUOTE=13]="BLOCKQUOTE",
Jb[Jb.BODY=14]="BODY",Jb[Jb.BR=15]="BR",Jb[Jb.BUTTON=16]="BUTTON",
Jb[Jb.CAPTION=17]="CAPTION",
Jb[Jb.CENTER=18]="CENTER",Jb[Jb.CODE=19]="CODE",Jb[Jb.COL=20]="COL",
Jb[Jb.COLGROUP=21]="COLGROUP",
Jb[Jb.DD=22]="DD",Jb[Jb.DESC=23]="DESC",Jb[Jb.DETAILS=24]="DETAILS",
Jb[Jb.DIALOG=25]="DIALOG",
Jb[Jb.DIR=26]="DIR",Jb[Jb.DIV=27]="DIV",Jb[Jb.DL=28]="DL",
Jb[Jb.DT=29]="DT",Jb[Jb.EM=30]="EM",
Jb[Jb.EMBED=31]="EMBED",Jb[Jb.FIELDSET=32]="FIELDSET",
Jb[Jb.FIGCAPTION=33]="FIGCAPTION",
Jb[Jb.FIGURE=34]="FIGURE",Jb[Jb.FONT=35]="FONT",
Jb[Jb.FOOTER=36]="FOOTER",Jb[Jb.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",
Jb[Jb.FORM=38]="FORM",
Jb[Jb.FRAME=39]="FRAME",Jb[Jb.FRAMESET=40]="FRAMESET",Jb[Jb.H1=41]="H1",
Jb[Jb.H2=42]="H2",
Jb[Jb.H3=43]="H3",Jb[Jb.H4=44]="H4",Jb[Jb.H5=45]="H5",Jb[Jb.H6=46]="H6",
Jb[Jb.HEAD=47]="HEAD",
Jb[Jb.HEADER=48]="HEADER",Jb[Jb.HGROUP=49]="HGROUP",Jb[Jb.HR=50]="HR",
Jb[Jb.HTML=51]="HTML",
Jb[Jb.I=52]="I",Jb[Jb.IMG=53]="IMG",Jb[Jb.IMAGE=54]="IMAGE",
Jb[Jb.INPUT=55]="INPUT",
Jb[Jb.IFRAME=56]="IFRAME",Jb[Jb.KEYGEN=57]="KEYGEN",Jb[Jb.LABEL=58]="LABEL",
Jb[Jb.LI=59]="LI",
Jb[Jb.LINK=60]="LINK",Jb[Jb.LISTING=61]="LISTING",Jb[Jb.MAIN=62]="MAIN",
Jb[Jb.MALIGNMARK=63]="MALIGNMARK",
Jb[Jb.MARQUEE=64]="MARQUEE",Jb[Jb.MATH=65]="MATH",
Jb[Jb.MENU=66]="MENU",Jb[Jb.META=67]="META",
Jb[Jb.MGLYPH=68]="MGLYPH",Jb[Jb.MI=69]="MI",Jb[Jb.MO=70]="MO",Jb[Jb.MN=71]="MN",
Jb[Jb.MS=72]="MS",
Jb[Jb.MTEXT=73]="MTEXT",Jb[Jb.NAV=74]="NAV",Jb[Jb.NOBR=75]="NOBR",
Jb[Jb.NOFRAMES=76]="NOFRAMES",
Jb[Jb.NOEMBED=77]="NOEMBED",Jb[Jb.NOSCRIPT=78]="NOSCRIPT",
Jb[Jb.OBJECT=79]="OBJECT",
Jb[Jb.OL=80]="OL",Jb[Jb.OPTGROUP=81]="OPTGROUP",Jb[Jb.OPTION=82]="OPTION",
Jb[Jb.P=83]="P",
Jb[Jb.PARAM=84]="PARAM",Jb[Jb.PLAINTEXT=85]="PLAINTEXT",Jb[Jb.PRE=86]="PRE",
Jb[Jb.RB=87]="RB",
Jb[Jb.RP=88]="RP",Jb[Jb.RT=89]="RT",Jb[Jb.RTC=90]="RTC",Jb[Jb.RUBY=91]="RUBY",
Jb[Jb.S=92]="S",
Jb[Jb.SCRIPT=93]="SCRIPT",Jb[Jb.SECTION=94]="SECTION",Jb[Jb.SELECT=95]="SELECT",
Jb[Jb.SOURCE=96]="SOURCE",
Jb[Jb.SMALL=97]="SMALL",Jb[Jb.SPAN=98]="SPAN",Jb[Jb.STRIKE=99]="STRIKE",
Jb[Jb.STRONG=100]="STRONG",
Jb[Jb.STYLE=101]="STYLE",Jb[Jb.SUB=102]="SUB",Jb[Jb.SUMMARY=103]="SUMMARY",
Jb[Jb.SUP=104]="SUP",
Jb[Jb.TABLE=105]="TABLE",Jb[Jb.TBODY=106]="TBODY",Jb[Jb.TEMPLATE=107]="TEMPLATE",
Jb[Jb.TEXTAREA=108]="TEXTAREA",
Jb[Jb.TFOOT=109]="TFOOT",Jb[Jb.TD=110]="TD",Jb[Jb.TH=111]="TH",
Jb[Jb.THEAD=112]="THEAD",
Jb[Jb.TITLE=113]="TITLE",Jb[Jb.TR=114]="TR",Jb[Jb.TRACK=115]="TRACK",
Jb[Jb.TT=116]="TT",
Jb[Jb.U=117]="U",Jb[Jb.UL=118]="UL",Jb[Jb.SVG=119]="SVG",Jb[Jb.VAR=120]="VAR",
Jb[Jb.WBR=121]="WBR",Jb[Jb.XMP=122]="XMP"
;const iO=new Map([[Gb.A,Kb.A],[Gb.ADDRESS,Kb.ADDRESS],[Gb.ANNOTATION_XML,Kb.ANNOTATION_XML],[Gb.APPLET,Kb.APPLET],[Gb.AREA,Kb.AREA],[Gb.ARTICLE,Kb.ARTICLE],[Gb.ASIDE,Kb.ASIDE],[Gb.B,Kb.B],[Gb.BASE,Kb.BASE],[Gb.BASEFONT,Kb.BASEFONT],[Gb.BGSOUND,Kb.BGSOUND],[Gb.BIG,Kb.BIG],[Gb.BLOCKQUOTE,Kb.BLOCKQUOTE],[Gb.BODY,Kb.BODY],[Gb.BR,Kb.BR],[Gb.BUTTON,Kb.BUTTON],[Gb.CAPTION,Kb.CAPTION],[Gb.CENTER,Kb.CENTER],[Gb.CODE,Kb.CODE],[Gb.COL,Kb.COL],[Gb.COLGROUP,Kb.COLGROUP],[Gb.DD,Kb.DD],[Gb.DESC,Kb.DESC],[Gb.DETAILS,Kb.DETAILS],[Gb.DIALOG,Kb.DIALOG],[Gb.DIR,Kb.DIR],[Gb.DIV,Kb.DIV],[Gb.DL,Kb.DL],[Gb.DT,Kb.DT],[Gb.EM,Kb.EM],[Gb.EMBED,Kb.EMBED],[Gb.FIELDSET,Kb.FIELDSET],[Gb.FIGCAPTION,Kb.FIGCAPTION],[Gb.FIGURE,Kb.FIGURE],[Gb.FONT,Kb.FONT],[Gb.FOOTER,Kb.FOOTER],[Gb.FOREIGN_OBJECT,Kb.FOREIGN_OBJECT],[Gb.FORM,Kb.FORM],[Gb.FRAME,Kb.FRAME],[Gb.FRAMESET,Kb.FRAMESET],[Gb.H1,Kb.H1],[Gb.H2,Kb.H2],[Gb.H3,Kb.H3],[Gb.H4,Kb.H4],[Gb.H5,Kb.H5],[Gb.H6,Kb.H6],[Gb.HEAD,Kb.HEAD],[Gb.HEADER,Kb.HEADER],[Gb.HGROUP,Kb.HGROUP],[Gb.HR,Kb.HR],[Gb.HTML,Kb.HTML],[Gb.I,Kb.I],[Gb.IMG,Kb.IMG],[Gb.IMAGE,Kb.IMAGE],[Gb.INPUT,Kb.INPUT],[Gb.IFRAME,Kb.IFRAME],[Gb.KEYGEN,Kb.KEYGEN],[Gb.LABEL,Kb.LABEL],[Gb.LI,Kb.LI],[Gb.LINK,Kb.LINK],[Gb.LISTING,Kb.LISTING],[Gb.MAIN,Kb.MAIN],[Gb.MALIGNMARK,Kb.MALIGNMARK],[Gb.MARQUEE,Kb.MARQUEE],[Gb.MATH,Kb.MATH],[Gb.MENU,Kb.MENU],[Gb.META,Kb.META],[Gb.MGLYPH,Kb.MGLYPH],[Gb.MI,Kb.MI],[Gb.MO,Kb.MO],[Gb.MN,Kb.MN],[Gb.MS,Kb.MS],[Gb.MTEXT,Kb.MTEXT],[Gb.NAV,Kb.NAV],[Gb.NOBR,Kb.NOBR],[Gb.NOFRAMES,Kb.NOFRAMES],[Gb.NOEMBED,Kb.NOEMBED],[Gb.NOSCRIPT,Kb.NOSCRIPT],[Gb.OBJECT,Kb.OBJECT],[Gb.OL,Kb.OL],[Gb.OPTGROUP,Kb.OPTGROUP],[Gb.OPTION,Kb.OPTION],[Gb.P,Kb.P],[Gb.PARAM,Kb.PARAM],[Gb.PLAINTEXT,Kb.PLAINTEXT],[Gb.PRE,Kb.PRE],[Gb.RB,Kb.RB],[Gb.RP,Kb.RP],[Gb.RT,Kb.RT],[Gb.RTC,Kb.RTC],[Gb.RUBY,Kb.RUBY],[Gb.S,Kb.S],[Gb.SCRIPT,Kb.SCRIPT],[Gb.SECTION,Kb.SECTION],[Gb.SELECT,Kb.SELECT],[Gb.SOURCE,Kb.SOURCE],[Gb.SMALL,Kb.SMALL],[Gb.SPAN,Kb.SPAN],[Gb.STRIKE,Kb.STRIKE],[Gb.STRONG,Kb.STRONG],[Gb.STYLE,Kb.STYLE],[Gb.SUB,Kb.SUB],[Gb.SUMMARY,Kb.SUMMARY],[Gb.SUP,Kb.SUP],[Gb.TABLE,Kb.TABLE],[Gb.TBODY,Kb.TBODY],[Gb.TEMPLATE,Kb.TEMPLATE],[Gb.TEXTAREA,Kb.TEXTAREA],[Gb.TFOOT,Kb.TFOOT],[Gb.TD,Kb.TD],[Gb.TH,Kb.TH],[Gb.THEAD,Kb.THEAD],[Gb.TITLE,Kb.TITLE],[Gb.TR,Kb.TR],[Gb.TRACK,Kb.TRACK],[Gb.TT,Kb.TT],[Gb.U,Kb.U],[Gb.UL,Kb.UL],[Gb.SVG,Kb.SVG],[Gb.VAR,Kb.VAR],[Gb.WBR,Kb.WBR],[Gb.XMP,Kb.XMP]])
;function aO(e){var t;return null!==(t=iO.get(e))&&void 0!==t?t:Kb.UNKNOWN}
const sO=Kb,lO={
[qb.HTML]:new Set([sO.ADDRESS,sO.APPLET,sO.AREA,sO.ARTICLE,sO.ASIDE,sO.BASE,sO.BASEFONT,sO.BGSOUND,sO.BLOCKQUOTE,sO.BODY,sO.BR,sO.BUTTON,sO.CAPTION,sO.CENTER,sO.COL,sO.COLGROUP,sO.DD,sO.DETAILS,sO.DIR,sO.DIV,sO.DL,sO.DT,sO.EMBED,sO.FIELDSET,sO.FIGCAPTION,sO.FIGURE,sO.FOOTER,sO.FORM,sO.FRAME,sO.FRAMESET,sO.H1,sO.H2,sO.H3,sO.H4,sO.H5,sO.H6,sO.HEAD,sO.HEADER,sO.HGROUP,sO.HR,sO.HTML,sO.IFRAME,sO.IMG,sO.INPUT,sO.LI,sO.LINK,sO.LISTING,sO.MAIN,sO.MARQUEE,sO.MENU,sO.META,sO.NAV,sO.NOEMBED,sO.NOFRAMES,sO.NOSCRIPT,sO.OBJECT,sO.OL,sO.P,sO.PARAM,sO.PLAINTEXT,sO.PRE,sO.SCRIPT,sO.SECTION,sO.SELECT,sO.SOURCE,sO.STYLE,sO.SUMMARY,sO.TABLE,sO.TBODY,sO.TD,sO.TEMPLATE,sO.TEXTAREA,sO.TFOOT,sO.TH,sO.THEAD,sO.TITLE,sO.TR,sO.TRACK,sO.UL,sO.WBR,sO.XMP]),
[qb.MATHML]:new Set([sO.MI,sO.MO,sO.MN,sO.MS,sO.MTEXT,sO.ANNOTATION_XML]),
[qb.SVG]:new Set([sO.TITLE,sO.FOREIGN_OBJECT,sO.DESC]),[qb.XLINK]:new Set,
[qb.XML]:new Set,[qb.XMLNS]:new Set};function cO(e){
return e===sO.H1||e===sO.H2||e===sO.H3||e===sO.H4||e===sO.H5||e===sO.H6}
Gb.STYLE,Gb.SCRIPT,Gb.XMP,Gb.IFRAME,Gb.NOEMBED,Gb.NOFRAMES,Gb.PLAINTEXT
;const uO=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]])
;var dO,pO
;(pO=dO||(dO={}))[pO.DATA=0]="DATA",pO[pO.RCDATA=1]="RCDATA",pO[pO.RAWTEXT=2]="RAWTEXT",
pO[pO.SCRIPT_DATA=3]="SCRIPT_DATA",
pO[pO.PLAINTEXT=4]="PLAINTEXT",pO[pO.TAG_OPEN=5]="TAG_OPEN",
pO[pO.END_TAG_OPEN=6]="END_TAG_OPEN",
pO[pO.TAG_NAME=7]="TAG_NAME",pO[pO.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",
pO[pO.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",
pO[pO.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",
pO[pO.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",
pO[pO.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",
pO[pO.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",
pO[pO.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",
pO[pO.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",
pO[pO.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",
pO[pO.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",
pO[pO.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",
pO[pO.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",
pO[pO.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",
pO[pO.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",
pO[pO.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",
pO[pO.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",
pO[pO.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",
pO[pO.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",
pO[pO.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",
pO[pO.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",
pO[pO.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",
pO[pO.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",
pO[pO.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",
pO[pO.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",
pO[pO.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",
pO[pO.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",
pO[pO.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",
pO[pO.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",
pO[pO.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",
pO[pO.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",
pO[pO.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",
pO[pO.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",
pO[pO.BOGUS_COMMENT=40]="BOGUS_COMMENT",
pO[pO.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",
pO[pO.COMMENT_START=42]="COMMENT_START",
pO[pO.COMMENT_START_DASH=43]="COMMENT_START_DASH",
pO[pO.COMMENT=44]="COMMENT",pO[pO.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",
pO[pO.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",
pO[pO.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",
pO[pO.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",
pO[pO.COMMENT_END_DASH=49]="COMMENT_END_DASH",
pO[pO.COMMENT_END=50]="COMMENT_END",
pO[pO.COMMENT_END_BANG=51]="COMMENT_END_BANG",
pO[pO.DOCTYPE=52]="DOCTYPE",pO[pO.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",
pO[pO.DOCTYPE_NAME=54]="DOCTYPE_NAME",
pO[pO.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",
pO[pO.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",
pO[pO.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",
pO[pO.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",
pO[pO.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",
pO[pO.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",
pO[pO.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",
pO[pO.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",
pO[pO.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",
pO[pO.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",
pO[pO.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",
pO[pO.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",
pO[pO.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",pO[pO.CDATA_SECTION=68]="CDATA_SECTION",
pO[pO.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",
pO[pO.CDATA_SECTION_END=70]="CDATA_SECTION_END",
pO[pO.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",
pO[pO.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",
pO[pO.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",
pO[pO.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",
pO[pO.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",
pO[pO.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",
pO[pO.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",
pO[pO.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"
;const hO={DATA:dO.DATA,RCDATA:dO.RCDATA,RAWTEXT:dO.RAWTEXT,
SCRIPT_DATA:dO.SCRIPT_DATA,PLAINTEXT:dO.PLAINTEXT,CDATA_SECTION:dO.CDATA_SECTION
};function fO(e){return e>=fb.DIGIT_0&&e<=fb.DIGIT_9}function mO(e){
return e>=fb.LATIN_CAPITAL_A&&e<=fb.LATIN_CAPITAL_Z}function gO(e){
return function(e){return e>=fb.LATIN_SMALL_A&&e<=fb.LATIN_SMALL_Z}(e)||mO(e)}
function vO(e){return gO(e)||fO(e)}function bO(e){
return e>=fb.LATIN_CAPITAL_A&&e<=fb.LATIN_CAPITAL_F}function OO(e){
return e>=fb.LATIN_SMALL_A&&e<=fb.LATIN_SMALL_F}function yO(e){return e+32}
function wO(e){
return e===fb.SPACE||e===fb.LINE_FEED||e===fb.TABULATION||e===fb.FORM_FEED}
function kO(e){return wO(e)||e===fb.SOLIDUS||e===fb.GREATER_THAN_SIGN}class xO{
constructor(e,t){
this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,
this.lastStartTagName="",
this.active=!1,this.state=dO.DATA,this.returnState=dO.DATA,
this.charRefCode=-1,this.consumedAfterSnapshot=-1,
this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={
name:"",value:""
},this.preprocessor=new Tb(t),this.currentLocation=this.getCurrentLocation(-1)}
_err(e){var t,n
;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))
}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{
startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,
startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}
_runParsingLoop(){if(!this.inLoop){
for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0
;const e=this._consume();this._ensureHibernation()||this._callState(e)}
this.inLoop=!1}}pause(){this.paused=!0}resume(e){
if(!this.paused)throw new Error("Parser was already resumed")
;this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}
write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),
this.paused||null==n||n()}insertHtmlAtCurrentPos(e){
this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),
this._runParsingLoop()}_ensureHibernation(){
return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),
this.active=!1,!0)}_consume(){
return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){
this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}
_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){
this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}
_consumeSequenceIfMatch(e,t){
return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}
_createStartTagToken(){this.currentToken={type:Cb.START_TAG,tagName:"",
tagID:Kb.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],
location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={
type:Cb.END_TAG,tagName:"",tagID:Kb.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,
attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){
this.currentToken={type:Cb.COMMENT,data:"",location:this.getCurrentLocation(e)}}
_createDoctypeToken(e){this.currentToken={type:Cb.DOCTYPE,name:e,forceQuirks:!1,
publicId:null,systemId:null,location:this.currentLocation}}
_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,
location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""
},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t
;const n=this.currentToken;if(null===Pb(n,this.currentAttr.name)){
if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){
(null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,
this._leaveAttrValue()}}else this._err(_b.duplicateAttribute)}_leaveAttrValue(){
this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,
this.currentLocation.endCol=this.preprocessor.col,
this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){
this._emitCurrentCharacterToken(e.location),
this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,
e.location.endCol=this.preprocessor.col+1,
e.location.endOffset=this.preprocessor.offset+1),
this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){
const e=this.currentToken
;this.prepareToken(e),e.tagID=aO(e.tagName),e.type===Cb.START_TAG?(this.lastStartTagName=e.tagName,
this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(_b.endTagWithAttributes),
e.selfClosing&&this._err(_b.endTagWithTrailingSolidus),
this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}
emitCurrentComment(e){
this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()
}emitCurrentDoctype(e){
this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()
}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){
switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,
this.currentCharacterToken.location.endCol=e.startCol,
this.currentCharacterToken.location.endOffset=e.startOffset),
this.currentCharacterToken.type){case Cb.CHARACTER:
this.handler.onCharacter(this.currentCharacterToken);break
;case Cb.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken)
;break;case Cb.WHITESPACE_CHARACTER:
this.handler.onWhitespaceCharacter(this.currentCharacterToken)}
this.currentCharacterToken=null}}_emitEOFToken(){
const e=this.getCurrentLocation(0)
;e&&(e.endLine=e.startLine,e.endCol=e.startCol,
e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),
this.handler.onEof({type:Cb.EOF,location:e}),this.active=!1}
_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){
if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t)
;this.currentLocation=this.getCurrentLocation(0),
this._emitCurrentCharacterToken(this.currentLocation),
this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}
_emitCodePoint(e){
const t=wO(e)?Cb.WHITESPACE_CHARACTER:e===fb.NULL?Cb.NULL_CHARACTER:Cb.CHARACTER
;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}
_emitChars(e){this._appendCharToCurrentCharacterToken(Cb.CHARACTER,e)}
_matchNamedCharacterReference(e){let t=null,n=0,r=!1
;for(let i=0,a=Db[0];i>=0&&(i=oO(Db,a,i+1,e),!(i<0));e=this._consume()){
n+=1,a=Db[i];const s=a&jb.VALUE_LENGTH;if(s){const a=(s>>14)-1
;if(e!==fb.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((o=this.preprocessor.peek(1))===fb.EQUALS_SIGN||vO(o))?(t=[fb.AMPERSAND],
i+=a):(t=0===a?[Db[i]&~jb.VALUE_LENGTH]:1===a?[Db[++i]]:[Db[++i],Db[++i]],
n=0,r=e!==fb.SEMICOLON),0===a){this._consume();break}}}var o
;return this._unconsume(n),
r&&!this.preprocessor.endOfChunkHit&&this._err(_b.missingSemicolonAfterCharacterReference),
this._unconsume(1),t}_isCharacterReferenceInAttribute(){
return this.returnState===dO.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===dO.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===dO.ATTRIBUTE_VALUE_UNQUOTED
}_flushCodePointConsumedAsCharacterReference(e){
this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)
}_callState(e){switch(this.state){case dO.DATA:this._stateData(e);break
;case dO.RCDATA:this._stateRcdata(e);break;case dO.RAWTEXT:this._stateRawtext(e)
;break;case dO.SCRIPT_DATA:this._stateScriptData(e);break;case dO.PLAINTEXT:
this._statePlaintext(e);break;case dO.TAG_OPEN:this._stateTagOpen(e);break
;case dO.END_TAG_OPEN:this._stateEndTagOpen(e);break;case dO.TAG_NAME:
this._stateTagName(e);break;case dO.RCDATA_LESS_THAN_SIGN:
this._stateRcdataLessThanSign(e);break;case dO.RCDATA_END_TAG_OPEN:
this._stateRcdataEndTagOpen(e);break;case dO.RCDATA_END_TAG_NAME:
this._stateRcdataEndTagName(e);break;case dO.RAWTEXT_LESS_THAN_SIGN:
this._stateRawtextLessThanSign(e);break;case dO.RAWTEXT_END_TAG_OPEN:
this._stateRawtextEndTagOpen(e);break;case dO.RAWTEXT_END_TAG_NAME:
this._stateRawtextEndTagName(e);break;case dO.SCRIPT_DATA_LESS_THAN_SIGN:
this._stateScriptDataLessThanSign(e);break;case dO.SCRIPT_DATA_END_TAG_OPEN:
this._stateScriptDataEndTagOpen(e);break;case dO.SCRIPT_DATA_END_TAG_NAME:
this._stateScriptDataEndTagName(e);break;case dO.SCRIPT_DATA_ESCAPE_START:
this._stateScriptDataEscapeStart(e);break;case dO.SCRIPT_DATA_ESCAPE_START_DASH:
this._stateScriptDataEscapeStartDash(e);break;case dO.SCRIPT_DATA_ESCAPED:
this._stateScriptDataEscaped(e);break;case dO.SCRIPT_DATA_ESCAPED_DASH:
this._stateScriptDataEscapedDash(e);break;case dO.SCRIPT_DATA_ESCAPED_DASH_DASH:
this._stateScriptDataEscapedDashDash(e);break
;case dO.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:
this._stateScriptDataEscapedLessThanSign(e);break
;case dO.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:
this._stateScriptDataEscapedEndTagOpen(e);break
;case dO.SCRIPT_DATA_ESCAPED_END_TAG_NAME:
this._stateScriptDataEscapedEndTagName(e);break
;case dO.SCRIPT_DATA_DOUBLE_ESCAPE_START:
this._stateScriptDataDoubleEscapeStart(e);break
;case dO.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break
;case dO.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:
this._stateScriptDataDoubleEscapedDash(e);break
;case dO.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:
this._stateScriptDataDoubleEscapedDashDash(e);break
;case dO.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:
this._stateScriptDataDoubleEscapedLessThanSign(e);break
;case dO.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e)
;break;case dO.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break
;case dO.ATTRIBUTE_NAME:this._stateAttributeName(e);break
;case dO.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break
;case dO.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break
;case dO.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e)
;break;case dO.ATTRIBUTE_VALUE_SINGLE_QUOTED:
this._stateAttributeValueSingleQuoted(e);break;case dO.ATTRIBUTE_VALUE_UNQUOTED:
this._stateAttributeValueUnquoted(e);break;case dO.AFTER_ATTRIBUTE_VALUE_QUOTED:
this._stateAfterAttributeValueQuoted(e);break;case dO.SELF_CLOSING_START_TAG:
this._stateSelfClosingStartTag(e);break;case dO.BOGUS_COMMENT:
this._stateBogusComment(e);break;case dO.MARKUP_DECLARATION_OPEN:
this._stateMarkupDeclarationOpen(e);break;case dO.COMMENT_START:
this._stateCommentStart(e);break;case dO.COMMENT_START_DASH:
this._stateCommentStartDash(e);break;case dO.COMMENT:this._stateComment(e);break
;case dO.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break
;case dO.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break
;case dO.COMMENT_LESS_THAN_SIGN_BANG_DASH:
this._stateCommentLessThanSignBangDash(e);break
;case dO.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:
this._stateCommentLessThanSignBangDashDash(e);break;case dO.COMMENT_END_DASH:
this._stateCommentEndDash(e);break;case dO.COMMENT_END:this._stateCommentEnd(e)
;break;case dO.COMMENT_END_BANG:this._stateCommentEndBang(e);break
;case dO.DOCTYPE:this._stateDoctype(e);break;case dO.BEFORE_DOCTYPE_NAME:
this._stateBeforeDoctypeName(e);break;case dO.DOCTYPE_NAME:
this._stateDoctypeName(e);break;case dO.AFTER_DOCTYPE_NAME:
this._stateAfterDoctypeName(e);break;case dO.AFTER_DOCTYPE_PUBLIC_KEYWORD:
this._stateAfterDoctypePublicKeyword(e);break
;case dO.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:
this._stateBeforeDoctypePublicIdentifier(e);break
;case dO.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:
this._stateDoctypePublicIdentifierDoubleQuoted(e);break
;case dO.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:
this._stateDoctypePublicIdentifierSingleQuoted(e);break
;case dO.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:
this._stateAfterDoctypePublicIdentifier(e);break
;case dO.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:
this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break
;case dO.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e)
;break;case dO.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:
this._stateBeforeDoctypeSystemIdentifier(e);break
;case dO.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:
this._stateDoctypeSystemIdentifierDoubleQuoted(e);break
;case dO.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:
this._stateDoctypeSystemIdentifierSingleQuoted(e);break
;case dO.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:
this._stateAfterDoctypeSystemIdentifier(e);break;case dO.BOGUS_DOCTYPE:
this._stateBogusDoctype(e);break;case dO.CDATA_SECTION:
this._stateCdataSection(e);break;case dO.CDATA_SECTION_BRACKET:
this._stateCdataSectionBracket(e);break;case dO.CDATA_SECTION_END:
this._stateCdataSectionEnd(e);break;case dO.CHARACTER_REFERENCE:
this._stateCharacterReference(e);break;case dO.NAMED_CHARACTER_REFERENCE:
this._stateNamedCharacterReference(e);break;case dO.AMBIGUOUS_AMPERSAND:
this._stateAmbiguousAmpersand(e);break;case dO.NUMERIC_CHARACTER_REFERENCE:
this._stateNumericCharacterReference(e);break
;case dO.HEXADEMICAL_CHARACTER_REFERENCE_START:
this._stateHexademicalCharacterReferenceStart(e);break
;case dO.HEXADEMICAL_CHARACTER_REFERENCE:
this._stateHexademicalCharacterReference(e);break
;case dO.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e)
;break;case dO.NUMERIC_CHARACTER_REFERENCE_END:
this._stateNumericCharacterReferenceEnd(e);break;default:
throw new Error("Unknown state")}}_stateData(e){switch(e){
case fb.LESS_THAN_SIGN:this.state=dO.TAG_OPEN;break;case fb.AMPERSAND:
this.returnState=dO.DATA,this.state=dO.CHARACTER_REFERENCE;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this._emitCodePoint(e);break;case fb.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){
switch(e){case fb.AMPERSAND:
this.returnState=dO.RCDATA,this.state=dO.CHARACTER_REFERENCE;break
;case fb.LESS_THAN_SIGN:this.state=dO.RCDATA_LESS_THAN_SIGN;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this._emitChars(hb);break;case fb.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){
switch(e){case fb.LESS_THAN_SIGN:this.state=dO.RAWTEXT_LESS_THAN_SIGN;break
;case fb.NULL:this._err(_b.unexpectedNullCharacter),this._emitChars(hb);break
;case fb.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}
_stateScriptData(e){switch(e){case fb.LESS_THAN_SIGN:
this.state=dO.SCRIPT_DATA_LESS_THAN_SIGN;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this._emitChars(hb);break;case fb.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){
switch(e){case fb.NULL:this._err(_b.unexpectedNullCharacter),this._emitChars(hb)
;break;case fb.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}
_stateTagOpen(e){
if(gO(e))this._createStartTagToken(),this.state=dO.TAG_NAME,this._stateTagName(e);else switch(e){
case fb.EXCLAMATION_MARK:this.state=dO.MARKUP_DECLARATION_OPEN;break
;case fb.SOLIDUS:this.state=dO.END_TAG_OPEN;break;case fb.QUESTION_MARK:
this._err(_b.unexpectedQuestionMarkInsteadOfTagName),
this._createCommentToken(1),
this.state=dO.BOGUS_COMMENT,this._stateBogusComment(e);break;case fb.EOF:
this._err(_b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break
;default:
this._err(_b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=dO.DATA,
this._stateData(e)}}_stateEndTagOpen(e){
if(gO(e))this._createEndTagToken(),this.state=dO.TAG_NAME,
this._stateTagName(e);else switch(e){case fb.GREATER_THAN_SIGN:
this._err(_b.missingEndTagName),this.state=dO.DATA;break;case fb.EOF:
this._err(_b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break
;default:
this._err(_b.invalidFirstCharacterOfTagName),this._createCommentToken(2),
this.state=dO.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){
const t=this.currentToken;switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:this.state=dO.BEFORE_ATTRIBUTE_NAME;break
;case fb.SOLIDUS:this.state=dO.SELF_CLOSING_START_TAG;break
;case fb.GREATER_THAN_SIGN:this.state=dO.DATA,this.emitCurrentTagToken();break
;case fb.NULL:this._err(_b.unexpectedNullCharacter),t.tagName+=hb;break
;case fb.EOF:this._err(_b.eofInTag),this._emitEOFToken();break;default:
t.tagName+=String.fromCodePoint(mO(e)?yO(e):e)}}_stateRcdataLessThanSign(e){
e===fb.SOLIDUS?this.state=dO.RCDATA_END_TAG_OPEN:(this._emitChars("<"),
this.state=dO.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){
gO(e)?(this.state=dO.RCDATA_END_TAG_NAME,
this._stateRcdataEndTagName(e)):(this._emitChars("</"),
this.state=dO.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){
if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation()
;this._createEndTagToken();this.currentToken.tagName=this.lastStartTagName
;switch(this.preprocessor.peek(this.lastStartTagName.length)){case fb.SPACE:
case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:
return this._advanceBy(this.lastStartTagName.length),
this.state=dO.BEFORE_ATTRIBUTE_NAME,!1;case fb.SOLIDUS:
return this._advanceBy(this.lastStartTagName.length),
this.state=dO.SELF_CLOSING_START_TAG,!1;case fb.GREATER_THAN_SIGN:
return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),
this.state=dO.DATA,!1;default:return!this._ensureHibernation()}}
_stateRcdataEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=dO.RCDATA,
this._stateRcdata(e))}_stateRawtextLessThanSign(e){
e===fb.SOLIDUS?this.state=dO.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),
this.state=dO.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){
gO(e)?(this.state=dO.RAWTEXT_END_TAG_NAME,
this._stateRawtextEndTagName(e)):(this._emitChars("</"),
this.state=dO.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=dO.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){
switch(e){case fb.SOLIDUS:this.state=dO.SCRIPT_DATA_END_TAG_OPEN;break
;case fb.EXCLAMATION_MARK:
this.state=dO.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:
this._emitChars("<"),this.state=dO.SCRIPT_DATA,this._stateScriptData(e)}}
_stateScriptDataEndTagOpen(e){
gO(e)?(this.state=dO.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),
this.state=dO.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=dO.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscapeStart(e){
e===fb.HYPHEN_MINUS?(this.state=dO.SCRIPT_DATA_ESCAPE_START_DASH,
this._emitChars("-")):(this.state=dO.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscapeStartDash(e){
e===fb.HYPHEN_MINUS?(this.state=dO.SCRIPT_DATA_ESCAPED_DASH_DASH,
this._emitChars("-")):(this.state=dO.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscaped(e){switch(e){case fb.HYPHEN_MINUS:
this.state=dO.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break
;case fb.LESS_THAN_SIGN:this.state=dO.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case fb.NULL:this._err(_b.unexpectedNullCharacter),this._emitChars(hb);break
;case fb.EOF:this._err(_b.eofInScriptHtmlCommentLikeText),this._emitEOFToken()
;break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){
case fb.HYPHEN_MINUS:
this.state=dO.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break
;case fb.LESS_THAN_SIGN:this.state=dO.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.state=dO.SCRIPT_DATA_ESCAPED,
this._emitChars(hb);break;case fb.EOF:
this._err(_b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=dO.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataEscapedDashDash(e){switch(e){case fb.HYPHEN_MINUS:
this._emitChars("-");break;case fb.LESS_THAN_SIGN:
this.state=dO.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case fb.GREATER_THAN_SIGN:this.state=dO.SCRIPT_DATA,this._emitChars(">");break
;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.state=dO.SCRIPT_DATA_ESCAPED,
this._emitChars(hb);break;case fb.EOF:
this._err(_b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=dO.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataEscapedLessThanSign(e){
e===fb.SOLIDUS?this.state=dO.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:gO(e)?(this._emitChars("<"),
this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPE_START,
this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),
this.state=dO.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataEscapedEndTagOpen(e){
gO(e)?(this.state=dO.SCRIPT_DATA_ESCAPED_END_TAG_NAME,
this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),
this.state=dO.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataEscapedEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=dO.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataDoubleEscapeStart(e){
if(this.preprocessor.startsWith(Ob,!1)&&kO(this.preprocessor.peek(Ob.length))){
this._emitCodePoint(e)
;for(let e=0;e<Ob.length;e++)this._emitCodePoint(this._consume())
;this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED
}else this._ensureHibernation()||(this.state=dO.SCRIPT_DATA_ESCAPED,
this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){
case fb.HYPHEN_MINUS:
this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break
;case fb.LESS_THAN_SIGN:this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,
this._emitChars("<");break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this._emitChars(hb);break;case fb.EOF:
this._err(_b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){
case fb.HYPHEN_MINUS:
this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break
;case fb.LESS_THAN_SIGN:this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,
this._emitChars("<");break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED,
this._emitChars(hb);break;case fb.EOF:
this._err(_b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataDoubleEscapedDashDash(e){switch(e){case fb.HYPHEN_MINUS:
this._emitChars("-");break;case fb.LESS_THAN_SIGN:
this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<")
;break;case fb.GREATER_THAN_SIGN:this.state=dO.SCRIPT_DATA,this._emitChars(">")
;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED,
this._emitChars(hb);break;case fb.EOF:
this._err(_b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataDoubleEscapedLessThanSign(e){
e===fb.SOLIDUS?(this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPE_END,
this._emitChars("/")):(this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED,
this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){
if(this.preprocessor.startsWith(Ob,!1)&&kO(this.preprocessor.peek(Ob.length))){
this._emitCodePoint(e)
;for(let e=0;e<Ob.length;e++)this._emitCodePoint(this._consume())
;this.state=dO.SCRIPT_DATA_ESCAPED
}else this._ensureHibernation()||(this.state=dO.SCRIPT_DATA_DOUBLE_ESCAPED,
this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){
case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:break
;case fb.SOLIDUS:case fb.GREATER_THAN_SIGN:case fb.EOF:
this.state=dO.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break
;case fb.EQUALS_SIGN:
this._err(_b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),
this.state=dO.ATTRIBUTE_NAME;break;default:
this._createAttr(""),this.state=dO.ATTRIBUTE_NAME,this._stateAttributeName(e)}}
_stateAttributeName(e){switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:case fb.SOLIDUS:case fb.GREATER_THAN_SIGN:
case fb.EOF:
this._leaveAttrName(),this.state=dO.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e)
;break;case fb.EQUALS_SIGN:
this._leaveAttrName(),this.state=dO.BEFORE_ATTRIBUTE_VALUE;break
;case fb.QUOTATION_MARK:case fb.APOSTROPHE:case fb.LESS_THAN_SIGN:
this._err(_b.unexpectedCharacterInAttributeName),
this.currentAttr.name+=String.fromCodePoint(e);break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.currentAttr.name+=hb;break;default:
this.currentAttr.name+=String.fromCodePoint(mO(e)?yO(e):e)}}
_stateAfterAttributeName(e){switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:break;case fb.SOLIDUS:
this.state=dO.SELF_CLOSING_START_TAG;break;case fb.EQUALS_SIGN:
this.state=dO.BEFORE_ATTRIBUTE_VALUE;break;case fb.GREATER_THAN_SIGN:
this.state=dO.DATA,this.emitCurrentTagToken();break;case fb.EOF:
this._err(_b.eofInTag),this._emitEOFToken();break;default:
this._createAttr(""),this.state=dO.ATTRIBUTE_NAME,this._stateAttributeName(e)}}
_stateBeforeAttributeValue(e){switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:break;case fb.QUOTATION_MARK:
this.state=dO.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case fb.APOSTROPHE:
this.state=dO.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case fb.GREATER_THAN_SIGN:
this._err(_b.missingAttributeValue),
this.state=dO.DATA,this.emitCurrentTagToken();break;default:
this.state=dO.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}
_stateAttributeValueDoubleQuoted(e){switch(e){case fb.QUOTATION_MARK:
this.state=dO.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case fb.AMPERSAND:
this.returnState=dO.ATTRIBUTE_VALUE_DOUBLE_QUOTED,
this.state=dO.CHARACTER_REFERENCE;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.currentAttr.value+=hb;break
;case fb.EOF:this._err(_b.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAttributeValueSingleQuoted(e){switch(e){case fb.APOSTROPHE:
this.state=dO.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case fb.AMPERSAND:
this.returnState=dO.ATTRIBUTE_VALUE_SINGLE_QUOTED,
this.state=dO.CHARACTER_REFERENCE;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),this.currentAttr.value+=hb;break
;case fb.EOF:this._err(_b.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAttributeValueUnquoted(e){switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:
this._leaveAttrValue(),this.state=dO.BEFORE_ATTRIBUTE_NAME;break
;case fb.AMPERSAND:
this.returnState=dO.ATTRIBUTE_VALUE_UNQUOTED,this.state=dO.CHARACTER_REFERENCE
;break;case fb.GREATER_THAN_SIGN:
this._leaveAttrValue(),this.state=dO.DATA,this.emitCurrentTagToken();break
;case fb.NULL:this._err(_b.unexpectedNullCharacter),this.currentAttr.value+=hb
;break;case fb.QUOTATION_MARK:case fb.APOSTROPHE:case fb.LESS_THAN_SIGN:
case fb.EQUALS_SIGN:case fb.GRAVE_ACCENT:
this._err(_b.unexpectedCharacterInUnquotedAttributeValue),
this.currentAttr.value+=String.fromCodePoint(e);break;case fb.EOF:
this._err(_b.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAfterAttributeValueQuoted(e){switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:
this._leaveAttrValue(),this.state=dO.BEFORE_ATTRIBUTE_NAME;break
;case fb.SOLIDUS:this._leaveAttrValue(),this.state=dO.SELF_CLOSING_START_TAG
;break;case fb.GREATER_THAN_SIGN:
this._leaveAttrValue(),this.state=dO.DATA,this.emitCurrentTagToken();break
;case fb.EOF:this._err(_b.eofInTag),this._emitEOFToken();break;default:
this._err(_b.missingWhitespaceBetweenAttributes),
this.state=dO.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}
_stateSelfClosingStartTag(e){switch(e){case fb.GREATER_THAN_SIGN:
this.currentToken.selfClosing=!0,this.state=dO.DATA,this.emitCurrentTagToken()
;break;case fb.EOF:this._err(_b.eofInTag),this._emitEOFToken();break;default:
this._err(_b.unexpectedSolidusInTag),
this.state=dO.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}
_stateBogusComment(e){const t=this.currentToken;switch(e){
case fb.GREATER_THAN_SIGN:this.state=dO.DATA,this.emitCurrentComment(t);break
;case fb.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),t.data+=hb;break;default:
t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){
this._consumeSequenceIfMatch(gb,!0)?(this._createCommentToken(gb.length+1),
this.state=dO.COMMENT_START):this._consumeSequenceIfMatch(bb,!1)?(this.currentLocation=this.getCurrentLocation(bb.length+1),
this.state=dO.DOCTYPE):this._consumeSequenceIfMatch(vb,!0)?this.inForeignNode?this.state=dO.CDATA_SECTION:(this._err(_b.cdataInHtmlContent),
this._createCommentToken(vb.length+1),
this.currentToken.data="[CDATA[",this.state=dO.BOGUS_COMMENT):this._ensureHibernation()||(this._err(_b.incorrectlyOpenedComment),
this._createCommentToken(2),
this.state=dO.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){
switch(e){case fb.HYPHEN_MINUS:this.state=dO.COMMENT_START_DASH;break
;case fb.GREATER_THAN_SIGN:{
this._err(_b.abruptClosingOfEmptyComment),this.state=dO.DATA
;const e=this.currentToken;this.emitCurrentComment(e);break}default:
this.state=dO.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){
const t=this.currentToken;switch(e){case fb.HYPHEN_MINUS:
this.state=dO.COMMENT_END;break;case fb.GREATER_THAN_SIGN:
this._err(_b.abruptClosingOfEmptyComment),
this.state=dO.DATA,this.emitCurrentComment(t);break;case fb.EOF:
this._err(_b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="-",this.state=dO.COMMENT,this._stateComment(e)}}
_stateComment(e){const t=this.currentToken;switch(e){case fb.HYPHEN_MINUS:
this.state=dO.COMMENT_END_DASH;break;case fb.LESS_THAN_SIGN:
t.data+="<",this.state=dO.COMMENT_LESS_THAN_SIGN;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),t.data+=hb;break;case fb.EOF:
this._err(_b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){
const t=this.currentToken;switch(e){case fb.EXCLAMATION_MARK:
t.data+="!",this.state=dO.COMMENT_LESS_THAN_SIGN_BANG;break
;case fb.LESS_THAN_SIGN:t.data+="<";break;default:
this.state=dO.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){
e===fb.HYPHEN_MINUS?this.state=dO.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=dO.COMMENT,
this._stateComment(e))}_stateCommentLessThanSignBangDash(e){
e===fb.HYPHEN_MINUS?this.state=dO.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=dO.COMMENT_END_DASH,
this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){
e!==fb.GREATER_THAN_SIGN&&e!==fb.EOF&&this._err(_b.nestedComment),
this.state=dO.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){
const t=this.currentToken;switch(e){case fb.HYPHEN_MINUS:
this.state=dO.COMMENT_END;break;case fb.EOF:
this._err(_b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="-",this.state=dO.COMMENT,this._stateComment(e)}}
_stateCommentEnd(e){const t=this.currentToken;switch(e){
case fb.GREATER_THAN_SIGN:this.state=dO.DATA,this.emitCurrentComment(t);break
;case fb.EXCLAMATION_MARK:this.state=dO.COMMENT_END_BANG;break
;case fb.HYPHEN_MINUS:t.data+="-";break;case fb.EOF:
this._err(_b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="--",this.state=dO.COMMENT,this._stateComment(e)}}
_stateCommentEndBang(e){const t=this.currentToken;switch(e){
case fb.HYPHEN_MINUS:t.data+="--!",this.state=dO.COMMENT_END_DASH;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.incorrectlyClosedComment),this.state=dO.DATA,
this.emitCurrentComment(t);break;case fb.EOF:
this._err(_b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="--!",this.state=dO.COMMENT,this._stateComment(e)}}
_stateDoctype(e){switch(e){case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:
case fb.FORM_FEED:this.state=dO.BEFORE_DOCTYPE_NAME;break
;case fb.GREATER_THAN_SIGN:
this.state=dO.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break
;case fb.EOF:{this._err(_b.eofInDoctype),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:
this._err(_b.missingWhitespaceBeforeDoctypeName),
this.state=dO.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}
_stateBeforeDoctypeName(e){
if(mO(e))this._createDoctypeToken(String.fromCharCode(yO(e))),
this.state=dO.DOCTYPE_NAME;else switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),
this._createDoctypeToken(hb),this.state=dO.DOCTYPE_NAME;break
;case fb.GREATER_THAN_SIGN:{
this._err(_b.missingDoctypeName),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=dO.DATA;break}
case fb.EOF:{this._err(_b.eofInDoctype),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:
this._createDoctypeToken(String.fromCodePoint(e)),this.state=dO.DOCTYPE_NAME}}
_stateDoctypeName(e){const t=this.currentToken;switch(e){case fb.SPACE:
case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:
this.state=dO.AFTER_DOCTYPE_NAME;break;case fb.GREATER_THAN_SIGN:
this.state=dO.DATA,this.emitCurrentDoctype(t);break;case fb.NULL:
this._err(_b.unexpectedNullCharacter),t.name+=hb;break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.name+=String.fromCodePoint(mO(e)?yO(e):e)}}_stateAfterDoctypeName(e){
const t=this.currentToken;switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:break;case fb.GREATER_THAN_SIGN:
this.state=dO.DATA,this.emitCurrentDoctype(t);break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._consumeSequenceIfMatch(yb,!1)?this.state=dO.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(wb,!1)?this.state=dO.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(_b.invalidCharacterSequenceAfterDoctypeName),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}
_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){
case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:
this.state=dO.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case fb.QUOTATION_MARK:
this._err(_b.missingWhitespaceAfterDoctypePublicKeyword),
t.publicId="",this.state=dO.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break
;case fb.APOSTROPHE:
this._err(_b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",
this.state=dO.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.missingDoctypePublicIdentifier),t.forceQuirks=!0,
this.state=dO.DATA,this.emitCurrentDoctype(t);break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(_b.missingQuoteBeforeDoctypePublicIdentifier),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){
case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:break
;case fb.QUOTATION_MARK:
t.publicId="",this.state=dO.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break
;case fb.APOSTROPHE:
t.publicId="",this.state=dO.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.missingDoctypePublicIdentifier),t.forceQuirks=!0,
this.state=dO.DATA,this.emitCurrentDoctype(t);break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(_b.missingQuoteBeforeDoctypePublicIdentifier),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken
;switch(e){case fb.QUOTATION_MARK:this.state=dO.AFTER_DOCTYPE_PUBLIC_IDENTIFIER
;break;case fb.NULL:this._err(_b.unexpectedNullCharacter),t.publicId+=hb;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=dO.DATA;break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.publicId+=String.fromCodePoint(e)}}
_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken
;switch(e){case fb.APOSTROPHE:this.state=dO.AFTER_DOCTYPE_PUBLIC_IDENTIFIER
;break;case fb.NULL:this._err(_b.unexpectedNullCharacter),t.publicId+=hb;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=dO.DATA;break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){
const t=this.currentToken;switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:
this.state=dO.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break
;case fb.GREATER_THAN_SIGN:this.state=dO.DATA,this.emitCurrentDoctype(t);break
;case fb.QUOTATION_MARK:
this._err(_b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case fb.APOSTROPHE:
this._err(_b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case fb.EOF:
this._err(_b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),
this._emitEOFToken();break;default:
this._err(_b.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken
;switch(e){case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:
break;case fb.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=dO.DATA
;break;case fb.QUOTATION_MARK:
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case fb.APOSTROPHE:
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case fb.EOF:
this._err(_b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),
this._emitEOFToken();break;default:
this._err(_b.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){
case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:
this.state=dO.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case fb.QUOTATION_MARK:
this._err(_b.missingWhitespaceAfterDoctypeSystemKeyword),
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case fb.APOSTROPHE:
this._err(_b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",
this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,
this.state=dO.DATA,this.emitCurrentDoctype(t);break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(_b.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){
case fb.SPACE:case fb.LINE_FEED:case fb.TABULATION:case fb.FORM_FEED:break
;case fb.QUOTATION_MARK:
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case fb.APOSTROPHE:
t.systemId="",this.state=dO.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,
this.state=dO.DATA,this.emitCurrentDoctype(t);break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(_b.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken
;switch(e){case fb.QUOTATION_MARK:this.state=dO.AFTER_DOCTYPE_SYSTEM_IDENTIFIER
;break;case fb.NULL:this._err(_b.unexpectedNullCharacter),t.systemId+=hb;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=dO.DATA;break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.systemId+=String.fromCodePoint(e)}}
_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken
;switch(e){case fb.APOSTROPHE:this.state=dO.AFTER_DOCTYPE_SYSTEM_IDENTIFIER
;break;case fb.NULL:this._err(_b.unexpectedNullCharacter),t.systemId+=hb;break
;case fb.GREATER_THAN_SIGN:
this._err(_b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=dO.DATA;break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){
const t=this.currentToken;switch(e){case fb.SPACE:case fb.LINE_FEED:
case fb.TABULATION:case fb.FORM_FEED:break;case fb.GREATER_THAN_SIGN:
this.emitCurrentDoctype(t),this.state=dO.DATA;break;case fb.EOF:
this._err(_b.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(_b.unexpectedCharacterAfterDoctypeSystemIdentifier),
this.state=dO.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){
const t=this.currentToken;switch(e){case fb.GREATER_THAN_SIGN:
this.emitCurrentDoctype(t),this.state=dO.DATA;break;case fb.NULL:
this._err(_b.unexpectedNullCharacter);break;case fb.EOF:
this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){
switch(e){case fb.RIGHT_SQUARE_BRACKET:this.state=dO.CDATA_SECTION_BRACKET;break
;case fb.EOF:this._err(_b.eofInCdata),this._emitEOFToken();break;default:
this._emitCodePoint(e)}}_stateCdataSectionBracket(e){
e===fb.RIGHT_SQUARE_BRACKET?this.state=dO.CDATA_SECTION_END:(this._emitChars("]"),
this.state=dO.CDATA_SECTION,this._stateCdataSection(e))}
_stateCdataSectionEnd(e){switch(e){case fb.GREATER_THAN_SIGN:this.state=dO.DATA
;break;case fb.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:
this._emitChars("]]"),this.state=dO.CDATA_SECTION,this._stateCdataSection(e)}}
_stateCharacterReference(e){
e===fb.NUMBER_SIGN?this.state=dO.NUMERIC_CHARACTER_REFERENCE:vO(e)?(this.state=dO.NAMED_CHARACTER_REFERENCE,
this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(fb.AMPERSAND),
this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){
const t=this._matchNamedCharacterReference(e)
;if(this._ensureHibernation());else if(t){
for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e])
;this.state=this.returnState
}else this._flushCodePointConsumedAsCharacterReference(fb.AMPERSAND),
this.state=dO.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){
vO(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===fb.SEMICOLON&&this._err(_b.unknownNamedCharacterReference),
this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){
this.charRefCode=0,
e===fb.LATIN_SMALL_X||e===fb.LATIN_CAPITAL_X?this.state=dO.HEXADEMICAL_CHARACTER_REFERENCE_START:fO(e)?(this.state=dO.DECIMAL_CHARACTER_REFERENCE,
this._stateDecimalCharacterReference(e)):(this._err(_b.absenceOfDigitsInNumericCharacterReference),
this._flushCodePointConsumedAsCharacterReference(fb.AMPERSAND),
this._flushCodePointConsumedAsCharacterReference(fb.NUMBER_SIGN),
this._reconsumeInState(this.returnState,e))}
_stateHexademicalCharacterReferenceStart(e){!function(e){
return fO(e)||bO(e)||OO(e)
}(e)?(this._err(_b.absenceOfDigitsInNumericCharacterReference),
this._flushCodePointConsumedAsCharacterReference(fb.AMPERSAND),
this._flushCodePointConsumedAsCharacterReference(fb.NUMBER_SIGN),
this._unconsume(2),
this.state=this.returnState):(this.state=dO.HEXADEMICAL_CHARACTER_REFERENCE,
this._stateHexademicalCharacterReference(e))}
_stateHexademicalCharacterReference(e){
bO(e)?this.charRefCode=16*this.charRefCode+e-55:OO(e)?this.charRefCode=16*this.charRefCode+e-87:fO(e)?this.charRefCode=16*this.charRefCode+e-48:e===fb.SEMICOLON?this.state=dO.NUMERIC_CHARACTER_REFERENCE_END:(this._err(_b.missingSemicolonAfterCharacterReference),
this.state=dO.NUMERIC_CHARACTER_REFERENCE_END,
this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){
fO(e)?this.charRefCode=10*this.charRefCode+e-48:e===fb.SEMICOLON?this.state=dO.NUMERIC_CHARACTER_REFERENCE_END:(this._err(_b.missingSemicolonAfterCharacterReference),
this.state=dO.NUMERIC_CHARACTER_REFERENCE_END,
this._stateNumericCharacterReferenceEnd(e))}
_stateNumericCharacterReferenceEnd(e){
if(this.charRefCode===fb.NULL)this._err(_b.nullCharacterReference),
this.charRefCode=fb.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(_b.characterReferenceOutsideUnicodeRange),
this.charRefCode=fb.REPLACEMENT_CHARACTER;else if(kb(this.charRefCode))this._err(_b.surrogateCharacterReference),
this.charRefCode=fb.REPLACEMENT_CHARACTER;else if(Sb(this.charRefCode))this._err(_b.noncharacterCharacterReference);else if(xb(this.charRefCode)||this.charRefCode===fb.CARRIAGE_RETURN){
this._err(_b.controlCharacterReference);const e=uO.get(this.charRefCode)
;void 0!==e&&(this.charRefCode=e)}
this._flushCodePointConsumedAsCharacterReference(this.charRefCode),
this._reconsumeInState(this.returnState,e)}}
const SO=new Set([Kb.DD,Kb.DT,Kb.LI,Kb.OPTGROUP,Kb.OPTION,Kb.P,Kb.RB,Kb.RP,Kb.RT,Kb.RTC]),_O=new Set([...SO,Kb.CAPTION,Kb.COLGROUP,Kb.TBODY,Kb.TD,Kb.TFOOT,Kb.TH,Kb.THEAD,Kb.TR]),EO=new Map([[Kb.APPLET,qb.HTML],[Kb.CAPTION,qb.HTML],[Kb.HTML,qb.HTML],[Kb.MARQUEE,qb.HTML],[Kb.OBJECT,qb.HTML],[Kb.TABLE,qb.HTML],[Kb.TD,qb.HTML],[Kb.TEMPLATE,qb.HTML],[Kb.TH,qb.HTML],[Kb.ANNOTATION_XML,qb.MATHML],[Kb.MI,qb.MATHML],[Kb.MN,qb.MATHML],[Kb.MO,qb.MATHML],[Kb.MS,qb.MATHML],[Kb.MTEXT,qb.MATHML],[Kb.DESC,qb.SVG],[Kb.FOREIGN_OBJECT,qb.SVG],[Kb.TITLE,qb.SVG]]),TO=[Kb.H1,Kb.H2,Kb.H3,Kb.H4,Kb.H5,Kb.H6],CO=[Kb.TR,Kb.TEMPLATE,Kb.HTML],AO=[Kb.TBODY,Kb.TFOOT,Kb.THEAD,Kb.TEMPLATE,Kb.HTML],PO=[Kb.TABLE,Kb.TEMPLATE,Kb.HTML],DO=[Kb.TD,Kb.TH]
;class $O{get currentTmplContentOrNode(){
return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current
}constructor(e,t,n){
this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,
this.tmplCount=0,this.currentTagId=Kb.UNKNOWN,this.current=e}_indexOf(e){
return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){
return this.currentTagId===Kb.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===qb.HTML
}_updateCurrentElement(){
this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]
}push(e,t){
this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,
this.currentTagId=t,
this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){
const e=this.current
;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,
this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){
const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}
insertAfter(e,t,n){const r=this._indexOf(e)+1
;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),
this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),
this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}
popUntilTagNamePopped(e){let t=this.stackTop+1;do{
t=this.tagIDs.lastIndexOf(e,t-1)
}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==qb.HTML)
;this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){
const t=this.current
;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),
this.stackTop--,this._updateCurrentElement(),
this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){
const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){
const n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}
popUntilNumberedHeaderPopped(){this.popUntilPopped(TO,qb.HTML)}
popUntilTableCellPopped(){this.popUntilPopped(DO,qb.HTML)}
popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}
_indexOfTagNames(e,t){
for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n
;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t)
;this.shortenToLength(n+1)}clearBackToTableContext(){
this.clearBackTo(PO,qb.HTML)}clearBackToTableBodyContext(){
this.clearBackTo(AO,qb.HTML)}clearBackToTableRowContext(){
this.clearBackTo(CO,qb.HTML)}remove(e){const t=this._indexOf(e)
;t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),
this.tagIDs.splice(t,1),
this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}
tryPeekProperlyNestedBodyElement(){
return this.stackTop>=1&&this.tagIDs[1]===Kb.BODY?this.items[1]:null}
contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){
const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}
isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Kb.HTML}
hasInScope(e){for(let t=this.stackTop;t>=0;t--){
const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t])
;if(n===e&&r===qb.HTML)return!0;if(EO.get(n)===r)return!1}return!0}
hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){
const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e])
;if(cO(t)&&n===qb.HTML)return!0;if(EO.get(t)===n)return!1}return!0}
hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){
const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t])
;if(n===e&&r===qb.HTML)return!0
;if((n===Kb.UL||n===Kb.OL)&&r===qb.HTML||EO.get(n)===r)return!1}return!0}
hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){
const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t])
;if(n===e&&r===qb.HTML)return!0
;if(n===Kb.BUTTON&&r===qb.HTML||EO.get(n)===r)return!1}return!0}
hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t]
;if(this.treeAdapter.getNamespaceURI(this.items[t])===qb.HTML){if(n===e)return!0
;if(n===Kb.TABLE||n===Kb.TEMPLATE||n===Kb.HTML)return!1}}return!0}
hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){
const t=this.tagIDs[e]
;if(this.treeAdapter.getNamespaceURI(this.items[e])===qb.HTML){
if(t===Kb.TBODY||t===Kb.THEAD||t===Kb.TFOOT)return!0
;if(t===Kb.TABLE||t===Kb.HTML)return!1}}return!0}hasInSelectScope(e){
for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t]
;if(this.treeAdapter.getNamespaceURI(this.items[t])===qb.HTML){if(n===e)return!0
;if(n!==Kb.OPTION&&n!==Kb.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){
for(;SO.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){
for(;_O.has(this.currentTagId);)this.pop()}
generateImpliedEndTagsWithExclusion(e){
for(;this.currentTagId!==e&&_O.has(this.currentTagId);)this.pop()}}var RO,NO
;(NO=RO=RO||(RO={}))[NO.Marker=0]="Marker",NO[NO.Element=1]="Element";const MO={
type:RO.Marker};class IO{constructor(e){
this.treeAdapter=e,this.entries=[],this.bookmark=null}
_getNoahArkConditionCandidates(e,t){
const n=[],r=t.length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e)
;for(let a=0;a<this.entries.length;a++){const e=this.entries[a]
;if(e.type===RO.Marker)break;const{element:t}=e
;if(this.treeAdapter.getTagName(t)===o&&this.treeAdapter.getNamespaceURI(t)===i){
const e=this.treeAdapter.getAttrList(t);e.length===r&&n.push({idx:a,attrs:e})}}
return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return
;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t)
;if(n.length<3)return;const r=new Map(t.map((e=>[e.name,e.value])));let o=0
;for(let i=0;i<n.length;i++){const e=n[i]
;e.attrs.every((e=>r.get(e.name)===e.value))&&(o+=1,
o>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(MO)}
pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({
type:RO.Element,element:e,token:t})}insertElementAfterBookmark(e,t){
const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{
type:RO.Element,element:e,token:t})}removeEntry(e){
const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}
clearToLastMarker(){const e=this.entries.indexOf(MO)
;e>=0?this.entries.splice(0,e+1):this.entries.length=0}
getElementEntryInScopeWithTagName(e){
const t=this.entries.find((t=>t.type===RO.Marker||this.treeAdapter.getTagName(t.element)===e))
;return t&&t.type===RO.Element?t:null}getElementEntry(e){
return this.entries.find((t=>t.type===RO.Element&&t.element===e))}}
function LO(e){return{nodeName:"#text",value:e,parentNode:null}}const jO={
createDocument:()=>({nodeName:"#document",mode:Wb.NO_QUIRKS,childNodes:[]}),
createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),
createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,
childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",
data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},
insertBefore(e,t,n){const r=e.childNodes.indexOf(n)
;e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t
},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){
const o=e.childNodes.find((e=>"#documentType"===e.nodeName))
;if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",
name:t,publicId:n,systemId:r,parentNode:null};jO.appendChild(e,o)}},
setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){
if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e)
;e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){
if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1]
;if(jO.isTextNode(n))return void(n.value+=t)}jO.appendChild(e,LO(t))},
insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1]
;r&&jO.isTextNode(r)?r.value+=t:jO.insertBefore(e,LO(t),n)},
adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)))
;for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},
getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,
getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,
getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,
getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,
getDocumentTypeNodePublicId:e=>e.publicId,
getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,
isCommentNode:e=>"#comment"===e.nodeName,
isDocumentTypeNode:e=>"#documentType"===e.nodeName,
isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),
setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},
getNodeSourceCodeLocation:e=>e.sourceCodeLocation,
updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,
...t}}
},BO="html",QO="about:legacy-compat",UO="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",FO=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],zO=[...FO,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],qO=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),HO=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],VO=[...HO,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]
;function ZO(e,t){return t.some((t=>e.startsWith(t)))}const WO={
TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"
},XO="definitionurl",GO="definitionURL",YO=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),KO=new Map([["xlink:actuate",{
prefix:"xlink",name:"actuate",namespace:qb.XLINK}],["xlink:arcrole",{
prefix:"xlink",name:"arcrole",namespace:qb.XLINK}],["xlink:href",{
prefix:"xlink",name:"href",namespace:qb.XLINK}],["xlink:role",{prefix:"xlink",
name:"role",namespace:qb.XLINK}],["xlink:show",{prefix:"xlink",name:"show",
namespace:qb.XLINK}],["xlink:title",{prefix:"xlink",name:"title",
namespace:qb.XLINK}],["xlink:type",{prefix:"xlink",name:"type",
namespace:qb.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:qb.XML
}],["xml:lang",{prefix:"xml",name:"lang",namespace:qb.XML}],["xml:space",{
prefix:"xml",name:"space",namespace:qb.XML}],["xmlns",{prefix:"",name:"xmlns",
namespace:qb.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",
namespace:qb.XMLNS
}]]),JO=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),ey=new Set([Kb.B,Kb.BIG,Kb.BLOCKQUOTE,Kb.BODY,Kb.BR,Kb.CENTER,Kb.CODE,Kb.DD,Kb.DIV,Kb.DL,Kb.DT,Kb.EM,Kb.EMBED,Kb.H1,Kb.H2,Kb.H3,Kb.H4,Kb.H5,Kb.H6,Kb.HEAD,Kb.HR,Kb.I,Kb.IMG,Kb.LI,Kb.LISTING,Kb.MENU,Kb.META,Kb.NOBR,Kb.OL,Kb.P,Kb.PRE,Kb.RUBY,Kb.S,Kb.SMALL,Kb.SPAN,Kb.STRONG,Kb.STRIKE,Kb.SUB,Kb.SUP,Kb.TABLE,Kb.TT,Kb.U,Kb.UL,Kb.VAR])
;function ty(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===XO){
e.attrs[t].name=GO;break}}function ny(e){for(let t=0;t<e.attrs.length;t++){
const n=YO.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function ry(e){
for(let t=0;t<e.attrs.length;t++){const n=KO.get(e.attrs[t].name)
;n&&(e.attrs[t].prefix=n.prefix,
e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function oy(e,t,n,r){
return(!r||r===qb.HTML)&&function(e,t,n){
if(t===qb.MATHML&&e===Kb.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===Vb.ENCODING){
const e=n[r].value.toLowerCase();return e===WO.TEXT_HTML||e===WO.APPLICATION_XML
}return t===qb.SVG&&(e===Kb.FOREIGN_OBJECT||e===Kb.DESC||e===Kb.TITLE)
}(e,t,n)||(!r||r===qb.MATHML)&&function(e,t){
return t===qb.MATHML&&(e===Kb.MI||e===Kb.MO||e===Kb.MN||e===Kb.MS||e===Kb.MTEXT)
}(e,t)}const iy="hidden",ay=8,sy=3;var ly,cy
;(cy=ly||(ly={}))[cy.INITIAL=0]="INITIAL",
cy[cy.BEFORE_HTML=1]="BEFORE_HTML",cy[cy.BEFORE_HEAD=2]="BEFORE_HEAD",
cy[cy.IN_HEAD=3]="IN_HEAD",
cy[cy.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",cy[cy.AFTER_HEAD=5]="AFTER_HEAD",
cy[cy.IN_BODY=6]="IN_BODY",
cy[cy.TEXT=7]="TEXT",cy[cy.IN_TABLE=8]="IN_TABLE",cy[cy.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",
cy[cy.IN_CAPTION=10]="IN_CAPTION",
cy[cy.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",cy[cy.IN_TABLE_BODY=12]="IN_TABLE_BODY",
cy[cy.IN_ROW=13]="IN_ROW",
cy[cy.IN_CELL=14]="IN_CELL",cy[cy.IN_SELECT=15]="IN_SELECT",
cy[cy.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",
cy[cy.IN_TEMPLATE=17]="IN_TEMPLATE",
cy[cy.AFTER_BODY=18]="AFTER_BODY",cy[cy.IN_FRAMESET=19]="IN_FRAMESET",
cy[cy.AFTER_FRAMESET=20]="AFTER_FRAMESET",
cy[cy.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",
cy[cy.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";const uy={startLine:-1,
startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1
},dy=new Set([Kb.TABLE,Kb.TBODY,Kb.TFOOT,Kb.THEAD,Kb.TR]),py={
scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:jO,onParseError:null}
;let hy=class{constructor(e,t,n=null,r=null){
this.fragmentContext=n,this.scriptHandler=r,
this.currentToken=null,this.stopped=!1,
this.insertionMode=ly.INITIAL,this.originalInsertionMode=ly.INITIAL,
this.headElement=null,
this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],
this.pendingCharacterTokens=[],
this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,
this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...py,...e
},
this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,
this.onParseError&&(this.options.sourceCodeLocationInfo=!0),
this.document=null!=t?t:this.treeAdapter.createDocument(),
this.tokenizer=new xO(this.options,this),
this.activeFormattingElements=new IO(this.treeAdapter),
this.fragmentContextID=n?aO(this.treeAdapter.getTagName(n)):Kb.UNKNOWN,
this._setContextModes(null!=n?n:this.document,this.fragmentContextID),
this.openElements=new $O(this.document,this.treeAdapter,this)}static parse(e,t){
const n=new this(t);return n.tokenizer.write(e,!0),n.document}
static getFragmentParser(e,t){const n={...py,...t}
;null!=e||(e=n.treeAdapter.createElement(Gb.TEMPLATE,qb.HTML,[]))
;const r=n.treeAdapter.createElement("documentmock",qb.HTML,[]),o=new this(n,r,e)
;return o.fragmentContextID===Kb.TEMPLATE&&o.tmplInsertionModeStack.unshift(ly.IN_TEMPLATE),
o._initTokenizerForFragmentParsing(),
o._insertFakeRootElement(),o._resetInsertionMode(),
o._findFormInFragmentContext(),o}getFragment(){
const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment()
;return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return
;const o=null!==(r=e.location)&&void 0!==r?r:uy,i={code:t,startLine:o.startLine,
startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,
endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset}
;this.onParseError(i)}onItemPush(e,t,n){var r,o
;null===(o=(r=this.treeAdapter).onItemPush)||void 0===o||o.call(r,e),
n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){
var n,r
;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),
null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),
t){let e,t
;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,
t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),
this._setContextModes(e,t)}}_setContextModes(e,t){
const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===qb.HTML
;this.currentNotInHTML=!n,
this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}
_switchToTextParsing(e,t){this._insertElement(e,qb.HTML),this.tokenizer.state=t,
this.originalInsertionMode=this.insertionMode,this.insertionMode=ly.TEXT}
switchToPlaintextParsing(){
this.insertionMode=ly.TEXT,this.originalInsertionMode=ly.IN_BODY,
this.tokenizer.state=hO.PLAINTEXT}_getAdjustedCurrentElement(){
return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current
}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){
if(this.treeAdapter.getTagName(e)===Gb.FORM){this.formElement=e;break}
e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){
if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===qb.HTML)switch(this.fragmentContextID){
case Kb.TITLE:case Kb.TEXTAREA:this.tokenizer.state=hO.RCDATA;break
;case Kb.STYLE:case Kb.XMP:case Kb.IFRAME:case Kb.NOEMBED:case Kb.NOFRAMES:
case Kb.NOSCRIPT:this.tokenizer.state=hO.RAWTEXT;break;case Kb.SCRIPT:
this.tokenizer.state=hO.SCRIPT_DATA;break;case Kb.PLAINTEXT:
this.tokenizer.state=hO.PLAINTEXT}}_setDocumentType(e){
const t=e.name||"",n=e.publicId||"",r=e.systemId||""
;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){
const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)))
;t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}
_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{
...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}
if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{
const t=this.openElements.currentTmplContentOrNode
;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){
const n=this.treeAdapter.createElement(e.tagName,t,e.attrs)
;this._attachElementToTree(n,e.location)}_insertElement(e,t){
const n=this.treeAdapter.createElement(e.tagName,t,e.attrs)
;this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}
_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,qb.HTML,[])
;this._attachElementToTree(n,null),this.openElements.push(n,t)}
_insertTemplate(e){
const t=this.treeAdapter.createElement(e.tagName,qb.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment()
;this.treeAdapter.setTemplateContent(t,n),
this._attachElementToTree(t,e.location),
this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)
}_insertFakeRootElement(){
const e=this.treeAdapter.createElement(Gb.HTML,qb.HTML,[])
;this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),
this.treeAdapter.appendChild(this.openElements.current,e),
this.openElements.push(e,Kb.HTML)}_appendCommentNode(e,t){
const n=this.treeAdapter.createCommentNode(e.data)
;this.treeAdapter.appendChild(t,n),
this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)
}_insertCharacters(e){let t,n
;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),
n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,
this.treeAdapter.insertText(t,e.chars)),!e.location)return
;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,i=r[o-1]
;if(this.treeAdapter.getNodeSourceCodeLocation(i)){
const{endLine:t,endCol:n,endOffset:r}=e.location
;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r
})
}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)
}_adoptNodes(e,t){
for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),
this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){
if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){
const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===Cb.END_TAG&&r===t.tagName?{
endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{
endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset}
;this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}
shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1
;let t,n
;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,
n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),
(e.tagID!==Kb.SVG||this.treeAdapter.getTagName(t)!==Gb.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==qb.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Kb.MGLYPH||e.tagID===Kb.MALIGNMARK)&&!this._isIntegrationPoint(n,t,qb.HTML))
}_processToken(e){switch(e.type){case Cb.CHARACTER:this.onCharacter(e);break
;case Cb.NULL_CHARACTER:this.onNullCharacter(e);break;case Cb.COMMENT:
this.onComment(e);break;case Cb.DOCTYPE:this.onDoctype(e);break
;case Cb.START_TAG:this._processStartTag(e);break;case Cb.END_TAG:
this.onEndTag(e);break;case Cb.EOF:this.onEof(e);break
;case Cb.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}
_isIntegrationPoint(e,t,n){
return oy(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)
}_reconstructActiveFormattingElements(){
const e=this.activeFormattingElements.entries.length;if(e){
const t=this.activeFormattingElements.entries.findIndex((e=>e.type===RO.Marker||this.openElements.contains(e.element)))
;for(let n=t<0?e-1:t-1;n>=0;n--){
const e=this.activeFormattingElements.entries[n]
;this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),
e.element=this.openElements.current}}}_closeTableCell(){
this.openElements.generateImpliedEndTags(),
this.openElements.popUntilTableCellPopped(),
this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ly.IN_ROW}
_closePElement(){
this.openElements.generateImpliedEndTagsWithExclusion(Kb.P),this.openElements.popUntilTagNamePopped(Kb.P)
}_resetInsertionMode(){
for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){
case Kb.TR:return void(this.insertionMode=ly.IN_ROW);case Kb.TBODY:
case Kb.THEAD:case Kb.TFOOT:return void(this.insertionMode=ly.IN_TABLE_BODY)
;case Kb.CAPTION:return void(this.insertionMode=ly.IN_CAPTION);case Kb.COLGROUP:
return void(this.insertionMode=ly.IN_COLUMN_GROUP);case Kb.TABLE:
return void(this.insertionMode=ly.IN_TABLE);case Kb.BODY:
return void(this.insertionMode=ly.IN_BODY);case Kb.FRAMESET:
return void(this.insertionMode=ly.IN_FRAMESET);case Kb.SELECT:
return void this._resetInsertionModeForSelect(e);case Kb.TEMPLATE:
return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Kb.HTML:
return void(this.insertionMode=this.headElement?ly.AFTER_HEAD:ly.BEFORE_HEAD)
;case Kb.TD:case Kb.TH:if(e>0)return void(this.insertionMode=ly.IN_CELL);break
;case Kb.HEAD:if(e>0)return void(this.insertionMode=ly.IN_HEAD)}
this.insertionMode=ly.IN_BODY}_resetInsertionModeForSelect(e){
if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t]
;if(e===Kb.TEMPLATE)break
;if(e===Kb.TABLE)return void(this.insertionMode=ly.IN_SELECT_IN_TABLE)}
this.insertionMode=ly.IN_SELECT}_isElementCausesFosterParenting(e){
return dy.has(e)}_shouldFosterParentOnInsertion(){
return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)
}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){
const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){
case Kb.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===qb.HTML)return{
parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break
;case Kb.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,
beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}
return{parent:this.openElements.items[0],beforeElement:null}}
_fosterParentElement(e){const t=this._findFosterParentingLocation()
;t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)
}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e)
;return lO[n].has(t)}onCharacter(e){
if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){
e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){
case ly.INITIAL:xy(this,e);break;case ly.BEFORE_HTML:Sy(this,e);break
;case ly.BEFORE_HEAD:_y(this,e);break;case ly.IN_HEAD:Cy(this,e);break
;case ly.IN_HEAD_NO_SCRIPT:Ay(this,e);break;case ly.AFTER_HEAD:Py(this,e);break
;case ly.IN_BODY:case ly.IN_CAPTION:case ly.IN_CELL:case ly.IN_TEMPLATE:
Ry(this,e);break;case ly.TEXT:case ly.IN_SELECT:case ly.IN_SELECT_IN_TABLE:
this._insertCharacters(e);break;case ly.IN_TABLE:case ly.IN_TABLE_BODY:
case ly.IN_ROW:Fy(this,e);break;case ly.IN_TABLE_TEXT:Zy(this,e);break
;case ly.IN_COLUMN_GROUP:Yy(this,e);break;case ly.AFTER_BODY:aw(this,e);break
;case ly.AFTER_AFTER_BODY:sw(this,e)}}onNullCharacter(e){
if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){
t.chars=hb,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){
case ly.INITIAL:xy(this,e);break;case ly.BEFORE_HTML:Sy(this,e);break
;case ly.BEFORE_HEAD:_y(this,e);break;case ly.IN_HEAD:Cy(this,e);break
;case ly.IN_HEAD_NO_SCRIPT:Ay(this,e);break;case ly.AFTER_HEAD:Py(this,e);break
;case ly.TEXT:this._insertCharacters(e);break;case ly.IN_TABLE:
case ly.IN_TABLE_BODY:case ly.IN_ROW:Fy(this,e);break;case ly.IN_COLUMN_GROUP:
Yy(this,e);break;case ly.AFTER_BODY:aw(this,e);break;case ly.AFTER_AFTER_BODY:
sw(this,e)}}onComment(e){
if(this.skipNextNewLine=!1,this.currentNotInHTML)wy(this,e);else switch(this.insertionMode){
case ly.INITIAL:case ly.BEFORE_HTML:case ly.BEFORE_HEAD:case ly.IN_HEAD:
case ly.IN_HEAD_NO_SCRIPT:case ly.AFTER_HEAD:case ly.IN_BODY:case ly.IN_TABLE:
case ly.IN_CAPTION:case ly.IN_COLUMN_GROUP:case ly.IN_TABLE_BODY:case ly.IN_ROW:
case ly.IN_CELL:case ly.IN_SELECT:case ly.IN_SELECT_IN_TABLE:
case ly.IN_TEMPLATE:case ly.IN_FRAMESET:case ly.AFTER_FRAMESET:wy(this,e);break
;case ly.IN_TABLE_TEXT:Wy(this,e);break;case ly.AFTER_BODY:!function(e,t){
e._appendCommentNode(t,e.openElements.items[0])}(this,e);break
;case ly.AFTER_AFTER_BODY:case ly.AFTER_AFTER_FRAMESET:!function(e,t){
e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){
switch(this.skipNextNewLine=!1,this.insertionMode){case ly.INITIAL:
!function(e,t){e._setDocumentType(t)
;const n=t.forceQuirks?Wb.QUIRKS:function(e){if(e.name!==BO)return Wb.QUIRKS
;const{systemId:t}=e;if(t&&t.toLowerCase()===UO)return Wb.QUIRKS
;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),qO.has(n))return Wb.QUIRKS
;let e=null===t?zO:FO;if(ZO(n,e))return Wb.QUIRKS
;if(e=null===t?HO:VO,ZO(n,e))return Wb.LIMITED_QUIRKS}return Wb.NO_QUIRKS}(t)
;(function(e){
return e.name===BO&&null===e.publicId&&(null===e.systemId||e.systemId===QO)
})(t)||e._err(t,_b.nonConformingDoctype)
;e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=ly.BEFORE_HTML
}(this,e);break;case ly.BEFORE_HEAD:case ly.IN_HEAD:case ly.IN_HEAD_NO_SCRIPT:
case ly.AFTER_HEAD:this._err(e,_b.misplacedDoctype);break;case ly.IN_TABLE_TEXT:
Wy(this,e)}}onStartTag(e){
this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),
e.selfClosing&&!e.ackSelfClosing&&this._err(e,_b.nonVoidHtmlElementStartTagWithTrailingSolidus)
}_processStartTag(e){
this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){
const t=e.tagID
;return t===Kb.FONT&&e.attrs.some((({name:e})=>e===Vb.COLOR||e===Vb.SIZE||e===Vb.FACE))||ey.has(t)
}(t))lw(e),e._startTagOutsideForeignContent(t);else{
const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n)
;r===qb.MATHML?ty(t):r===qb.SVG&&(!function(e){const t=JO.get(e.tagName)
;null!=t&&(e.tagName=t,e.tagID=aO(e.tagName))
}(t),ny(t)),ry(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),
t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}
_startTagOutsideForeignContent(e){switch(this.insertionMode){case ly.INITIAL:
xy(this,e);break;case ly.BEFORE_HTML:!function(e,t){
t.tagID===Kb.HTML?(e._insertElement(t,qb.HTML),
e.insertionMode=ly.BEFORE_HEAD):Sy(e,t)}(this,e);break;case ly.BEFORE_HEAD:
!function(e,t){switch(t.tagID){case Kb.HTML:jy(e,t);break;case Kb.HEAD:
e._insertElement(t,qb.HTML),
e.headElement=e.openElements.current,e.insertionMode=ly.IN_HEAD;break;default:
_y(e,t)}}(this,e);break;case ly.IN_HEAD:Ey(this,e);break
;case ly.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Kb.HTML:jy(e,t)
;break;case Kb.BASEFONT:case Kb.BGSOUND:case Kb.HEAD:case Kb.LINK:case Kb.META:
case Kb.NOFRAMES:case Kb.STYLE:Ey(e,t);break;case Kb.NOSCRIPT:
e._err(t,_b.nestedNoscriptInHead);break;default:Ay(e,t)}}(this,e);break
;case ly.AFTER_HEAD:!function(e,t){switch(t.tagID){case Kb.HTML:jy(e,t);break
;case Kb.BODY:
e._insertElement(t,qb.HTML),e.framesetOk=!1,e.insertionMode=ly.IN_BODY;break
;case Kb.FRAMESET:e._insertElement(t,qb.HTML),e.insertionMode=ly.IN_FRAMESET
;break;case Kb.BASE:case Kb.BASEFONT:case Kb.BGSOUND:case Kb.LINK:case Kb.META:
case Kb.NOFRAMES:case Kb.SCRIPT:case Kb.STYLE:case Kb.TEMPLATE:case Kb.TITLE:
e._err(t,_b.abandonedHeadElementChild),
e.openElements.push(e.headElement,Kb.HEAD),
Ey(e,t),e.openElements.remove(e.headElement);break;case Kb.HEAD:
e._err(t,_b.misplacedStartTagForHeadElement);break;default:Py(e,t)}}(this,e)
;break;case ly.IN_BODY:jy(this,e);break;case ly.IN_TABLE:zy(this,e);break
;case ly.IN_TABLE_TEXT:Wy(this,e);break;case ly.IN_CAPTION:!function(e,t){
const n=t.tagID
;Xy.has(n)?e.openElements.hasInTableScope(Kb.CAPTION)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(Kb.CAPTION),
e.activeFormattingElements.clearToLastMarker(),
e.insertionMode=ly.IN_TABLE,zy(e,t)):jy(e,t)}(this,e);break
;case ly.IN_COLUMN_GROUP:Gy(this,e);break;case ly.IN_TABLE_BODY:Ky(this,e);break
;case ly.IN_ROW:ew(this,e);break;case ly.IN_CELL:!function(e,t){const n=t.tagID
;Xy.has(n)?(e.openElements.hasInTableScope(Kb.TD)||e.openElements.hasInTableScope(Kb.TH))&&(e._closeTableCell(),
ew(e,t)):jy(e,t)}(this,e);break;case ly.IN_SELECT:nw(this,e);break
;case ly.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID
;n===Kb.CAPTION||n===Kb.TABLE||n===Kb.TBODY||n===Kb.TFOOT||n===Kb.THEAD||n===Kb.TR||n===Kb.TD||n===Kb.TH?(e.openElements.popUntilTagNamePopped(Kb.SELECT),
e._resetInsertionMode(),e._processStartTag(t)):nw(e,t)}(this,e);break
;case ly.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Kb.BASE:
case Kb.BASEFONT:case Kb.BGSOUND:case Kb.LINK:case Kb.META:case Kb.NOFRAMES:
case Kb.SCRIPT:case Kb.STYLE:case Kb.TEMPLATE:case Kb.TITLE:Ey(e,t);break
;case Kb.CAPTION:case Kb.COLGROUP:case Kb.TBODY:case Kb.TFOOT:case Kb.THEAD:
e.tmplInsertionModeStack[0]=ly.IN_TABLE,e.insertionMode=ly.IN_TABLE,zy(e,t)
;break;case Kb.COL:
e.tmplInsertionModeStack[0]=ly.IN_COLUMN_GROUP,e.insertionMode=ly.IN_COLUMN_GROUP,
Gy(e,t);break;case Kb.TR:
e.tmplInsertionModeStack[0]=ly.IN_TABLE_BODY,e.insertionMode=ly.IN_TABLE_BODY,
Ky(e,t);break;case Kb.TD:case Kb.TH:
e.tmplInsertionModeStack[0]=ly.IN_ROW,e.insertionMode=ly.IN_ROW,ew(e,t);break
;default:
e.tmplInsertionModeStack[0]=ly.IN_BODY,e.insertionMode=ly.IN_BODY,jy(e,t)}
}(this,e);break;case ly.AFTER_BODY:!function(e,t){
t.tagID===Kb.HTML?jy(e,t):aw(e,t)}(this,e);break;case ly.IN_FRAMESET:
!function(e,t){switch(t.tagID){case Kb.HTML:jy(e,t);break;case Kb.FRAMESET:
e._insertElement(t,qb.HTML);break;case Kb.FRAME:
e._appendElement(t,qb.HTML),t.ackSelfClosing=!0;break;case Kb.NOFRAMES:Ey(e,t)}
}(this,e);break;case ly.AFTER_FRAMESET:!function(e,t){switch(t.tagID){
case Kb.HTML:jy(e,t);break;case Kb.NOFRAMES:Ey(e,t)}}(this,e);break
;case ly.AFTER_AFTER_BODY:!function(e,t){t.tagID===Kb.HTML?jy(e,t):sw(e,t)
}(this,e);break;case ly.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){
case Kb.HTML:jy(e,t);break;case Kb.NOFRAMES:Ey(e,t)}}(this,e)}}onEndTag(e){
this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){
if(t.tagID===Kb.P||t.tagID===Kb.BR)return lw(e),
void e._endTagOutsideForeignContent(t)
;for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n]
;if(e.treeAdapter.getNamespaceURI(r)===qb.HTML){
e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r)
;if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n)
;break}}}(this,e):this._endTagOutsideForeignContent(e)}
_endTagOutsideForeignContent(e){switch(this.insertionMode){case ly.INITIAL:
xy(this,e);break;case ly.BEFORE_HTML:!function(e,t){const n=t.tagID
;n!==Kb.HTML&&n!==Kb.HEAD&&n!==Kb.BODY&&n!==Kb.BR||Sy(e,t)}(this,e);break
;case ly.BEFORE_HEAD:!function(e,t){const n=t.tagID
;n===Kb.HEAD||n===Kb.BODY||n===Kb.HTML||n===Kb.BR?_y(e,t):e._err(t,_b.endTagWithoutMatchingOpenElement)
}(this,e);break;case ly.IN_HEAD:!function(e,t){switch(t.tagID){case Kb.HEAD:
e.openElements.pop(),e.insertionMode=ly.AFTER_HEAD;break;case Kb.BODY:
case Kb.BR:case Kb.HTML:Cy(e,t);break;case Kb.TEMPLATE:Ty(e,t);break;default:
e._err(t,_b.endTagWithoutMatchingOpenElement)}}(this,e);break
;case ly.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Kb.NOSCRIPT:
e.openElements.pop(),e.insertionMode=ly.IN_HEAD;break;case Kb.BR:Ay(e,t);break
;default:e._err(t,_b.endTagWithoutMatchingOpenElement)}}(this,e);break
;case ly.AFTER_HEAD:!function(e,t){switch(t.tagID){case Kb.BODY:case Kb.HTML:
case Kb.BR:Py(e,t);break;case Kb.TEMPLATE:Ty(e,t);break;default:
e._err(t,_b.endTagWithoutMatchingOpenElement)}}(this,e);break;case ly.IN_BODY:
Qy(this,e);break;case ly.TEXT:!function(e,t){var n
;t.tagID===Kb.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current))
;e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break
;case ly.IN_TABLE:qy(this,e);break;case ly.IN_TABLE_TEXT:Wy(this,e);break
;case ly.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Kb.CAPTION:
case Kb.TABLE:
e.openElements.hasInTableScope(Kb.CAPTION)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(Kb.CAPTION),
e.activeFormattingElements.clearToLastMarker(),
e.insertionMode=ly.IN_TABLE,n===Kb.TABLE&&qy(e,t));break;case Kb.BODY:
case Kb.COL:case Kb.COLGROUP:case Kb.HTML:case Kb.TBODY:case Kb.TD:
case Kb.TFOOT:case Kb.TH:case Kb.THEAD:case Kb.TR:break;default:Qy(e,t)}
}(this,e);break;case ly.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){
case Kb.COLGROUP:
e.openElements.currentTagId===Kb.COLGROUP&&(e.openElements.pop(),
e.insertionMode=ly.IN_TABLE);break;case Kb.TEMPLATE:Ty(e,t);break;case Kb.COL:
break;default:Yy(e,t)}}(this,e);break;case ly.IN_TABLE_BODY:Jy(this,e);break
;case ly.IN_ROW:tw(this,e);break;case ly.IN_CELL:!function(e,t){const n=t.tagID
;switch(n){case Kb.TD:case Kb.TH:
e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n),
e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ly.IN_ROW);break
;case Kb.TABLE:case Kb.TBODY:case Kb.TFOOT:case Kb.THEAD:case Kb.TR:
e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break
;case Kb.BODY:case Kb.CAPTION:case Kb.COL:case Kb.COLGROUP:case Kb.HTML:break
;default:Qy(e,t)}}(this,e);break;case ly.IN_SELECT:rw(this,e);break
;case ly.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID
;n===Kb.CAPTION||n===Kb.TABLE||n===Kb.TBODY||n===Kb.TFOOT||n===Kb.THEAD||n===Kb.TR||n===Kb.TD||n===Kb.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Kb.SELECT),
e._resetInsertionMode(),e.onEndTag(t)):rw(e,t)}(this,e);break
;case ly.IN_TEMPLATE:!function(e,t){t.tagID===Kb.TEMPLATE&&Ty(e,t)}(this,e)
;break;case ly.AFTER_BODY:iw(this,e);break;case ly.IN_FRAMESET:!function(e,t){
t.tagID!==Kb.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),
e.fragmentContext||e.openElements.currentTagId===Kb.FRAMESET||(e.insertionMode=ly.AFTER_FRAMESET))
}(this,e);break;case ly.AFTER_FRAMESET:!function(e,t){
t.tagID===Kb.HTML&&(e.insertionMode=ly.AFTER_AFTER_FRAMESET)}(this,e);break
;case ly.AFTER_AFTER_BODY:sw(this,e)}}onEof(e){switch(this.insertionMode){
case ly.INITIAL:xy(this,e);break;case ly.BEFORE_HTML:Sy(this,e);break
;case ly.BEFORE_HEAD:_y(this,e);break;case ly.IN_HEAD:Cy(this,e);break
;case ly.IN_HEAD_NO_SCRIPT:Ay(this,e);break;case ly.AFTER_HEAD:Py(this,e);break
;case ly.IN_BODY:case ly.IN_TABLE:case ly.IN_CAPTION:case ly.IN_COLUMN_GROUP:
case ly.IN_TABLE_BODY:case ly.IN_ROW:case ly.IN_CELL:case ly.IN_SELECT:
case ly.IN_SELECT_IN_TABLE:Uy(this,e);break;case ly.TEXT:!function(e,t){
e._err(t,_b.eofInElementThatCanContainOnlyText),
e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e)
;break;case ly.IN_TABLE_TEXT:Wy(this,e);break;case ly.IN_TEMPLATE:ow(this,e)
;break;case ly.AFTER_BODY:case ly.IN_FRAMESET:case ly.AFTER_FRAMESET:
case ly.AFTER_AFTER_BODY:case ly.AFTER_AFTER_FRAMESET:ky(this,e)}}
onWhitespaceCharacter(e){
if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===fb.LINE_FEED)){
if(1===e.chars.length)return;e.chars=e.chars.substr(1)}
if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){
case ly.IN_HEAD:case ly.IN_HEAD_NO_SCRIPT:case ly.AFTER_HEAD:case ly.TEXT:
case ly.IN_COLUMN_GROUP:case ly.IN_SELECT:case ly.IN_SELECT_IN_TABLE:
case ly.IN_FRAMESET:case ly.AFTER_FRAMESET:this._insertCharacters(e);break
;case ly.IN_BODY:case ly.IN_CAPTION:case ly.IN_CELL:case ly.IN_TEMPLATE:
case ly.AFTER_BODY:case ly.AFTER_AFTER_BODY:case ly.AFTER_AFTER_FRAMESET:
$y(this,e);break;case ly.IN_TABLE:case ly.IN_TABLE_BODY:case ly.IN_ROW:
Fy(this,e);break;case ly.IN_TABLE_TEXT:Vy(this,e)}}};function fy(e,t){
let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName)
;return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),
n=null):By(e,t),n}function my(e,t){let n=null,r=e.openElements.stackTop
;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break
;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}
return n||(e.openElements.shortenToLength(r<0?0:r),
e.activeFormattingElements.removeEntry(t)),n}function gy(e,t,n){
let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){
o=e.openElements.getCommonAncestor(a)
;const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=sy
;!n||s?(s&&e.activeFormattingElements.removeEntry(n),
e.openElements.remove(a)):(a=vy(e,n),
r===t&&(e.activeFormattingElements.bookmark=n),
e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}
function vy(e,t){
const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs)
;return e.openElements.replace(t.element,r),t.element=r,r}function by(e,t,n){
const r=aO(e.treeAdapter.getTagName(t))
;if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{
const o=e.treeAdapter.getNamespaceURI(t)
;r===Kb.TEMPLATE&&o===qb.HTML&&(t=e.treeAdapter.getTemplateContent(t)),
e.treeAdapter.appendChild(t,n)}}function Oy(e,t,n){
const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,i=e.treeAdapter.createElement(o.tagName,r,o.attrs)
;e._adoptNodes(t,i),
e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,o),
e.activeFormattingElements.removeEntry(n),
e.openElements.remove(n.element),e.openElements.insertAfter(t,i,o.tagID)}
function yy(e,t){for(let n=0;n<ay;n++){const n=fy(e,t);if(!n)break
;const r=my(e,n);if(!r)break;e.activeFormattingElements.bookmark=n
;const o=gy(e,r,n.element),i=e.openElements.getCommonAncestor(n.element)
;e.treeAdapter.detachNode(o),i&&by(e,i,o),Oy(e,r,n)}}function wy(e,t){
e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}
function ky(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2
;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t)
;if(!e.fragmentContext&&e.openElements.stackTop>=0){
const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n)
;if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){
const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n)
;r&&!r.endTag&&e._setEndLocation(n,t)}}}}function xy(e,t){
e._err(t,_b.missingDoctype,!0),
e.treeAdapter.setDocumentMode(e.document,Wb.QUIRKS),
e.insertionMode=ly.BEFORE_HTML,e._processToken(t)}function Sy(e,t){
e._insertFakeRootElement(),e.insertionMode=ly.BEFORE_HEAD,e._processToken(t)}
function _y(e,t){
e._insertFakeElement(Gb.HEAD,Kb.HEAD),e.headElement=e.openElements.current,
e.insertionMode=ly.IN_HEAD,e._processToken(t)}function Ey(e,t){switch(t.tagID){
case Kb.HTML:jy(e,t);break;case Kb.BASE:case Kb.BASEFONT:case Kb.BGSOUND:
case Kb.LINK:case Kb.META:e._appendElement(t,qb.HTML),t.ackSelfClosing=!0;break
;case Kb.TITLE:e._switchToTextParsing(t,hO.RCDATA);break;case Kb.NOSCRIPT:
e.options.scriptingEnabled?e._switchToTextParsing(t,hO.RAWTEXT):(e._insertElement(t,qb.HTML),
e.insertionMode=ly.IN_HEAD_NO_SCRIPT);break;case Kb.NOFRAMES:case Kb.STYLE:
e._switchToTextParsing(t,hO.RAWTEXT);break;case Kb.SCRIPT:
e._switchToTextParsing(t,hO.SCRIPT_DATA);break;case Kb.TEMPLATE:
e._insertTemplate(t),
e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=ly.IN_TEMPLATE,
e.tmplInsertionModeStack.unshift(ly.IN_TEMPLATE);break;case Kb.HEAD:
e._err(t,_b.misplacedStartTagForHeadElement);break;default:Cy(e,t)}}
function Ty(e,t){
e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),
e.openElements.currentTagId!==Kb.TEMPLATE&&e._err(t,_b.closingOfElementWithOpenChildElements),
e.openElements.popUntilTagNamePopped(Kb.TEMPLATE),
e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),
e._resetInsertionMode()):e._err(t,_b.endTagWithoutMatchingOpenElement)}
function Cy(e,t){
e.openElements.pop(),e.insertionMode=ly.AFTER_HEAD,e._processToken(t)}
function Ay(e,t){
const n=t.type===Cb.EOF?_b.openElementsLeftAfterEof:_b.disallowedContentInNoscriptInHead
;e._err(t,n),e.openElements.pop(),e.insertionMode=ly.IN_HEAD,e._processToken(t)}
function Py(e,t){
e._insertFakeElement(Gb.BODY,Kb.BODY),e.insertionMode=ly.IN_BODY,Dy(e,t)}
function Dy(e,t){switch(t.type){case Cb.CHARACTER:Ry(e,t);break
;case Cb.WHITESPACE_CHARACTER:$y(e,t);break;case Cb.COMMENT:wy(e,t);break
;case Cb.START_TAG:jy(e,t);break;case Cb.END_TAG:Qy(e,t);break;case Cb.EOF:
Uy(e,t)}}function $y(e,t){
e._reconstructActiveFormattingElements(),e._insertCharacters(t)}
function Ry(e,t){
e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}
function Ny(e,t){
e._reconstructActiveFormattingElements(),e._appendElement(t,qb.HTML),
e.framesetOk=!1,t.ackSelfClosing=!0}function My(e){const t=Pb(e,Vb.TYPE)
;return null!=t&&t.toLowerCase()===iy}function Iy(e,t){
e._switchToTextParsing(t,hO.RAWTEXT)}function Ly(e,t){
e._reconstructActiveFormattingElements(),e._insertElement(t,qb.HTML)}
function jy(e,t){switch(t.tagID){case Kb.I:case Kb.S:case Kb.B:case Kb.U:
case Kb.EM:case Kb.TT:case Kb.BIG:case Kb.CODE:case Kb.FONT:case Kb.SMALL:
case Kb.STRIKE:case Kb.STRONG:!function(e,t){
e._reconstructActiveFormattingElements(),
e._insertElement(t,qb.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case Kb.A:!function(e,t){
const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Gb.A)
;n&&(yy(e,t),
e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),
e._reconstructActiveFormattingElements(),
e._insertElement(t,qb.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case Kb.H1:case Kb.H2:case Kb.H3:case Kb.H4:case Kb.H5:case Kb.H6:
!function(e,t){
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),cO(e.openElements.currentTagId)&&e.openElements.pop(),
e._insertElement(t,qb.HTML)}(e,t);break;case Kb.P:case Kb.DL:case Kb.OL:
case Kb.UL:case Kb.DIV:case Kb.DIR:case Kb.NAV:case Kb.MAIN:case Kb.MENU:
case Kb.ASIDE:case Kb.CENTER:case Kb.FIGURE:case Kb.FOOTER:case Kb.HEADER:
case Kb.HGROUP:case Kb.DIALOG:case Kb.DETAILS:case Kb.ADDRESS:case Kb.ARTICLE:
case Kb.SECTION:case Kb.SUMMARY:case Kb.FIELDSET:case Kb.BLOCKQUOTE:
case Kb.FIGCAPTION:!function(e,t){
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),
e._insertElement(t,qb.HTML)}(e,t);break;case Kb.LI:case Kb.DD:case Kb.DT:
!function(e,t){e.framesetOk=!1;const n=t.tagID
;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.tagIDs[r]
;if(n===Kb.LI&&t===Kb.LI||(n===Kb.DD||n===Kb.DT)&&(t===Kb.DD||t===Kb.DT)){
e.openElements.generateImpliedEndTagsWithExclusion(t),
e.openElements.popUntilTagNamePopped(t);break}
if(t!==Kb.ADDRESS&&t!==Kb.DIV&&t!==Kb.P&&e._isSpecialElement(e.openElements.items[r],t))break
}
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),e._insertElement(t,qb.HTML)
}(e,t);break;case Kb.BR:case Kb.IMG:case Kb.WBR:case Kb.AREA:case Kb.EMBED:
case Kb.KEYGEN:Ny(e,t);break;case Kb.HR:!function(e,t){
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),
e._appendElement(t,qb.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break
;case Kb.RB:case Kb.RTC:!function(e,t){
e.openElements.hasInScope(Kb.RUBY)&&e.openElements.generateImpliedEndTags(),
e._insertElement(t,qb.HTML)}(e,t);break;case Kb.RT:case Kb.RP:!function(e,t){
e.openElements.hasInScope(Kb.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Kb.RTC),
e._insertElement(t,qb.HTML)}(e,t);break;case Kb.PRE:case Kb.LISTING:
!function(e,t){
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),e._insertElement(t,qb.HTML),
e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Kb.XMP:!function(e,t){
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),
e._reconstructActiveFormattingElements(),
e.framesetOk=!1,e._switchToTextParsing(t,hO.RAWTEXT)}(e,t);break;case Kb.SVG:
!function(e,t){
e._reconstructActiveFormattingElements(),ny(t),ry(t),t.selfClosing?e._appendElement(t,qb.SVG):e._insertElement(t,qb.SVG),
t.ackSelfClosing=!0}(e,t);break;case Kb.HTML:!function(e,t){
0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)
}(e,t);break;case Kb.BASE:case Kb.LINK:case Kb.META:case Kb.STYLE:case Kb.TITLE:
case Kb.SCRIPT:case Kb.BGSOUND:case Kb.BASEFONT:case Kb.TEMPLATE:Ey(e,t);break
;case Kb.BODY:!function(e,t){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,
e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Kb.FORM:
!function(e,t){const n=e.openElements.tmplCount>0
;e.formElement&&!n||(e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),
e._insertElement(t,qb.HTML),n||(e.formElement=e.openElements.current))}(e,t)
;break;case Kb.NOBR:!function(e,t){
e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Kb.NOBR)&&(yy(e,t),
e._reconstructActiveFormattingElements()),
e._insertElement(t,qb.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case Kb.MATH:!function(e,t){
e._reconstructActiveFormattingElements(),
ty(t),ry(t),t.selfClosing?e._appendElement(t,qb.MATHML):e._insertElement(t,qb.MATHML),
t.ackSelfClosing=!0}(e,t);break;case Kb.TABLE:!function(e,t){
e.treeAdapter.getDocumentMode(e.document)!==Wb.QUIRKS&&e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),
e._insertElement(t,qb.HTML),e.framesetOk=!1,e.insertionMode=ly.IN_TABLE}(e,t)
;break;case Kb.INPUT:!function(e,t){
e._reconstructActiveFormattingElements(),e._appendElement(t,qb.HTML),
My(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Kb.PARAM:
case Kb.TRACK:case Kb.SOURCE:!function(e,t){
e._appendElement(t,qb.HTML),t.ackSelfClosing=!0}(e,t);break;case Kb.IMAGE:
!function(e,t){t.tagName=Gb.IMG,t.tagID=Kb.IMG,Ny(e,t)}(e,t);break
;case Kb.BUTTON:!function(e,t){
e.openElements.hasInScope(Kb.BUTTON)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(Kb.BUTTON)),
e._reconstructActiveFormattingElements(),
e._insertElement(t,qb.HTML),e.framesetOk=!1}(e,t);break;case Kb.APPLET:
case Kb.OBJECT:case Kb.MARQUEE:!function(e,t){
e._reconstructActiveFormattingElements(),
e._insertElement(t,qb.HTML),e.activeFormattingElements.insertMarker(),
e.framesetOk=!1}(e,t);break;case Kb.IFRAME:!function(e,t){
e.framesetOk=!1,e._switchToTextParsing(t,hO.RAWTEXT)}(e,t);break;case Kb.SELECT:
!function(e,t){
e._reconstructActiveFormattingElements(),e._insertElement(t,qb.HTML),
e.framesetOk=!1,
e.insertionMode=e.insertionMode===ly.IN_TABLE||e.insertionMode===ly.IN_CAPTION||e.insertionMode===ly.IN_TABLE_BODY||e.insertionMode===ly.IN_ROW||e.insertionMode===ly.IN_CELL?ly.IN_SELECT_IN_TABLE:ly.IN_SELECT
}(e,t);break;case Kb.OPTION:case Kb.OPTGROUP:!function(e,t){
e.openElements.currentTagId===Kb.OPTION&&e.openElements.pop(),
e._reconstructActiveFormattingElements(),e._insertElement(t,qb.HTML)}(e,t);break
;case Kb.NOEMBED:Iy(e,t);break;case Kb.FRAMESET:!function(e,t){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;e.framesetOk&&n&&(e.treeAdapter.detachNode(n),
e.openElements.popAllUpToHtmlElement(),
e._insertElement(t,qb.HTML),e.insertionMode=ly.IN_FRAMESET)}(e,t);break
;case Kb.TEXTAREA:!function(e,t){
e._insertElement(t,qb.HTML),e.skipNextNewLine=!0,
e.tokenizer.state=hO.RCDATA,e.originalInsertionMode=e.insertionMode,
e.framesetOk=!1,e.insertionMode=ly.TEXT}(e,t);break;case Kb.NOSCRIPT:
e.options.scriptingEnabled?Iy(e,t):Ly(e,t);break;case Kb.PLAINTEXT:
!function(e,t){
e.openElements.hasInButtonScope(Kb.P)&&e._closePElement(),e._insertElement(t,qb.HTML),
e.tokenizer.state=hO.PLAINTEXT}(e,t);break;case Kb.COL:case Kb.TH:case Kb.TD:
case Kb.TR:case Kb.HEAD:case Kb.FRAME:case Kb.TBODY:case Kb.TFOOT:case Kb.THEAD:
case Kb.CAPTION:case Kb.COLGROUP:break;default:Ly(e,t)}}function By(e,t){
const n=t.tagName,r=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){
const t=e.openElements.items[o],i=e.openElements.tagIDs[o]
;if(r===i&&(r!==Kb.UNKNOWN||e.treeAdapter.getTagName(t)===n)){
e.openElements.generateImpliedEndTagsWithExclusion(r),
e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}
if(e._isSpecialElement(t,i))break}}function Qy(e,t){switch(t.tagID){case Kb.A:
case Kb.B:case Kb.I:case Kb.S:case Kb.U:case Kb.EM:case Kb.TT:case Kb.BIG:
case Kb.CODE:case Kb.FONT:case Kb.NOBR:case Kb.SMALL:case Kb.STRIKE:
case Kb.STRONG:yy(e,t);break;case Kb.P:!function(e){
e.openElements.hasInButtonScope(Kb.P)||e._insertFakeElement(Gb.P,Kb.P),
e._closePElement()}(e);break;case Kb.DL:case Kb.UL:case Kb.OL:case Kb.DIR:
case Kb.DIV:case Kb.NAV:case Kb.PRE:case Kb.MAIN:case Kb.MENU:case Kb.ASIDE:
case Kb.BUTTON:case Kb.CENTER:case Kb.FIGURE:case Kb.FOOTER:case Kb.HEADER:
case Kb.HGROUP:case Kb.DIALOG:case Kb.ADDRESS:case Kb.ARTICLE:case Kb.DETAILS:
case Kb.SECTION:case Kb.SUMMARY:case Kb.LISTING:case Kb.FIELDSET:
case Kb.BLOCKQUOTE:case Kb.FIGCAPTION:!function(e,t){const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Kb.LI:!function(e){
e.openElements.hasInListItemScope(Kb.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Kb.LI),
e.openElements.popUntilTagNamePopped(Kb.LI))}(e);break;case Kb.DD:case Kb.DT:
!function(e,t){const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),
e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Kb.H1:case Kb.H2:
case Kb.H3:case Kb.H4:case Kb.H5:case Kb.H6:!function(e){
e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Kb.BR:
!function(e){
e._reconstructActiveFormattingElements(),e._insertFakeElement(Gb.BR,Kb.BR),
e.openElements.pop(),e.framesetOk=!1}(e);break;case Kb.BODY:!function(e,t){
if(e.openElements.hasInScope(Kb.BODY)&&(e.insertionMode=ly.AFTER_BODY,
e.options.sourceCodeLocationInfo)){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;n&&e._setEndLocation(n,t)}}(e,t);break;case Kb.HTML:!function(e,t){
e.openElements.hasInScope(Kb.BODY)&&(e.insertionMode=ly.AFTER_BODY,iw(e,t))
}(e,t);break;case Kb.FORM:!function(e){
const t=e.openElements.tmplCount>0,{formElement:n}=e
;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Kb.FORM)&&(e.openElements.generateImpliedEndTags(),
t?e.openElements.popUntilTagNamePopped(Kb.FORM):n&&e.openElements.remove(n))}(e)
;break;case Kb.APPLET:case Kb.OBJECT:case Kb.MARQUEE:!function(e,t){
const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n),
e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Kb.TEMPLATE:
Ty(e,t);break;default:By(e,t)}}function Uy(e,t){
e.tmplInsertionModeStack.length>0?ow(e,t):ky(e,t)}function Fy(e,t){
if(dy.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,
e.hasNonWhitespacePendingCharacterToken=!1,
e.originalInsertionMode=e.insertionMode,
e.insertionMode=ly.IN_TABLE_TEXT,t.type){case Cb.CHARACTER:Zy(e,t);break
;case Cb.WHITESPACE_CHARACTER:Vy(e,t)}else Hy(e,t)}function zy(e,t){
switch(t.tagID){case Kb.TD:case Kb.TH:case Kb.TR:!function(e,t){
e.openElements.clearBackToTableContext(),
e._insertFakeElement(Gb.TBODY,Kb.TBODY),e.insertionMode=ly.IN_TABLE_BODY,Ky(e,t)
}(e,t);break;case Kb.STYLE:case Kb.SCRIPT:case Kb.TEMPLATE:Ey(e,t);break
;case Kb.COL:!function(e,t){
e.openElements.clearBackToTableContext(),e._insertFakeElement(Gb.COLGROUP,Kb.COLGROUP),
e.insertionMode=ly.IN_COLUMN_GROUP,Gy(e,t)}(e,t);break;case Kb.FORM:
!function(e,t){
e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,qb.HTML),
e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break
;case Kb.TABLE:!function(e,t){
e.openElements.hasInTableScope(Kb.TABLE)&&(e.openElements.popUntilTagNamePopped(Kb.TABLE),
e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Kb.TBODY:
case Kb.TFOOT:case Kb.THEAD:!function(e,t){
e.openElements.clearBackToTableContext(),
e._insertElement(t,qb.HTML),e.insertionMode=ly.IN_TABLE_BODY}(e,t);break
;case Kb.INPUT:!function(e,t){
My(t)?e._appendElement(t,qb.HTML):Hy(e,t),t.ackSelfClosing=!0}(e,t);break
;case Kb.CAPTION:!function(e,t){
e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),
e._insertElement(t,qb.HTML),e.insertionMode=ly.IN_CAPTION}(e,t);break
;case Kb.COLGROUP:!function(e,t){
e.openElements.clearBackToTableContext(),e._insertElement(t,qb.HTML),
e.insertionMode=ly.IN_COLUMN_GROUP}(e,t);break;default:Hy(e,t)}}
function qy(e,t){switch(t.tagID){case Kb.TABLE:
e.openElements.hasInTableScope(Kb.TABLE)&&(e.openElements.popUntilTagNamePopped(Kb.TABLE),
e._resetInsertionMode());break;case Kb.TEMPLATE:Ty(e,t);break;case Kb.BODY:
case Kb.CAPTION:case Kb.COL:case Kb.COLGROUP:case Kb.HTML:case Kb.TBODY:
case Kb.TD:case Kb.TFOOT:case Kb.TH:case Kb.THEAD:case Kb.TR:break;default:
Hy(e,t)}}function Hy(e,t){const n=e.fosterParentingEnabled
;e.fosterParentingEnabled=!0,Dy(e,t),e.fosterParentingEnabled=n}
function Vy(e,t){e.pendingCharacterTokens.push(t)}function Zy(e,t){
e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}
function Wy(e,t){let n=0
;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Hy(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n])
;e.insertionMode=e.originalInsertionMode,e._processToken(t)}
const Xy=new Set([Kb.CAPTION,Kb.COL,Kb.COLGROUP,Kb.TBODY,Kb.TD,Kb.TFOOT,Kb.TH,Kb.THEAD,Kb.TR])
;function Gy(e,t){switch(t.tagID){case Kb.HTML:jy(e,t);break;case Kb.COL:
e._appendElement(t,qb.HTML),t.ackSelfClosing=!0;break;case Kb.TEMPLATE:Ey(e,t)
;break;default:Yy(e,t)}}function Yy(e,t){
e.openElements.currentTagId===Kb.COLGROUP&&(e.openElements.pop(),
e.insertionMode=ly.IN_TABLE,e._processToken(t))}function Ky(e,t){
switch(t.tagID){case Kb.TR:
e.openElements.clearBackToTableBodyContext(),e._insertElement(t,qb.HTML),
e.insertionMode=ly.IN_ROW;break;case Kb.TH:case Kb.TD:
e.openElements.clearBackToTableBodyContext(),
e._insertFakeElement(Gb.TR,Kb.TR),e.insertionMode=ly.IN_ROW,ew(e,t);break
;case Kb.CAPTION:case Kb.COL:case Kb.COLGROUP:case Kb.TBODY:case Kb.TFOOT:
case Kb.THEAD:
e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE,zy(e,t));break;default:zy(e,t)}
}function Jy(e,t){const n=t.tagID;switch(t.tagID){case Kb.TBODY:case Kb.TFOOT:
case Kb.THEAD:
e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE);break;case Kb.TABLE:
e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE,qy(e,t));break;case Kb.BODY:
case Kb.CAPTION:case Kb.COL:case Kb.COLGROUP:case Kb.HTML:case Kb.TD:case Kb.TH:
case Kb.TR:break;default:qy(e,t)}}function ew(e,t){switch(t.tagID){case Kb.TH:
case Kb.TD:
e.openElements.clearBackToTableRowContext(),e._insertElement(t,qb.HTML),
e.insertionMode=ly.IN_CELL,e.activeFormattingElements.insertMarker();break
;case Kb.CAPTION:case Kb.COL:case Kb.COLGROUP:case Kb.TBODY:case Kb.TFOOT:
case Kb.THEAD:case Kb.TR:
e.openElements.hasInTableScope(Kb.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE_BODY,Ky(e,t));break;default:
zy(e,t)}}function tw(e,t){switch(t.tagID){case Kb.TR:
e.openElements.hasInTableScope(Kb.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE_BODY);break;case Kb.TABLE:
e.openElements.hasInTableScope(Kb.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE_BODY,Jy(e,t));break
;case Kb.TBODY:case Kb.TFOOT:case Kb.THEAD:
(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Kb.TR))&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=ly.IN_TABLE_BODY,Jy(e,t));break
;case Kb.BODY:case Kb.CAPTION:case Kb.COL:case Kb.COLGROUP:case Kb.HTML:
case Kb.TD:case Kb.TH:break;default:qy(e,t)}}function nw(e,t){switch(t.tagID){
case Kb.HTML:jy(e,t);break;case Kb.OPTION:
e.openElements.currentTagId===Kb.OPTION&&e.openElements.pop(),
e._insertElement(t,qb.HTML);break;case Kb.OPTGROUP:
e.openElements.currentTagId===Kb.OPTION&&e.openElements.pop(),
e.openElements.currentTagId===Kb.OPTGROUP&&e.openElements.pop(),
e._insertElement(t,qb.HTML);break;case Kb.INPUT:case Kb.KEYGEN:case Kb.TEXTAREA:
case Kb.SELECT:
e.openElements.hasInSelectScope(Kb.SELECT)&&(e.openElements.popUntilTagNamePopped(Kb.SELECT),
e._resetInsertionMode(),t.tagID!==Kb.SELECT&&e._processStartTag(t));break
;case Kb.SCRIPT:case Kb.TEMPLATE:Ey(e,t)}}function rw(e,t){switch(t.tagID){
case Kb.OPTGROUP:
e.openElements.stackTop>0&&e.openElements.currentTagId===Kb.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Kb.OPTGROUP&&e.openElements.pop(),
e.openElements.currentTagId===Kb.OPTGROUP&&e.openElements.pop();break
;case Kb.OPTION:e.openElements.currentTagId===Kb.OPTION&&e.openElements.pop()
;break;case Kb.SELECT:
e.openElements.hasInSelectScope(Kb.SELECT)&&(e.openElements.popUntilTagNamePopped(Kb.SELECT),
e._resetInsertionMode());break;case Kb.TEMPLATE:Ty(e,t)}}function ow(e,t){
e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Kb.TEMPLATE),
e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),
e._resetInsertionMode(),e.onEof(t)):ky(e,t)}function iw(e,t){var n
;if(t.tagID===Kb.HTML){
if(e.fragmentContext||(e.insertionMode=ly.AFTER_AFTER_BODY),
e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Kb.HTML){
e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1]
;r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)
}}else aw(e,t)}function aw(e,t){e.insertionMode=ly.IN_BODY,Dy(e,t)}
function sw(e,t){e.insertionMode=ly.IN_BODY,Dy(e,t)}function lw(e){
for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==qb.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()
}function cw(e,t){return hy.parse(e,t)}function uw(e,t,n){
"string"==typeof e&&(n=t,t=e,e=null);const r=hy.getFragmentParser(e,n)
;return r.tokenizer.write(t,!0),r.getFragment()}
Gb.AREA,Gb.BASE,Gb.BASEFONT,Gb.BGSOUND,
Gb.BR,Gb.COL,Gb.EMBED,Gb.FRAME,Gb.HR,Gb.IMG,
Gb.INPUT,Gb.KEYGEN,Gb.LINK,Gb.META,Gb.PARAM,Gb.SOURCE,Gb.TRACK,Gb.WBR
;const dw=hw("end"),pw=hw("start");function hw(e){return function(t){
const n=t&&t.position&&t.position[e]||{}
;if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{
line:n.line,column:n.column,
offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function fw(e){
const t=pw(e),n=dw(e);if(t&&n)return{start:t,end:n}}
const mw=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),gw={
sourceCodeLocationInfo:!0,scriptingEnabled:!1};function vw(e,t){
const n=function(e){const t="root"===e.type?e.children[0]:e
;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))
}(e),r=ob("type",{handlers:{root:Ow,element:yw,text:ww,comment:Sw,doctype:kw,
raw:_w},unknown:Ew}),o={parser:n?new hy(gw):hy.getFragmentParser(void 0,gw),
handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),Tw(o,pw())
;const i=Yv(n?o.parser.document:o.parser.getFragment(),{file:o.options.file})
;return o.stitches&&wg(i,"comment",(function(e,t,n){const r=e
;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}
})),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i
}function bw(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}
function Ow(e,t){bw(e.children,t)}function yw(e,t){!function(e,t){
const n=e.tagName.toLowerCase()
;if(t.parser.tokenizer.state===hO.PLAINTEXT)return;Tw(t,pw(e))
;const r=t.parser.openElements.current
;let o="namespaceURI"in r?r.namespaceURI:Wv.html
;o===Wv.html&&"svg"===n&&(o=Wv.svg);const i=function(e,t){const n=(t||ib).space
;return sb(e,"svg"===n?Mv:Nv)}({...e,children:[]},{space:o===Wv.svg?"svg":"html"
}),a={type:Cb.START_TAG,tagName:n,tagID:aO(n),selfClosing:!1,ackSelfClosing:!1,
attrs:"attrs"in i?i.attrs:[],location:Aw(e)}
;t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),
t.parser.tokenizer.lastStartTagName=n}(e,t),bw(e.children,t),function(e,t){
const n=e.tagName.toLowerCase()
;if(!t.parser.tokenizer.inForeignNode&&db.includes(n))return
;if(t.parser.tokenizer.state===hO.PLAINTEXT)return;Tw(t,dw(e));const r={
type:Cb.END_TAG,tagName:n,tagID:aO(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],
location:Aw(e)}
;t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),
n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==hO.RCDATA&&t.parser.tokenizer.state!==hO.RAWTEXT&&t.parser.tokenizer.state!==hO.SCRIPT_DATA||(t.parser.tokenizer.state=hO.DATA)
}(e,t)}function ww(e,t){const n={type:Cb.CHARACTER,chars:e.value,location:Aw(e)}
;Tw(t,pw(e)),
t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}
function kw(e,t){const n={type:Cb.DOCTYPE,name:"html",forceQuirks:!1,
publicId:"",systemId:"",location:Aw(e)}
;Tw(t,pw(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)
}function xw(e,t){t.stitches=!0;const n=function(e){return rg("children"in e?{
...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=vw({
type:"root",children:e.children},t.options);n.children=r.children}Sw({
type:"comment",value:{stitch:n}},t)}function Sw(e,t){const n=e.value,r={
type:Cb.COMMENT,data:n,location:Aw(e)}
;Tw(t,pw(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)
}function _w(e,t){
if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,
t.parser.tokenizer.preprocessor.lastGapPos=-2,
t.parser.tokenizer.preprocessor.gapStack=[],
t.parser.tokenizer.preprocessor.skipNextNewLine=!1,
t.parser.tokenizer.preprocessor.lastChunkWritten=!1,
t.parser.tokenizer.preprocessor.endOfChunkHit=!1,
t.parser.tokenizer.preprocessor.isEol=!1,
Cw(t,pw(e)),t.parser.tokenizer.write(e.value,!1),
t.parser.tokenizer._runParsingLoop(),
72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){
t.parser.tokenizer.preprocessor.lastChunkWritten=!0
;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}
function Ew(e,t){const n=e
;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e=""
;throw mw.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),
new Error("Cannot compile `"+n.type+"` node"+e)}xw(n,t)}function Tw(e,t){Cw(e,t)
;const n=e.parser.tokenizer.currentCharacterToken
;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,
n.location.endCol=e.parser.tokenizer.preprocessor.col+1,
n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,
e.parser.currentToken=n,
e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,
e.parser.tokenizer.inLoop=!1,
e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=hO.DATA,
e.parser.tokenizer.charRefCode=-1,
e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,
e.parser.tokenizer.currentCharacterToken=null,
e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",
value:""}}function Cw(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,
startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1}
;e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,
e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,
e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n
}}function Aw(e){const t=pw(e)||{line:void 0,column:void 0,offset:void 0
},n=dw(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,
startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,
endOffset:n.offset}}function Pw(e){return function(t,n){return vw(t,{...e,file:n
})}}const Dw=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],$w={ancestors:{
tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],
tr:["table"]},attributes:{
a:[...Dw,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],
blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],
div:["itemScope","itemType"],dl:[...Dw],h2:[["className","sr-only"]],
img:[...Dw,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],
ins:["cite"],li:[["className","task-list-item"]],
ol:[...Dw,["className","contains-task-list"]],q:["cite"],
section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],
summary:[...Dw],table:[...Dw],ul:[...Dw,["className","contains-task-list"]],
"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]
},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],
clobberPrefix:"user-content-",protocols:{cite:["http","https"],
href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],
src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},
strip:["script"],
tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]
},Rw={}.hasOwnProperty;function Nw(e,t){if(t&&"object"==typeof t){const n=t
;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){
if(e.schema.allowComments){
const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={
type:"comment",value:n<0?e:e.slice(0,n)};return jw(r,t),r}}(e,n);case"doctype":
return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"}
;return jw(e,t),e}}(e,n);case"element":return function(e,t){
const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n)
;const r=Mw(e,t.children),o=function(e,t){
const n=e.stack[e.stack.length-1],r=e.schema.attributes,o=e.schema.required,i=r&&Rw.call(r,n)?r[n]:void 0,a=r&&Rw.call(r,"*")?r["*"]:void 0,s=t&&"object"==typeof t?t:{},l={}
;let c;for(c in s)if(Rw.call(s,c)){const t=s[c];let n=Iw(e,Bw(i,c),c,t)
;null==n&&(n=Iw(e,Bw(a,c),c,t)),null!=n&&(l[c]=n)}if(o&&Rw.call(o,n)){
const e=o[n];for(c in e)Rw.call(e,c)&&!Rw.call(l,c)&&(l[c]=e[c])}return l
}(e,t.properties);e.stack.pop();let i=!1
;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,
e.schema.ancestors&&Rw.call(e.schema.ancestors,n))){
const t=e.schema.ancestors[n];let r=-1
;for(i=!1;++r<t.length;)e.stack.includes(t[r])&&(i=!0)}
if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const a={
type:"element",tagName:n,properties:o,children:r};return jw(a,t),a}(e,n)
;case"root":return function(e,t){const n=Mw(e,t.children),r={type:"root",
children:n};return jw(r,t),r}(e,n);case"text":return function(e,t){
const n="string"==typeof t.value?t.value:"",r={type:"text",value:n}
;return jw(r,t),r}(0,n)}}}function Mw(e,t){const n=[];if(Array.isArray(t)){
const r=t;let o=-1;for(;++o<r.length;){const t=Nw(e,r[o])
;t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Iw(e,t,n,r){
return t?Array.isArray(r)?function(e,t,n,r){let o=-1;const i=[]
;for(;++o<r.length;){const a=Lw(e,t,n,r[o])
;"number"!=typeof a&&"string"!=typeof a||i.push(a)}return i
}(e,t,n,r):Lw(e,t,n,r):void 0}function Lw(e,t,n,r){
if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){
const r=e.schema.protocols&&Rw.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0
;if(!r||0===r.length)return!0
;const o=String(n),i=o.indexOf(":"),a=o.indexOf("?"),s=o.indexOf("#"),l=o.indexOf("/")
;if(i<0||l>-1&&i>l||a>-1&&i>a||s>-1&&i>s)return!0;let c=-1;for(;++c<r.length;){
const e=r[c];if(i===e.length&&o.slice(0,e.length)===e)return!0}return!1
}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){
const o=t[n];if(o&&"object"==typeof o&&"flags"in o){if(o.test(String(r))){e=!0
;break}}else if(o===r){e=!0;break}}if(!e)return}
return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r
}}function jw(e,t){const n=fw(t);t.data&&(e.data=rg(t.data)),n&&(e.position=n)}
function Bw(e,t){let n,r=-1;if(e)for(;++r<e.length;){
const o=e[r],i="string"==typeof o?o:o[0];if(i===t)return o;"data*"===i&&(n=o)}
if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function Qw(e){
return function(t){const n=function(e,t){let n={type:"root",children:[]}
;const r=Nw({schema:t?{...$w,...t}:$w,stack:[]},e)
;return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e)
;return n}}
const Uw=/["&'<>`]/g,Fw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zw=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,qw=/[|\\{}()[\]^$+*?.]/g,Hw=new WeakMap
;function Vw(e,t){return e=e.replace(t.subset?function(e){let t=Hw.get(e)
;t||(t=function(e){const t=[];let n=-1
;for(;++n<e.length;)t.push(e[n].replace(qw,"\\$&"))
;return new RegExp("(?:"+t.join("|")+")","g")}(e),Hw.set(e,t));return t
}(t.subset):Uw,n),t.subset||t.escapeOnly?e:e.replace(Fw,(function(e,n,r){
return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)
})).replace(zw,n);function n(e,n,r){
return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const Zw=/[\dA-Fa-f]/
;const Ww=/\d/
;const Xw=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Gw={
nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",
uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",
plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",
sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",
Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",
Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",
Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",
Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",
Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",
atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",
ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",
ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",
ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",
Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",
Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",
Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",
beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",
kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",
sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",
upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",
weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",
darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",
forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",
prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",
and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",
ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",
oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",
rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",
quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",
Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",
lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",
rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",
euro:"€"
},Yw=["cent","copy","divide","gt","lt","not","para","times"],Kw={}.hasOwnProperty,Jw={}
;let ek;for(ek in Gw)Kw.call(Gw,ek)&&(Jw[Gw[ek]]=ek);const tk=/[^\dA-Za-z]/
;function nk(e,t,n){let r,o=function(e,t,n){
const r="&#x"+e.toString(16).toUpperCase()
;return n&&t&&!Zw.test(String.fromCharCode(t))?r:r+";"
}(e,t,n.omitOptionalSemicolons)
;if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){
const o=String.fromCharCode(e);if(Kw.call(Jw,o)){const e=Jw[o],i="&"+e
;return n&&Xw.includes(e)&&!Yw.includes(e)&&(!r||t&&61!==t&&tk.test(String.fromCharCode(t)))?i:i+";"
}return""
}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){
const r=function(e,t,n){const r="&#"+String(e)
;return n&&t&&!Ww.test(String.fromCharCode(t))?r:r+";"
}(e,t,n.omitOptionalSemicolons);r.length<o.length&&(o=r)}
return r&&(!n.useShortestReferences||r.length<o.length)?r:o}function rk(e,t){
return Vw(e,Object.assign({format:nk},t))}
const ok=/^>|^->|<!--|-->|--!>|<!-$/g,ik=[">"],ak=["<",">"];function sk(e,t){
const n=String(e)
;if("string"!=typeof t)throw new TypeError("Expected character")
;let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}
const lk=dk(1),ck=dk(-1),uk=[];function dk(e){return function(t,n,r){
const o=t?t.children:uk;let i=(n||0)+e,a=o[i];if(!r)for(;a&&Ng(a);)i+=e,a=o[i]
;return a}}const pk={}.hasOwnProperty;function hk(e){return function(t,n,r){
return pk.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const fk=hk({
body:function(e,t,n){const r=lk(n,t);return!r||"comment"!==r.type},caption:mk,
colgroup:mk,dd:function(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},
dt:function(e,t,n){const r=lk(n,t)
;return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},
head:mk,html:function(e,t,n){const r=lk(n,t);return!r||"comment"!==r.type},
li:function(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){
const r=lk(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},
option:function(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},
p:function(e,t,n){const r=lk(n,t)
;return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))
},rp:gk,rt:gk,tbody:function(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},
td:vk,tfoot:function(e,t,n){return!lk(n,t)},th:vk,thead:function(e,t,n){
const r=lk(n,t)
;return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))
},tr:function(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&"tr"===r.tagName}});function mk(e,t,n){
const r=lk(n,t,!0)
;return!r||"comment"!==r.type&&!("text"===r.type&&Ng(r.value.charAt(0)))}
function gk(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}
function vk(e,t,n){const r=lk(n,t)
;return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}
const bk=hk({body:function(e){const t=lk(e,-1,!0)
;return!(t&&("comment"===t.type||"text"===t.type&&Ng(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))
},colgroup:function(e,t,n){const r=ck(n,t),o=lk(e,-1,!0)
;if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&fk(r,n.children.indexOf(r),n))return!1
;return Boolean(o&&"element"===o.type&&"col"===o.tagName)},head:function(e){
const t=e.children,n=[];let r=-1;for(;++r<t.length;){const e=t[r]
;if("element"===e.type&&("title"===e.tagName||"base"===e.tagName)){
if(n.includes(e.tagName))return!1;n.push(e.tagName)}}return t.length>0},
html:function(e){const t=lk(e,-1);return!t||"comment"!==t.type},
tbody:function(e,t,n){const r=ck(n,t),o=lk(e,-1)
;if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&fk(r,n.children.indexOf(r),n))return!1
;return Boolean(o&&"element"===o.type&&"tr"===o.tagName)}});const Ok={
name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],
unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],
single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],
double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]
};function yk(e,t,n){
const r=Dv(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1
;let a,s=e.quote
;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,
null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return""
;const l=rk(r.attribute,Object.assign({},e.settings.characterReferences,{
subset:Ok.name[o][i]}))
;return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?Lv:pg)(n,{
padLeft:!e.settings.tightCommaSeparatedLists
}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(a=rk(n,Object.assign({},e.settings.characterReferences,{
attribute:!0,subset:Ok.unquoted[o][i]
}))),a!==n&&(e.settings.quoteSmart&&sk(n,s)>sk(n,e.alternative)&&(s=e.alternative),
a=s+rk(n,Object.assign({},e.settings.characterReferences,{
subset:("'"===s?Ok.single:Ok.double)[o][i],attribute:!0}))+s),l+(a?"="+a:a)))}
const wk=["<","&"];function kk(e,t,n,r){
return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?rk(e.value,Object.assign({},r.settings.characterReferences,{
subset:wk})):e.value}const xk=ob("type",{invalid:function(e){
throw new Error("Expected node, not `"+e+"`")},unknown:function(e){
throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{
comment:function(e,t,n,r){
return r.settings.bogusComments?"<?"+rk(e.value,Object.assign({},r.settings.characterReferences,{
subset:ik}))+">":"\x3c!--"+e.value.replace(ok,(function(e){
return rk(e,Object.assign({},r.settings.characterReferences,{subset:ak}))
}))+"--\x3e"},doctype:function(e,t,n,r){
return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"
},element:function(e,t,n,r){
const o=r.schema,i="svg"!==o.space&&r.settings.omitOptionalTags
;let a="svg"===o.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase())
;const s=[];let l;"html"===o.space&&"svg"===e.tagName&&(r.schema=Mv)
;const c=function(e,t){const n=[];let r,o=-1
;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const o=yk(e,r,t[r])
;o&&n.push(o)}for(;++o<n.length;){
const t=e.settings.tightAttributes?n[o].charAt(n[o].length-1):void 0
;o!==n.length-1&&'"'!==t&&"'"!==t&&(n[o]+=" ")}return n.join("")
}(r,e.properties),u=r.all("html"===o.space&&"template"===e.tagName?e.content:e)
;return r.schema=o,
u&&(a=!1),!c&&i&&bk(e,t,n)||(s.push("<",e.tagName,c?" "+c:""),
a&&("svg"===o.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),
(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),
s.push("/")),s.push(">")),s.push(u),a||i&&fk(e,t,n)||s.push("</"+e.tagName+">"),
s.join("")},raw:function(e,t,n,r){
return r.settings.allowDangerousHtml?e.value:kk(e,0,n,r)},
root:function(e,t,n,r){return r.all(e)},text:kk}});const Sk={},_k={},Ek=[]
;function Tk(e,t,n){return xk(e,t,n,this)}function Ck(e){
const t=[],n=e&&e.children||Ek;let r=-1
;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Ak(e){
const t={...this.data("settings"),...e};this.compiler=function(e){
return function(e,t){const n=t||Sk,r=n.quote||'"',o='"'===r?"'":'"'
;if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`")
;return{one:Tk,all:Ck,settings:{omitOptionalTags:n.omitOptionalTags||!1,
allowParseErrors:n.allowParseErrors||!1,
allowDangerousCharacters:n.allowDangerousCharacters||!1,
quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,
tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,
tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,
tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,
tightSelfClosing:n.tightSelfClosing||!1,
collapseEmptyAttributes:n.collapseEmptyAttributes||!1,
allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||db,
characterReferences:n.characterReferences||_k,
closeSelfClosing:n.closeSelfClosing||!1,
closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?Mv:Nv,
quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e
}:e,void 0,void 0)}(e,t)}}
const Pk=Fk(/[A-Za-z]/),Dk=Fk(/[\dA-Za-z]/),$k=Fk(/[#-'*+\--9=?A-Z^-~]/)
;function Rk(e){return null!==e&&(e<32||127===e)}
const Nk=Fk(/\d/),Mk=Fk(/[\dA-Fa-f]/),Ik=Fk(/[!-/:-@[-`{-~]/);function Lk(e){
return null!==e&&e<-2}function jk(e){return null!==e&&(e<0||32===e)}
function Bk(e){return-2===e||-1===e||32===e}
const Qk=Fk(new RegExp("\\p{P}|\\p{S}","u")),Uk=Fk(/\s/);function Fk(e){
return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}
function zk(e,t,n){const r=hg((n||{}).ignore||[]),o=function(e){const t=[]
;if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples")
;const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){
const e=n[r];t.push([qk(e[0]),Hk(e[1])])}return t}(t);let i=-1
;for(;++i<o.length;)yg(e,"text",a);function a(e,t){let n,a=-1
;for(;++a<t.length;){const e=t[a],o=n?n.children:void 0
;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){
const n=t[t.length-1],r=o[i][0],a=o[i][1];let s=0;const l=n.children.indexOf(e)
;let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={
index:d.index,input:d.input,stack:[...t,e]};let i=a(...d,o)
;if("string"==typeof i&&(i=i.length>0?{type:"text",value:i
}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&u.push({type:"text",
value:e.value.slice(s,n)
}),Array.isArray(i)?u.push(...i):i&&u.push(i),s=n+d[0].length,
c=!0),!r.global)break;d=r.exec(e.value)}c?(s<e.value.length&&u.push({
type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e]
;return l+u.length}(e,t)}}function qk(e){
return"string"==typeof e?new RegExp(function(e){
if("string"!=typeof e)throw new TypeError("Expected a string")
;return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e
}function Hk(e){return"function"==typeof e?e:function(){return e}}
const Vk="phrasing",Zk=["autolink","link","image","label"];function Wk(e){
this.enter({type:"link",title:null,url:"",children:[]},e)}function Xk(e){
this.config.enter.autolinkProtocol.call(this,e)}function Gk(e){
this.config.exit.autolinkProtocol.call(this,e)}function Yk(e){
this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1]
;t.type,t.url="http://"+this.sliceSerialize(e)}function Kk(e){
this.config.exit.autolinkEmail.call(this,e)}function Jk(e){this.exit(e)}
function ex(e){
zk(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,tx],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,nx]],{
ignore:["link","linkReference"]})}function tx(e,t,n,r,o){let i=""
;if(!rx(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){
const t=e.split(".")
;if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1
;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e)
;if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")")
;const o=sk(e,"(");let i=sk(e,")")
;for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++
;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,
url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",
value:a[1]}]:s}function nx(e,t,n,r){return!(!rx(r,!0)||/[-\d_]$/.test(n))&&{
type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",
value:t+"@"+n}]}}function rx(e,t){const n=e.input.charCodeAt(e.index-1)
;return(0===e.index||Uk(n)||Qk(n))&&(!t||47!==n)}function ox(e){
return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()
}function ix(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",
children:[]},e)}function ax(){this.buffer()}function sx(e){
const t=this.resume(),n=this.stack[this.stack.length-1]
;n.type,n.label=t,n.identifier=ox(this.sliceSerialize(e)).toLowerCase()}
function lx(e){this.exit(e)}function cx(e){this.enter({type:"footnoteReference",
identifier:"",label:""},e)}function ux(){this.buffer()}function dx(e){
const t=this.resume(),n=this.stack[this.stack.length-1]
;n.type,n.label=t,n.identifier=ox(this.sliceSerialize(e)).toLowerCase()}
function px(e){this.exit(e)}function hx(e,t,n,r){const o=n.createTracker(r)
;let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference")
;return i+=o.move(n.safe(n.associationId(e),{...o.current(),before:i,after:"]"
})),s(),a(),i+=o.move("]"),i}function fx(e,t,n,r){const o=n.createTracker(r)
;let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label")
;return i+=o.move(n.safe(n.associationId(e),{...o.current(),before:i,after:"]"
})),
s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(n.indentLines(n.containerFlow(e,o.current()),mx)),
a(),i}function mx(e,t,n){return 0===t?e:(n?"":" ")+e}hx.peek=function(){
return"["}
;const gx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]
;function vx(e){this.enter({type:"delete",children:[]},e)}function bx(e){
this.exit(e)}function Ox(e,t,n,r){
const o=n.createTracker(r),i=n.enter("strikethrough");let a=o.move("~~")
;return a+=n.containerPhrasing(e,{...o.current(),before:a,after:"~"
}),a+=o.move("~~"),i(),a}function yx(e){return e.length}function wx(e){
const t="string"==typeof e?e.codePointAt(0):0
;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}
Ox.peek=function(){return"~"};const kx={}.hasOwnProperty;function xx(e,t){
let n,r=-1;if(t.extensions)for(;++r<t.extensions.length;)xx(e,t.extensions[r])
;for(n in t)if(kx.call(t,n))switch(n){case"extensions":break;case"unsafe":
case"join":Sx(e[n],t[n]);break;case"handlers":_x(e[n],t[n]);break;default:
e.options[n]=t[n]}return e}function Sx(e,t){t&&e.push(...t)}function _x(e,t){
t&&Object.assign(e,t)}function Ex(e,t,n){return">"+(n?"":" ")+e}
function Tx(e,t){return Cx(e,t.inConstruct,!0)&&!Cx(e,t.notInConstruct,!1)}
function Cx(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n
;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}
function Ax(e,t,n,r){let o=-1
;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&Tx(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" "
;return"\\\n"}function Px(e,t){
return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))
}function Dx(e,t,n){return(n?"":" ")+e}function $x(e){
const t=e.options.quote||'"'
;if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`")
;return t}function Rx(e,t,n,r){const o=function(e){
const t=e.options.emphasis||"*"
;if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`")
;return t}(n),i=n.enter("emphasis"),a=n.createTracker(r);let s=a.move(o)
;return s+=a.move(n.containerPhrasing(e,{before:s,after:o,...a.current()
})),s+=a.move(o),i(),s}Rx.peek=function(e,t,n){return n.options.emphasis||"*"}
;const Nx={};function Mx(e,t){const n=Nx
;return Ix(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)
}function Ix(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){
if("value"in e)return"html"!==e.type||n?e.value:""
;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Lx(e.children,t,n)
}return Array.isArray(e)?Lx(e,t,n):""}function Lx(e,t,n){const r=[];let o=-1
;for(;++o<e.length;)r[o]=Ix(e[o],t,n);return r.join("")}function jx(e,t){
let n=!1;return wg(e,(function(e){
if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,bg
})),Boolean((!e.depth||e.depth<3)&&Mx(e)&&(t.options.setext||n))}function Bx(e){
return e.value||""}function Qx(e,t,n,r){
const o=$x(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("image")
;let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![")
;return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()
})),c+=l.move("]("),
s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),
c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()
})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{
before:c,after:e.title?" ":")",...l.current()
}))),s(),e.title&&(s=n.enter(`title${i}`),
c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()
})),c+=l.move(o),s()),c+=l.move(")"),a(),c}function Ux(e,t,n,r){
const o=e.referenceType,i=n.enter("imageReference");let a=n.enter("label")
;const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,
after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack
;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,
after:"]",...s.current()})
;return a(),n.stack=u,i(),"full"!==o&&c&&c===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),
l}function Fx(e,t,n){let r=e.value||"",o="`",i=-1
;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`"
;for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){
const e=n.unsafe[i],t=n.compilePattern(e);let o;if(e.atBreak)for(;o=t.exec(r);){
let e=o.index
;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)
}}return o+r+o}function zx(e,t){const n=Mx(e)
;return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))
}function qx(e,t,n,r){
const o=$x(n),i='"'===o?"Quote":"Apostrophe",a=n.createTracker(r);let s,l
;if(zx(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=a.move("<")
;return r+=a.move(n.containerPhrasing(e,{before:r,after:">",...a.current()
})),r+=a.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label")
;let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",
...a.current()
})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),
c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()
})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{
before:c,after:e.title?" ":")",...a.current()
}))),l(),e.title&&(l=n.enter(`title${i}`),
c+=a.move(" "+o),c+=a.move(n.safe(e.title,{before:c,after:o,...a.current()
})),c+=a.move(o),l()),c+=a.move(")"),s(),c}function Hx(e,t,n,r){
const o=e.referenceType,i=n.enter("linkReference");let a=n.enter("label")
;const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{
before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack
;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,
after:"]",...s.current()})
;return a(),n.stack=u,i(),"full"!==o&&c&&c===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),
l}function Vx(e){const t=e.options.bullet||"*"
;if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`")
;return t}function Zx(e){const t=e.options.rule||"*"
;if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`")
;return t}Bx.peek=function(){return"<"},Qx.peek=function(){return"!"
},Ux.peek=function(){return"!"},Fx.peek=function(){return"`"
},qx.peek=function(e,t,n){return zx(e,n)?"<":"["},Hx.peek=function(){return"["}
;const Wx=hg(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])
;function Xx(e,t,n,r){const o=function(e){const t=e.options.strong||"*"
;if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`")
;return t}(n),i=n.enter("strong"),a=n.createTracker(r);let s=a.move(o+o)
;return s+=a.move(n.containerPhrasing(e,{before:s,after:o,...a.current()
})),s+=a.move(o+o),i(),s}Xx.peek=function(e,t,n){return n.options.strong||"*"}
;const Gx={blockquote:function(e,t,n,r){
const o=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2)
;const a=n.indentLines(n.containerFlow(e,i.current()),Ex);return o(),a},
break:Ax,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`"
;if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`")
;return t}(n),i=e.value||"",a="`"===o?"GraveAccent":"Tilde";if(Px(e,n)){
const e=n.enter("codeIndented"),t=n.indentLines(i,Dx);return e(),t}
const s=n.createTracker(r),l=o.repeat(Math.max(function(e,t){const n=String(e)
;let r=n.indexOf(t),o=r,i=0,a=0
;if("string"!=typeof t)throw new TypeError("Expected substring")
;for(;-1!==r;)r===o?++i>a&&(a=i):i=1,o=r+t.length,r=n.indexOf(t,o);return a
}(i,o)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){
const t=n.enter(`codeFencedLang${a}`);u+=s.move(n.safe(e.lang,{before:u,
after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){
const t=n.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{
before:u,after:"\n",encode:["`"],...s.current()})),t()}
return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},
definition:function(e,t,n,r){
const o=$x(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("definition")
;let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[")
;return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()
})),
c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),
c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()
})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{
before:c,after:e.title?" ":"\n",...l.current()
}))),s(),e.title&&(s=n.enter(`title${i}`),
c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()
})),c+=l.move(o),s()),a(),c},emphasis:Rx,hardBreak:Ax,heading:function(e,t,n,r){
const o=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(jx(e,n)){
const t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{
...i.current(),before:"\n",after:"\n"})
;return r(),t(),a+"\n"+(1===o?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))
}const a="#".repeat(o),s=n.enter("headingAtx"),l=n.enter("phrasing")
;i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",
...i.current()})
;return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),
c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c},html:Bx,image:Qx,
imageReference:Ux,inlineCode:Fx,link:qx,linkReference:Hx,list:function(e,t,n,r){
const o=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?function(e){
const t=e.options.bulletOrdered||"."
;if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`")
;return t}(n):Vx(n);const s=e.ordered?"."===a?")":".":function(e){
const t=Vx(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*"
;if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`")
;if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different")
;return n}(n);let l=!(!t||!n.bulletLastUsed)&&a===n.bulletLastUsed
;if(!e.ordered){const t=e.children?e.children[0]:void 0
;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),
Zx(n)===a&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t]
;if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){
l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const c=n.containerFlow(e,r)
;return n.bulletLastUsed=a,n.bulletCurrent=i,o(),c},listItem:function(e,t,n,r){
const o=function(e){const t=e.options.listItemIndent||"one"
;if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`")
;return t}(n);let i=n.bulletCurrent||Vx(n)
;t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i)
;let a=i.length+1
;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4))
;const s=n.createTracker(r);s.move(i+" ".repeat(a-i.length)),s.shift(a)
;const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){
if(t)return(n?"":" ".repeat(a))+e;return(n?i:i+" ".repeat(a-i.length))+e}))
;return l(),c},paragraph:function(e,t,n,r){
const o=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r)
;return i(),o(),a},root:function(e,t,n,r){return(e.children.some((function(e){
return Wx(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:Xx,
text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){
const r=(Zx(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){
const t=e.options.ruleRepetition||3
;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more")
;return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}
},Yx=[function(e,t,n,r){
if("code"===t.type&&Px(t,r)&&("list"===e.type||e.type===t.type&&Px(e,r)))return!1
;if("spread"in n&&"boolean"==typeof n.spread){
if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&jx(t,r)))return
;return n.spread?1:0}}]
;const Kx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Jx=[{
character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",
before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{
character:"\r",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]
},{character:"\n",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]
},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",
before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",
after:"\\[",inConstruct:"phrasing",notInConstruct:Kx},{character:'"',
inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",
inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",
inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{
character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",
inConstruct:"phrasing",notInConstruct:Kx},{atBreak:!0,before:"\\d+",
character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,
character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",
notInConstruct:Kx},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,
character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",
after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{
character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Kx},{
character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{
atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{
atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",
notInConstruct:Kx},{character:"[",inConstruct:["label","reference"]},{
character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",
inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",
inConstruct:"phrasing",notInConstruct:Kx},{atBreak:!0,character:"`"},{
character:"`",
inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{
character:"`",inConstruct:"phrasing",notInConstruct:Kx},{atBreak:!0,
character:"~"}],eS=document.createElement("i");function tS(e){const t="&"+e+";"
;eS.innerHTML=t;const n=eS.textContent
;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}function nS(e,t){
const n=Number.parseInt(e,t)
;return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)
}const rS=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi
;function oS(e){return e.replace(rS,iS)}function iS(e,t,n){if(t)return t
;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e
;return nS(n.slice(t?2:1),t?16:10)}return tS(n)||e}function aS(e){
return e.label||!e.identifier?e.label||"":oS(e.identifier)}function sS(e){
if(!e._compiled){
const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"")
;e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")
}return e._compiled}function lS(e,t,n,r){let o=r.join.length;for(;o--;){
const i=r.join[o](e,t,n,r);if(!0===i||1===i)break
;if("number"==typeof i)return"\n".repeat(1+i)
;if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const cS=/\r?\n|\r/g
;function uS(e,t){const n=[];let r,o=0,i=0
;for(;r=cS.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++
;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}
function dS(e,t){return e-t}function pS(e,t){
const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,s=-1,l=0
;for(;a=n.exec(i);)r.push(a.index)
;for(;++s<r.length;)l!==r[s]&&o.push(e.slice(l,r[s])),o.push("\\"),l=r[s]
;return o.push(e.slice(l)),o.join("")}function hS(e){const t=e||{},n=t.now||{}
;let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){
const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1]
;return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},
current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){
r+=e}}}function fS(e,t={}){const n={enter:function(e){
return n.stack.push(e),function(){n.stack.pop()}},indentLines:uS,
associationId:aS,containerPhrasing:bS,containerFlow:OS,createTracker:hS,
compilePattern:sS,safe:yS,stack:[],unsafe:[...Jx],join:[...Yx],handlers:{...Gx},
options:{},indexStack:[],handle:void 0}
;xx(n,t),n.options.tightDefinitions&&n.join.push(vS),n.handle=ob("type",{
invalid:mS,unknown:gS,handlers:n.handlers});let r=n.handle(e,void 0,n,{
before:"\n",after:"\n",now:{line:1,column:1},lineShift:0})
;return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),
r}function mS(e){throw new Error("Cannot handle value `"+e+"`, expected node")}
function gS(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}
function vS(e,t){if("definition"===e.type&&e.type===t.type)return 0}
function bS(e,t){return function(e,t,n){
const r=t.indexStack,o=e.children||[],i=[];let a=-1,s=n.before;r.push(-1)
;let l=t.createTracker(n);for(;++a<o.length;){const c=o[a];let u
;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type]
;n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...l.current()
}).charAt(0):""}else u=n.after
;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),
s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{
...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}
return r.pop(),i.join("")}(e,this,t)}function OS(e,t){return function(e,t,n){
const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let s=-1
;for(r.push(-1);++s<o.length;){const n=o[s]
;r[r.length-1]=s,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",
...i.current()
}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<o.length-1&&a.push(i.move(lS(n,o[s+1],e,t)))
}return r.pop(),a.join("")}(e,this,t)}function yS(e,t){return function(e,t,n){
const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let s=-1
;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!Tx(e.stack,t))continue
;const n=e.compilePattern(t);let i;for(;i=n.exec(r);){
const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0)
;o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),
a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(dS)
;let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0)
;for(s=-1;++s<o.length;){const e=o[s]
;e<l||e>=c||e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&i.push(pS(r.slice(l,e),"\\")),
l=e,
!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),
l++):i.push("\\"))}return i.push(pS(r.slice(l,c),n.after)),i.join("")}(this,e,t)
}function wS(e){const t=e._align;this.enter({type:"table",
align:t.map((function(e){return"none"===e?null:e})),children:[]
},e),this.data.inTable=!0}function kS(e){this.exit(e),this.data.inTable=void 0}
function xS(e){this.enter({type:"tableRow",children:[]},e)}function SS(e){
this.exit(e)}function _S(e){this.enter({type:"tableCell",children:[]},e)}
function ES(e){let t=this.resume()
;this.data.inTable&&(t=t.replace(/\\([\\|])/g,TS))
;const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}
function TS(e,t){return"|"===t?t:e}function CS(e){
const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|"
;return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",
inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{
character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{
atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){
let r=Gx.inlineCode(e,t,n)
;n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},
table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1
;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i
}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const o=s([l(e,n,r)])
;return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){
const o=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(e,{
...r,before:i,after:i});return a(),o(),s}function s(e,t){
return function(e,t={}){
const n=(t.align||[]).concat(),r=t.stringLength||yx,o=[],i=[],a=[],s=[]
;let l=0,c=-1;for(;++c<e.length;){const n=[],o=[];let d=-1
;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){
const i=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){const e=r(i)
;o[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}n.push(i)}i[c]=n,a[c]=o}var u;let d=-1
;if("object"==typeof n&&"length"in n)for(;++d<l;)o[d]=wx(n[d]);else{
const e=wx(n);for(;++d<l;)o[d]=e}d=-1;const p=[],h=[];for(;++d<l;){const e=o[d]
;let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":")
;let i=!1===t.alignDelimiters?1:Math.max(1,s[d]-n.length-r.length)
;const a=n+"-".repeat(i)+r
;!1!==t.alignDelimiters&&(i=n.length+i+r.length,i>s[d]&&(s[d]=i),h[d]=i),p[d]=a}
i.splice(1,0,p),a.splice(1,0,h),c=-1;const f=[];for(;++c<i.length;){
const e=i[c],n=a[c];d=-1;const r=[];for(;++d<l;){const i=e[d]||"";let a="",c=""
;if(!1!==t.alignDelimiters){const e=s[d]-(n[d]||0),t=o[d]
;114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),
c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}
!1===t.delimiterStart||d||r.push("|"),
!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!d||r.push(" "),
!1!==t.alignDelimiters&&r.push(a),
r.push(i),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),
!1===t.delimiterEnd&&d===l-1||r.push("|")}
f.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}
return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}
function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow")
;for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function AS(e){
const t=this.stack[this.stack.length-2]
;t.type,t.checked="taskListCheckValueChecked"===e.type}function PS(e){
const t=this.stack[this.stack.length-2]
;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){
const e=this.stack[this.stack.length-1];e.type;const n=e.children[0]
;if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){
const e=r[i];if("paragraph"===e.type){o=e;break}}
o===e&&(n.value=n.value.slice(1),
0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,
n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}
}this.exit(e)}function DS(e,t,n,r){
const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r)
;i&&s.move(a);let l=Gx.listItem(e,t,n,{...r,...s.current()})
;return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){
return e+a}))),l}function $S(e,t,n,r){const o=e.length;let i,a=0
;if(t=t<0?-t>o?0:o+t:t>o?o:t,
n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),
e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),
i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function RS(e,t){
return e.length>0?($S(e,e.length,0,t),e):t}const NS={}.hasOwnProperty
;function MS(e){const t={};let n=-1;for(;++n<e.length;)IS(t,e[n]);return t}
function IS(e,t){let n;for(n in t){
const r=(NS.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){
NS.call(r,i)||(r[i]=[]);const e=o[i];LS(r[i],Array.isArray(e)?e:e?[e]:[])}}}
function LS(e,t){let n=-1;const r=[]
;for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);$S(e,0,0,r)}const jS={
tokenize:function(e,t,n){let r=0;return function t(i){
if((87===i||119===i)&&r<3)return r++,e.consume(i),t
;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){
return null===e?n(e):t(e)}},partial:!0},BS={tokenize:function(e,t,n){let r,o,i
;return a;function a(t){
return 46===t||95===t?e.check(US,l,s)(t):null===t||jk(t)||Uk(t)||45!==t&&Qk(t)?l(t):(i=!0,
e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}
function l(e){return o||r||!i?n(e):t(e)}},partial:!0},QS={
tokenize:function(e,t){let n=0,r=0;return o;function o(a){
return 40===a?(n++,e.consume(a),
o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(US,t,i)(a):null===a||jk(a)||Uk(a)?t(a):(e.consume(a),
o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},US={
tokenize:function(e,t,n){return r;function r(a){
return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),
r):38===a?(e.consume(a),
i):93===a?(e.consume(a),o):60===a||null===a||jk(a)||Uk(a)?t(a):n(a)}
function o(e){return null===e||40===e||91===e||jk(e)||Uk(e)?t(e):r(e)}
function i(e){return Pk(e)?a(e):n(e)}function a(t){
return 59===t?(e.consume(t),r):Pk(t)?(e.consume(t),a):n(t)}},partial:!0},FS={
tokenize:function(e,t,n){return function(t){return e.consume(t),r}
;function r(e){return Dk(e)?n(e):t(e)}},partial:!0},zS={
tokenize:function(e,t,n){const r=this;return function(t){
if(87!==t&&119!==t||!WS.call(r,r.previous)||KS(r.events))return n(t)
;return e.enter("literalAutolink"),
e.enter("literalAutolinkWww"),e.check(jS,e.attempt(BS,e.attempt(QS,o),n),n)(t)}
;function o(n){
return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:WS
},qS={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){
if((72===t||104===t)&&XS.call(r,r.previous)&&!KS(r.events))return e.enter("literalAutolink"),
e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a
;return n(t)};function a(t){
if(Pk(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a
;if(58===t){const n=o.toLowerCase()
;if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){
return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){
return null===t||Rk(t)||jk(t)||Uk(t)||Qk(t)?n(t):e.attempt(BS,e.attempt(QS,c),n)(t)
}function c(n){
return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},
previous:XS},HS={tokenize:function(e,t,n){const r=this;let o,i
;return function(t){if(!YS(t)||!GS.call(r,r.previous)||KS(r.events))return n(t)
;return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)}
;function a(t){return YS(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}
function s(t){
return 46===t?e.check(FS,c,l)(t):45===t||95===t||Dk(t)?(i=!0,e.consume(t),
s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(a){
return i&&o&&Pk(r.previous)?(e.exit("literalAutolinkEmail"),
e.exit("literalAutolink"),t(a)):n(a)}},previous:GS},VS={};let ZS=48
;for(;ZS<123;)VS[ZS]=HS,ZS++,58===ZS?ZS=65:91===ZS&&(ZS=97);function WS(e){
return null===e||40===e||42===e||95===e||91===e||93===e||126===e||jk(e)}
function XS(e){return!Pk(e)}function GS(e){return!(47===e||YS(e))}
function YS(e){return 43===e||45===e||46===e||95===e||Dk(e)}function KS(e){
let t=e.length,n=!1;for(;t--;){const r=e[t][1]
;if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}
if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}
return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}
function JS(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){
const i=e.charCodeAt(n);let a=""
;if(37===i&&Dk(e.charCodeAt(n+1))&&Dk(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){
const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),
o=1):a="�"}else a=String.fromCharCode(i)
;a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}
return t.join("")+e.slice(r)}function e_(e){
return null===e||jk(e)||Uk(e)?1:Qk(e)?2:void 0}function t_(e,t,n){const r=[]
;let o=-1;for(;++o<e.length;){const i=e[o].resolveAll
;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}VS[43]=HS,VS[45]=HS,VS[46]=HS,
VS[95]=HS,VS[72]=[HS,qS],VS[104]=[HS,qS],VS[87]=[HS,zS],VS[119]=[HS,zS]
;const n_={name:"attention",tokenize:function(e,t){
const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=e_(r)
;let i;return function(t){return i=t,e.enter("attentionSequence"),a(t)}
;function a(s){if(s===i)return e.consume(s),a
;const l=e.exit("attentionSequence"),c=e_(s),u=!c||2===c&&o||n.includes(s),d=!o||2===o&&c||n.includes(r)
;return l._open=Boolean(42===i?u:u&&(o||!d)),
l._close=Boolean(42===i?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){
let n,r,o,i,a,s,l,c,u=-1
;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){
if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue
;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1
;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start)
;r_(d,-s),r_(p,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,
end:Object.assign({},e[n][1].end)},a={
type:s>1?"strongSequence":"emphasisSequence",
start:Object.assign({},e[u][1].start),end:p},o={
type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),
end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",
start:Object.assign({},i.start),end:Object.assign({},a.end)
},e[n][1].end=Object.assign({},i.start),
e[u][1].start=Object.assign({},a.end),l=[],
e[n][1].end.offset-e[n][1].start.offset&&(l=RS(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),
l=RS(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),
l=RS(l,t_(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),
l=RS(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),
e[u][1].end.offset-e[u][1].start.offset?(c=2,
l=RS(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,
$S(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1
;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data")
;return e}};function r_(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}
const o_={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){
return e.enter("autolink"),
e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),
e.enter("autolinkProtocol"),o};function o(t){
return Pk(t)?(e.consume(t),i):64===t?n(t):l(t)}function i(e){
return 43===e||45===e||46===e||Dk(e)?(r=1,a(e)):l(e)}function a(t){
return 58===t?(e.consume(t),
r=0,s):(43===t||45===t||46===t||Dk(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}
function s(r){
return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),
e.consume(r),
e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Rk(r)?n(r):(e.consume(r),
s)}function l(t){return 64===t?(e.consume(t),c):$k(t)?(e.consume(t),l):n(t)}
function c(e){return Dk(e)?u(e):n(e)}function u(n){
return 46===n?(e.consume(n),r=0,
c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",
e.enter("autolinkMarker"),
e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){
if((45===t||Dk(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)
}}};function i_(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0
;return function(r){if(Bk(r))return e.enter(n),a(r);return t(r)};function a(r){
return Bk(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const a_={
tokenize:function(e,t,n){return function(t){
return Bk(t)?i_(e,r,"linePrefix")(t):r(t)};function r(e){
return null===e||Lk(e)?t(e):n(e)}},partial:!0};const s_={name:"blockQuote",
tokenize:function(e,t,n){const r=this;return function(t){if(62===t){
const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0
}),n.open=!0),
e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),
e.exit("blockQuoteMarker"),o}return n(t)};function o(n){
return Bk(n)?(e.enter("blockQuotePrefixWhitespace"),
e.consume(n),e.exit("blockQuotePrefixWhitespace"),
e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{
tokenize:function(e,t,n){const r=this;return function(t){
if(Bk(t))return i_(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t)
;return o(t)};function o(r){return e.attempt(s_,t,n)(r)}}},exit:function(e){
e.exit("blockQuote")}};const l_={name:"characterEscape",
tokenize:function(e,t,n){return function(t){
return e.enter("characterEscape"),e.enter("escapeMarker"),
e.consume(t),e.exit("escapeMarker"),r};function r(r){
return Ik(r)?(e.enter("characterEscapeValue"),
e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}}
;const c_={name:"characterReference",tokenize:function(e,t,n){const r=this
;let o,i,a=0;return function(t){
return e.enter("characterReference"),e.enter("characterReferenceMarker"),
e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){
return 35===t?(e.enter("characterReferenceMarkerNumeric"),
e.consume(t),e.exit("characterReferenceMarkerNumeric"),
l):(e.enter("characterReferenceValue"),o=31,i=Dk,c(t))}function l(t){
return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),
e.consume(t),
e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),
o=6,i=Mk,c):(e.enter("characterReferenceValue"),o=7,i=Nk,c(t))}function c(s){
if(59===s&&a){const o=e.exit("characterReferenceValue")
;return i!==Dk||tS(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),
e.consume(s),
e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}
return i(s)&&a++<o?(e.consume(s),c):n(s)}}};const u_={tokenize:function(e,t,n){
const r=this;return function(t){if(null===t)return n(t)
;return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}
;function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},d_={
name:"codeFenced",tokenize:function(e,t,n){const r=this,o={
tokenize:function(e,t,n){let o=0;return a;function a(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){
return e.enter("codeFencedFence"),
Bk(t)?i_(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)
}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}
function u(t){
return t===i?(o++,e.consume(t),u):o>=s?(e.exit("codeFencedFenceSequence"),
Bk(t)?i_(e,d,"whitespace")(t):d(t)):n(t)}function d(r){
return null===r||Lk(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0}
;let i,a=0,s=0;return function(t){return function(t){
const n=r.events[r.events.length-1]
;return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,
e.enter("codeFenced"),
e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)}
;function l(t){
return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),
Bk(t)?i_(e,c,"whitespace")(t):c(t))}function c(n){
return null===n||Lk(n)?(e.exit("codeFencedFence"),
r.interrupt?t(n):e.check(u_,h,b)(n)):(e.enter("codeFencedFenceInfo"),
e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){
return null===t||Lk(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceInfo"),c(t)):Bk(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceInfo"),
i_(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function d(t){
return null===t||Lk(t)?c(t):(e.enter("codeFencedFenceMeta"),
e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){
return null===t||Lk(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),p)}
function h(t){return e.attempt(o,b,f)(t)}function f(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){
return a>0&&Bk(t)?i_(e,g,"linePrefix",a+1)(t):g(t)}function g(t){
return null===t||Lk(t)?e.check(u_,h,b)(t):(e.enter("codeFlowValue"),v(t))}
function v(t){
return null===t||Lk(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}
function b(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const p_={
name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("codeIndented"),i_(e,o,"linePrefix",5)(t)};function o(e){
const t=r.events[r.events.length-1]
;return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)
}function i(t){
return null===t?s(t):Lk(t)?e.attempt(h_,i,s)(t):(e.enter("codeFlowValue"),a(t))}
function a(t){
return null===t||Lk(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}
function s(n){return e.exit("codeIndented"),t(n)}}},h_={
tokenize:function(e,t,n){const r=this;return o;function o(t){
return r.parser.lazy[r.now().line]?n(t):Lk(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),o):i_(e,i,"linePrefix",5)(t)}function i(e){
const i=r.events[r.events.length-1]
;return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Lk(e)?o(e):n(e)
}},partial:!0};const f_={name:"codeText",tokenize:function(e,t,n){let r,o,i=0
;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)}
;function a(t){
return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),s(t))}
function s(t){
return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),
s):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):Lk(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}
function l(t){
return null===t||32===t||96===t||Lk(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),
l)}function c(n){
return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),
e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){
let t,n,r=e.length-4,o=3
;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){
e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}
t=o-1,r++
;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",
t!==n+2&&(e[n][1].end=e[t-1][1].end,
e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){
return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}
;class m_{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){
if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`")
;return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]
}get length(){return this.left.length+this.right.length}shift(){
return this.setCursor(0),this.right.pop()}slice(e,t){
const n=null==t?Number.POSITIVE_INFINITY:t
;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())
}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e))
;const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY)
;return n&&g_(this.left,n),o.reverse()}pop(){
return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){
this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){
this.setCursor(Number.POSITIVE_INFINITY),g_(this.left,e)}unshift(e){
this.setCursor(0),this.right.push(e)}unshiftMany(e){
this.setCursor(0),g_(this.right,e.reverse())}setCursor(e){
if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){
const t=this.left.splice(e,Number.POSITIVE_INFINITY);g_(this.right,t.reverse())
}else{
const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY)
;g_(this.left,t.reverse())}}}function g_(e,t){let n=0
;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),
n+=1e4}function v_(e){const t={};let n,r,o,i,a,s,l,c=-1;const u=new m_(e)
;for(;++c<u.length;){for(;c in t;)c=t[c]
;if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=n[1]._tokenizer.events,
o=0,
o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,
o++)
;if("enter"===n[0])n[1].contentType&&(Object.assign(t,b_(u,c)),c=t[c],l=!0);else if(n[1]._container){
for(o=c,
r=void 0;o--&&(i=u.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),
i[1].type="lineEnding",r=o)
;r&&(n[1].end=Object.assign({},u.get(r)[1].start),a=u.slice(r,c),
a.unshift(n),u.splice(r,c-r+1,a))}}
return $S(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function b_(e,t){
const n=e.get(t)[1],r=e.get(t)[2];let o=t-1
;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={}
;let u,d,p=-1,h=n,f=0,m=0;const g=[m];for(;h;){for(;e.get(++o)[1]!==h;);
i.push(o),
h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),d&&a.defineSkip(h.start),
h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),
a.write(u),
h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),
d=h,h=h.next}
for(h=n;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,
g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next)
;for(a.events=[],h?(h._tokenizer=void 0,
h.previous=void 0):g.pop(),p=g.length;p--;){
const t=s.slice(g[p],g[p+1]),n=i.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}
for(l.reverse(),p=-1;++p<l.length;)c[f+l[p][0]]=f+l[p][1],f+=l[p][1]-l[p][0]-1
;return c}const O_={tokenize:function(e,t){let n;return function(t){
return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)
};function r(t){return null===t?o(t):Lk(t)?e.check(y_,i,o)(t):(e.consume(t),r)}
function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}
function i(t){
return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{
contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){
return v_(e),e}},y_={tokenize:function(e,t,n){const r=this;return function(t){
return e.exit("chunkContent"),
e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i_(e,o,"linePrefix")}
;function o(o){if(null===o||Lk(o))return n(o)
;const i=r.events[r.events.length-1]
;return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)
}},partial:!0};function w_(e,t,n,r,o,i,a,s,l){
const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){
if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d
;if(null===t||32===t||41===t||Rk(t))return n(t)
;return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{
contentType:"string"}),f(t)};function d(n){
return 62===n?(e.enter(i),e.consume(n),
e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{
contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),
e.exit(s),d(t)):null===t||60===t||Lk(t)?n(t):(e.consume(t),92===t?h:p)}
function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(o){
return u||null!==o&&41!==o&&!jk(o)?u<c&&40===o?(e.consume(o),
u++,f):41===o?(e.consume(o),
u--,f):null===o||32===o||40===o||Rk(o)?n(o):(e.consume(o),
92===o?m:f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o))}
function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}
function k_(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){
return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(d){
return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),
e.enter(o),
e.consume(d),e.exit(o),e.exit(r),t):Lk(d)?(e.enter("lineEnding"),e.consume(d),
e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}
function u(t){
return null===t||91===t||93===t||Lk(t)||l++>999?(e.exit("chunkString"),
c(t)):(e.consume(t),s||(s=!Bk(t)),92===t?d:u)}function d(t){
return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}
function x_(e,t,n,r,o,i){let a;return function(t){
if(34===t||39===t||40===t)return e.enter(r),
e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s;return n(t)};function s(n){
return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}
function l(t){
return t===a?(e.exit(i),s(a)):null===t?n(t):Lk(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),i_(e,l,"linePrefix")):(e.enter("chunkString",{
contentType:"string"}),c(t))}function c(t){
return t===a||null===t||Lk(t)?(e.exit("chunkString"),
l(t)):(e.consume(t),92===t?u:c)}function u(t){
return t===a||92===t?(e.consume(t),c):c(t)}}function S_(e,t){let n
;return function r(o){
if(Lk(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r
;if(Bk(o))return i_(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}const __={
name:"definition",tokenize:function(e,t,n){const r=this;let o
;return function(t){return e.enter("definition"),function(t){
return k_.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)
}(t)};function i(t){
return o=ox(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),
58===t?(e.enter("definitionMarker"),
e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){
return jk(t)?S_(e,s)(t):s(t)}function s(t){
return w_(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)
}function l(t){return e.attempt(E_,c,c)(t)}function c(t){
return Bk(t)?i_(e,u,"whitespace")(t):u(t)}function u(i){
return null===i||Lk(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)
}}},E_={tokenize:function(e,t,n){return function(t){return jk(t)?S_(e,r)(t):n(t)
};function r(t){
return x_(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)
}function o(t){return Bk(t)?i_(e,i,"whitespace")(t):i(t)}function i(e){
return null===e||Lk(e)?t(e):n(e)}},partial:!0};const T_={name:"hardBreakEscape",
tokenize:function(e,t,n){return function(t){
return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){
return Lk(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const C_={
name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){
return e.enter("atxHeading"),function(t){
return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){
return 35===t&&r++<6?(e.consume(t),
o):null===t||jk(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){
return 35===n?(e.enter("atxHeadingSequence"),
a(n)):null===n||Lk(n)?(e.exit("atxHeading"),
t(n)):Bk(n)?i_(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}
function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))
}function s(t){
return null===t||35===t||jk(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}
},resolve:function(e,t){let n,r,o=e.length-2,i=3
;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2)
;"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4)
;o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={
type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"
},$S(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]))
;return e}}
;const A_=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],P_=["pre","script","style","textarea"],D_={
name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l
;return function(t){return function(t){
return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)}
;function c(s){
return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,h):63===s?(e.consume(s),
o=3,r.interrupt?t:N):Pk(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}
function u(i){
return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,s=0,p):Pk(i)?(e.consume(i),
o=4,r.interrupt?t:N):n(i)}function d(o){
return 45===o?(e.consume(o),r.interrupt?t:N):n(o)}function p(o){const i="CDATA["
;return o===i.charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:E:p):n(o)}
function h(t){return Pk(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}
function f(s){if(null===s||47===s||62===s||jk(s)){
const l=47===s,c=a.toLowerCase()
;return l||i||!P_.includes(c)?A_.includes(a.toLowerCase())?(o=6,l?(e.consume(s),
m):r.interrupt?t(s):E(s)):(o=7,
r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?g(s):v(s)):(o=1,
r.interrupt?t(s):E(s))}
return 45===s||Dk(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}
function m(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function g(t){
return Bk(t)?(e.consume(t),g):S(t)}function v(t){
return 47===t?(e.consume(t),S):58===t||95===t||Pk(t)?(e.consume(t),
b):Bk(t)?(e.consume(t),v):S(t)}function b(t){
return 45===t||46===t||58===t||95===t||Dk(t)?(e.consume(t),b):O(t)}
function O(t){return 61===t?(e.consume(t),y):Bk(t)?(e.consume(t),O):v(t)}
function y(t){
return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),
l=t,w):Bk(t)?(e.consume(t),y):k(t)}function w(t){
return t===l?(e.consume(t),l=null,x):null===t||Lk(t)?n(t):(e.consume(t),w)}
function k(t){
return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||jk(t)?O(t):(e.consume(t),
k)}function x(e){return 47===e||62===e||Bk(e)?v(e):n(e)}function S(t){
return 62===t?(e.consume(t),_):n(t)}function _(t){
return null===t||Lk(t)?E(t):Bk(t)?(e.consume(t),_):n(t)}function E(t){
return 45===t&&2===o?(e.consume(t),
P):60===t&&1===o?(e.consume(t),D):62===t&&4===o?(e.consume(t),
M):63===t&&3===o?(e.consume(t),
N):93===t&&5===o?(e.consume(t),R):!Lk(t)||6!==o&&7!==o?null===t||Lk(t)?(e.exit("htmlFlowData"),
T(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check($_,I,T)(t))}
function T(t){return e.check(R_,C,I)(t)}function C(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){
return null===t||Lk(t)?T(t):(e.enter("htmlFlowData"),E(t))}function P(t){
return 45===t?(e.consume(t),N):E(t)}function D(t){
return 47===t?(e.consume(t),a="",$):E(t)}function $(t){if(62===t){
const n=a.toLowerCase();return P_.includes(n)?(e.consume(t),M):E(t)}
return Pk(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),$):E(t)}
function R(t){return 93===t?(e.consume(t),N):E(t)}function N(t){
return 62===t?(e.consume(t),M):45===t&&2===o?(e.consume(t),N):E(t)}
function M(t){
return null===t||Lk(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),M)}
function I(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){
let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););
t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,
e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},$_={
tokenize:function(e,t,n){return function(r){
return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(a_,t,n)
}},partial:!0},R_={tokenize:function(e,t,n){const r=this;return function(t){
if(Lk(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o
;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},
partial:!0};const N_={name:"htmlText",tokenize:function(e,t,n){const r=this
;let o,i,a;return function(t){
return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s}
;function s(t){
return 33===t?(e.consume(t),l):47===t?(e.consume(t),y):63===t?(e.consume(t),
b):Pk(t)?(e.consume(t),x):n(t)}function l(t){
return 45===t?(e.consume(t),c):91===t?(e.consume(t),
i=0,h):Pk(t)?(e.consume(t),v):n(t)}function c(t){
return 45===t?(e.consume(t),p):n(t)}function u(t){
return null===t?n(t):45===t?(e.consume(t),d):Lk(t)?(a=u,$(t)):(e.consume(t),u)}
function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){
return 62===e?D(e):45===e?d(e):u(e)}function h(t){const r="CDATA["
;return t===r.charCodeAt(i++)?(e.consume(t),6===i?f:h):n(t)}function f(t){
return null===t?n(t):93===t?(e.consume(t),m):Lk(t)?(a=f,$(t)):(e.consume(t),f)}
function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){
return 62===t?D(t):93===t?(e.consume(t),g):f(t)}function v(t){
return null===t||62===t?D(t):Lk(t)?(a=v,$(t)):(e.consume(t),v)}function b(t){
return null===t?n(t):63===t?(e.consume(t),O):Lk(t)?(a=b,$(t)):(e.consume(t),b)}
function O(e){return 62===e?D(e):b(e)}function y(t){
return Pk(t)?(e.consume(t),w):n(t)}function w(t){
return 45===t||Dk(t)?(e.consume(t),w):k(t)}function k(t){
return Lk(t)?(a=k,$(t)):Bk(t)?(e.consume(t),k):D(t)}function x(t){
return 45===t||Dk(t)?(e.consume(t),x):47===t||62===t||jk(t)?S(t):n(t)}
function S(t){
return 47===t?(e.consume(t),D):58===t||95===t||Pk(t)?(e.consume(t),
_):Lk(t)?(a=S,$(t)):Bk(t)?(e.consume(t),S):D(t)}function _(t){
return 45===t||46===t||58===t||95===t||Dk(t)?(e.consume(t),_):E(t)}
function E(t){
return 61===t?(e.consume(t),T):Lk(t)?(a=E,$(t)):Bk(t)?(e.consume(t),E):S(t)}
function T(t){
return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),
o=t,C):Lk(t)?(a=T,$(t)):Bk(t)?(e.consume(t),T):(e.consume(t),A)}function C(t){
return t===o?(e.consume(t),
o=void 0,P):null===t?n(t):Lk(t)?(a=C,$(t)):(e.consume(t),C)}function A(t){
return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||jk(t)?S(t):(e.consume(t),
A)}function P(e){return 47===e||62===e||jk(e)?S(e):n(e)}function D(r){
return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}
function $(t){
return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
R}function R(t){
return Bk(t)?i_(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)
}function N(t){return e.enter("htmlTextData"),a(t)}}};const M_={name:"labelEnd",
tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length
;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){
o=r.events[a][1];break}return function(t){if(!o)return n(t)
;if(o._inactive)return u(t)
;return i=r.parser.defined.includes(ox(r.sliceSerialize({start:o.end,end:r.now()
}))),
e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),
e.exit("labelEnd"),s};function s(t){
return 40===t?e.attempt(I_,c,i?c:u)(t):91===t?e.attempt(L_,c,i?l:u)(t):i?c(t):u(t)
}function l(t){return e.attempt(j_,c,u)(t)}function c(e){return t(e)}
function u(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){
let n,r,o,i,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){
if("link"===n.type||"labelLink"===n.type&&n._inactive)break
;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){
if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,
"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=a);const l={
type:"labelLink"===e[r][1].type?"link":"image",
start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)
},c={type:"label",start:Object.assign({},e[r][1].start),
end:Object.assign({},e[o][1].end)},u={type:"labelText",
start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)}
;return i=[["enter",l,t],["enter",c,t]],
i=RS(i,e.slice(r+1,r+s+3)),i=RS(i,[["enter",u,t]]),
i=RS(i,t_(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),
i=RS(i,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),
i=RS(i,e.slice(o+1)),i=RS(i,[["exit",l,t]]),$S(e,r,e.length,i),e},
resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1]
;"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),
n.type="data",t++)}return e}},I_={tokenize:function(e,t,n){return function(t){
return e.enter("resource"),
e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r}
;function r(t){return jk(t)?S_(e,o)(t):o(t)}function o(t){
return 41===t?c(t):w_(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)
}function i(t){return jk(t)?S_(e,s)(t):c(t)}function a(e){return n(e)}
function s(t){
return 34===t||39===t||40===t?x_(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)
}function l(t){return jk(t)?S_(e,c)(t):c(t)}function c(r){
return 41===r?(e.enter("resourceMarker"),
e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},L_={
tokenize:function(e,t,n){const r=this;return function(t){
return k_.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)}
;function o(e){
return r.parser.defined.includes(ox(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)
}function i(e){return n(e)}}},j_={tokenize:function(e,t,n){return function(t){
return e.enter("reference"),
e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r}
;function r(r){
return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),
e.exit("reference"),t):n(r)}}};const B_={name:"labelStartImage",
tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("labelImage"),
e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o}
;function o(t){
return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),
e.exit("labelImage"),i):n(t)}function i(e){
return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},
resolveAll:M_.resolveAll};const Q_={name:"labelStartLink",
tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("labelLink"),
e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o}
;function o(e){
return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},
resolveAll:M_.resolveAll};const U_={name:"lineEnding",tokenize:function(e,t){
return function(n){
return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
i_(e,t,"linePrefix")}}};const F_={name:"thematicBreak",tokenize:function(e,t,n){
let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){
return r=e,i(e)}(t)};function i(i){
return i===r?(e.enter("thematicBreakSequence"),
a(i)):o>=3&&(null===i||Lk(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){
return t===r?(e.consume(t),
o++,a):(e.exit("thematicBreakSequence"),Bk(t)?i_(e,i,"whitespace")(t):i(t))}}}
;const z_={name:"list",tokenize:function(e,t,n){
const r=this,o=r.events[r.events.length-1]
;let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0
;return function(t){
const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered")
;if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Nk(t)){
if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0
})),"listUnordered"===o)return e.enter("listItemPrefix"),
42===t||45===t?e.check(F_,n,l)(t):l(t)
;if(!r.interrupt||49===t)return e.enter("listItemPrefix"),
e.enter("listItemValue"),s(t)}return n(t)};function s(t){
return Nk(t)&&++a<10?(e.consume(t),
s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),
l(t)):n(t)}function l(t){
return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),
r.containerState.marker=r.containerState.marker||t,
e.check(a_,r.interrupt?n:c,e.attempt(q_,d,u))}function c(e){
return r.containerState.initialBlankLine=!0,i++,d(e)}function u(t){
return Bk(t)?(e.enter("listItemPrefixWhitespace"),
e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){
return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,
t(n)}},continuation:{tokenize:function(e,t,n){const r=this
;return r.containerState._closeFlow=void 0,e.check(a_,(function(n){
return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,
i_(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){
if(r.containerState.furtherBlankLines||!Bk(n))return r.containerState.furtherBlankLines=void 0,
r.containerState.initialBlankLine=void 0,o(n)
;return r.containerState.furtherBlankLines=void 0,
r.containerState.initialBlankLine=void 0,e.attempt(H_,t,o)(n)}));function o(o){
return r.containerState._closeFlow=!0,
r.interrupt=void 0,i_(e,e.attempt(z_,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)
}}},exit:function(e){e.exit(this.containerState.type)}},q_={
tokenize:function(e,t,n){const r=this;return i_(e,(function(e){
const o=r.events[r.events.length-1]
;return!Bk(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)
}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)
},partial:!0},H_={tokenize:function(e,t,n){const r=this
;return i_(e,(function(e){const o=r.events[r.events.length-1]
;return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)
}),"listItemIndent",r.containerState.size+1)},partial:!0};const V_={
name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o
;return function(t){let a,s=r.events.length
;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){
a="paragraph"===r.events[s][1].type;break}
if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),
o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)
};function i(t){
return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),
Bk(t)?i_(e,a,"lineSuffix")(t):a(t))}function a(r){
return null===r||Lk(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},
resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){
if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)
}else"content"===e[i][1].type&&e.splice(i,1),
o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",
start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)
}
;e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),
e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a
;return e.push(["exit",a,t]),e}};const Z_={tokenize:function(e,t,n){const r=this
;return i_(e,(function(e){const o=r.events[r.events.length-1]
;return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)
}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function W_(e,t,n){const r=this
;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[])
;let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}
if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break
}return function(o){if(!a||!a._balanced)return n(o)
;const s=ox(r.sliceSerialize({start:a.end,end:r.now()}))
;if(94!==s.codePointAt(0)||!i.includes(s.slice(1)))return n(o)
;return e.enter("gfmFootnoteCallLabelMarker"),
e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function X_(e,t){
let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){
e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker"
;const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),
end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",
start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)}
;o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={
type:"gfmFootnoteCallString",start:Object.assign({},o.end),
end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",
contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)
},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]]
;return e.splice(n,e.length-n+1,...s),e}function G_(e,t,n){
const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0
;return function(t){
return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),
e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){
return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),
e.consume(t),e.exit("gfmFootnoteCallMarker"),
e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}
function l(s){if(a>999||93===s&&!i||null===s||91===s||jk(s))return n(s)
;if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString")
;return o.includes(ox(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),
e.consume(s),
e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}
return jk(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){
return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function Y_(e,t,n){
const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0
;return function(t){
return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),
e.enter("gfmFootnoteDefinitionLabelMarker"),
e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){
return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),
e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),
e.enter("gfmFootnoteDefinitionLabelString"),
e.enter("chunkString").contentType="string",c):n(t)}function c(t){
if(s>999||93===t&&!a||null===t||91===t||jk(t))return n(t);if(93===t){
e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString")
;return i=ox(r.sliceSerialize(n)),
e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),
e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),
d}return jk(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){
return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){
return 58===t?(e.enter("definitionMarker"),
e.consume(t),e.exit("definitionMarker"),
o.includes(i)||o.push(i),i_(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}
function p(e){return t(e)}}function K_(e,t,n){
return e.check(a_,t,e.attempt(Z_,t,n))}function J_(e){
e.exit("gfmFootnoteDefinition")}function eE(e){let t=(e||{}).singleTilde
;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0
;return function(t){
if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t)
;return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){
const l=e_(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s)
;if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=e_(i)
;return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},
resolveAll:function(e,t){let n=-1
;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){
let r=n
;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){
e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence"
;const o={type:"strikethrough",start:Object.assign({},e[r][1].start),
end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",
start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)
},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null
;s&&$S(a,a.length,0,t_(s,e.slice(r+1,n),t)),
$S(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),
$S(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1
;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data")
;return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},
attentionMarkers:{null:[126]}}}class tE{constructor(){this.map=[]}add(e,t,n){
!function(e,t,n,r){let o=0;if(0===n&&0===r.length)return;for(;o<e.map.length;){
if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}
e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort((function(e,t){
return e[0]-t[0]})),0===this.map.length)return;let t=this.map.length;const n=[]
;for(;t>0;)t-=1,
n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0]
;n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop()
;this.map.length=0}}function nE(e,t){let n=!1;const r=[];for(;t<e.length;){
const o=e[t];if(n){
if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){
if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1
;r[e]="left"===r[e]?"center":"right"}
}else if("tableDelimiterRow"===o[1].type)break
}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}
function rE(e,t,n){const r=this;let o,i=0,a=0;return function(e){
let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type
;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}
const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?y:s
;if(i===y&&r.parser.lazy[r.now().line])return n(e);return i(e)};function s(t){
return e.enter("tableHead"),e.enter("tableRow"),function(e){
if(124===e)return l(e);return o=!0,a+=1,l(e)}(t)}function l(t){
return null===t?n(t):Lk(t)?a>1?(a=0,
r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),
d):n(t):Bk(t)?i_(e,l,"whitespace")(t):(a+=1,o&&(o=!1,
i+=1),124===t?(e.enter("tableCellDivider"),
e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}
function c(t){
return null===t||124===t||jk(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}
function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){
return r.interrupt=!1,
r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),
o=!1,Bk(t)?i_(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))
}function p(t){
return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),
e.consume(t),e.exit("tableCellDivider"),h):O(t)}function h(t){
return Bk(t)?i_(e,f,"whitespace")(t):f(t)}function f(t){
return 58===t?(a+=1,o=!0,
e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),
m):45===t?(a+=1,m(t)):null===t||Lk(t)?b(t):O(t)}function m(t){
return 45===t?(e.enter("tableDelimiterFiller"),g(t)):O(t)}function g(t){
return 45===t?(e.consume(t),
g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),
e.consume(t),
e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}
function v(t){return Bk(t)?i_(e,b,"whitespace")(t):b(t)}function b(n){
return 124===n?p(n):(null===n||Lk(n))&&o&&i===a?(e.exit("tableDelimiterRow"),
e.exit("tableHead"),t(n)):O(n)}function O(e){return n(e)}function y(t){
return e.enter("tableRow"),w(t)}function w(n){
return 124===n?(e.enter("tableCellDivider"),
e.consume(n),e.exit("tableCellDivider"),
w):null===n||Lk(n)?(e.exit("tableRow"),t(n)):Bk(n)?i_(e,w,"whitespace")(n):(e.enter("data"),
k(n))}function k(t){
return null===t||124===t||jk(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?x:k)}
function x(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function oE(e,t){
let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new tE
;for(;++i<e.length;){const h=e[i],f=h[1]
;"enter"===h[0]?"tableHead"===f.type?(u=!1,
0!==d&&(aE(p,t,d,n,r),r=void 0,d=0),n={type:"table",
start:Object.assign({},f.start),end:Object.assign({},f.end)
},p.add(i,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,
o=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",
start:Object.assign({},f.start),end:Object.assign({},f.end)
},p.add(i,0,[["enter",r,t]])),
s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],
o=iE(p,t,l,s,void 0,o)),
l=c,c=[l[1],i,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],
o=iE(p,t,l,s,void 0,o),
l=[0,0,0,0]),c[2]=i)):"tableHead"===f.type?(u=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,
0!==l[1]?(c[0]=c[1],
o=iE(p,t,l,s,i,o)):0!==c[1]&&(o=iE(p,t,c,s,i,o)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=i)
}for(0!==d&&aE(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){
const e=t.events[i]
;"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=nE(t.events,i))}return e}
function iE(e,t,n,r,o,i){
const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData"
;0!==n[0]&&(i.end=Object.assign({},sE(t.events,n[0])),
e.add(n[0],0,[["exit",i,t]]));const s=sE(t.events,n[1]);if(i={type:a,
start:Object.assign({},s),end:Object.assign({},s)
},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){
const o=sE(t.events,n[2]),i=sE(t.events,n[3]),a={type:"tableContent",
start:Object.assign({},o),end:Object.assign({},i)}
;if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]]
;if(r[1].end=Object.assign({},o[1].end),
r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){
const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}
return void 0!==o&&(i.end=Object.assign({},sE(t.events,o)),
e.add(o,0,[["exit",i,t]]),i=void 0),i}function aE(e,t,n,r,o){
const i=[],a=sE(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),
r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function sE(e,t){
const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const lE={
tokenize:function(e,t,n){const r=this;return function(t){
if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t)
;return e.enter("taskListCheck"),
e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o}
;function o(t){
return jk(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),
e.exit("taskListCheckValueUnchecked"),
i):88===t||120===t?(e.enter("taskListCheckValueChecked"),
e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){
return 93===t?(e.enter("taskListCheckMarker"),
e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}
function a(r){return Lk(r)?t(r):Bk(r)?e.check({tokenize:cE},t,n)(r):n(r)}}}
;function cE(e,t,n){return i_(e,(function(e){return null===e?n(e):t(e)
}),"whitespace")}const uE={};function dE(e){
const t=e||uE,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[])
;r.push(function(e){return MS([{text:VS},{document:{91:{tokenize:Y_,
continuation:{tokenize:K_},exit:J_}},text:{91:{tokenize:G_},93:{add:"after",
tokenize:W_,resolveTo:X_}}},eE(e),{flow:{null:{tokenize:rE,resolveAll:oE}}},{
text:{91:lE}}])}(t)),o.push([{transforms:[ex],enter:{literalAutolink:Wk,
literalAutolinkEmail:Xk,literalAutolinkHttp:Xk,literalAutolinkWww:Xk},exit:{
literalAutolink:Jk,literalAutolinkEmail:Kk,literalAutolinkHttp:Gk,
literalAutolinkWww:Yk}},{enter:{gfmFootnoteDefinition:ix,
gfmFootnoteDefinitionLabelString:ax,gfmFootnoteCall:cx,gfmFootnoteCallString:ux
},exit:{gfmFootnoteDefinition:lx,gfmFootnoteDefinitionLabelString:sx,
gfmFootnoteCall:px,gfmFootnoteCallString:dx}},{canContainEols:["delete"],enter:{
strikethrough:vx},exit:{strikethrough:bx}},{enter:{table:wS,tableData:_S,
tableHeader:_S,tableRow:xS},exit:{codeText:ES,table:kS,tableData:SS,
tableHeader:SS,tableRow:SS}},{exit:{taskListCheckValueChecked:AS,
taskListCheckValueUnchecked:AS,paragraph:PS}}]),i.push(function(e){return{
extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",
inConstruct:Vk,notInConstruct:Zk},{character:".",before:"[Ww]",
after:"[\\-.\\w]",inConstruct:Vk,notInConstruct:Zk},{character:":",
before:"[ps]",after:"\\/",inConstruct:Vk,notInConstruct:Zk}]},{unsafe:[{
character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{
footnoteDefinition:fx,footnoteReference:hx}},{unsafe:[{character:"~",
inConstruct:"phrasing",notInConstruct:gx}],handlers:{delete:Ox}},CS(e),{
unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:DS}}]}}(t))
}const pE={tokenize:function(e){
const t=e.attempt(this.parser.constructs.contentInitial,(function(n){
if(null===n)return void e.consume(n)
;return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
i_(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n
;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",
previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){
return null===t?(e.exit("chunkText"),
e.exit("paragraph"),void e.consume(t)):Lk(t)?(e.consume(t),
e.exit("chunkText"),r):(e.consume(t),o)}}};const hE={tokenize:function(e){
const t=this,n=[];let r,o,i,a=0;return s;function s(r){if(a<n.length){
const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,c)(r)}
return c(r)}function l(e){if(a++,t.containerState._closeFlow){
t.containerState._closeFlow=void 0,r&&b();const n=t.events.length;let o,i=n
;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){
o=t.events[i][1].end;break}v(a);let s=n
;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++
;return $S(t.events,i+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}
function c(o){if(a===n.length){if(!r)return p(o)
;if(r.currentConstruct&&r.currentConstruct.concrete)return f(o)
;t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}
return t.containerState={},e.check(fE,u,d)(o)}function u(e){
return r&&b(),v(a),p(e)}function d(e){
return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,f(e)}
function p(n){return t.containerState={},e.attempt(fE,h,f)(n)}function h(e){
return a++,n.push([t.currentConstruct,t.containerState]),p(e)}function f(n){
return null===n?(r&&b(),
v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{
contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){
return null===n?(g(e.exit("chunkFlow"),!0),
v(0),void e.consume(n)):Lk(n)?(e.consume(n),
g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}
function g(e,n){const s=t.sliceStream(e)
;if(n&&s.push(null),e.previous=o,o&&(o.next=e),
o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){
let e=r.events.length
;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return
;const n=t.events.length;let o,s,l=n
;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){
s=t.events[l][1].end;break}o=!0}
for(v(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++
;$S(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){
let o=n.length;for(;o-- >r;){const r=n[o]
;t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){
r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},fE={
tokenize:function(e,t,n){
return i_(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)
}};const mE={tokenize:function(e){const t=this,n=e.attempt(a_,(function(r){
if(null===r)return void e.consume(r)
;return e.enter("lineEndingBlank"),e.consume(r),
e.exit("lineEndingBlank"),t.currentConstruct=void 0,n
}),e.attempt(this.parser.constructs.flowInitial,r,i_(e,e.attempt(this.parser.constructs.flow,r,e.attempt(O_,r)),"linePrefix")))
;return n;function r(r){
if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),
t.currentConstruct=void 0,n;e.consume(r)}}};const gE={resolveAll:yE()
},vE=OE("string"),bE=OE("text");function OE(e){return{tokenize:function(t){
const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i
;function i(e){return l(e)?o(e):a(e)}function a(e){
if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){
return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){
if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o]
;if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},
resolveAll:yE("text"===e?wE:void 0)}}function yE(e){return function(t,n){
let r,o=-1
;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,
t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function wE(e,t){let n=0
;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){
const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,s=-1,l=0;for(;a--;){
const e=o[a];if("string"==typeof e){
for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1
}else if(-2===e)i=!0,l++;else if(-1!==e){a++;break}}if(l){const o={
type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{
line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,
_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},
end:Object.assign({},r.end)}
;r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),
n+=2)}n++}return e}function kE(e,t,n){
let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,
_bufferIndex:-1});const o={},i=[];let a=[],s=[];const l={consume:function(e){
Lk(e)?(r.line++,
r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++)
;r._bufferIndex<0?r._index++:(r._bufferIndex++,
r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++))
;c.previous=e},enter:function(e,t){const n=t||{}
;return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},
exit:function(e){const t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t
},attempt:g((function(e,t){v(e,t.from)})),check:g(m),interrupt:g(m,{interrupt:!0
})},c={previous:null,code:null,containerState:{},events:[],parser:e,
sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n=-1
;const r=[];let o;for(;++n<e.length;){const i=e[n];let a
;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n"
;break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue
;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}
return r.join("")}(d(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,b()
},write:function(e){if(a=RS(a,e),h(),null!==a[a.length-1])return[]
;return v(t,0),c.events=t_(i,c.events,c),c.events}};let u=t.tokenize.call(c,l)
;return t.resolveAll&&i.push(t),c;function d(e){return function(e,t){
const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex
;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const e=a[0]
;"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}
return a}(a,e)}function p(){
const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,
column:t,offset:n,_index:o,_bufferIndex:i}}function h(){let e
;for(;r._index<a.length;){const t=a[r._index]
;if("string"==typeof t)for(e=r._index,
r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)f(t.charCodeAt(r._bufferIndex));else f(t)
}}function f(e){u=u(e)}function m(e,t){t.restore()}function g(e,t){
return function(n,o,i){let a,u,d,h
;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){return t
;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null
;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}
}(n);function f(e){return a=e,u=0,0===e.length?i:m(e[u])}function m(e){
return function(n){h=function(){
const e=p(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(s)
;return{restore:a,from:o};function a(){
r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,s=i,b()}
}(),d=e,e.partial||(c.currentConstruct=e)
;if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v()
;return e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,g,v)(n)}}
function g(t){return e(d,h),o}function v(e){
return h.restore(),++u<a.length?m(a[u]):i}}}function v(e,t){
e.resolveAll&&!i.includes(e)&&i.push(e),
e.resolve&&$S(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),
e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){
r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const xE={
42:z_,43:z_,45:z_,48:z_,49:z_,50:z_,51:z_,52:z_,53:z_,54:z_,55:z_,56:z_,57:z_,
62:s_},SE={91:__},_E={[-2]:p_,[-1]:p_,32:p_},EE={35:C_,42:F_,45:[V_,F_],60:D_,
61:V_,95:F_,96:d_,126:d_},TE={38:c_,92:l_},CE={[-5]:U_,[-4]:U_,[-3]:U_,33:B_,
38:c_,42:n_,60:[o_,N_],91:Q_,92:[T_,l_],93:M_,95:n_,96:f_},AE={null:[n_,gE]
},PE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{
null:[42,95]},contentInitial:SE,disable:{null:[]},document:xE,flow:EE,
flowInitial:_E,insideSpan:AE,string:TE,text:CE},Symbol.toStringTag,{
value:"Module"}));const DE=/[\0\t\n\r]/g;function $E(e){
return e&&"object"==typeof e?"position"in e||"type"in e?NE(e.position):"start"in e||"end"in e?NE(e):"line"in e||"column"in e?RE(e):"":""
}function RE(e){return ME(e&&e.line)+":"+ME(e&&e.column)}function NE(e){
return RE(e&&e.start)+"-"+RE(e&&e.end)}function ME(e){
return e&&"number"==typeof e?e:1}const IE={}.hasOwnProperty;function LE(e,t,n){
return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],
canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{
autolink:i(te),autolinkProtocol:_,autolinkEmail:_,atxHeading:i(Y),
blockQuote:i(V),characterEscape:_,characterReference:_,codeFenced:i(Z),
codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Z,a),codeText:i(W,a),
codeTextData:_,data:_,codeFlowValue:_,definition:i(X),
definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,
emphasis:i(G),hardBreakEscape:i(K),hardBreakTrailing:i(K),htmlFlow:i(J,a),
htmlFlowData:_,htmlText:i(J,a),htmlTextData:_,image:i(ee),label:a,link:i(te),
listItem:i(re),listItemValue:p,listOrdered:i(ne,d),listUnordered:i(ne),
paragraph:i(oe),reference:B,referenceString:a,resourceDestinationString:a,
resourceTitleString:a,setextHeading:i(Y),strong:i(ie),thematicBreak:i(se)},
exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:H,
autolinkProtocol:q,blockQuote:l(),characterEscapeValue:E,
characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,
characterReferenceValue:F,characterReference:z,codeFenced:l(g),
codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:f,codeFlowValue:E,
codeIndented:l(v),codeText:l(D),codeTextData:E,data:E,definition:l(),
definitionDestinationString:y,definitionLabelString:b,definitionTitleString:O,
emphasis:l(),hardBreakEscape:l(C),hardBreakTrailing:l(C),htmlFlow:l(A),
htmlFlowData:E,htmlText:l(P),htmlTextData:E,image:l(R),label:M,labelText:N,
lineEnding:T,link:l($),listItem:l(),listOrdered:l(),listUnordered:l(),
paragraph:l(),referenceString:Q,resourceDestinationString:I,
resourceTitleString:L,resource:j,setextHeading:l(S),setextHeadingLineSequence:x,
setextHeadingText:k,strong:l(),thematicBreak:l()}}
;BE(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={
type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:s,
exit:c,buffer:a,resume:u,data:n},l=[];let d=-1
;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])l.push(d);else{
d=o(e,l.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]]
;IE.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({
sliceSerialize:e[d][2].sliceSerialize},i),e[d][1])}if(i.tokenStack.length>0){
const e=i.tokenStack[i.tokenStack.length-1];(e[1]||UE).call(i,void 0,e[0])}
for(r.position={start:jE(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),
end:jE(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})
},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}
function o(e,t,n){let r,o,i,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s]
;switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":
"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":
"enter"===t[0]&&(!r||a||l||i||(i=s),a=void 0);break;case"linePrefix":
case"listItemValue":case"listItemMarker":case"listItemPrefix":
case"listItemPrefixWhitespace":break;default:a=void 0}
if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){
if(r){let a=s;for(o=void 0;a--;){const t=e[a]
;if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){
if("exit"===t[0])continue
;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a
}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break
}
i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),
s++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,
start:Object.assign({},t[1].start),end:void 0}
;r=o,e.splice(s,0,["enter",o,t[2]]),s++,n++,i=void 0,a=!0}}}
return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){
s.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({
type:"fragment",children:[]})}function s(e,t,n){
this.stack[this.stack.length-1].children.push(e),
this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:jE(t.start),
end:void 0}}function l(e){return t;function t(t){
e&&e.call(this,t),c.call(this,t)}}function c(e,t){
const n=this.stack.pop(),r=this.tokenStack.pop()
;if(!r)throw new Error("Cannot close `"+e.type+"` ("+$E({start:e.start,end:e.end
})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{
(r[1]||UE).call(this,e,r[0])}n.position.end=jE(e.end)}function u(){
return Mx(this.stack.pop())}function d(){
this.data.expectingFirstListItemValue=!0}function p(e){
if(this.data.expectingFirstListItemValue){
this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),
this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume()
;this.stack[this.stack.length-1].lang=e}function f(){const e=this.resume()
;this.stack[this.stack.length-1].meta=e}function m(){
this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}
function g(){const e=this.resume()
;this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),
this.data.flowCodeInside=void 0}function v(){const e=this.resume()
;this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}
function b(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,
n.identifier=ox(this.sliceSerialize(e)).toLowerCase()}function O(){
const e=this.resume();this.stack[this.stack.length-1].title=e}function y(){
const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){
const t=this.stack[this.stack.length-1];if(!t.depth){
const n=this.sliceSerialize(e).length;t.depth=n}}function k(){
this.data.setextHeadingSlurpLineEnding=!0}function x(e){
this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2
}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function _(e){
const t=this.stack[this.stack.length-1].children;let n=t[t.length-1]
;n&&"text"===n.type||(n=ae(),n.position={start:jE(e.start),end:void 0
},t.push(n)),this.stack.push(n)}function E(e){const t=this.stack.pop()
;t.value+=this.sliceSerialize(e),t.position.end=jE(e.end)}function T(e){
const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){
return n.children[n.children.length-1].position.end=jE(e.end),
void(this.data.atHardBreak=void 0)}
!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(_.call(this,e),
E.call(this,e))}function C(){this.data.atHardBreak=!0}function A(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function $(){
const e=this.stack[this.stack.length-1];if(this.data.inReference){
const t=this.data.referenceType||"shortcut"
;e.type+="Reference",e.referenceType=t,delete e.url,delete e.title
}else delete e.identifier,delete e.label;this.data.referenceType=void 0}
function R(){const e=this.stack[this.stack.length-1];if(this.data.inReference){
const t=this.data.referenceType||"shortcut"
;e.type+="Reference",e.referenceType=t,delete e.url,delete e.title
}else delete e.identifier,delete e.label;this.data.referenceType=void 0}
function N(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2]
;n.label=oS(t),n.identifier=ox(t).toLowerCase()}function M(){
const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1]
;if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t
}else n.alt=t}function I(){const e=this.resume()
;this.stack[this.stack.length-1].url=e}function L(){const e=this.resume()
;this.stack[this.stack.length-1].title=e}function j(){
this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}
function Q(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,
n.identifier=ox(this.sliceSerialize(e)).toLowerCase(),
this.data.referenceType="full"}function U(e){
this.data.characterReferenceType=e.type}function F(e){
const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r
;if(n)r=nS(t,"characterReferenceMarkerNumeric"===n?10:16),
this.data.characterReferenceType=void 0;else{r=tS(t)}
this.stack[this.stack.length-1].value+=r}function z(e){
this.stack.pop().position.end=jE(e.end)}function q(e){E.call(this,e)
;this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function H(e){
E.call(this,e)
;this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}
function V(){return{type:"blockquote",children:[]}}function Z(){return{
type:"code",lang:null,meta:null,value:""}}function W(){return{type:"inlineCode",
value:""}}function X(){return{type:"definition",identifier:"",label:null,
title:null,url:""}}function G(){return{type:"emphasis",children:[]}}
function Y(){return{type:"heading",depth:0,children:[]}}function K(){return{
type:"break"}}function J(){return{type:"html",value:""}}function ee(){return{
type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",
title:null,url:"",children:[]}}function ne(e){return{type:"list",
ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}
function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}
}function oe(){return{type:"paragraph",children:[]}}function ie(){return{
type:"strong",children:[]}}function ae(){return{type:"text",value:""}}
function se(){return{type:"thematicBreak"}}}(n)(function(e){for(;!v_(e););
return e}(function(e){const t={defined:[],lazy:{},
constructs:MS([PE,...(e||{}).extensions||[]]),content:n(pE),document:n(hE),
flow:n(mE),string:n(vE),text:n(bE)};return t;function n(e){return function(n){
return kE(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0
;return function(o,i,a){const s=[];let l,c,u,d,p
;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),
u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){
if(DE.lastIndex=u,
l=DE.exec(o),d=l&&void 0!==l.index?l.index:o.length,p=o.charCodeAt(d),!l){
n=o.slice(u);break}
if(10===p&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),
e=void 0),u<d&&(s.push(o.slice(u,d)),t+=d-u),p){case 0:s.push(65533),t++;break
;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:
s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}
return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}
function jE(e){return{line:e.line,column:e.column,offset:e.offset}}
function BE(e,t){let n=-1;for(;++n<t.length;){const r=t[n]
;Array.isArray(r)?BE(e,r):QE(e,r)}}function QE(e,t){let n
;for(n in t)if(IE.call(t,n))switch(n){case"canContainEols":{const r=t[n]
;r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r)
;break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}
function UE(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+$E({
start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$E({
start:t.start,end:t.end
})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+$E({
start:t.start,end:t.end})+") is still open")}function FE(e){const t=this
;t.parser=function(n){return LE(n,{...t.data("settings"),...e,
extensions:t.data("micromarkExtensions")||[],
mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function zE(e,t){
const n=t.referenceType;let r="]"
;if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),
"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}]
;const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({
type:"text",value:"["});const a=o[o.length-1]
;return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}
function qE(e){const t=e.spread;return null==t?e.children.length>1:t}
const HE=9,VE=32;function ZE(e){const t=String(e),n=/\r?\n|\r/g
;let r=n.exec(t),o=0;const i=[]
;for(;r;)i.push(WE(t.slice(o,r.index),o>0,!0),r[0]),
o=r.index+r[0].length,r=n.exec(t)
;return i.push(WE(t.slice(o),o>0,!1)),i.join("")}function WE(e,t,n){
let r=0,o=e.length;if(t){let t=e.codePointAt(r)
;for(;t===HE||t===VE;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1)
;for(;t===HE||t===VE;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}
const XE={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",
properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)
},break:function(e,t){const n={type:"element",tagName:"br",properties:{},
children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},
code:function(e,t){const n=t.value?t.value+"\n":"",r={}
;t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",
tagName:"code",properties:r,children:[{type:"text",value:n}]}
;return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={
type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},
delete:function(e,t){const n={type:"element",tagName:"del",properties:{},
children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){
const n={type:"element",tagName:"em",properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){
const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=JS(r.toLowerCase()),i=e.footnoteOrder.indexOf(r)
;let a,s=e.footnoteCounts.get(r)
;void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,
s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{
href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,
ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]}
;e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]}
;return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={
type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},html:function(e,t){
if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value}
;return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){
const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n)
;if(!r)return zE(e,t);const o={src:JS(r.url||""),alt:t.alt}
;null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",
tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},
image:function(e,t){const n={src:JS(t.url)}
;null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),
null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",
tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},
inlineCode:function(e,t){const n={type:"text",
value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",
tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)
},linkReference:function(e,t){
const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n)
;if(!r)return zE(e,t);const o={href:JS(r.url||"")}
;null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",
tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)
},link:function(e,t){const n={href:JS(t.url)}
;null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",
tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)
},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1
;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1
;for(;!t&&++r<n.length;)t=qE(n[r])}return t}(n):qE(t),i={},a=[]
;if("boolean"==typeof t.checked){const e=r[0];let n
;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",
properties:{},children:[]
},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "
}),n.children.unshift({type:"element",tagName:"input",properties:{
type:"checkbox",checked:t.checked,disabled:!0},children:[]
}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s]
;(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"
}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}
const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&a.push({
type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,
children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){
const n={},r=e.all(t);let o=-1
;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){
const e=r[o]
;if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){
n.className=["contains-task-list"];break}}const i={type:"element",
tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)}
;return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={
type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),
e.applyData(t,n)},root:function(e,t){const n={type:"root",
children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},
strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},
children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){
const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",
properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}
if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},
children:e.wrap(n,!0)},i=pw(t.children[1]),a=dw(t.children[t.children.length-1])
;i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",
tagName:"table",properties:{},children:e.wrap(o,!0)}
;return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={
type:"element",tagName:"td",properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){
const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length
;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=i?i[s]:void 0
;a&&(r.align=a);let c={type:"element",tagName:o,properties:r,children:[]}
;n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={
type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)}
;return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",
value:ZE(String(t.value))};return e.patch(t,n),e.applyData(t,n)},
thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},
children:[]};return e.patch(t,n),e.applyData(t,n)},toml:GE,yaml:GE,
definition:GE,footnoteDefinition:GE};function GE(){}function YE(e,t){const n=[{
type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",
properties:{},children:[{type:"text",value:String(t)}]}),n}function KE(e,t){
return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const JE={}.hasOwnProperty,eT={}
;function tT(e,t){e.position&&(t.position=fw(e))}function nT(e,t){let n=t
;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties
;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",
tagName:t,properties:{},children:"children"in n?n.children:[n]}}
"element"===n.type&&o&&Object.assign(n.properties,rg(o)),
"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function rT(e,t){
const n=t.data||{},r=!("value"in t)||JE.call(n,"hProperties")||JE.call(n,"hChildren")?{
type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",
value:t.value};return e.patch(t,r),e.applyData(t,r)}function oT(e,t){const n=[]
;let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({
type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",
value:"\n"}),n}function iT(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,
n=e.charCodeAt(t);return e.slice(t)}function aT(e,t){const n=function(e,t){
const n=t||eT,r=new Map,o=new Map,i=new Map,a={...XE,...n.handlers},s={
all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1
;for(;++r<n.length;){const o=s.one(n[r],e);if(o){
if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=iT(o.value)),
!Array.isArray(o)&&"element"===o.type)){const e=o.children[0]
;e&&"text"===e.type&&(e.value=iT(e.value))}
Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:nT,
definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,
one:function(e,t){const n=e.type,r=s.handlers[n]
;if(JE.call(s.handlers,n)&&r)return r(s,e,t)
;if(s.options.passThrough&&s.options.passThrough.includes(n)){
if("children"in e){const{children:t,...n}=e,r=rg(n);return r.children=s.all(e),r
}return rg(e)}return(s.options.unknownHandler||rT)(s,e,t)},options:n,patch:tT,
wrap:oT};return wg(e,(function(e){
if("definition"===e.type||"footnoteDefinition"===e.type){
const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase()
;t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),o=function(e){
const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||YE,r=e.options.footnoteBackLabel||KE,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{
className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){
const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue
;const i=e.all(o),a=String(o.identifier).toUpperCase(),c=JS(a.toLowerCase())
;let u=0;const d=[],p=e.footnoteCounts.get(a);for(;void 0!==p&&++u<=p;){
d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u)
;"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",
tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),
dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),
className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}
const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){
const e=h.children[h.children.length-1]
;e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "
}),h.children.push(...d)}else i.push(...d);const f={type:"element",tagName:"li",
properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,f),s.push(f)}
if(0!==s.length)return{type:"element",tagName:"section",properties:{
dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,
properties:{...rg(a),id:"footnote-label"},children:[{type:"text",value:o}]},{
type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},
children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{
type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({
type:"text",value:"\n"},o),i}function sT(e,t){
return e&&"run"in e?async function(n,r){const o=aT(n,{file:r,...t})
;await e.run(o,r)}:function(n,r){return aT(n,{file:r,...t||e})}}function lT(e){
const t=this;t.compiler=function(n){return fS(n,{...t.data("settings"),...e,
extensions:t.data("toMarkdownExtensions")||[]})}}function cT(e){if(e)throw e}
var uT=Object.prototype.hasOwnProperty,dT=Object.prototype.toString,pT=Object.defineProperty,hT=Object.getOwnPropertyDescriptor,fT=function(e){
return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===dT.call(e)
},mT=function(e){if(!e||"[object Object]"!==dT.call(e))return!1
;var t,n=uT.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&uT.call(e.constructor.prototype,"isPrototypeOf")
;if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||uT.call(e,t)
},gT=function(e,t){pT&&"__proto__"===t.name?pT(e,t.name,{enumerable:!0,
configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue
},vT=function(e,t){if("__proto__"===t){if(!uT.call(e,t))return
;if(hT)return hT(e,t).value}return e[t]},bT=function e(){
var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1
;for("boolean"==typeof s&&(u=s,
s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=vT(s,n),
s!==(o=vT(t,n))&&(u&&o&&(mT(o)||(i=fT(o)))?(i?(i=!1,
a=r&&fT(r)?r:[]):a=r&&mT(r)?r:{},gT(s,{name:n,newValue:e(u,a,o)
})):void 0!==o&&gT(s,{name:n,newValue:o}));return s};const OT=gm(bT)
;function yT(e){if("object"!=typeof e||null===e)return!1
;const t=Object.getPrototypeOf(e)
;return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)
}function wT(){const e=[],t={run:function(...t){let n=-1;const r=t.pop()
;if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r)
;!function o(i,...a){const s=e[++n];let l=-1;if(i)r(i);else{
for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){
let n;return r;function r(...t){const r=e.length>t.length;let s;r&&t.push(o)
;try{s=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}
r||(s&&s.then&&"function"==typeof s.then?s.then(a,o):s instanceof Error?o(s):a(s))
}function o(e,...r){n||(n=!0,t(e,...r))}function a(e){o(null,e)}
}(s,o)(...a):r(null,...a)}}(null,...t)},use:function(n){
if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n)
;return e.push(n),t}};return t}class kT extends Error{constructor(e,t,n){
super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1
;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t
}:"type"in t?{ancestors:[t],place:t.position}:{...t
}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,
r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){
const e=n.indexOf(":")
;-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}
if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1]
;e&&(o.place=e.position)}
const a=o.place&&"start"in o.place?o.place.start:o.place
;this.ancestors=o.ancestors||void 0,
this.cause=o.cause||void 0,this.column=a?a.column:void 0,
this.fatal=void 0,this.file,
this.message=r,this.line=a?a.line:void 0,this.name=$E(o.place)||"1:1",
this.place=o.place||void 0,
this.reason=this.message,this.ruleId=o.ruleId||void 0,
this.source=o.source||void 0,
this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",
this.actual,this.expected,this.note,this.url}}
kT.prototype.file="",kT.prototype.name="",
kT.prototype.reason="",kT.prototype.message="",
kT.prototype.stack="",kT.prototype.column=void 0,
kT.prototype.line=void 0,kT.prototype.ancestors=void 0,
kT.prototype.cause=void 0,
kT.prototype.fatal=void 0,kT.prototype.place=void 0,kT.prototype.ruleId=void 0,
kT.prototype.source=void 0;const xT={basename:function(e,t){
if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string')
;ST(e);let n,r=0,o=-1,i=e.length
;if(void 0===t||0===t.length||t.length>e.length){
for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1)
;return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1
;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}
}else a<0&&(n=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(o=i):(s=-1,
o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){
if(ST(e),0===e.length)return".";let t,n=-1,r=e.length
;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0)
;return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)
},extname:function(e){ST(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){
const s=e.codePointAt(n)
;if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){
o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return""
;return e.slice(i,r)},join:function(...e){let t,n=-1
;for(;++n<e.length;)ST(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n])
;return void 0===t?".":function(e){ST(e);const t=47===e.codePointAt(0)
;let n=function(e,t){let n,r,o="",i=0,a=-1,s=0,l=-1;for(;++l<=e.length;){
if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){
if(a===l-1||1===s);else if(a!==l-1&&2===s){
if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){
if(r=o.lastIndexOf("/"),r!==o.length-1){
r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue
}}else if(o.length>0){o="",i=0,a=l,s=0;continue}
t&&(o=o.length>0?o+"/..":"..",i=2)
}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0
}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);0!==n.length||t||(n=".")
;n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},
sep:"/"};function ST(e){
if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))
}const _T={cwd:function(){return"/"}};function ET(e){
return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)
}function TT(e){if("string"==typeof e)e=new URL(e);else if(!ET(e)){
const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`")
;throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){
const e=new TypeError("The URL must be of scheme file")
;throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){
const e=new TypeError('File URL host must be "localhost" or empty on darwin')
;throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1
;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){
const e=t.codePointAt(n+2);if(70===e||102===e){
const e=new TypeError("File URL path must not include encoded / characters")
;throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}
const CT=["history","path","basename","stem","extname","dirname"];class AT{
constructor(e){let t;t=e?ET(e)?{path:e}:"string"==typeof e||function(e){
return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{
value:e
}:e:{},this.cwd=_T.cwd(),this.data={},this.history=[],this.messages=[],this.value,
this.map,this.result,this.stored;let n,r=-1;for(;++r<CT.length;){const e=CT[r]
;e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}
for(n in t)CT.includes(n)||(this[n]=t[n])}get basename(){
return"string"==typeof this.path?xT.basename(this.path):void 0}set basename(e){
DT(e,"basename"),PT(e,"basename"),this.path=xT.join(this.dirname||"",e)}
get dirname(){return"string"==typeof this.path?xT.dirname(this.path):void 0}
set dirname(e){
$T(this.basename,"dirname"),this.path=xT.join(e||"",this.basename)}
get extname(){return"string"==typeof this.path?xT.extname(this.path):void 0}
set extname(e){if(PT(e,"extname"),$T(this.dirname,"extname"),e){
if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`")
;if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}
this.path=xT.join(this.dirname,this.stem+(e||""))}get path(){
return this.history[this.history.length-1]}set path(e){
ET(e)&&(e=TT(e)),DT(e,"path"),this.path!==e&&this.history.push(e)}get stem(){
return"string"==typeof this.path?xT.basename(this.path,this.extname):void 0}
set stem(e){
DT(e,"stem"),PT(e,"stem"),this.path=xT.join(this.dirname||"",e+(this.extname||""))
}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){
const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){
const r=new kT(e,t,n)
;return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),
r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return""
;if("string"==typeof this.value)return this.value
;return new TextDecoder(e||void 0).decode(this.value)}}function PT(e,t){
if(e&&e.includes(xT.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+xT.sep+"`")
}function DT(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}
function $T(e,t){
if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}
const RT=function(e){const t=this.constructor.prototype,n=t[e],r=function(){
return n.apply(r,arguments)};Object.setPrototypeOf(r,t)
;const o=Object.getOwnPropertyNames(n);for(const i of o){
const e=Object.getOwnPropertyDescriptor(n,i);e&&Object.defineProperty(r,i,e)}
return r},NT={}.hasOwnProperty;class MT extends RT{constructor(){
super("copy"),this.Compiler=void 0,
this.Parser=void 0,this.attachers=[],this.compiler=void 0,
this.freezeIndex=-1,this.frozen=void 0,
this.namespace={},this.parser=void 0,this.transformers=wT()}copy(){
const e=new MT;let t=-1;for(;++t<this.attachers.length;){
const n=this.attachers[t];e.use(...n)}return e.data(OT(!0,{},this.namespace)),e}
data(e,t){return"string"==typeof e?2===arguments.length?(BT("data",this.frozen),
this.namespace[e]=t,
this):NT.call(this.namespace,e)&&this.namespace[e]||void 0:e?(BT("data",this.frozen),
this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this
;const e=this;for(;++this.freezeIndex<this.attachers.length;){
const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue
;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n)
;"function"==typeof r&&this.transformers.use(r)}
return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){
this.freeze();const t=FT(e),n=this.parser||this.Parser
;return LT("parse",n),n(String(t),t)}process(e,t){const n=this
;return this.freeze(),
LT("process",this.parser||this.Parser),jT("process",this.compiler||this.Compiler),
t?r(void 0,t):new Promise(r);function r(r,o){const i=FT(e),a=n.parse(i)
;function s(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(a,i,(function(e,t,r){
if(e||!t||!r)return s(e);const o=t,i=n.stringify(o,r);var a
;"string"==typeof(a=i)||function(e){
return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)
}(a)?r.value=i:r.result=i,s(e,r)}))}}processSync(e){let t,n=!1
;return this.freeze(),
LT("processSync",this.parser||this.Parser),jT("processSync",this.compiler||this.Compiler),
this.process(e,(function(e,r){n=!0,cT(e),t=r})),UT("processSync","process",n),t}
run(e,t,n){QT(e),this.freeze();const r=this.transformers
;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o)
;function o(o,i){const a=FT(t);r.run(e,a,(function(t,r,a){const s=r||e
;t?i(t):o?o(s):n(void 0,s,a)}))}}runSync(e,t){let n,r=!1
;return this.run(e,t,(function(e,t){cT(e),n=t,r=!0})),UT("runSync","run",r),n}
stringify(e,t){this.freeze();const n=FT(t),r=this.compiler||this.Compiler
;return jT("stringify",r),QT(e),r(e,n)}use(e,...t){
const n=this.attachers,r=this.namespace
;if(BT("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{
if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`")
;Array.isArray(e)?a(e):i(e)}return this;function o(e){
if("function"==typeof e)s(e,[]);else{
if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`")
;if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else i(e)}}function i(e){
if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither")
;a(e.plugins),e.settings&&(r.settings=OT(!0,r.settings,e.settings))}
function a(e){let t=-1;if(null==e);else{
if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`")
;for(;++t<e.length;){o(e[t])}}}function s(e,t){let r=-1,o=-1
;for(;++r<n.length;)if(n[r][0]===e){o=r;break}
if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const a=n[o][1]
;yT(a)&&yT(r)&&(r=OT(!0,a,r)),n[o]=[e,r,...i]}}}}const IT=(new MT).freeze()
;function LT(e,t){
if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}
function jT(e,t){
if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")
}function BT(e,t){
if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")
}function QT(e){
if(!yT(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")
}function UT(e,t,n){
if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}
function FT(e){return function(e){
return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)
}(e)?e:new AT(e)}const zT=function(e,t,n){const r=hg(n)
;if(!e||!e.type||!e.children)throw new Error("Expected parent node")
;if("number"==typeof t){
if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")
}else if((t=e.children.indexOf(t))<0)throw new Error("Expected child node or index")
;for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]
},qT=/\n/g,HT=/[\t ]+/g,VT=ig("br"),ZT=ig((function(e){
return"td"===e.tagName||"th"===e.tagName
})),WT=ig("p"),XT=ig("tr"),GT=ig(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){
return Boolean((e.properties||{}).hidden)},function(e){
return"dialog"===e.tagName&&!(e.properties||{}).open
}]),YT=ig(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"])
;function KT(e,t){const n="children"in e?e.children:[],r=YT(e),o=nC(e,{
whitespace:{}.whitespace||"normal",breakBefore:!1,breakAfter:!1}),i=[]
;"text"!==e.type&&"comment"!==e.type||i.push(...eC(e,{whitespace:o,
breakBefore:!0,breakAfter:!0}));let a=-1
;for(;++a<n.length;)i.push(...JT(n[a],e,{whitespace:o,breakBefore:a?void 0:r,
breakAfter:a<n.length-1?VT(n[a+1]):r}));const s=[];let l
;for(a=-1;++a<i.length;){const e=i[a]
;"number"==typeof e?void 0!==l&&e>l&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),
l=-1,s.push(e))}return s.join("")}function JT(e,t,n){
return"element"===e.type?function(e,t,n){const r=nC(e,n),o=e.children||[]
;let i,a,s=-1,l=[];if(GT(e))return l;VT(e)||XT(e)&&zT(t,e,XT)?a="\n":WT(e)?(i=2,
a=2):YT(e)&&(i=1,a=1);for(;++s<o.length;)l=l.concat(JT(o[s],e,{whitespace:r,
breakBefore:s?void 0:i,breakAfter:s<o.length-1?VT(o[s+1]):a}))
;ZT(e)&&zT(t,e,ZT)&&l.push("\t");i&&l.unshift(i);a&&l.push(a);return l
}(e,t,n):"text"===e.type?"normal"===n.whitespace?eC(e,n):function(e){
return[String(e.value)]}(e):[]}function eC(e,t){
const n=String(e.value),r=[],o=[];let i=0;for(;i<=n.length;){qT.lastIndex=i
;const e=qT.exec(n),o=e&&"index"in e?e.index:n.length
;r.push(tC(n.slice(i,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==i||t.breakBefore,o!==n.length||t.breakAfter)),
i=o+1}let a,s=-1
;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(o.push(r[s]),
a=void 0):r[s]?("number"==typeof a&&o.push(a),
o.push(r[s]),a=0):0!==s&&s!==r.length-1||o.push(0);return o}function tC(e,t,n){
const r=[];let o,i=0;for(;i<e.length;){HT.lastIndex=i;const n=HT.exec(e)
;o=n?n.index:e.length,
i||o||!n||t||r.push(""),i!==o&&r.push(e.slice(i,o)),i=n?o+n[0].length:o}
return i===o||n||r.push(""),r.join(" ")}function nC(e,t){if("element"===e.type){
const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":
case"xmp":return"pre";case"nobr":return"nowrap";case"pre":
return n.wrap?"pre-wrap":"pre";case"td":case"th":
return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}
return t.whitespace}
const rC=["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"],oC=["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"],iC=["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"],aC=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],sC=["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()
;var lC="[0-9](_*[0-9])*",cC=`\\.(${lC})`,uC="[0-9a-fA-F](_*[0-9a-fA-F])*",dC={
className:"number",variants:[{
begin:`(\\b(${lC})((${cC})|\\.)?|(${cC}))[eE][+-]?(${lC})[fFdD]?\\b`},{
begin:`\\b(${lC})((${cC})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{
begin:`(${cC})[fFdD]?\\b`},{begin:`\\b(${lC})[fFdD]\\b`},{
begin:`\\b0[xX]((${uC})\\.?|(${uC})?\\.(${uC}))[pP][+-]?(${lC})[fFdD]?\\b`},{
begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${uC})[lL]?\\b`},{
begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],
relevance:0};function pC(e,t,n){return-1===n?"":e.replace(t,(r=>pC(e,t,n-1)))}
const hC="[A-Za-z$_][0-9A-Za-z$_]*",fC=["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"],mC=["true","false","null","undefined","NaN","Infinity"],gC=["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"],vC=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],bC=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],OC=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],yC=[].concat(bC,gC,vC)
;var wC="[0-9](_*[0-9])*",kC=`\\.(${wC})`,xC="[0-9a-fA-F](_*[0-9a-fA-F])*",SC={
className:"number",variants:[{
begin:`(\\b(${wC})((${kC})|\\.)?|(${kC}))[eE][+-]?(${wC})[fFdD]?\\b`},{
begin:`\\b(${wC})((${kC})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{
begin:`(${kC})[fFdD]?\\b`},{begin:`\\b(${wC})[fFdD]\\b`},{
begin:`\\b0[xX]((${xC})\\.?|(${xC})?\\.(${xC}))[pP][+-]?(${wC})[fFdD]?\\b`},{
begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${xC})[lL]?\\b`},{
begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],
relevance:0}
;const _C=["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"],EC=["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"],TC=["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"],CC=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],AC=["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(),PC=TC.concat(CC)
;const DC=["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"],$C=["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"],RC=["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"],NC=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],MC=["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 IC(e){return e?"string"==typeof e?e:e.source:null}function LC(e){
return jC("(?=",e,")")}function jC(...e){return e.map((e=>IC(e))).join("")}
function BC(...e){const t=function(e){const t=e[e.length-1]
;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}
}(e);return"("+(t.capture?"":"?:")+e.map((e=>IC(e))).join("|")+")"}
const QC=e=>jC(/\b/,e,/\w$/.test(e)?/\b/:/\B/),UC=["Protocol","Type"].map(QC),FC=["init","self"].map(QC),zC=["Any","Self"],qC=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","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"],HC=["false","nil","true"],VC=["assignment","associativity","higherThan","left","lowerThan","none","right"],ZC=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],WC=["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"],XC=BC(/[/=\-+!*%<>&|^~?]/,/[\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]/),GC=BC(XC,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),YC=jC(XC,GC,"*"),KC=BC(/[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]/),JC=BC(KC,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),eA=jC(KC,JC,"*"),tA=jC(/[A-Z]/,JC,"*"),nA=["attached","autoclosure",jC(/convention\(/,BC("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",jC(/objc\(/,eA,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],rA=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]
;const oA="[A-Za-z$_][0-9A-Za-z$_]*",iA=["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"],aA=["true","false","null","undefined","NaN","Infinity"],sA=["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"],lA=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],cA=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],uA=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],dA=[].concat(cA,sA,lA)
;function pA(e){
const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={
className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,
contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]
},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{
className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={
endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",
begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{
className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{
begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{
name:"HTML, XML",
aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],
case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,
end:/>/,relevance:10,contains:[o,s,a,i,{begin:/\[/,end:/\]/,contains:[{
className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,s,a]}]}]
},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,
relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,
relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",
begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{
end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",
begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{
end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{
className:"tag",begin:/<>|<\/>/},{className:"tag",
begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),
end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{
className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{
className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}
function hA(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 n=e[t],r=typeof n;"object"!==r&&"function"!==r||Object.isFrozen(n)||hA(n)
})),e}class fA{constructor(e){
void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}
ignoreMatch(){this.isMatchIgnored=!0}}function mA(e){
return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
}function gA(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r]
;return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}
const vA=e=>!!e.scope;class bA{constructor(e,t){
this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){
this.buffer+=mA(e)}openNode(e){if(!vA(e))return;const t=((e,{prefix:t})=>{
if(e.startsWith("language:"))return e.replace("language:","language-")
;if(e.includes(".")){const n=e.split(".")
;return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")
}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}
closeNode(e){vA(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
this.buffer+=`<span class="${e}">`}}const OA=(e={})=>{const t={children:[]}
;return Object.assign(t,e),t};class yA{constructor(){
this.rootNode=OA(),this.stack=[this.rootNode]}get top(){
return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){
this.top.children.push(e)}openNode(e){const t=OA({scope:e})
;this.add(t),this.stack.push(t)}closeNode(){
if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){
for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}
walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){
return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),
t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){
"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{
yA._collapse(e)})))}}class wA extends yA{constructor(e){super(),this.options=e}
addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){
this.closeNode()}__addSublanguage(e,t){const n=e.root
;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){
return new bA(this,this.options).value()}finalize(){return this.closeAllNodes(),
!0}}function kA(e){return e?"string"==typeof e?e:e.source:null}function xA(e){
return EA("(?=",e,")")}function SA(e){return EA("(?:",e,")*")}function _A(e){
return EA("(?:",e,")?")}function EA(...e){return e.map((e=>kA(e))).join("")}
function TA(...e){const t=function(e){const t=e[e.length-1]
;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}
}(e);return"("+(t.capture?"":"?:")+e.map((e=>kA(e))).join("|")+")"}
function CA(e){return new RegExp(e.toString()+"|").exec("").length-1}
const AA=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./
;function PA(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n
;let r=kA(e),o="";for(;r.length>0;){const e=AA.exec(r);if(!e){o+=r;break}
o+=r.substring(0,e.index),
r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?o+="\\"+String(Number(e[1])+t):(o+=e[0],
"("===e[0]&&n++)}return o})).map((e=>`(${e})`)).join(t)}
const DA="[a-zA-Z]\\w*",$A="[a-zA-Z_]\\w*",RA="\\b\\d+(\\.\\d+)?",NA="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",MA="\\b(0b[01]+)",IA={
begin:"\\\\[\\s\\S]",relevance:0},LA={scope:"string",begin:"'",end:"'",
illegal:"\\n",contains:[IA]},jA={scope:"string",begin:'"',end:'"',illegal:"\\n",
contains:[IA]},BA=function(e,t,n={}){const r=gA({scope:"comment",begin:e,end:t,
contains:[]},n);r.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=TA("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 r.contains.push({begin:EA(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),
r},QA=BA("//","$"),UA=BA("/\\*","\\*/"),FA=BA("#","$"),zA={scope:"number",
begin:RA,relevance:0},qA={scope:"number",begin:NA,relevance:0},HA={
scope:"number",begin:MA,relevance:0},VA={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,
end:/\/[gimuy]*/,contains:[IA,{begin:/\[/,end:/\]/,relevance:0,contains:[IA]}]
},ZA={scope:"title",begin:DA,relevance:0},WA={scope:"title",begin:$A,relevance:0
},XA={begin:"\\.\\s*"+$A,relevance:0};var GA=Object.freeze({__proto__:null,
APOS_STRING_MODE:LA,BACKSLASH_ESCAPE:IA,BINARY_NUMBER_MODE:HA,
BINARY_NUMBER_RE:MA,COMMENT:BA,C_BLOCK_COMMENT_MODE:UA,C_LINE_COMMENT_MODE:QA,
C_NUMBER_MODE:qA,C_NUMBER_RE:NA,END_SAME_AS_BEGIN:function(e){
return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},
"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},
HASH_COMMENT_MODE:FA,IDENT_RE:DA,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:XA,
NUMBER_MODE:zA,NUMBER_RE:RA,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/
},QUOTE_STRING_MODE:jA,REGEXP_MODE:VA,
RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",
SHEBANG:(e={})=>{const t=/^#![ ]*\//
;return e.binary&&(e.begin=EA(t,/.*\b/,e.binary,/\b.*/)),gA({scope:"meta",
begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)
},TITLE_MODE:ZA,UNDERSCORE_IDENT_RE:$A,UNDERSCORE_TITLE_MODE:WA})
;function YA(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function KA(e,t){
void 0!==e.className&&(e.scope=e.className,delete e.className)}function JA(e,t){
t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",
e.__beforeBegin=YA,
e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,
void 0===e.relevance&&(e.relevance=0))}function eP(e,t){
Array.isArray(e.illegal)&&(e.illegal=TA(...e.illegal))}function tP(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 nP(e,t){
void 0===e.relevance&&(e.relevance=1)}const rP=(e,t)=>{if(!e.beforeMatch)return
;if(e.starts)throw new Error("beforeMatch cannot be used with starts")
;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]
})),e.keywords=n.keywords,e.begin=EA(n.beforeMatch,xA(n.begin)),e.starts={
relevance:0,contains:[Object.assign(n,{endsParent:!0})]
},e.relevance=0,delete n.beforeMatch
},oP=["of","and","for","in","not","or","if","then","parent","list","value"],iP="keyword"
;function aP(e,t,n=iP){const r=Object.create(null)
;return"string"==typeof e?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach((function(n){
Object.assign(r,aP(e[n],t,n))})),r;function o(e,n){
t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|")
;r[n[0]]=[e,sP(n[0],n[1])]}))}}function sP(e,t){return t?Number(t):function(e){
return oP.includes(e.toLowerCase())}(e)?0:1}const lP={},cP=e=>{console.error(e)
},uP=(e,...t)=>{console.log(`WARN: ${e}`,...t)},dP=(e,t)=>{
lP[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),lP[`${e}/${t}`]=!0)
},pP=new Error;function hP(e,t,{key:n}){let r=0;const o=e[n],i={},a={}
;for(let s=1;s<=t.length;s++)a[s+r]=o[s],i[s+r]=!0,r+=CA(t[s-1])
;e[n]=a,e[n]._emit=i,e[n]._multi=!0}function fP(e){!function(e){
e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,
delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={
_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope
}),function(e){if(Array.isArray(e.begin)){
if(e.skip||e.excludeBegin||e.returnBegin)throw cP("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),
pP
;if("object"!=typeof e.beginScope||null===e.beginScope)throw cP("beginScope must be object"),
pP;hP(e,e.begin,{key:"beginScope"}),e.begin=PA(e.begin,{joinWith:""})}
}(e),function(e){if(Array.isArray(e.end)){
if(e.skip||e.excludeEnd||e.returnEnd)throw cP("skip, excludeEnd, returnEnd not compatible with endScope: {}"),
pP
;if("object"!=typeof e.endScope||null===e.endScope)throw cP("endScope must be object"),
pP;hP(e,e.end,{key:"endScope"}),e.end=PA(e.end,{joinWith:""})}}(e)}
function mP(e){function t(t,n){
return new RegExp(kA(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))
}class n{constructor(){
this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}
addRule(e,t){
t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),
this.matchAt+=CA(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(PA(e,{joinWith:"|"
}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
;const t=this.matcherRe.exec(e);if(!t)return null
;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n]
;return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){
this.rules=[],this.multiRegexes=[],
this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){
if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n
;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),
t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){
return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){
this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){
const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex
;let n=t.exec(e)
;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{
const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}
return n&&(this.regexIndex+=n.position+1,
this.regexIndex===this.count&&this.considerAll()),n}}
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=gA(e.classNameAliases||{}),function n(o,i){const a=o
;if(o.isCompiled)return a
;[KA,tP,fP,rP].forEach((e=>e(o,i))),e.compilerExtensions.forEach((e=>e(o,i))),
o.__beforeBegin=null,[JA,eP,nP].forEach((e=>e(o,i))),o.isCompiled=!0;let s=null
;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),
s=o.keywords.$pattern,
delete o.keywords.$pattern),s=s||/\w+/,o.keywords&&(o.keywords=aP(o.keywords,e.case_insensitive)),
a.keywordPatternRe=t(s,!0),
i&&(o.begin||(o.begin=/\B|\b/),a.beginRe=t(a.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),
o.end&&(a.endRe=t(a.end)),
a.terminatorEnd=kA(a.end)||"",o.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),
o.illegal&&(a.illegalRe=t(o.illegal)),
o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){
return function(e){
e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){
return gA(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants
;if(gP(e))return gA(e,{starts:e.starts?gA(e.starts):null})
;if(Object.isFrozen(e))return gA(e);return e}("self"===e?o:e)
}))),o.contains.forEach((function(e){n(e,a)
})),o.starts&&n(o.starts,i),a.matcher=function(e){const t=new r
;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"
}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"
}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function gP(e){
return!!e&&(e.endsWithParent||gP(e.starts))}class vP extends Error{
constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}
const bP=mA,OP=gA,yP=Symbol("nomatch"),wP=function(e){
const t=Object.create(null),n=Object.create(null),r=[];let o=!0
;const i="Could not find the language '{}', did you forget to load/include a language module?",a={
disableAutodetect:!0,name:"Plain text",contains:[]};let s={
ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,
languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",
cssSelector:"pre code",languages:null,__emitter:wA};function l(e){
return s.noHighlightRe.test(e)}function c(e,t,n){let r="",o=""
;"object"==typeof t?(r=e,
n=t.ignoreIllegals,o=t.language):(dP("10.7.0","highlight(lang, code, ...args) has been deprecated."),
dP("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),
o=e,r=t),void 0===n&&(n=!0);const i={code:r,language:o};b("before:highlight",i)
;const a=i.result?i.result:u(i.language,i.code,n)
;return a.code=i.code,b("after:highlight",a),a}function u(e,n,r,a){
const l=Object.create(null);function c(){if(!_.keywords)return void T.addText(C)
;let e=0;_.keywordPatternRe.lastIndex=0;let t=_.keywordPatternRe.exec(C),n=""
;for(;t;){n+=C.substring(e,t.index)
;const o=k.case_insensitive?t[0].toLowerCase():t[0],i=(r=o,_.keywords[r]);if(i){
const[e,r]=i
;if(T.addText(n),n="",l[o]=(l[o]||0)+1,l[o]<=7&&(A+=r),e.startsWith("_"))n+=t[0];else{
const n=k.classNameAliases[e]||e;h(t[0],n)}}else n+=t[0]
;e=_.keywordPatternRe.lastIndex,t=_.keywordPatternRe.exec(C)}var r
;n+=C.substring(e),T.addText(n)}function p(){null!=_.subLanguage?function(){
if(""===C)return;let e=null;if("string"==typeof _.subLanguage){
if(!t[_.subLanguage])return void T.addText(C)
;e=u(_.subLanguage,C,!0,E[_.subLanguage]),E[_.subLanguage]=e._top
}else e=d(C,_.subLanguage.length?_.subLanguage:null)
;_.relevance>0&&(A+=e.relevance),T.__addSublanguage(e._emitter,e.language)
}():c(),C=""}function h(e,t){""!==e&&(T.startScope(t),T.addText(e),T.endScope())
}function f(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++
;continue}const r=k.classNameAliases[e[n]]||e[n],o=t[n];r?h(o,r):(C=o,c(),C=""),
n++}}function g(e,t){
return e.scope&&"string"==typeof e.scope&&T.openNode(k.classNameAliases[e.scope]||e.scope),
e.beginScope&&(e.beginScope._wrap?(h(C,k.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),
C=""):e.beginScope._multi&&(f(e.beginScope,t),C="")),_=Object.create(e,{parent:{
value:_}}),_}function v(e,t,n){let r=function(e,t){const n=e&&e.exec(t)
;return n&&0===n.index}(e.endRe,n);if(r){if(e["on:end"]){const n=new fA(e)
;e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){
for(;e.endsParent&&e.parent;)e=e.parent;return e}}
if(e.endsWithParent)return v(e.parent,t,n)}function b(e){
return 0===_.matcher.regexIndex?(C+=e[0],1):($=!0,0)}function O(e){
const t=e[0],r=n.substring(e.index),o=v(_,e,r);if(!o)return yP;const i=_
;_.endScope&&_.endScope._wrap?(p(),
h(t,_.endScope._wrap)):_.endScope&&_.endScope._multi?(p(),
f(_.endScope,e)):i.skip?C+=t:(i.returnEnd||i.excludeEnd||(C+=t),
p(),i.excludeEnd&&(C=t));do{
_.scope&&T.closeNode(),_.skip||_.subLanguage||(A+=_.relevance),_=_.parent
}while(_!==o.parent);return o.starts&&g(o.starts,e),i.returnEnd?0:t.length}
let y={};function w(t,i){const a=i&&i[0];if(C+=t,null==a)return p(),0
;if("begin"===y.type&&"end"===i.type&&y.index===i.index&&""===a){
if(C+=n.slice(i.index,i.index+1),!o){
const t=new Error(`0 width match regex (${e})`)
;throw t.languageName=e,t.badRule=y.rule,t}return 1}
if(y=i,"begin"===i.type)return function(e){
const t=e[0],n=e.rule,r=new fA(n),o=[n.__beforeBegin,n["on:begin"]]
;for(const i of o)if(i&&(i(e,r),r.isMatchIgnored))return b(t)
;return n.skip?C+=t:(n.excludeBegin&&(C+=t),
p(),n.returnBegin||n.excludeBegin||(C=t)),g(n,e),n.returnBegin?0:t.length}(i)
;if("illegal"===i.type&&!r){
const e=new Error('Illegal lexeme "'+a+'" for mode "'+(_.scope||"<unnamed>")+'"')
;throw e.mode=_,e}if("end"===i.type){const e=O(i);if(e!==yP)return e}
if("illegal"===i.type&&""===a)return 1;if(D>1e5&&D>3*i.index){
throw new Error("potential infinite loop, way more iterations than matches")}
return C+=a,a.length}const k=m(e)
;if(!k)throw cP(i.replace("{}",e)),new Error('Unknown language: "'+e+'"')
;const x=mP(k);let S="",_=a||x;const E={},T=new s.__emitter(s);!function(){
const e=[];for(let t=_;t!==k;t=t.parent)t.scope&&e.unshift(t.scope)
;e.forEach((e=>T.openNode(e)))}();let C="",A=0,P=0,D=0,$=!1;try{
if(k.__emitTokens)k.__emitTokens(n,T);else{for(_.matcher.considerAll();;){
D++,$?$=!1:_.matcher.considerAll(),_.matcher.lastIndex=P
;const e=_.matcher.exec(n);if(!e)break;const t=w(n.substring(P,e.index),e)
;P=e.index+t}w(n.substring(P))}return T.finalize(),S=T.toHTML(),{language:e,
value:S,relevance:A,illegal:!1,_emitter:T,_top:_}}catch(R){
if(R.message&&R.message.includes("Illegal"))return{language:e,value:bP(n),
illegal:!0,relevance:0,_illegalBy:{message:R.message,index:P,
context:n.slice(P-100,P+100),mode:R.mode,resultSoFar:S},_emitter:T};if(o)return{
language:e,value:bP(n),illegal:!1,relevance:0,errorRaised:R,_emitter:T,_top:_}
;throw R}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){
const t={value:bP(e),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)}
;return t._emitter.addText(e),t}(e),o=n.filter(m).filter(v).map((t=>u(t,e,!1)))
;o.unshift(r);const i=o.sort(((e,t)=>{
if(e.relevance!==t.relevance)return t.relevance-e.relevance
;if(e.language&&t.language){if(m(e.language).supersetOf===t.language)return 1
;if(m(t.language).supersetOf===e.language)return-1}return 0})),[l,c]=i,d=l
;return d.secondBest=c,d}function p(e){let t=null;const r=function(e){
let t=e.className+" ";t+=e.parentNode?e.parentNode.className:""
;const n=s.languageDetectRe.exec(t);if(n){const t=m(n[1])
;return t||(uP(i.replace("{}",n[1])),
uP("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"
}return t.split(/\s+/).find((e=>l(e)||m(e)))}(e);if(l(r))return
;if(b("before:highlightElement",{el:e,language:r
}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e)
;if(e.children.length>0&&(s.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(e)),s.throwUnescapedHTML)){
throw new vP("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e
;const o=t.textContent,a=r?c(o,{language:r,ignoreIllegals:!0}):d(o)
;e.innerHTML=a.value,e.dataset.highlighted="yes",function(e,t,r){
const o=t&&n[t]||r;e.classList.add("hljs"),e.classList.add(`language-${o}`)
}(e,r,a.language),e.result={language:a.language,re:a.relevance,
relevance:a.relevance},a.secondBest&&(e.secondBest={
language:a.secondBest.language,relevance:a.secondBest.relevance
}),b("after:highlightElement",{el:e,result:a,text:o})}let h=!1;function f(){
if("loading"===document.readyState)return void(h=!0)
;document.querySelectorAll(s.cssSelector).forEach(p)}function m(e){
return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function g(e,{languageName:t}){
"string"==typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}
function v(e){const t=m(e);return t&&!t.disableAutodetect}function b(e,t){
const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}
"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){
h&&f()}),!1),Object.assign(e,{highlight:c,highlightAuto:d,highlightAll:f,
highlightElement:p,highlightBlock:function(e){
return dP("10.7.0","highlightBlock will be removed entirely in v12.0"),
dP("10.7.0","Please use highlightElement now."),p(e)},configure:function(e){
s=OP(s,e)},initHighlighting:()=>{
f(),dP("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},
initHighlightingOnLoad:function(){
f(),dP("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")
},registerLanguage:function(n,r){let i=null;try{i=r(e)}catch(s){
if(cP("Language definition for '{}' could not be registered.".replace("{}",n)),
!o)throw s;cP(s),i=a}
i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&g(i.aliases,{
languageName:n})},unregisterLanguage:function(e){delete t[e]
;for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){
return Object.keys(t)},getLanguage:m,registerAliases:g,autoDetection:v,
inherit:OP,addPlugin:function(e){!function(e){
e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{
e["before:highlightBlock"](Object.assign({block:t.el},t))
}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{
e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},
removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}
}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0
},e.versionString="11.9.0",e.regex={concat:EA,lookahead:xA,either:TA,
optional:_A,anyNumberOfTimes:SA}
;for(const O in GA)"object"==typeof GA[O]&&hA(GA[O]);return Object.assign(e,GA),
e},kP=wP({});kP.newInstance=()=>wP({});var xP=kP;kP.HighlightJS=kP,kP.default=kP
;const SP=gm(xP),_P={},EP="hljs-";class TP{constructor(e){
this.options=e,this.root={type:"root",children:[],data:{language:void 0,
relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return
;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1]
;n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}
startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}
__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children
;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},
children:r}):n.children.push(...r)}openNode(e){const t=this,n={type:"element",
tagName:"span",properties:{className:e.split(".").map((function(e,n){
return n?e+"_".repeat(n):t.options.classPrefix+e}))},children:[]}
;this.stack[this.stack.length-1].children.push(n),this.stack.push(n)}
closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const CP={
ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp",
"c++":"cpp",node:"javascript"},AP={};function PP(e){
const t=e||AP,n=t.aliases,r=(null==e?void 0:e.detect)??!1,o=t.languages,i=t.plainText,a=t.prefix,s=t.subset
;let l="hljs";const c=(null==e?void 0:e.lowlight)??function(e){
const t=SP.newInstance();return e&&o(e),{highlight:n,
highlightAuto:function(e,o){const i=(o||_P).subset||r();let a,s=-1,l=0
;for(;++s<i.length;){const r=i[s];if(!t.getLanguage(r))continue;const c=n(r,e,o)
;c.data&&void 0!==c.data.relevance&&c.data.relevance>l&&(l=c.data.relevance,a=c)
}return a||{type:"root",children:[],data:{language:void 0,relevance:l}}},
listLanguages:r,register:o,registerAlias:function(e,n){
if("string"==typeof e)t.registerAliases("string"==typeof n?n:[...n],{
languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){const r=e[n]
;t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},
registered:function(e){return Boolean(t.getLanguage(e))}};function n(e,n,r){
const o=r||_P,i="string"==typeof o.prefix?o.prefix:EP
;if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered")
;t.configure({__emitter:TP,classPrefix:i});const a=t.highlight(n,{
ignoreIllegals:!0,language:e})
;if(a.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{
cause:a.errorRaised});const s=a._emitter.root,l=s.data
;return l.language=a.language,l.relevance=a.relevance,s}function r(){
return t.listLanguages()}function o(e,n){
if("string"==typeof e)t.registerLanguage(e,n);else{let n
;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(o)
;if(n&&c.registerAlias(n),a){const e=a.indexOf("-");l=e>-1?a.slice(0,e):a}
return function(e,t){wg(e,"element",(function(e,n,o){var u
;if("code"!==e.tagName||!o||"element"!==o.type||"pre"!==o.tagName)return
;const d=function(e){const t=e.properties.className
;if(!Array.isArray(t))return"";const n=t.reduce(((e,t)=>{if(e)return e
;const n=String(t)
;return"no-highlight"===n||"nohighlight"===n?"no-highlight":"lang-"===n.slice(0,5)?n.slice(5):"language-"===n.slice(0,9)?n.slice(9):e
}),"");return CP[n||""]||n}(e)
;if("no-highlight"===d||!d&&!r||d&&(null==i?void 0:i.includes(d)))return;let p
;Array.isArray(e.properties.className)||(e.properties.className=[]),
e.properties.className.includes(l)||e.properties.className.unshift(l);try{
p=d?c.highlight(d,KT(o),{prefix:a}):c.highlightAuto(KT(o),{prefix:a,subset:s})
}catch(h){const n=h
;if(d&&/Unknown language/.test(n.message))return void t.message("Cannot highlight as `"+d+"`, it’s not registered",{
ancestors:[o,e],cause:n,place:e.position,ruleId:"missing-language",
source:"rehype-highlight"});throw n}
!d&&(null==(u=p.data)?void 0:u.language)&&e.properties.className.push("language-"+p.data.language),
p.children.length>0&&(e.children=p.children)}))}}const DP={bash:function(e){
const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,
contains:[n]}]};Object.assign(n,{className:"variable",variants:[{
begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const o={
className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={
begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,
end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,n,o]};o.contains.push(a);const s={begin:/\$?\(\(/,
end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]
},l=e.SHEBANG({
binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,
relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,
returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],
relevance:0};return{name:"Bash",aliases:["sh"],keywords:{
$pattern:/\b[a-z][a-z0-9._-]+\b/,
keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],
literal:["true","false"],
built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","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","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"]
},contains:[l,e.SHEBANG(),c,s,e.HASH_COMMENT_MODE,i,{match:/(\/[a-z._-]+)+/},a,{
match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},
c:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={
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:[e.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:"."},e.END_SAME_AS_BEGIN({
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={
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},c={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},e.inherit(s,{className:"string"}),{
className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={
className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0
},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={
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"
},h=[c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],f={variants:[{begin:/=/,end:/;/},{
begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],
keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,
contains:h.concat(["self"]),relevance:0}]),relevance:0},m={
begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,
keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{
begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],
relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,
keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,
end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]
}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,
disableAutodetect:!0,illegal:"</",contains:[].concat(f,m,h,[c,{
begin:e.IDENT_RE+"::",keywords:p},{className:"class",
beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{
beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,
strings:s,keywords:p}}},clojure:function(e){
const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",o={
$pattern:n,
built_in:r+" 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"
},i={begin:n,relevance:0},a={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?/}]},s={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}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]
},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",
match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),p={
className:"literal",begin:/\b(true|false|nil)\b/},h={
begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},f={className:"symbol",
begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0
},v={keywords:o,className:"name",begin:n,relevance:0,starts:g
},b=[u,m,s,l,c,d,f,h,a,p,i],O={beginKeywords:r,keywords:{$pattern:n,keyword:r},
end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,
relevance:0,excludeEnd:!0,endsParent:!0}].concat(b)}
;return m.contains=[O,v,g],g.contains=b,h.contains=b,{name:"Clojure",
aliases:["clj","edn"],illegal:/\S/,contains:[u,m,s,l,c,d,f,h,a,p]}},
cpp:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)("+r+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={
className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{
begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.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:"."},e.END_SAME_AS_BEGIN({
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={
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},c={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},e.inherit(s,{className:"string"}),{
className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={
className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0
},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",p={
type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],
keyword:["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"],
literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],
_type_hints:["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"]
},h={className:"function.dispatch",relevance:0,keywords:{
_hint:["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"]
},
begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))
},f=[h,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{
begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],
keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,
contains:f.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",
begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,
keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{
begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{
begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{
className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,
contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,
relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]
},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",
classNameAliases:{"function.dispatch":"built_in"},
contains:[].concat(m,g,h,f,[c,{
begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",
end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{
match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],
className:{1:"keyword",3:"title.class"}}])}},css:function(e){
const t=e.regex,n=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},
BLOCK_COMMENT:e.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:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{
scope:"number",
begin:e.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_-]*/}
}))(e),r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",
case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},
classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{
begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{
className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{
className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0
},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{
begin:":("+iC.join("|")+")"},{begin:":(:)?("+aC.join("|")+")"}]
},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+sC.join("|")+")\\b"},{
begin:/:/,end:/[;}{]/,
contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{
begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"
},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,
excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",
relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/
},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{
$pattern:/[a-z-]+/,keyword:"and or not only",attribute:oC.join(" ")},contains:[{
begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{
className:"selector-tag",begin:"\\b("+rC.join("|")+")\\b"}]}},
curl:gm((function(e){const t={className:"string",begin:/"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,
contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:"number",variants:[{
begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",aliases:["curl"],
keywords:"curl",case_insensitive:!0,contains:[{className:"literal",
begin:/(--request|-X)\s/,contains:[{className:"symbol",
begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,
returnEnd:!0}],returnEnd:!0,relevance:10},{className:"literal",begin:/--/,
end:/[\s"]/,returnEnd:!0,relevance:0},{className:"literal",begin:/-\w/,
end:/[\s"]/,returnEnd:!0,relevance:0},t,{className:"string",begin:/\\"/,
relevance:0},{className:"string",begin:/'/,end:/'/,relevance:0
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,{match:/(\/[a-z._-]+)+/}]}})),
csharp:function(e){const t={
keyword:["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"].concat(["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"]),
built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],
literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{
begin:"[a-zA-Z](\\.?\\w)*"}),r={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},o={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]
},i=e.inherit(o,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,
keywords:t},s=e.inherit(a,{illegal:/\n/}),l={className:"string",begin:/\$"/,
end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/
},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{
begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(c,{illegal:/\n/,
contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]})
;a.contains=[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],
s.contains=[u,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{
illegal:/\n/})];const d={variants:[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]
},h=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={
begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],
keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,
contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{
begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]
}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",
end:"$",keywords:{
keyword:"if else elif endif define undef warning error line region endregion pragma checksum"
}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,
illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"
},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",
relevance:0,end:/[{;=]/,illegal:/[^\s:]/,
contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,
contains:[n,p,e.C_LINE_COMMENT_MODE,e.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:"("+h+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,
end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{
beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),
relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,
contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",
begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,
contains:[d,r,e.C_BLOCK_COMMENT_MODE]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},elixir:function(e){
const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r={$pattern:n,
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"]},o={className:"subst",begin:/#\{/,end:/\}/,
keywords:r},i={match:/\\[\s\S]/,scope:"char.escape",relevance:0
},a="[/|([{<\"']",s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,
end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{
begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:"char.escape",
begin:t.concat(/\\/,e),relevance:0}),c={className:"string",
begin:"~[a-z](?="+a+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end),i,o]
})))},u={className:"string",begin:"~[A-Z](?="+a+")",
contains:s.map((t=>e.inherit(t,{contains:[l(t.end)]})))},d={className:"regex",
variants:[{begin:"~r(?="+a+")",contains:s.map((n=>e.inherit(n,{
end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),i,o]})))},{
begin:"~R(?="+a+")",contains:s.map((n=>e.inherit(n,{
end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]})))}]},p={
className:"string",contains:[e.BACKSLASH_ESCAPE,o],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:/"/}]},h={
className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,
contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},f=e.inherit(h,{
className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",
end:/\bdo\b|$|;/}),m=[p,d,u,c,e.HASH_COMMENT_MODE,f,h,{begin:"::"},{
className:"symbol",begin:":(?![\\s:])",contains:[p,{
begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"
}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{
className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{
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},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}]
;return o.contains=m,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:m}
},go:function(e){const t={
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:t,illegal:"</",
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",
variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{
className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1
},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",
end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",
begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}},
graphql:function(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],
case_insensitive:!0,disableAutodetect:!1,keywords:{
keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],
literal:["true","false","null"]},
contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{
scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",
begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,
end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{
scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),
relevance:0}],illegal:[/[;<']/,/BEGIN/]}},html:pA,java:function(e){
const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+pC("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={
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"]},i={className:"meta",begin:"@"+n,contains:[{
begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,
end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0}
;return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,
contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,
relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{
begin:/import java\.[a-z]+\./,keywords:"import",relevance:2
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,
className:"string",contains:[e.BACKSLASH_ESCAPE]
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{
match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{
1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{
begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",
3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",
3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
beginKeywords:"new throw return else",relevance:0},{
begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{
2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,
end:/\)/,keywords:o,relevance:0,
contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,dC,e.C_BLOCK_COMMENT_MODE]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},dC,i]}},javascript:function(e){
const t=e.regex,n=hC,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,
end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{
const n=e[0].length+e.index,r=e.input[n]
;if("<"===r||","===r)return void t.ignoreMatch();let o
;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1)
;return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch())
;const i=e.input.substring(n)
;((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()
}},a={$pattern:hC,keyword:fC,literal:mC,built_in:yC,"variable.language":OC
},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={
className:"number",variants:[{
begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{
begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\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},d={className:"subst",begin:"\\$\\{",
end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",
returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},h={
begin:"css`",end:"",starts:{end:"`",returnEnd:!1,
contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",
starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],
subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",
contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",
variants:[e.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:n+"(?=\\s*(-)|$)",
endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]
}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]
},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,{match:/\$\d+/},u]
;d.contains=v.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(v)
});const b=[].concat(g,d.contains),O=b.concat([{begin:/\(/,end:/\)/,keywords:a,
contains:["self"].concat(b)}]),y={className:"params",begin:/\(/,end:/\)/,
excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O},w={variants:[{
match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],
scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{
match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,
match:t.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:{_:[...gC,...vC]}},x={variants:[{
match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],
className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],
illegal:/%/},S={
match:t.concat(/\b/,(_=[...bC,"super","import"],t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\(/)),
className:"title.function",relevance:0};var _;const E={
begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,
excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={
match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},
contains:[{begin:/\(\)/},y]
},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",A={
match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],
keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]}
;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{
PARAMS_CONTAINS:O,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/,
contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{
label:"use_strict",className:"meta",relevance:10,
begin:/^\s*['"]use (strict|asm)['"]/
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,g,{match:/\$\d+/},u,k,{
className:"attr",begin:n+t.lookahead(":"),relevance:0},A,{
begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{
className:"function",begin:C,returnBegin:!0,end:"\\s*=>",contains:[{
className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{
className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,
excludeEnd:!0,keywords:a,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,
relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{
begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",
contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{
beginKeywords:"while if switch catch for"},{
begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
returnBegin:!0,label:"func.def",contains:[y,e.inherit(e.TITLE_MODE,{begin:n,
className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+n,
relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},
contains:[y]},S,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},w,T,{match:/\$[(.]/}]}},json:function(e){
const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")}
;return{name:"JSON",keywords:{literal:t},contains:[{className:"attr",
begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,
className:"punctuation",relevance:0
},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],
illegal:"\\S"}},kotlin:function(e){const t={
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"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"
},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={
className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",
variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",
illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,
contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(i);const a={
className:"meta",
begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"
},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,
end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]
},l=SC,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={
variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,
contains:[]}]},d=u;return d.variants[1].contains=[u],u.variants[1].contains=[d],
{name:"Kotlin",aliases:["kt","kts"],keywords:t,
contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",
begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",
begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",
begin:/@\w+/}]}},n,a,s,{className:"function",beginKeywords:"fun",end:"[(]|$",
returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{
begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,
contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,
keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,
endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,
endsWithParent:!0,contains:[u,e.C_LINE_COMMENT_MODE,c],relevance:0
},e.C_LINE_COMMENT_MODE,c,a,s,i,e.C_NUMBER_MODE]},c]},{
begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{
3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,
illegal:"extends implements",contains:[{
beginKeywords:"public protected internal private constructor"
},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,
excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,
excludeBegin:!0,returnEnd:!0},a,s]},i,{className:"meta",begin:"^#!/usr/bin/env",
end:"$",illegal:"\n"},l]}},less:function(e){const t=(e=>({IMPORTANT:{
scope:"meta",begin:"!important"},BLOCK_COMMENT:e.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:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{
scope:"number",
begin:e.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_-]*/}
}))(e),n=PC,r="[\\w-]+",o="("+r+"|@\\{"+r+"\\})",i=[],a=[],s=function(e){return{
className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,n){return{className:e,
begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:"and or not only",
attribute:EC.join(" ")},u={begin:"\\(",end:"\\)",contains:a,keywords:c,
relevance:0}
;a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{
begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",
excludeEnd:!0}
},t.HEXCOLOR,u,l("variable","@@?"+r,10),l("variable","@\\{"+r+"\\}"),l("built_in","~?`[^`]*?`"),{
className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0
},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=a.concat({
begin:/\{/,end:/\}/,contains:i}),p={beginKeywords:"when",endsWithParent:!0,
contains:[{beginKeywords:"and not"}].concat(a)},h={begin:o+"\\s*:",
returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/
},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+AC.join("|")+")\\b",
end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]
},f={className:"keyword",
begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:a,relevance:0}},m={
className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r
}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{
begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,
returnEnd:!0,illegal:"[<='$\"]",relevance:0,
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+r+"\\}"),{
begin:"\\b("+_C.join("|")+")\\b",className:"selector-tag"
},t.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{
className:"selector-pseudo",begin:":("+TC.join("|")+")"},{
className:"selector-pseudo",begin:":(:)?("+CC.join("|")+")"},{begin:/\(/,
end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},v={
begin:r+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[g]}
;return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,m,v,h,g,p,t.FUNCTION_DISPATCH),
{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:i}},
makefile:function(e){const t={className:"variable",variants:[{
begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{
begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,
end:/\)/,keywords:{
built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"
},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={
className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{
name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,
keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"
},contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,
end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},i]}},
markdown:function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",
relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{
begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,
relevance:2},{
begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),
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}]},r={className:"strong",contains:[],
variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]
},o={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{
begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(r,{contains:[]
}),a=e.inherit(o,{contains:[]});r.contains.push(a),o.contains.push(i)
;let s=[t,n];return[r,o,i,a].forEach((e=>{e.contains=e.contains.concat(s)
})),s=s.concat(r,o),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{
className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{
begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",
contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",
end:"\\s+",excludeEnd:!0},r,o,{className:"quote",begin:"^>\\s+",contains:s,
end:"$"},{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}]},{
begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{
className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{
className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},matlab:function(e){
const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};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:[e.UNDERSCORE_TITLE_MODE,{
className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]
},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{
begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",
begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",
contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{
className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n
},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}},
nginx:function(e){const t=e.regex,n={className:"variable",variants:[{
begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)
}]},r={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:[e.HASH_COMMENT_MODE,{className:"string",
contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/
}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]
},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],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},n]};return{
name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{
beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{
section:"upstream location"}},{className:"section",
begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{
begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{
className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],
illegal:"[^\\s\\}\\{]"}},objectivec:function(e){
const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,
keyword:["@interface","@class","@protocol","@implementation"]};return{
name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],
keywords:{"variable.language":["this","super"],$pattern:t,
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"]
},illegal:"</",contains:[{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+"
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{
className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",
contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,
keywords:{
keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"
},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{
className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",
begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,
contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,
relevance:0}]}},ocaml:function(e){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},e.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
},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0
}),e.inherit(e.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:/->/}]}},php:function(e){
const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i={
scope:"variable",match:"\\$+"+r},a={scope:"subst",variants:[{begin:/\$\w+/},{
begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null
}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{
illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),s,{
begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,
contains:e.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(e,t)=>{
t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{
t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({
begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},u={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
},d=["false","null","true"],p=["__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"],h=["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"],f={
keyword:p,literal:(e=>{const t=[];return e.forEach((e=>{
t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())
})),t})(d),built_in:h},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),g={variants:[{
match:[/new/,t.concat(l,"+"),t.concat("(?!",m(h).join("\\b|"),"\\b)"),o],scope:{
1:"keyword",4:"title.class"}}]},v=t.concat(r,"\\b(?!\\()"),b={variants:[{
match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),v],scope:{2:"variable.constant"
}},{match:[/::/,/class/],scope:{2:"variable.language"}},{
match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),v],scope:{1:"title.class",
3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],
scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",
3:"variable.language"}}]},O={scope:"attr",
match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},y={relevance:0,
begin:/\(/,end:/\)/,keywords:f,contains:[O,i,b,e.C_BLOCK_COMMENT_MODE,c,u,g]
},w={relevance:0,
match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(p).join("\\b|"),"|",m(h).join("\\b|"),"\\b)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)],
scope:{3:"title.function.invoke"},contains:[y]};y.contains.push(w)
;const k=[O,b,e.C_BLOCK_COMMENT_MODE,c,u,g];return{case_insensitive:!1,
keywords:f,contains:[{begin:t.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,
endScope:"meta",keywords:{literal:d,keyword:["new","array"]},contains:[{
begin:/\[/,end:/]/,keywords:{literal:d,keyword:["new","array"]},
contains:["self",...k]},...k,{scope:"meta",match:o}]
},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{
scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,
keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,
contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{
begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{
begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,w,b,{
match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},g,{
scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,
excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"
},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",
begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:f,
contains:["self",i,b,e.C_BLOCK_COMMENT_MODE,c,u]}]},{scope:"class",variants:[{
beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",
illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{
beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{
beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,
contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{
beginKeywords:"use",relevance:0,end:";",contains:[{
match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,u]}
},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],
disableAutodetect:!0}},powershell:function(e){const t={
$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"
},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{
begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]
},o={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],
contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={
className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]
},a=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,
end:/#>/}],contains:[{className:"doctag",variants:[{
begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/
},{
begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/
}]}]}),s={className:"built_in",variants:[{
begin:"(".concat("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",")+(-)[\\w\\d]+")
}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,
relevance:0,contains:[e.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:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,
className:"params",relevance:0,contains:[r]}]},u={begin:/using\s/,end:/$/,
returnBegin:!0,contains:[o,i,{className:"keyword",
begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{
className:"operator",
begin:"(".concat("-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",")\\b")
},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},p={
className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,
relevance:0,contains:[{className:"keyword",
begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,
relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]
},h=[p,a,n,e.NUMBER_MODE,o,i,s,r,{className:"literal",
begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0
}],f={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,
contains:[].concat("self",h,{
begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",
className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,
relevance:0})};return p.contains.unshift(f),{name:"PowerShell",
aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,
contains:h.concat(l,c,u,d,f)}},python:function(e){
const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["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"],o={
$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,
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"]
},i={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,
end:/\}/,keywords:o,illegal:/#/},s={begin:/\{\{/,relevance:0},l={
className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,
contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,
contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{
begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,
contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,
end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{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:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,p={
className:"number",relevance:0,variants:[{
begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{
begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{
begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`
},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`
}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,
contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={
className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,
end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,
contains:["self",i,p,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,p,i],{
name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,
illegal:/(<\/|\?)|=>/,contains:[i,p,{begin:/\bself\b/},{beginKeywords:"if",
relevance:0},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{
1:"keyword",3:"title.function"},contains:[f]},{variants:[{
match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],
scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{
className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,f,l]}]}},
r:function(e){
const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.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]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/)
;return{name:"R",keywords:{$pattern:n,
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:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,
starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),
endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{
scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0
}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]
}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],
variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/
}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/
}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/
}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/
}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/
}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',
relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{
1:"operator",2:"number"},match:[o,r]},{scope:{1:"operator",2:"number"},
match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{
2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},
match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{
match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",
contains:[{begin:/\\./}]}]}},ruby:function(e){
const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(r,/(::\w+)*/),i={
"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"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={
begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[a]
}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10
}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,
end:/\}/,keywords:i},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],
variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{
begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{
begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,
end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{
begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{
begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{
begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{
begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{
begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),
contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,
contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",p={className:"number",
relevance:0,variants:[{
begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|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"}]},h={variants:[{match:/\(\)/},{
className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,
keywords:i}]},f=[u,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{
match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",
4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,o],scope:{
2:"title.class"},keywords:i},{relevance:0,match:[o,/\.new[. (]/],scope:{
1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{
match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{
begin:e.IDENT_RE+"::"},{className:"symbol",
begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",
begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},p,{className:"variable",
begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{
className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,
relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",
keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],
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,l),relevance:0}].concat(s,l)
;c.contains=f,h.contains=f;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:f}
},{className:"meta.prompt",
begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",
starts:{end:"$",keywords:i,contains:f}}];return l.unshift(s),{name:"Ruby",
aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,
contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(f)}},
rust:function(e){const t=e.regex,n={className:"title.function.invoke",
relevance:0,
begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))
},r="([ui](8|16|32|64|128|size)|f(32|64))?",o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"]
;return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:i,
keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],
literal:["true","false","Some","None","Ok","Err"],built_in:o},illegal:"</",
contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]
}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{
className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{
begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",
begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{
begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{
begin:"\\b0x([A-Fa-f0-9_]+)"+r},{
begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],relevance:0},{
begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",
3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{
className:"string",begin:/"/,end:/"/}]},{
begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",
3:"keyword",4:"variable"}},{
begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",
3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],
className:{1:"keyword",3:"title.class"}},{
begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],
className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{
keyword:"Self",built_in:o,type:i}},{className:"punctuation",begin:"->"},n]}},
scss:function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},
BLOCK_COMMENT:e.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:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{
scope:"number",
begin:e.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_-]*/}
}))(e),n=NC,r=RC,o="@[a-z-]+",i={className:"variable",
begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",
case_insensitive:!0,illegal:"[=/|']",
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{
className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{
className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0
},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",
begin:"\\b("+DC.join("|")+")\\b",relevance:0},{className:"selector-pseudo",
begin:":("+r.join("|")+")"},{className:"selector-pseudo",
begin:":(:)?("+n.join("|")+")"},i,{begin:/\(/,end:/\)/,
contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",
begin:"\\b("+MC.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:[t.BLOCK_COMMENT,i,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]
},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{
begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,
keyword:"and or not only",attribute:$C.join(" ")},contains:[{begin:o,
className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"
},i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]
},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",
aliases:["console","shellsession"],contains:[{className:"meta.prompt",
begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,
subLanguage:"bash"}}]}},sql:function(e){
const t=e.regex,n=e.COMMENT("--","$"),r=["true","false","unknown"],o=["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"],i=["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"],a=["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"],s=i,l=["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","add","asc","collation","desc","final","first","last","view"].filter((e=>!i.includes(e))),c={
begin:t.concat(/\b/,t.either(...s),/\s*\(/),relevance:0,keywords:{built_in:s}}
;return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{
$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n
;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))
}(l,{when:e=>e.length<3}),literal:r,type:o,
built_in:["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"]
},contains:[{begin:t.either(...a),relevance:0,keywords:{$pattern:/[\w\.]+/,
keyword:l.concat(a),literal:r,type:o}},{className:"type",
begin:t.either("double precision","large object","with timezone","without timezone")
},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",
variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,
contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{
className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
relevance:0}]}},swift:function(e){const t={match:/\s+/,relevance:0
},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],o={
match:[/\./,BC(...UC,...FC)],className:{2:"keyword"}},i={
match:jC(/\./,BC(...qC)),relevance:0
},a=qC.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{
className:"keyword",
match:BC(...qC.filter((e=>"string"!=typeof e)).concat(zC).map(QC),...FC)}]},l={
$pattern:BC(/\b\w+/,/#\w+/),keyword:a.concat(ZC),literal:HC},c=[o,i,s],u=[{
match:jC(/\./,BC(...WC)),relevance:0},{className:"built_in",
match:jC(/\b/,BC(...WC),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{
className:"operator",relevance:0,variants:[{match:YC},{match:`\\.(\\.|${GC})+`}]
}],h="([0-9]_*)+",f="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,
variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{
match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/
},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{
match:jC(/\\/,e,/[0\\tnr"']/)},{match:jC(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]
}),v=(e="")=>({className:"subst",match:jC(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)
}),b=(e="")=>({className:"subst",label:"interpol",begin:jC(/\\/,e,/\(/),end:/\)/
}),O=(e="")=>({begin:jC(e,/"""/),end:jC(/"""/,e),contains:[g(e),v(e),b(e)]
}),y=(e="")=>({begin:jC(e,/"/),end:jC(/"/,e),contains:[g(e),b(e)]}),w={
className:"string",
variants:[O(),O("#"),O("##"),O("###"),y(),y("#"),y("##"),y("###")]
},k=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,
contains:[e.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,
contains:k},S=e=>{const t=jC(e,/\//),n=jC(/\//,e);return{begin:t,end:n,
contains:[...k,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},_={
scope:"regexp",variants:[S("###"),S("##"),S("#"),x]},E={match:jC(/`/,eA,/`/)
},T=[E,{className:"variable",match:/\$\d+/},{className:"variable",
match:`\\$${JC}+`}],C=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{
contains:[{begin:/\(/,end:/\)/,keywords:rA,contains:[...p,m,w]}]}},{
scope:"keyword",match:jC(/@/,BC(...nA))},{scope:"meta",match:jC(/@/,eA)}],A={
match:LC(/\b[A-Z]/),relevance:0,contains:[{className:"type",
match:jC(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,JC,"+")
},{className:"type",match:tA,relevance:0},{match:/[?!]+/,relevance:0},{
match:/\.\.\./,relevance:0},{match:jC(/\s+&\s+/,LC(tA)),relevance:0}]},P={
begin:/</,end:/>/,keywords:l,contains:[...r,...c,...C,d,A]};A.contains.push(P)
;const D={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{
match:jC(eA,/\s*:/),keywords:"_|0",relevance:0
},...r,_,...c,...u,...p,m,w,...T,...C,A]},$={begin:/</,end:/>/,
keywords:"repeat each",contains:[...r,A]},R={begin:/\(/,end:/\)/,keywords:l,
contains:[{begin:BC(LC(jC(eA,/\s*:/)),LC(jC(eA,/\s+/,eA,/\s*:/))),end:/:/,
relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",
match:eA}]},...r,...c,...p,m,w,...C,A,D],endsParent:!0,illegal:/["']/},N={
match:[/(func|macro)/,/\s+/,BC(E.match,eA,YC)],className:{1:"keyword",
3:"title.function"},contains:[$,R,t],illegal:[/\[/,/%/]},M={
match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},
contains:[$,R,t],illegal:/\[|%/},I={match:[/operator/,/\s+/,YC],className:{
1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,tA],className:{
1:"keyword",3:"title"},contains:[A],keywords:[...VC,...HC],end:/}/}
;for(const j of w.variants){const e=j.contains.find((e=>"interpol"===e.label))
;e.keywords=l;const t=[...c,...u,...p,m,w,...T];e.contains=[...t,{begin:/\(/,
end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l,
contains:[...r,N,M,{beginKeywords:"struct protocol class extension enum actor",
end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{
className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]
},I,L,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0
},_,...c,...u,...p,m,w,...T,...C,A,D]}},typescript:function(e){
const t=function(e){const t=e.regex,n=oA,r="<>",o="</>",i={
begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,
isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n]
;if("<"===r||","===r)return void t.ignoreMatch();let o
;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1)
;return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch())
;const i=e.input.substring(n)
;((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()
}},a={$pattern:oA,keyword:iA,literal:aA,built_in:dA,"variable.language":uA
},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={
className:"number",variants:[{
begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{
begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\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},d={className:"subst",begin:"\\$\\{",
end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",
returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},h={
begin:"css`",end:"",starts:{end:"`",returnEnd:!1,
contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",
starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],
subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",
contains:[e.BACKSLASH_ESCAPE,d]},g={className:"comment",
variants:[e.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:n+"(?=\\s*(-)|$)",
endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]
}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]
},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,{match:/\$\d+/},u]
;d.contains=v.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(v)
});const b=[].concat(g,d.contains),O=b.concat([{begin:/\(/,end:/\)/,keywords:a,
contains:["self"].concat(b)}]),y={className:"params",begin:/\(/,end:/\)/,
excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O},w={variants:[{
match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],
scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{
match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,
match:t.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:{_:[...sA,...lA]}},x={variants:[{
match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],
className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],
illegal:/%/},S={
match:t.concat(/\b/,(_=[...cA,"super","import"],t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\(/)),
className:"title.function",relevance:0};var _;const E={
begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,
excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={
match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},
contains:[{begin:/\(\)/},y]
},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",A={
match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],
keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]}
;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{
PARAMS_CONTAINS:O,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/,
contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{
label:"use_strict",className:"meta",relevance:10,
begin:/^\s*['"]use (strict|asm)['"]/
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,g,{match:/\$\d+/},u,k,{
className:"attr",begin:n+t.lookahead(":"),relevance:0},A,{
begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{
className:"function",begin:C,returnBegin:!0,end:"\\s*=>",contains:[{
className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{
className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,
excludeEnd:!0,keywords:a,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,
relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{
begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",
contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{
beginKeywords:"while if switch catch for"},{
begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
returnBegin:!0,label:"func.def",contains:[y,e.inherit(e.TITLE_MODE,{begin:n,
className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+n,
relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},
contains:[y]},S,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},w,T,{match:/\$[(.]/}]}
}(e),n=oA,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={
beginKeywords:"namespace",end:/\{/,excludeEnd:!0,
contains:[t.exports.CLASS_REFERENCE]},i={beginKeywords:"interface",end:/\{/,
excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},
contains:[t.exports.CLASS_REFERENCE]},a={$pattern:oA,
keyword:iA.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),
literal:aA,built_in:dA.concat(r),"variable.language":uA},s={className:"meta",
begin:"@"+n},l=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t))
;if(-1===r)throw new Error("can not find mode to replace")
;e.contains.splice(r,1,n)}
;return Object.assign(t.keywords,a),t.exports.PARAMS_CONTAINS.push(s),
t.contains=t.contains.concat([s,o,i]),
l(t,"shebang",e.SHEBANG()),l(t,"use_strict",{className:"meta",relevance:10,
begin:/^\s*['"]use strict['"]/
}),t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{
name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t},xml:pA,yaml:function(e){
const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={
className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/
},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",
variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},o=e.inherit(r,{
variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={
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"
},a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={
begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},l={begin:"\\[",
end:"\\]",contains:[a],illegal:"\\n",relevance:0},c=[{className:"attr",
variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{
begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"
}]},{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+!"+n},{className:"type",
begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n
},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",
begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",
relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{
className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,r],u=[...c]
;return u.pop(),u.push(o),a.contains=u,{name:"YAML",case_insensitive:!0,
aliases:["yml"],contains:c}}},$P=function(e,...t){return t=>{
(null==e?void 0:e.transform)&&(null==e?void 0:e.type)&&wg(t,null==e?void 0:e.type,(t=>((null==e?void 0:e.transform)&&(null==e||e.transform(t)),
Og)))}};function RP(e){return IT().use(FE).use(dE).parse(e)}function NP(e,t=1){
const n=RP(e),r=[];return wg(n,"heading",(e=>{const n=MP(e);n&&r.push({
depth:e.depth??t,value:n.value})})),r}function MP(e){if("text"===e.type)return e
;if("children"in e&&e.children)for(const t of e.children){const e=MP(t)
;if(e)return e}return null}function IP(e){var t;const n=RP(e),r=[];let o=[]
;return null==(t=n.children)||t.forEach((e=>{
"heading"===e.type?(o.length&&r.push(o),r.push([e]),o=[]):o.push(e)
})),o.length&&r.push(o),r.map((e=>function(e){
const t=IT().use(lT).use(dE).stringify({type:"root",children:e});return t.trim()
}(e)))}const LP=(e,t)=>e.map((e=>({...e,slug:t.slug(e.value)})));function jP(e){
const t=new ef,n=NP(e);return LP(n,t)}const BP=e=>{
const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1};function QP(e){
var t,n;if(!e)return{}
;const r=Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.schemas)??{}).length?null==(n=null==e?void 0:e.components)?void 0:n.schemas:Object.keys((null==e?void 0:e.definitions)??{}).length?null==e?void 0:e.definitions:{}
;return Object.keys(r??{}).forEach((e=>{var t
;!0===(null==(t=r[e])?void 0:t["x-internal"])&&delete r[e]})),r}
const UP=e=>!!e&&!!Object.keys(QP(e)??{}).length,FP=e=>{var t
;return!!Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.securitySchemes)??{}).length
},zP=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),{server:qP}=_p(),{setOperation:HP,setGlobalSecurity:VP}=lp(),{toggleApiClient:ZP}=tp(),{setActiveRequest:WP,resetActiveResponse:XP}={
readOnly:bp,activeRequest:pp,activeResponse:mp,requestHistory:cp,
requestHistoryOrder:up,activeRequestId:dp,setActiveResponse:fp,
resetActiveResponse:vp,addRequestToHistory:hp,setActiveRequest:gp}
;function GP(e,t){
const n=function({serverState:e,authenticationState:t,operation:n,globalSecurity:r}){
var o,i;const a=Wm({url:Vd(e)},Ef(n,{requiredOnly:!1
}),t?ol(t,(null==(o=n.information)?void 0:o.security)??r??[]):{}),s=Ef(n,{
requiredOnly:!1}),l=wf(n,"path",!1);return{id:n.operationId,name:n.name,
type:a.method,path:s.path??"",variables:l,cookies:Tf(a.cookies),
query:a.queryString.map((e=>{const t=e;return{...e,enabled:t.required??!0}})),
headers:Tf(a.headers),url:Vd(e)??"",body:null==(i=a.postData)?void 0:i.text}}({
serverState:qP,operation:e,authenticationState:null,globalSecurity:null})
;XP(),WP(n),HP(e),VP(t),ZP(n,!0)}const YP={"2.0":{
title:"A JSON Schema for Swagger 2.0 API.",
id:"http://swagger.io/v2/schema.json#",
$schema:"http://json-schema.org/draft-04/schema#",type:"object",
required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{
"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{
type:"string",enum:["2.0"],description:"The Swagger version of this document."},
info:{$ref:"#/definitions/info"},host:{type:"string",
pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",
description:"The host (name or ip) of the API. Example: 'swagger.io'"},
basePath:{type:"string",pattern:"^/",
description:"The base path to the API. Example: '/api'."},schemes:{
$ref:"#/definitions/schemesList"},consumes:{
description:"A list of MIME types accepted by the API.",allOf:[{
$ref:"#/definitions/mediaTypeList"}]},produces:{
description:"A list of MIME types the API can produce.",allOf:[{
$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},
definitions:{$ref:"#/definitions/definitions"},parameters:{
$ref:"#/definitions/parameterDefinitions"},responses:{
$ref:"#/definitions/responseDefinitions"},security:{
$ref:"#/definitions/security"},securityDefinitions:{
$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{
$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{
$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",
description:"General information about the API.",required:["version","title"],
additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",
description:"A unique and precise title of the API."},version:{type:"string",
description:"A semantic version number of the API."},description:{type:"string",
description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."
},termsOfService:{type:"string",description:"The terms of service for the API."
},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}
},contact:{type:"object",
description:"Contact information for the owners of the API.",
additionalProperties:!1,properties:{name:{type:"string",
description:"The identifying name of the contact person/organization."},url:{
type:"string",description:"The URL pointing to the contact information.",
format:"uri"},email:{type:"string",
description:"The email address of the contact person/organization.",
format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}
}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{
name:{type:"string",
description:"The name of the license type. It's encouraged to use an OSI compatible license."
},url:{type:"string",description:"The URL pointing to the license.",format:"uri"
}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{
type:"object",
description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{
$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{
type:"object",additionalProperties:{$ref:"#/definitions/schema"},
description:"One or more JSON objects describing the schemas being consumed and produced by the API."
},parameterDefinitions:{type:"object",additionalProperties:{
$ref:"#/definitions/parameter"},
description:"One or more JSON representations for parameters"},
responseDefinitions:{type:"object",additionalProperties:{
$ref:"#/definitions/response"},
description:"One or more JSON representations for responses"},externalDocs:{
type:"object",additionalProperties:!1,
description:"information about external documentation",required:["url"],
properties:{description:{type:"string"},url:{type:"string",format:"uri"}},
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{
type:"object",additionalProperties:!0},mimeType:{type:"string",
description:"The MIME type of the HTTP message."},operation:{type:"object",
required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{
type:"string"},uniqueItems:!0},summary:{type:"string",
description:"A brief summary of the operation."},description:{type:"string",
description:"A longer description of the operation, GitHub Flavored Markdown is allowed."
},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",
description:"A unique identifier of the operation."},produces:{
description:"A list of MIME types the API can produce.",allOf:[{
$ref:"#/definitions/mediaTypeList"}]},consumes:{
description:"A list of MIME types the API can consume.",allOf:[{
$ref:"#/definitions/mediaTypeList"}]},parameters:{
$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},
schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1
},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",
additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{
$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{
$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},
options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},
patch:{$ref:"#/definitions/operation"},parameters:{
$ref:"#/definitions/parametersList"}}},responses:{type:"object",
description:"Response objects names can either be any valid HTTP status code or 'default'.",
minProperties:1,additionalProperties:!1,patternProperties:{
"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{
$ref:"#/definitions/vendorExtension"}},not:{type:"object",
additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{
$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{
type:"object",required:["description"],properties:{description:{type:"string"},
schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]
},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"
}},additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",
additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",
additionalProperties:!1,required:["type"],properties:{type:{type:"string",
enum:["string","number","integer","boolean","array"]},format:{type:"string"},
items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{
$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},
maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{
$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},
exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{
$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},
pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},
minItems:{$ref:"#/definitions/minItems"},uniqueItems:{
$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{
$ref:"#/definitions/multipleOf"},description:{type:"string"}},
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},
vendorExtension:{description:"Any property starting with x- is valid.",
additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",
required:["name","in","schema"],patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",
description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},name:{type:"string",description:"The name of the parameter."},in:{
type:"string",description:"Determines the location of the parameter.",
enum:["body"]},required:{type:"boolean",
description:"Determines whether or not this parameter is required or optional.",
default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},
headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",
description:"Determines whether or not this parameter is required or optional.",
default:!1},in:{type:"string",
description:"Determines the location of the parameter.",enum:["header"]},
description:{type:"string",
description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},name:{type:"string",description:"The name of the parameter."},type:{
type:"string",enum:["string","number","boolean","integer","array"]},format:{
type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{
$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},
maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{
$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},
exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{
$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},
pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},
minItems:{$ref:"#/definitions/minItems"},uniqueItems:{
$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{
$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{
additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",
description:"Determines whether or not this parameter is required or optional.",
default:!1},in:{type:"string",
description:"Determines the location of the parameter.",enum:["query"]},
description:{type:"string",
description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},name:{type:"string",description:"The name of the parameter."},
allowEmptyValue:{type:"boolean",default:!1,
description:"allows sending a parameter by name only or with an empty value."},
type:{type:"string",enum:["string","number","boolean","integer","array"]},
format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},
collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{
$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},
exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{
$ref:"#/definitions/minimum"},exclusiveMinimum:{
$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"
},minLength:{$ref:"#/definitions/minLength"},pattern:{
$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},
minItems:{$ref:"#/definitions/minItems"},uniqueItems:{
$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{
$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{
additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",
description:"Determines whether or not this parameter is required or optional.",
default:!1},in:{type:"string",
description:"Determines the location of the parameter.",enum:["formData"]},
description:{type:"string",
description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},name:{type:"string",description:"The name of the parameter."},
allowEmptyValue:{type:"boolean",default:!1,
description:"allows sending a parameter by name only or with an empty value."},
type:{type:"string",enum:["string","number","boolean","integer","array","file"]
},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},
collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{
$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},
exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{
$ref:"#/definitions/minimum"},exclusiveMinimum:{
$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"
},minLength:{$ref:"#/definitions/minLength"},pattern:{
$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},
minItems:{$ref:"#/definitions/minItems"},uniqueItems:{
$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{
$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{
additionalProperties:!1,patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{
required:{type:"boolean",enum:[!0],
description:"Determines whether or not this parameter is required or optional."
},in:{type:"string",description:"Determines the location of the parameter.",
enum:["path"]},description:{type:"string",
description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
},name:{type:"string",description:"The name of the parameter."},type:{
type:"string",enum:["string","number","boolean","integer","array"]},format:{
type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{
$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},
maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{
$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},
exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{
$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},
pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},
minItems:{$ref:"#/definitions/minItems"},uniqueItems:{
$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{
$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",
required:["name","in","type"],oneOf:[{
$ref:"#/definitions/headerParameterSubSchema"},{
$ref:"#/definitions/formDataParameterSubSchema"},{
$ref:"#/definitions/queryParameterSubSchema"},{
$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{
$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},
schema:{type:"object",
description:"A deterministic version of a JSON Schema object.",
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{
$ref:{type:"string"},format:{type:"string"},title:{
$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{
$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{
$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{
$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},
exclusiveMaximum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},
minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},
exclusiveMinimum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},
maxLength:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},
minLength:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},
maxItems:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},
minItems:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},uniqueItems:{
$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},
maxProperties:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},
minProperties:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},required:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},
additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],
default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"
},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{
$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,
items:{$ref:"#/definitions/schema"}},properties:{type:"object",
additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{
type:"string"},readOnly:{type:"boolean",default:!1},xml:{
$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},
example:{}},additionalProperties:!1},fileSchema:{type:"object",
description:"A deterministic version of a JSON Schema object.",
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},
required:["type"],properties:{format:{type:"string"},title:{
$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{
$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{
$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{
type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{
$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},
primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{
type:"string",enum:["string","number","integer","boolean","array"]},format:{
type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{
$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},
maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{
$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},
exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{
$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},
pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},
minItems:{$ref:"#/definitions/minItems"},uniqueItems:{
$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{
$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{
$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{
type:"object",additionalProperties:{type:"array",items:{type:"string"},
uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{
type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{
type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{
type:"object",additionalProperties:!1,required:["name"],properties:{name:{
type:"string"},description:{type:"string"},externalDocs:{
$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",
additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"
},{$ref:"#/definitions/apiKeySecurity"},{
$ref:"#/definitions/oauth2ImplicitSecurity"},{
$ref:"#/definitions/oauth2PasswordSecurity"},{
$ref:"#/definitions/oauth2ApplicationSecurity"},{
$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{
type:"object",additionalProperties:!1,required:["type"],properties:{type:{
type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{
"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",
additionalProperties:!1,required:["type","name","in"],properties:{type:{
type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",
enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",
additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{
type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},
scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",
format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",
additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{
type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{
$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},
description:{type:"string"}},patternProperties:{"^x-":{
$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{
type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],
properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",
enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{
type:"string",format:"uri"},description:{type:"string"}},patternProperties:{
"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{
type:"object",additionalProperties:!1,
required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{
type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{
$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"
},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},
patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{
type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",
items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{
type:"array",description:"The parameters needed to send a valid API call.",
additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{
$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",
description:"The transfer protocol of the API.",items:{type:"string",
enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{
type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},
collectionFormatWithMulti:{type:"string",
enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{
$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{
$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{
$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{
$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},
exclusiveMaximum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},
minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},
exclusiveMinimum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},
maxLength:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},
minLength:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},
maxItems:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},
minItems:{
$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},uniqueItems:{
$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{
$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{
type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{
type:"string"}}}}},"3.0":{
id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",
$schema:"http://json-schema.org/draft-04/schema#",
description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",
type:"object",required:["openapi","info","paths"],properties:{openapi:{
type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},
externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",
items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{
$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{
$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},
components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},
additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],
patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{
type:"object",required:["title","version"],properties:{title:{type:"string"},
description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"
},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},
version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},
Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",
format:"uri-reference"},email:{type:"string",format:"email"}},
patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",
required:["name"],properties:{name:{type:"string"},url:{type:"string",
format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},
Server:{type:"object",required:["url"],properties:{url:{type:"string"},
description:{type:"string"},variables:{type:"object",additionalProperties:{
$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},
additionalProperties:!1},ServerVariable:{type:"object",required:["default"],
properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},
description:{type:"string"}},patternProperties:{"^x-":{}},
additionalProperties:!1},Components:{type:"object",properties:{schemas:{
type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{
type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{
type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{
type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},
requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{
oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},
headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},
securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{
oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}
},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{
type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{
$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},
patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",
properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,
exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",
default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1
},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,
default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",
minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{
type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},
minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",
items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},
minItems:1,uniqueItems:!1},type:{type:"string",
enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{
$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{
type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{
$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{
$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{
type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{
$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{
$ref:"#/definitions/Reference"}]},properties:{type:"object",
additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{
$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{
$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],
default:!0},description:{type:"string"},format:{type:"string"},default:{},
nullable:{type:"boolean",default:!1},discriminator:{
$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},
writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{
$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",
default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},
additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],
properties:{propertyName:{type:"string"},mapping:{type:"object",
additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{
type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},
attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},
patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",
required:["description"],properties:{description:{type:"string"},headers:{
type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{
$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{
$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{
oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},
patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",
properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{
$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",
additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{
$ref:"#/definitions/Reference"}]}},encoding:{type:"object",
additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{
"^x-":{}},additionalProperties:!1,allOf:[{
$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{
summary:{type:"string"},description:{type:"string"},value:{},externalValue:{
type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},
additionalProperties:!1},Header:{type:"object",properties:{description:{
type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",
default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",
enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{
type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{
$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{
$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},
examples:{type:"object",additionalProperties:{oneOf:[{
$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},
patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{
$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"
}]},Paths:{type:"object",patternProperties:{"^\\/":{
$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{
type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},
description:{type:"string"},servers:{type:"array",items:{
$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{
$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},
uniqueItems:!0}},patternProperties:{
"^(get|put|post|delete|options|head|patch|trace)$":{
$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{
type:"object",required:["responses"],properties:{tags:{type:"array",items:{
type:"string"}},summary:{type:"string"},description:{type:"string"},
externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{
type:"string"},parameters:{type:"array",items:{oneOf:[{
$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},
uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{
$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},
callbacks:{type:"object",additionalProperties:{oneOf:[{
$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{
type:"boolean",default:!1},security:{type:"array",items:{
$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{
$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},
additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{
$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},
patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"
},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,
additionalProperties:!1},SecurityRequirement:{type:"object",
additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",
required:["name"],properties:{name:{type:"string"},description:{type:"string"},
externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{
"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",
required:["url"],properties:{description:{type:"string"},url:{type:"string",
format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},
ExampleXORExamples:{description:"Example and examples are mutually exclusive",
not:{required:["example","examples"]}},SchemaXORContent:{
description:"Schema and content are mutually exclusive, at least one is required",
not:{required:["schema","content"]},oneOf:[{required:["schema"]},{
required:["content"],
description:"Some properties are not allowed if content is present",allOf:[{
not:{required:["style"]}},{not:{required:["explode"]}},{not:{
required:["allowReserved"]}},{not:{required:["example"]}},{not:{
required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{
type:"string"},in:{type:"string"},description:{type:"string"},required:{
type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},
allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{
type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{
$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{
type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},
minProperties:1,maxProperties:1},example:{},examples:{type:"object",
additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{
$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},
additionalProperties:!1,required:["name","in"],allOf:[{
$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"
},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{
description:"Parameter location",oneOf:[{description:"Parameter in path",
required:["required"],properties:{in:{enum:["path"]},style:{
enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{
description:"Parameter in query",properties:{in:{enum:["query"]},style:{
enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{
description:"Parameter in header",properties:{in:{enum:["header"]},style:{
enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",
properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},
RequestBody:{type:"object",required:["content"],properties:{description:{
type:"string"},content:{type:"object",additionalProperties:{
$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},
patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{
$ref:"#/definitions/APIKeySecurityScheme"},{
$ref:"#/definitions/HTTPSecurityScheme"},{
$ref:"#/definitions/OAuth2SecurityScheme"},{
$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{
type:"object",required:["type","name","in"],properties:{type:{type:"string",
enum:["apiKey"]},name:{type:"string"},in:{type:"string",
enum:["header","query","cookie"]},description:{type:"string"}},
patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{
type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},
bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",
enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{
description:"Bearer",properties:{scheme:{type:"string",
pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{
required:["bearerFormat"]},properties:{scheme:{not:{type:"string",
pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",
required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},
flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},
patternProperties:{"^x-":{}},additionalProperties:!1},
OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],
properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{
type:"string",format:"uri-reference"},description:{type:"string"}},
patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",
properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{
$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{
$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{
$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},
additionalProperties:!1},ImplicitOAuthFlow:{type:"object",
required:["authorizationUrl","scopes"],properties:{authorizationUrl:{
type:"string",format:"uri-reference"},refreshUrl:{type:"string",
format:"uri-reference"},scopes:{type:"object",additionalProperties:{
type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},
PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{
tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",
format:"uri-reference"},scopes:{type:"object",additionalProperties:{
type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},
ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{
tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",
format:"uri-reference"},scopes:{type:"object",additionalProperties:{
type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},
AuthorizationCodeOAuthFlow:{type:"object",
required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{
type:"string",format:"uri-reference"},tokenUrl:{type:"string",
format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},
scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{
"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{
type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{
type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"
},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},
additionalProperties:!1,not:{
description:"Operation Id and Operation Ref are mutually exclusive",
required:["operationId","operationRef"]}},Callback:{type:"object",
additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}
}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{
type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{
$ref:"#/definitions/Reference"}]}},style:{type:"string",
enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{
type:"boolean"},allowReserved:{type:"boolean",default:!1}},
additionalProperties:!1}}},3.1:{
$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",
$schema:"https://json-schema.org/draft/2020-12/schema",
description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",
type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"
},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri",
default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",
items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},
webhooks:{type:"object",additionalProperties:{
$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},
security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{
type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{
$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{
required:["paths"]},{required:["components"]},{required:["webhooks"]}],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{
$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",
properties:{title:{type:"string"},summary:{type:"string"},description:{
type:"string"},termsOfService:{type:"string",format:"uri"},contact:{
$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}
},required:["title","version"],$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},contact:{
$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",
properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{
type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},license:{
$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",
properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",
format:"uri"}},required:["name"],dependentSchemas:{identifier:{not:{
required:["url"]}}},$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},server:{
$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",
properties:{url:{type:"string"},description:{type:"string"},variables:{
type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},
required:["url"],$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},"server-variable":{
$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",
type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},
default:{type:"string"},description:{type:"string"}},required:["default"],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{
$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",
properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}
},responses:{type:"object",additionalProperties:{
$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",
additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{
type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},
requestBodies:{type:"object",additionalProperties:{
$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",
additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{
type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}
},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},
callbacks:{type:"object",additionalProperties:{
$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",
additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},
patternProperties:{
"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{
$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",
propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{
$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",
patternProperties:{"^/":{$ref:"#/$defs/path-item"}},
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{
$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",
properties:{summary:{type:"string"},description:{type:"string"},servers:{
type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{
$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{
$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{
$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{
$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{
$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",
required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{
$ref:"#/$defs/path-item"}},operation:{
$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",
properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},
description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"
},operationId:{type:"string"},parameters:{type:"array",items:{
$ref:"#/$defs/parameter-or-reference"}},requestBody:{
$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},
callbacks:{type:"object",additionalProperties:{
$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},
security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{
type:"array",items:{$ref:"#/$defs/server"}}},
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},
"external-documentation":{
$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",
type:"object",properties:{description:{type:"string"},url:{type:"string",
format:"uri"}},required:["url"],$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},parameter:{
$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",
properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},
description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{
default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{
$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],
oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{
const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,
type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},
explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{
$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{
$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{
$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{
$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{
$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{
"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{
properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",
enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},
"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},
then:{properties:{style:{default:"simple",const:"simple"}}}},
"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{
properties:{style:{default:"form",
enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{
default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{
const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",
const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},
required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{
explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",
required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{
$ref:"#/$defs/parameter"}},"request-body":{
$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",
type:"object",properties:{description:{type:"string"},content:{
$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},
required:["content"],$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",
required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{
$ref:"#/$defs/request-body"}},content:{
$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",
additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{
format:"media-range"}},"media-type":{
$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",
properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",
additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{
$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],
unevaluatedProperties:!1},encoding:{
$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",
properties:{contentType:{type:"string",format:"media-range"},headers:{
type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{
default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},
explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{
$ref:"#/$defs/specification-extensions"},{
$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{
"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},
then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}
}}}},responses:{
$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",
properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{
"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},
minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1
},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",
type:"object",properties:{description:{type:"string"},headers:{type:"object",
additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{
$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{
$ref:"#/$defs/link-or-reference"}}},required:["description"],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},
"response-or-reference":{if:{type:"object",required:["$ref"]},then:{
$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{
$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",
$ref:"#/$defs/specification-extensions",additionalProperties:{
$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{
type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{
$ref:"#/$defs/callbacks"}},example:{
$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",
properties:{summary:{type:"string"},description:{type:"string"},value:!0,
externalValue:{type:"string",format:"uri"}},not:{
required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",
required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}
},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",
type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},
operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},
requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},
oneOf:[{required:["operationRef"]},{required:["operationId"]}],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},
"link-or-reference":{if:{type:"object",required:["$ref"]},then:{
$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{
$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",
properties:{description:{type:"string"},required:{default:!1,type:"boolean"},
deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{
$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{
required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{
properties:{style:{default:"simple",const:"simple"},explode:{default:!1,
type:"boolean"}},$ref:"#/$defs/examples"}},
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},
"header-or-reference":{if:{type:"object",required:["$ref"]},then:{
$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{
$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",
properties:{name:{type:"string"},description:{type:"string"},externalDocs:{
$ref:"#/$defs/external-documentation"}},required:["name"],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{
$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",
properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},
description:{type:"string"}},unevaluatedProperties:!1},schema:{
$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",
$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{
$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",
type:"object",properties:{type:{
enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{
type:"string"}},required:["type"],allOf:[{
$ref:"#/$defs/specification-extensions"},{
$ref:"#/$defs/security-scheme/$defs/type-apikey"},{
$ref:"#/$defs/security-scheme/$defs/type-http"},{
$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{
$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{
$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,
$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},
then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},
required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},
required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]
}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{
type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]
},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{
properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{
$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{
type:{const:"openIdConnect"}},required:["type"]},then:{properties:{
openIdConnectUrl:{type:"string",format:"uri"}},required:["openIdConnectUrl"]}}}
},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{
$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{
type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},
password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{
$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{
$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{
implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri"
},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}
},required:["authorizationUrl","scopes"],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{
type:"object",properties:{tokenUrl:{type:"string",format:"uri"},refreshUrl:{
type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},
required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",
unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{
tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},
scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},
"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",
format:"uri"},tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",
format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},
required:["authorizationUrl","tokenUrl","scopes"],
$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},
"security-requirement":{
$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",
type:"object",additionalProperties:{type:"array",items:{type:"string"}}},
"specification-extensions":{
$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",
patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{
type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},
"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}}
},KP=Object.keys(YP),JP={
EMPTY_OR_INVALID:"Can’t find JSON, YAML or filename in data",
OPENAPI_VERSION_NOT_SUPPORTED:"Can’t find supported Swagger/OpenAPI version in specification, version must be a string.",
INVALID_REFERENCE:"Can’t resolve reference: %s",
EXTERNAL_REFERENCE_NOT_FOUND:"Can’t resolve external reference: %s",
FILE_DOES_NOT_EXIST:"File does not exist: %s",NO_CONTENT:"No content found"}
;function eD(e){for(const t of new Set(KP)){
const n="2.0"===t?"swagger":"openapi",r=e[n]
;if("string"==typeof r&&r.startsWith(t))return{version:t,specificationType:n,
specificationVersion:r}}return{version:void 0,specificationType:void 0,
specificationVersion:void 0}}function tD(e){
return null==e?void 0:e.find((e=>e.isEntrypoint))}function nD(e){
return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function rD(e,t,n=[]){
const r={};for(const[o,i]of Object.entries(e)){const e=[...n,o]
;Array.isArray(i)?r[o]=i.map(((n,r)=>"object"==typeof n&&null!==n?rD(n,t,[...e,r.toString()]):n)):r[o]="object"==typeof i&&null!==i?rD(i,t,e):i
}return t(r,n)}function oD(e){const t=[]
;return e&&"object"==typeof e?(rD(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),
e))),[...new Set(t)]):t}function iD(e){
return void 0!==e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))
}function aD(e){if(iD(e))return e;if("string"==typeof e)try{return JSON.parse(e)
}catch(t){return function(e,t,n){let r
;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t)
;const o=md(e,n);if(!o)return null
;if(o.warnings.forEach((e=>hc(o.options.logLevel,e))),o.errors.length>0){
if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}
return o.toJS(Object.assign({reviver:r},n))}(e,{maxAliasCount:1e4})}return e}
function sD(e,t={}){if(iD(e))return e;const n=aD(e);return[{isEntrypoint:!0,
specification:n,filename:null,dir:"./",references:oD(n),...t}]}
function lD(e,t,n,r){void 0===r&&(r=[]);const o=sD(structuredClone(e)),i=tD(o)
;return a((null==n?void 0:n.specification)??i.specification,o,n??i),
a((null==n?void 0:n.specification)??i.specification,o,n??i),{
valid:0===(r=r.filter(((e,t,n)=>t===n.findIndex((t=>t.message===e.message&&t.code===e.code))))).length,
errors:r,schema:(n??tD(o)).specification};function a(e,n,o){let i
;return Object.entries(e??{}).forEach((([s,l])=>{if(void 0!==e.$ref){
const i=cD(e.$ref,t,o,n,r);if(void 0===i)return
;delete e.$ref,"object"==typeof i&&Object.keys(i).forEach((t=>{
void 0===e[t]&&(e[t]=i[t])}))}"object"!=typeof l||function(e){try{
return JSON.stringify(e),!1}catch(t){return!0}}(l)||(i=a(l,n,o))})),{
errors:(null==i?void 0:i.errors)??[]}}}function cD(e,t,n,r,o){
if("string"!=typeof e)return void o.push({code:"INVALID_REFERENCE",
message:JP.INVALID_REFERENCE.replace("%s",e)})
;const[i,a]=e.split("#",2),s=i!==n.filename;if(i&&s){
const e=r.find((e=>e.filename===i));if(!e)return void o.push({
code:"EXTERNAL_REFERENCE_NOT_FOUND",
message:JP.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",i)});const n=lD(r,t,e,o)
;return void 0===a?n.schema:cD(`#${a}`,t,e,r,o)}const l=function(e){
return e.split("/").slice(1).map(nD)}(a);try{
return l.reduce(((e,t)=>e[t]),n.specification)}catch(c){o.push({
code:"INVALID_REFERENCE",message:JP.INVALID_REFERENCE.replace("%s",e)})}}
async function uD(e,t){const n=sD(e),r=tD(n),o=lD(n,t);return{
specification:r.specification,errors:o.errors,schema:o.schema,
...eD(r.specification)}}async function dD(e,t){var n,r,o,i,a,s;const l=[]
;if(null==(n=null==t?void 0:t.filesystem)?void 0:n.find((t=>t.filename===e)))return{
specification:null==(r=tD(t.filesystem))?void 0:r.specification,
filesystem:t.filesystem,errors:l}
;const c=null==(o=null==t?void 0:t.plugins)?void 0:o.find((t=>t.check(e)));let u
;if(c)try{u=aD(await c.get(e))}catch(h){
if(null==t?void 0:t.throwOnError)throw new Error(JP.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",e))
;return l.push({code:"EXTERNAL_REFERENCE_NOT_FOUND",
message:JP.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",e)}),{specification:null,
filesystem:[],errors:l}}else u=aD(e);if(void 0===u){
if(null==t?void 0:t.throwOnError)throw new Error("No content to load")
;return l.push({code:"NO_CONTENT",message:JP.NO_CONTENT}),{specification:null,
filesystem:[],errors:l}}let d=sD(u,{filename:(null==t?void 0:t.filename)??null})
;const p=((null==t?void 0:t.filename)?d.find((e=>e.filename===(null==t?void 0:t.filename))):tD(d)).references??oD(u)
;if(0===p.length)return{specification:null==(i=tD(d))?void 0:i.specification,
filesystem:d,errors:l};for(const f of p){
const n=null==(a=null==t?void 0:t.plugins)?void 0:a.find((e=>e.check(f)))
;if(!n)continue;const r=n.check(f)&&n.resolvePath?n.resolvePath(e,f):f
;if(d.find((e=>e.filename===f)))continue
;const{filesystem:o,errors:i}=await dD(r,{...t,filename:f})
;l.push(...i),d=[...d,...o.map((e=>({...e,isEntrypoint:!1})))]}return{
specification:null==(s=tD(d))?void 0:s.specification,filesystem:d,errors:l}}
function pD(e){var t;let n=e
;return(null==(t=n.openapi)?void 0:t.startsWith("3.0"))?(n.openapi="3.1.0",
n=rD(n,(e=>("undefined"!==e.type&&!0===e.nullable&&(e.type=["null",e.type],
delete e.nullable),
e))),n=rD(n,(e=>(!0===e.exclusiveMinimum?(e.exclusiveMinimum=e.minimum,
delete e.minimum):!1===e.exclusiveMinimum&&delete e.exclusiveMinimum,
!0===e.exclusiveMaximum?(e.exclusiveMaximum=e.maximum,
delete e.maximum):!1===e.exclusiveMaximum&&delete e.exclusiveMaximum,
e))),n=rD(n,((e,t)=>(void 0!==e.example&&(!function(e){
return[["components","schemas"],"properties","items","allOf","anyOf","oneOf","not","additionalProperties"].some((t=>Array.isArray(t)?t.every(((t,n)=>e[n]===t)):e.includes(t)))||e.includes("schema")||e.some((e=>e.endsWith("Schema")))
}(t)?e.examples={default:e.example
}:e.examples=[e.example],delete e.example),e))),n=rD(n,(e=>{
if("object"===e.type&&void 0!==e.properties){
const t=Object.entries(e.properties)
;for(const[e,n]of t)"object"==typeof n&&"string"===n.type&&"binary"===n.format&&(n.contentEncoding="application/octet-stream",
delete n.format)}return e})),n=rD(n,(e=>{
if("string"!==e.type||"binary"!==e.format)return e
})),n=rD(n,(e=>"string"===e.type&&"base64"===e.format?{type:"string",
contentEncoding:"base64"}:e)),n):n}function hD(e){var t,n,r
;if(!(null==(t=e.swagger)?void 0:t.startsWith("2.0")))return e
;if(e.openapi="3.0.3",
delete e.swagger,console.warn("[upgradeFromTwoToThree] The upgrade from Swagger 2.0 to OpenAPI 3.0 documents is experimental and lacks features."),
e.host){const t=(null==(n=e.schemes)?void 0:n.length)?e.schemes:["http"]
;e.servers=t.map((t=>({url:`${t}://${e.host}${e.basePath??""}`
}))),delete e.basePath,delete e.schemes,delete e.host}
if(e.definitions&&("object"!=typeof e.components&&(e.components={}),
e.components.schemas=e.definitions,delete e.definitions,e=rD(e,(e=>{var t
;return(null==(t=e.$ref)?void 0:t.startsWith("#/definitions/"))&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),
e}))),e.paths)for(const o in e.paths)if(Object.hasOwn(e.paths,o)){
const t=e.paths[o];for(const n in t)if(Object.hasOwn(t,n)){const o=t[n]
;if(o.parameters){
const t=structuredClone(o.parameters.find((e=>"body"===e.in))??{})
;if(t&&Object.keys(t).length){delete t.name,delete t.in
;const n=e.consumes??o.consumes??["application/json"]
;"object"!=typeof o.requestBody&&(o.requestBody={}),
"object"!=typeof o.requestBody.content&&(o.requestBody.content={})
;const{schema:r,...i}=t;o.requestBody={...o.requestBody,...i}
;for(const e of n)o.requestBody.content[e]={schema:r}}
o.parameters=o.parameters.filter((e=>"body"!==e.in)),delete o.consumes
;const n=o.parameters.filter((e=>"formData"===e.in));if(n.length>0){
"object"!=typeof o.requestBody&&(o.requestBody={}),
"object"!=typeof o.requestBody.content&&(o.requestBody.content={}),
o.requestBody.content["application/x-www-form-urlencoded"]={schema:{
type:"object",properties:{},required:[]}}
;for(const e of n)o.requestBody.content["application/x-www-form-urlencoded"].schema.properties[e.name]={
type:e.type,description:e.description
},e.required&&o.requestBody.content["application/x-www-form-urlencoded"].schema.required.push(e.name)
;o.parameters=o.parameters.filter((e=>"formData"!==e.in))}}
if(o.responses)for(const t in o.responses)if(Object.hasOwn(o.responses,t)){
const n=o.responses[t];if(n.schema){
const t=e.produces??o.produces??["application/json"]
;"object"!=typeof n.content&&(n.content={});for(const e of t)n.content[e]={
schema:n.schema};delete n.schema}}
delete o.produces,0===(null==(r=o.parameters)?void 0:r.length)&&delete o.parameters
}}if(e.securityDefinitions){
"object"!=typeof e.components&&(e.components={}),e.components.securitySchemes={}
;for(const[t,n]of Object.entries(e.securityDefinitions))if("object"==typeof n)if("type"in n&&"oauth2"===n.type){
const{flow:r,authorizationUrl:o,tokenUrl:i,scopes:a}=n
;e.components.securitySchemes[t]={type:"oauth2",flows:{[r]:{...o&&{
authorizationUrl:o},...i&&{tokenUrl:i},...a&&{scopes:a}}}}
}else e.components.securitySchemes[t]=n;delete e.securityDefinitions}return e}
const fD={limit:20},mD=e=>{let t=0;const n={...fD,...e};return{
check:e=>"string"==typeof e&&!(!e.startsWith("http://")&&!e.startsWith("https://")),
async get(e){
if(!1!==(null==n?void 0:n.limit)&&t>=(null==n?void 0:n.limit))console.warn(`[fetchUrls] Maximum number of requests reeached (${null==n?void 0:n.limit}), skipping request`);else try{
t++;const r=await((null==n?void 0:n.fetch)?n.fetch(e):fetch(e))
;return await r.text()}catch(r){console.error("[fetchUrls]",r.message,`(${e})`)}
}}},gD=e=>{let t={}
;t=e&&"object"==typeof e?structuredClone(e):wp(),t.tags||(t.tags=[]),
t.paths||(t.paths={});const n={};Object.keys(t.webhooks??{}).forEach((e=>{var r
;Object.keys((null==(r=t.webhooks)?void 0:r[e])??{}).forEach((r=>{var o,i,a
;const s=null==(o=t.webhooks)?void 0:o[e][r]
;!0!==(null==s?void 0:s["x-internal"])&&(void 0===n[e]&&(n[e]={}),n[e][r]={
httpVerb:Xd(r),path:e,operationId:(null==s?void 0:s.operationId)||e,
name:(null==s?void 0:s.summary)||e||"",
description:(null==s?void 0:s.description)||"",
pathParameters:null==(a=null==(i=t.paths)?void 0:i[e])?void 0:a.parameters,
information:{...s}})}))})),Object.keys(t.paths).forEach((e=>{
Object.keys(t.paths[e]).filter((e=>rl.includes(e.toUpperCase()))).forEach((n=>{
var r,o,i,a,s,l;const c=t.paths[e][n];if(void 0===c)return
;if(!0===c["x-internal"])return;const u={httpVerb:Xd(n),path:e,
operationId:c.operationId||e,name:c.summary||e||"",
description:c.description||"",information:{...c},
pathParameters:null==(o=null==(r=t.paths)?void 0:r[e])?void 0:o.parameters}
;if(c.tags&&0!==c.tags.length)c.tags.forEach((e=>{var n,r,o
;const i=null==(n=t.tags)?void 0:n.findIndex((t=>t.name===e))
;-1===i&&(null==(r=t.tags)||r.push({name:e,description:""}))
;const a=-1!==i?i:t.tags.length-1
;void 0===(null==(o=t.tags[a])?void 0:o.operations)&&(t.tags[a].operations=[]),
t.tags[a].operations.push(u)}));else{
(null==(i=t.tags)?void 0:i.find((e=>"default"===e.name)))||null==(a=t.tags)||a.push({
name:"default",description:"",operations:[]})
;const e=null==(s=t.tags)?void 0:s.findIndex((e=>"default"===e.name))
;e>=0&&(null==(l=t.tags[e])||l.operations.push(u))}}))}));return{...t,webhooks:n
}},vD=Symbol(),bD=Symbol(),OD=Symbol(),yD=Symbol(),wD=Symbol(),kD=async e=>{
var t;null==(t=document.getElementById(e))||t.scrollIntoView()
},xD=e=>new Promise((t=>setTimeout(t,e))),SD=Jp(Symbol("downloadSpec"))
;const _D=async({url:e,content:t},n)=>{if(e){const t=performance.now();try{
const r=function(e){try{return Boolean(new URL(e))}catch{return!1}
}(e)?await wd(e,n):await wd(e),o=performance.now()
;return console.log(`fetch: ${Math.round(o-t)} ms (${e})`),
console.log("size:",Math.round(r.length/1024),"kB"),r}catch(o){
console.error("Failed to fetch spec from URL:",o)}}
const r="function"==typeof t?t():t
;return"string"==typeof r?r:"object"==typeof r?Bd(r):void 0}
;function ED({specConfig:e,proxy:t}){const n=In(""),r=xn(wp()),o=In(null)
;function i(e){return e?((e,{proxy:t}={})=>new Promise((async(n,r)=>{var o;try{
if(!e)return n(gD(wp()));const i=performance.now(),{filesystem:a}=await dD(e,{
plugins:[mD({fetch:e=>fetch(t?ll(t,e):e)})]
}),{schema:s,errors:l}=await uD(a),c=performance.now()
;return console.log(`dereference: ${Math.round(c-i)} ms`),
(null==l?void 0:l.length)&&console.warn("Please open an issue on https://github.com/scalar/scalar\n","Scalar OpenAPI Parser Warning:\n",l),
void 0===s?(r((null==(o=null==l?void 0:l[0])?void 0:o.message)??"Failed to parse the OpenAPI file."),
n(gD(wp()))):n(gD(s))}catch(i){r(i)}return n(gD(wp()))})))(e,{
proxy:t?Un(t):void 0}).then((e=>{o.value=null,Object.assign(r,{servers:[],...e})
})).catch((e=>{o.value=e.toString()})):Object.assign(r,wp())}
return Ci((()=>Un(e)),(async e=>{var r;if(e){
const o=null==(r=await _D(e,Un(t)))?void 0:r.trim()
;"string"==typeof o&&(n.value=o)}}),{immediate:!0,deep:!0}),Ci(n,(()=>{
i(n.value)})),{rawSpec:n,parsedSpec:r,specErrors:o}}function TD(e){return{
responses:$a((()=>{if(!e.information)return[]
;const{responses:t}=e.information,n=[]
;return t?(Object.entries(t).forEach((([e,t])=>{n.push({name:e,
description:t.description,content:t.content,headers:t.headers})})),n):n}))}}
const CD=Jp(Symbol()),{getHeadingId:AD,getModelId:PD,getOperationId:DD,getSectionId:$D,getTagId:RD,getWebhookId:ND,hash:MD}=ff(),ID=In(void 0),LD=xn({})
;function jD(e){var t,n,r
;"alpha"===LD.tagsSorter?e.tags=null==(t=e.tags)?void 0:t.sort(((e,t)=>e.name.localeCompare(t.name))):"function"==typeof LD.tagsSorter&&(e.tags=null==(n=e.tags)?void 0:n.sort(LD.tagsSorter))
;const o=(e,t)=>{const n=e.name??e.path,r=t.name??t.path
;return n.localeCompare(r)},i=(e,t)=>e.httpVerb.localeCompare(t.httpVerb);let a
;return"alpha"===LD.operationsSorter?a=o:"method"===LD.operationsSorter?a=i:"function"==typeof LD.operationsSorter&&(a=LD.operationsSorter),
a&&(null==(r=e.tags)||r.forEach((e=>{var t
;e.operations=null==(t=e.operations)?void 0:t.sort(a)}))),ID.value=e}
const BD=In(!1),QD=In(!1),UD=xn(Fd["useSidebarContent-collapsedSidebarItems"]??{})
;function FD(e){UD[e]=!UD[e]}function zD(e,t){UD[e]=t}const qD=In([])
;const HD=$a((()=>{var e,t,n,r,o,i,a,s,l,c
;const{state:u}=tp(),d={},{openApi:{globalSecurity:p}}=lp(),h=[];let f=null
;qD.value.forEach((e=>{var t;e.depth===BP(qD.value)?(f={id:AD(e),title:e.value,
show:!u.showApiClient,children:[]},h.push(f)):f&&(null==(t=f.children)||t.push({
id:AD(e),title:e.value,show:!u.showApiClient}))}))
;const m=null==(t=null==(e=ID.value)?void 0:e.tags)?void 0:t[0],g=m&&(1!==(null==(v=null==(n=ID.value)?void 0:n.tags)?void 0:v.length)||"default"!==v[0].name||""!==v[0].description)?null==(o=null==(r=ID.value)?void 0:r.tags)?void 0:o.filter((e=>{
var t;return(null==(t=e.operations)?void 0:t.length)>0})).map((e=>{var t;return{
id:RD(e),title:e.name,displayTitle:e["x-displayName"]??e.name,show:!0,
children:null==(t=e.operations)?void 0:t.map((t=>{var n
;const r=DD(t,e),o=t.name??t.path;return d[r]=o,{id:r,title:o,
httpVerb:t.httpVerb,
deprecated:(null==(n=t.information)?void 0:n.deprecated)??!1,show:!0,
select:()=>{u.showApiClient&&GP(t,p)}}}))}
})):null==(i=null==m?void 0:m.operations)?void 0:i.map((e=>{var t
;const n=DD(e,m),r=e.name??e.path;return d[n]=r,{id:n,title:r,
httpVerb:e.httpVerb,
deprecated:(null==(t=e.information)?void 0:t.deprecated)??!1,show:!0,
select:()=>{u.showApiClient&&GP(e,p)}}}));var v;let b=UP(ID.value)&&!BD.value?[{
id:PD(),title:"Models",show:!u.showApiClient,
children:Object.keys(QP(ID.value)??{}).map((e=>{var t;const n=PD(e)
;return d[n]=e,{id:n,title:(null==(t=QP(ID.value))?void 0:t[e]).title??e,
show:!u.showApiClient}}))
}]:[],O=(y=ID.value)&&Object.keys((null==y?void 0:y.webhooks)??{}).length?[{
id:ND(),title:"Webhooks",show:!u.showApiClient,
children:Object.keys((null==(a=ID.value)?void 0:a.webhooks)??{}).map((e=>{
var t,n;const r=ND(e)
;return d[r]=e,Object.keys((null==(n=null==(t=ID.value)?void 0:t.webhooks)?void 0:n[e])??{}).map((t=>{
var n,r,o;return{id:ND(e,t),
title:null==(o=null==(r=null==(n=ID.value)?void 0:n.webhooks)?void 0:r[e][t])?void 0:o.name,
httpVerb:t,show:!u.showApiClient}}))})).flat()}]:[];var y
;const w=(null==(s=ID.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=ID.value)?void 0:l["x-tagGroups"])?void 0:c.map((e=>{
var t;const n=[];null==(t=e.tags)||t.map((e=>{
if("models"===e&&b.length>0)n.push(b[0]),
b=[];else if("webhooks"===e&&O.length>0)n.push(O[0]),O=[];else{
const t=null==g?void 0:g.find((t=>t.title===e));t&&n.push(t)}}));return{
id:e.name,title:e.name,children:n,show:!0,isGroup:!0}
})):void 0,k=[...h,...w??g??[],...O,...b];return QD.value&&k.forEach((e=>{
zD(e.id,!0),e.show=!0})),{entries:k,titles:d}})),VD=In(!1),ZD=$a((()=>{var e,t
;return(null==(t=null==(e=HD.value)?void 0:e.titles)?void 0:t[MD.value])??""
})),WD=e=>{const t=$D(e);if(t!==e)if(UD[t])kD(e);else{const n=CD.on((t=>{
t.id===e&&(kD(e),n())}));zD(t,!0)}};function XD(e){
return Object.assign(LD,e),(null==e?void 0:e.parsedSpec)&&(jD(e.parsedSpec),
Ci((()=>{var e,t
;return null==(t=null==(e=ID.value)?void 0:e.tags)?void 0:t.length}),(()=>{
var e,t;if(MD.value){const e=$D(MD.value);e&&zD(e,!0)}else{
const n=null==(t=null==(e=ID.value)?void 0:e.tags)?void 0:t[0];n&&zD(RD(n),!0)}
})),Ci((()=>{var e,t
;return null==(t=null==(e=ID.value)?void 0:e.info)?void 0:t.description}),(()=>{
var e,t;const n=null==(t=null==(e=ID.value)?void 0:e.info)?void 0:t.description
;return qD.value=n?function(e){const t=jP(e),n=BP(t)
;return t.filter((e=>e.depth===n||e.depth===n+1))}(n):[]}),{immediate:!0})),{
breadcrumb:ZD,items:HD,isSidebarOpen:VD,collapsedSidebarItems:UD,
toggleCollapsedSidebarItem:FD,setCollapsedSidebarItem:zD,hideModels:BD,
setParsedSpec:jD,defaultOpenAllTags:QD,scrollToOperation:WD}}const GD={
targetKey:"shell",clientKey:"curl"};function YD(e){var t
;return(null==(t=t$.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey
}function KD(e){var t,n
;return(null==(n=null==(t=t$.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:n.title)??e.clientKey
}const JD=$a((()=>YD(c$))),e$=$a((()=>KD(c$)));const t$=$a((()=>{var e
;const t=Object.keys(Vm).map((e=>({...Vm[e].info,
clients:Object.keys(Vm[e].clientsById).map((t=>Vm[e].clientsById[t].info))})))
;return null==(e=t.find((e=>"node"===e.key)))||e.clients.unshift({
description:"An HTTP/1.1 client, written from scratch for Node.js.",
key:"undici",link:"https://github.com/nodejs/undici",title:"undici"
}),function(e,t){return!0===t.value?[]:e.flatMap((e=>{var n
;return"object"!=typeof t.value?[]:Array.isArray(t.value)?(e.clients=e.clients.filter((e=>!t.value.includes(e.key))),
[e]):!0===t.value[e.key]?[]:(Array.isArray(t.value[e.key])&&(e.clients=e.clients.filter((n=>!t.value[e.key].includes(n.key)))),
(null==(n=null==e?void 0:e.clients)?void 0:n.length)?[e]:[])}))}(t,r$)})),n$={
node:["unirest"]},r$=In({...!0===n$?{}:n$}),o$=In();function i$(e){
void 0!==e&&(o$.value=e,u$(a$()))}const a$=()=>{var e,t,n,r
;return s$(o$.value)?o$.value:s$(GD)?GD:{
targetKey:null==(e=t$.value[0])?void 0:e.key,
clientKey:null==(r=null==(n=null==(t=t$.value[0])?void 0:t.clients)?void 0:n[0])?void 0:r.key
}};function s$(e){
return void 0!==e&&!!t$.value.find((t=>t.key===e.targetKey&&t.clients.find((t=>t.key===e.clientKey))))
}function l$(){jd(c$,a$())}const c$=xn(a$()),u$=e=>{Object.assign(c$,{...c$,...e
})},d$=()=>({httpClient:_n(c$),resetState:l$,setHttpClient:u$,
setDefaultHttpClient:i$,excludedClients:_n(r$),setExcludedClients:e=>{
r$.value=e,jd(c$,a$())},availableTargets:t$,getClientTitle:KD,getTargetTitle:YD,
httpTargetTitle:JD,httpClientTitle:e$});function p$(e,t,n){
let r=In(null==n?void 0:n.value),o=$a((()=>void 0!==e.value))
;return[$a((()=>o.value?e.value:r.value)),function(e){
return o.value||(r.value=e),null==t?void 0:t(e)}]}function h$(e){
"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{
throw e}))))}function f$(){let e=[],t={
addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),
t.add((()=>e.removeEventListener(n,r,o)))),requestAnimationFrame(...e){
let n=requestAnimationFrame(...e);t.add((()=>cancelAnimationFrame(n)))},
nextFrame(...e){t.requestAnimationFrame((()=>{t.requestAnimationFrame(...e)}))},
setTimeout(...e){let n=setTimeout(...e);t.add((()=>clearTimeout(n)))},
microTask(...e){let n={current:!0};return h$((()=>{n.current&&e[0]()
})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t)
;return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{
[t]:r})}))},group(e){let t=f$();return e(t),this.add((()=>t.dispose()))},
add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()
}),dispose(){for(let t of e.splice(0))t()}};return t}
let m$=Symbol("headlessui.useid"),g$=0;function v$(){
return ti(m$,(()=>""+ ++g$))()}function b$(e){var t
;if(null==e||null==e.value)return null;let n=null!=(t=e.value.$el)?t:e.value
;return n instanceof Node?n:null}function O$(e,t,...n){if(e in t){let r=t[e]
;return"function"==typeof r?r(...n):r}
let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(r,O$),r}
var y$=Object.defineProperty,w$=(e,t,n)=>(((e,t,n)=>{t in e?y$(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n
})(e,"symbol"!=typeof t?t+"":t,n),n);let k$=new class{constructor(){
w$(this,"current",this.detect()),w$(this,"currentId",0)}set(e){
this.current!==e&&(this.currentId=0,this.current=e)}reset(){
this.set(this.detect())}nextId(){return++this.currentId}get isServer(){
return"server"===this.current}get isClient(){return"client"===this.current}
detect(){
return"undefined"==typeof window||"undefined"==typeof document?"server":"client"
}};function x$(e){if(k$.isServer)return null
;if(e instanceof Node)return e.ownerDocument
;if(null!=e&&e.hasOwnProperty("value")){let t=b$(e);if(t)return t.ownerDocument}
return document}
let S$=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",")
;var _$,E$,T$,C$=((T$=C$||{})[T$.First=1]="First",
T$[T$.Previous=2]="Previous",T$[T$.Next=4]="Next",
T$[T$.Last=8]="Last",T$[T$.WrapAround=16]="WrapAround",
T$[T$.NoScroll=32]="NoScroll",
T$),A$=((E$=A$||{})[E$.Error=0]="Error",E$[E$.Overflow=1]="Overflow",
E$[E$.Success=2]="Success",
E$[E$.Underflow=3]="Underflow",E$),P$=((_$=P$||{})[_$.Previous=-1]="Previous",
_$[_$.Next=1]="Next",_$);function D$(e=document.body){
return null==e?[]:Array.from(e.querySelectorAll(S$)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))
}var $$=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))($$||{})
;function R$(e,t=0){var n;return e!==(null==(n=x$(e))?void 0:n.body)&&O$(t,{
0:()=>e.matches(S$),1(){let t=e;for(;null!==t;){if(t.matches(S$))return!0
;t=t.parentElement}return!1}})}function N$(e){let t=x$(e);hr((()=>{
t&&!R$(t.activeElement,0)&&I$(e)}))}
var M$=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(M$||{})
;function I$(e){null==e||e.focus({preventScroll:!0})}
"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{
e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")
}),!0),document.addEventListener("click",(e=>{
1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")
}),!0));let L$=["textarea","input"].join(",");function j$(e,t=e=>e){
return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0
;let i=r.compareDocumentPosition(o)
;return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0
}))}function B$(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var i
;let a=null!=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?i:document,s=Array.isArray(e)?n?j$(e):e:D$(e)
;o.length>0&&s.length>1&&(s=s.filter((e=>!o.includes(e)))),
r=null!=r?r:a.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1
;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")
})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(r))-1
;if(4&t)return Math.max(0,s.indexOf(r))+1;if(8&t)return s.length-1
;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")
})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0
;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}
l=s[e],null==l||l.focus(d),p+=c}while(l!==a.activeElement)
;return 6&t&&function(e){var t,n
;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,L$))&&n
}(l)&&l.select(),2}function Q$(){
return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0
}function U$(){return Q$()||/Android/gi.test(window.navigator.userAgent)}
function F$(e,t,n){k$.isServer||Ti((r=>{
document.addEventListener(e,t,n),r((()=>document.removeEventListener(e,t,n)))}))
}function z$(e,t,n){k$.isServer||Ti((r=>{
window.addEventListener(e,t,n),r((()=>window.removeEventListener(e,t,n)))}))}
function q$(e,t,n=$a((()=>!0))){function r(r,o){
if(!n.value||r.defaultPrevented)return;let i=o(r)
;if(null===i||!i.getRootNode().contains(i))return;let a=function e(t){
return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)
;for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:b$(e)
;if(null!=t&&t.contains(i)||r.composed&&r.composedPath().includes(t))return}
return!R$(i,$$.Loose)&&-1!==i.tabIndex&&r.preventDefault(),t(r,i)}let o=In(null)
;F$("pointerdown",(e=>{var t,r
;n.value&&(o.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)
}),!0),F$("mousedown",(e=>{var t,r
;n.value&&(o.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)
}),!0),F$("click",(e=>{U$()||o.value&&(r(e,(()=>o.value)),o.value=null)
}),!0),F$("touchend",(e=>r(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),
z$("blur",(e=>r(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)
}function H$(e,t){if(e)return e;let n=null!=t?t:"button"
;return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}
function V$(e,t){let n=In(H$(e.value.type,e.value.as));return lo((()=>{
n.value=H$(e.value.type,e.value.as)})),Ti((()=>{var e
;n.value||b$(t)&&b$(t)instanceof HTMLButtonElement&&(null==(e=b$(t))||!e.hasAttribute("type"))&&(n.value="button")
})),n}function Z$(e){return[e.screenX,e.screenY]}function W$(){let e=In([-1,-1])
;return{wasMoved(t){let n=Z$(t)
;return(e.value[0]!==n[0]||e.value[1]!==n[1])&&(e.value=n,!0)},update(t){
e.value=Z$(t)}}}function X$({container:e,accept:t,walk:n,enabled:r}){Ti((()=>{
let o=e.value;if(!o||void 0!==r&&!r.value)return;let i=x$(e);if(!i)return
;let a=Object.assign((e=>t(e)),{acceptNode:t
}),s=i.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,a,!1)
;for(;s.nextNode();)n(s.currentNode)}))}
var G$,Y$=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",
e[e.Static=2]="Static",
e))(Y$||{}),K$=((G$=K$||{})[G$.Unmount=0]="Unmount",G$[G$.Hidden=1]="Hidden",G$)
;function J$({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...o}){var i
;let a=nR(r,n),s=Object.assign(o,{props:a});if(e||2&t&&a.static)return eR(s)
;if(1&t){return O$(null==(i=a.unmount)||i?0:1,{0:()=>null,1:()=>eR({...o,props:{
...a,hidden:!0,style:{display:"none"}}})})}return eR(s)}
function eR({props:e,attrs:t,slots:n,slot:r,name:o}){var i,a
;let{as:s,...l}=oR(e,["unmount","static"]),c=null==(i=n.default)?void 0:i.call(n,r),u={}
;if(r){let e=!1,t=[]
;for(let[n,o]of Object.entries(r))"boolean"==typeof o&&(e=!0),!0===o&&t.push(n)
;e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){
if(c=tR(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){
let[e,...n]=null!=c?c:[];if(!function(e){
return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)
}(e)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${o} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,n)=>n.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))
;let r=nR(null!=(a=e.props)?a:{},l,u),i=aa(e,r,!0)
;for(let t in r)t.startsWith("on")&&(i.props||(i.props={}),i.props[t]=r[t])
;return i}return Array.isArray(c)&&1===c.length?c[0]:c}
return Ra(s,Object.assign({},l,u),{default:()=>c})}function tR(e){
return e.flatMap((e=>e.type===Ui?tR(e.children):[e]))}function nR(...e){
if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={}
;for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),
n[e].push(r[e])):t[e]=r[e]
;if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))))
;for(let r in n)Object.assign(t,{[r](e,...t){let o=n[r];for(let n of o){
if(e instanceof Event&&e.defaultPrevented)return;n(e,...t)}}});return t}
function rR(e){let t=Object.assign({},e)
;for(let n in t)void 0===t[n]&&delete t[n];return t}function oR(e,t=[]){
let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}
var iR=(e=>(e[e.None=1]="None",
e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(iR||{});let aR=Gr({
name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{
type:Number,default:1}},setup:(e,{slots:t,attrs:n})=>()=>{var r
;let{features:o,...i}=e;return J$({ourProps:{
"aria-hidden":!(2&~o)||(null!=(r=i["aria-hidden"])?r:void 0),
hidden:!(4&~o)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,
padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",
whiteSpace:"nowrap",borderWidth:"0",...!(4&~o)&&!!(2&~o)&&{display:"none"}}},
theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}),sR=Symbol("Context")
;var lR=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",
e[e.Opening=8]="Opening",e))(lR||{});function cR(){return ti(sR,null)}
function uR(e){ei(sR,e)}
var dR,pR=((dR=pR||{}).Space=" ",dR.Enter="Enter",dR.Escape="Escape",
dR.Backspace="Backspace",
dR.Delete="Delete",dR.ArrowLeft="ArrowLeft",dR.ArrowUp="ArrowUp",
dR.ArrowRight="ArrowRight",dR.ArrowDown="ArrowDown",dR.Home="Home",dR.End="End",
dR.PageUp="PageUp",dR.PageDown="PageDown",dR.Tab="Tab",dR);let hR=[]
;!function(e){function t(){
"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))
}
"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),
t())}((()=>{function e(e){
e.target instanceof HTMLElement&&e.target!==document.body&&hR[0]!==e.target&&(hR.unshift(e.target),
hR=hR.filter((e=>null!=e&&e.isConnected)),hR.splice(10))}
window.addEventListener("click",e,{capture:!0
}),window.addEventListener("mousedown",e,{capture:!0
}),window.addEventListener("focus",e,{capture:!0
}),document.body.addEventListener("click",e,{capture:!0
}),document.body.addEventListener("mousedown",e,{capture:!0
}),document.body.addEventListener("focus",e,{capture:!0})}))
;var fR,mR=((fR=mR||{})[fR.First=0]="First",
fR[fR.Previous=1]="Previous",fR[fR.Next=2]="Next",
fR[fR.Last=3]="Last",fR[fR.Specific=4]="Specific",fR[fR.Nothing=5]="Nothing",fR)
;function gR(e,t){let n=t.resolveItems();if(n.length<=0)return null
;let r=t.resolveActiveIndex(),o=null!=r?r:-1;switch(e.focus){case 0:
for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 1:-1===o&&(o=n.length)
;for(let e=o-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 2:for(let e=o+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e
;return r;case 3:
for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r
;return r;case 5:return null;default:!function(e){
throw new Error("Unexpected object: "+e)}(e)}}function vR(e={},t=null,n=[]){
for(let[r,o]of Object.entries(e))OR(n,bR(t,r),o);return n}function bR(e,t){
return e?e+"["+t+"]":t}function OR(e,t,n){
if(Array.isArray(n))for(let[r,o]of n.entries())OR(e,bR(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):vR(n,t,e)
}function yR(e,t,n,r){k$.isServer||Ti((o=>{
(e=null!=e?e:window).addEventListener(t,n,r),
o((()=>e.removeEventListener(t,n,r)))}))}var wR=(e=>(e[e.Forwards=0]="Forwards",
e[e.Backwards=1]="Backwards",e))(wR||{});function kR(){let e=In(0)
;return z$("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}
function xR(e){if(!e)return new Set;if("function"==typeof e)return new Set(e())
;let t=new Set;for(let n of e.value){let e=b$(n)
;e instanceof HTMLElement&&t.add(e)}return t}
var SR=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",
e[e.TabLock=4]="TabLock",
e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",
e[e.All=30]="All",e))(SR||{});let _R=Object.assign(Gr({name:"FocusTrap",props:{
as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},
features:{type:Number,default:30},containers:{type:[Object,Function],
default:In(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){
let o=In(null);r({el:o,$el:o});let i=$a((()=>x$(o))),a=In(!1)
;lo((()=>a.value=!0)),ho((()=>a.value=!1)),function({ownerDocument:e},t){
let n=function(e){let t=In(hR.slice());return Ci([e],(([e],[n])=>{
!0===n&&!1===e?h$((()=>{t.value.splice(0)
})):!1===n&&!0===e&&(t.value=hR.slice())}),{flush:"post"}),()=>{var e
;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t)
;lo((()=>{Ti((()=>{var r,o
;t.value||(null==(r=e.value)?void 0:r.activeElement)===(null==(o=e.value)?void 0:o.body)&&I$(n())
}),{flush:"post"})})),ho((()=>{t.value&&I$(n())}))}({ownerDocument:i
},$a((()=>a.value&&Boolean(16&e.features))))
;let s=function({ownerDocument:e,container:t,initialFocus:n},r){
let o=In(null),i=In(!1)
;return lo((()=>i.value=!0)),ho((()=>i.value=!1)),lo((()=>{Ci([t,n,r],((a,s)=>{
if(a.every(((e,t)=>(null==s?void 0:s[t])===e))||!r.value)return;let l=b$(t)
;l&&h$((()=>{var t,r;if(!i.value)return
;let a=b$(n),s=null==(t=e.value)?void 0:t.activeElement;if(a){
if(a===s)return void(o.value=s)}else if(l.contains(s))return void(o.value=s)
;a?I$(a):B$(l,C$.First|C$.NoScroll)===A$.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),
o.value=null==(r=e.value)?void 0:r.activeElement}))}),{immediate:!0,flush:"post"
})})),o}({ownerDocument:i,container:o,initialFocus:$a((()=>e.initialFocus))
},$a((()=>a.value&&Boolean(2&e.features))))
;!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){
var i;yR(null==(i=e.value)?void 0:i.defaultView,"focus",(e=>{if(!o.value)return
;let i=xR(n);b$(t)instanceof HTMLElement&&i.add(b$(t));let a=r.value
;if(!a)return;let s=e.target
;s&&s instanceof HTMLElement?ER(i,s)?(r.value=s,I$(s)):(e.preventDefault(),
e.stopPropagation(),I$(a)):I$(r.value)}),!0)}({ownerDocument:i,container:o,
containers:e.containers,previousActiveElement:s
},$a((()=>a.value&&Boolean(8&e.features))));let l=kR();function c(e){let t=b$(o)
;t&&O$(l.value,{[wR.Forwards]:()=>{B$(t,C$.First,{skipElements:[e.relatedTarget]
})},[wR.Backwards]:()=>{B$(t,C$.Last,{skipElements:[e.relatedTarget]})}})}
let u=In(!1);function d(e){
"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}
function p(t){if(!a.value)return;let n=xR(e.containers)
;b$(o)instanceof HTMLElement&&n.add(b$(o));let r=t.relatedTarget
;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(ER(n,r)||(u.value?B$(b$(o),O$(l.value,{
[wR.Forwards]:()=>C$.Next,[wR.Backwards]:()=>C$.Previous})|C$.WrapAround,{
relativeTo:t.target}):t.target instanceof HTMLElement&&I$(t.target)))}
return()=>{let r={ref:o,onKeydown:d,onFocusout:p
},{features:i,initialFocus:a,containers:s,...l}=e
;return Ra(Ui,[Boolean(4&i)&&Ra(aR,{as:"button",type:"button",
"data-headlessui-focus-guard":!0,onFocus:c,features:iR.Focusable}),J$({
ourProps:r,theirProps:{...t,...l},slot:{},attrs:t,slots:n,name:"FocusTrap"
}),Boolean(4&i)&&Ra(aR,{as:"button",type:"button",
"data-headlessui-focus-guard":!0,onFocus:c,features:iR.Focusable})])}}}),{
features:SR});function ER(e,t){for(let n of e)if(n.contains(t))return!0;return!1
}function TR(){let e;return{before({doc:t}){var n;let r=t.documentElement
;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},
after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,i=e-o
;n.style(r,"paddingRight",`${i}px`)}}}function CR(e){let t={}
;for(let n of e)Object.assign(t,n(t));return t}let AR=function(e,t){
let n=e(),r=new Set;return{getSnapshot:()=>n,
subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let i=t[e].call(n,...o)
;i&&(n=i,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n
;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:f$(),meta:new Set}
;return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e)
;return n&&(n.count--,n.meta.delete(t)),this},
SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:CR(n)},o=[Q$()?{
before({doc:e,d:t,meta:n}){function r(e){
return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}
t.microTask((()=>{var n
;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){
let n=f$()
;n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))
}let o=null!=(n=window.scrollY)?n:window.pageYOffset,i=null
;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{
let n=t.target.closest("a");if(!n)return
;let{hash:o}=new URL(n.href),a=e.querySelector(o);a&&!r(a)&&(i=a)}catch{}}),!0),
t.addEventListener(e,"touchstart",(e=>{
if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target
;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement
;t.style(n,"overscrollBehavior","contain")
}else t.style(e.target,"touchAction","none")
})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){
if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target
;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement
;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}
}),{passive:!1}),t.add((()=>{var e
;let t=null!=(e=window.scrollY)?e:window.pageYOffset
;o!==t&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({
block:"nearest"}),i=null)}))}))}}:{},TR(),{before({doc:e,d:t}){
t.style(e.documentElement,"overflow","hidden")}}]
;o.forEach((({before:e})=>null==e?void 0:e(r))),
o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},
TEARDOWN({doc:e}){this.delete(e)}});function PR(e,t,n){let r=function(e){
let t=Ln(e.getSnapshot());return ho(e.subscribe((()=>{t.value=e.getSnapshot()
}))),t}(AR),o=$a((()=>{let t=e.value?r.value.get(e.value):void 0
;return!!t&&t.count>0}));return Ci([e,t],(([e,t],[r],o)=>{if(!e||!t)return
;AR.dispatch("PUSH",e,n);let i=!1;o((()=>{
i||(AR.dispatch("POP",null!=r?r:e,n),i=!0)}))}),{immediate:!0}),o}
AR.subscribe((()=>{let e=AR.getSnapshot(),t=new Map
;for(let[n]of e)t.set(n,n.documentElement.style.overflow)
;for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count
;(r&&!e||!r&&e)&&AR.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),
0===n.count&&AR.dispatch("TEARDOWN",n)}}));let DR=new Map,$R=new Map
;function RR(e,t=In(!0)){Ti((n=>{var r;if(!t.value)return;let o=b$(e)
;if(!o)return;n((function(){var e;if(!o)return;let t=null!=(e=$R.get(o))?e:1
;if(1===t?$R.delete(o):$R.set(o,t-1),1!==t)return;let n=DR.get(o)
;n&&(null===n["aria-hidden"]?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",n["aria-hidden"]),
o.inert=n.inert,DR.delete(o))}));let i=null!=(r=$R.get(o))?r:0
;$R.set(o,i+1),0===i&&(DR.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),
inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)}))}
function NR({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){
let r=In(null),o=x$(r);function i(){var n,i,a;let s=[]
;for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"value"in t&&t.value instanceof HTMLElement&&s.push(t.value))
;if(null!=t&&t.value)for(let e of t.value)s.push(e)
;for(let e of null!=(n=null==o?void 0:o.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(b$(r))||e.contains(null==(a=null==(i=b$(r))?void 0:i.getRootNode())?void 0:a.host)||s.some((t=>e.contains(t)))||s.push(e))
;return s}return{resolveContainers:i,contains:e=>i().some((t=>t.contains(e))),
mainTreeNodeRef:r,MainTreeNode:()=>null!=n?null:Ra(aR,{features:iR.Hidden,ref:r
})}}let MR=Symbol("ForcePortalRootContext");let IR=Gr({name:"ForcePortalRoot",
props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,
default:!1}},setup:(e,{slots:t,attrs:n})=>(ei(MR,e.force),()=>{
let{force:r,...o}=e;return J$({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,
name:"ForcePortalRoot"})})}),LR=Symbol("StackContext")
;var jR=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(jR||{})
;function BR({type:e,enabled:t,element:n,onUpdate:r}){let o=ti(LR,(()=>{}))
;function i(...e){null==r||r(...e),o(...e)}lo((()=>{Ci(t,((t,r)=>{
t?i(0,e,n):!0===r&&i(1,e,n)}),{immediate:!0,flush:"sync"})})),ho((()=>{
t.value&&i(1,e,n)})),ei(LR,i)}let QR=Symbol("DescriptionContext")
;function UR({slot:e=In({}),name:t="Description",props:n={}}={}){let r=In([])
;return ei(QR,{register:function(e){return r.value.push(e),()=>{
let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:n
}),$a((()=>r.value.length>0?r.value.join(" "):void 0))}let FR=Gr({
name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-description-${v$()}`,i=function(){
let e=ti(QR,null);if(null===e)throw new Error("Missing parent");return e}()
;return lo((()=>ho(i.register(o)))),()=>{
let{name:r="Description",slot:a=In({}),props:s={}}=i,{...l}=e;return J$({
ourProps:{...Object.entries(s).reduce(((e,[t,n])=>Object.assign(e,{[t]:Qn(n)
})),{}),id:o},theirProps:l,slot:a.value,attrs:t,slots:n,name:r})}}})
;const zR=new WeakMap;function qR(e,t){let n=t(function(e){var t
;return null!=(t=zR.get(e))?t:0}(e));return n<=0?zR.delete(e):zR.set(e,n),n}
let HR=Gr({name:"Portal",props:{as:{type:[Object,String],default:"div"}},
setup(e,{slots:t,attrs:n}){
let r=In(null),o=$a((()=>x$(r))),i=ti(MR,!1),a=ti(WR,null),s=In(!0===i||null==a?function(e){
let t=x$(e);if(!t){if(null===e)return null
;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)
}let n=t.getElementById("headlessui-portal-root");if(n)return n
;let r=t.createElement("div")
;return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)
}(r.value):a.resolveTarget());s.value&&qR(s.value,(e=>e+1));let l=In(!1)
;lo((()=>{l.value=!0})),Ti((()=>{i||null!=a&&(s.value=a.resolveTarget())}))
;let c=ti(VR,null),u=!1,d=ba();return Ci(r,(()=>{if(u||!c)return;let e=b$(r)
;e&&(ho(c.register(e),d),u=!0)})),ho((()=>{var e,t
;let n=null==(e=o.value)?void 0:e.getElementById("headlessui-portal-root")
;!n||s.value!==n||qR(s.value,(e=>e-1))||s.value.children.length>0||null==(t=s.value.parentElement)||t.removeChild(s.value)
})),()=>{if(!l.value||null===s.value)return null;let o={ref:r,
"data-headlessui-portal":""};return Ra(Nr,{to:s.value},J$({ourProps:o,
theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}
}),VR=Symbol("PortalParentContext");function ZR(){let e=ti(VR,null),t=In([])
;function n(n){let r=t.value.indexOf(n)
;-1!==r&&t.value.splice(r,1),e&&e.unregister(n)}let r={register:function(r){
return t.value.push(r),e&&e.register(r),()=>n(r)},unregister:n,portals:t}
;return[t,Gr({name:"PortalWrapper",setup:(e,{slots:t})=>(ei(VR,r),()=>{var e
;return null==(e=t.default)?void 0:e.call(t)})})]}
let WR=Symbol("PortalGroupContext"),XR=Gr({name:"PortalGroup",props:{as:{
type:[Object,String],default:"template"},target:{type:Object,default:null}},
setup(e,{attrs:t,slots:n}){let r=xn({resolveTarget:()=>e.target})
;return ei(WR,r),()=>{let{target:r,...o}=e;return J$({theirProps:o,ourProps:{},
slot:{},attrs:t,slots:n,name:"PortalGroup"})}}})
;var GR,YR=((GR=YR||{})[GR.Open=0]="Open",GR[GR.Closed=1]="Closed",GR)
;let KR=Symbol("DialogContext");function JR(e){let t=ti(KR,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,JR),t}return t}
let eN="DC8F892D-2EBD-447C-A4C8-A03058436FF4",tN=Gr({name:"Dialog",
inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{
type:[Boolean,String],default:eN},initialFocus:{type:Object,default:null},id:{
type:String,default:null},role:{type:String,default:"dialog"}},emits:{
close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var i,a
;let s=null!=(i=e.id)?i:`headlessui-dialog-${v$()}`,l=In(!1);lo((()=>{l.value=!0
}))
;let c=!1,u=$a((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0,
console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),
"dialog"))),d=In(0),p=cR(),h=$a((()=>e.open===eN&&null!==p?(p.value&lR.Open)===lR.Open:e.open)),f=In(null),m=$a((()=>x$(f)))
;if(o({el:f,$el:f
}),e.open===eN&&null===p)throw new Error("You forgot to provide an `open` prop to the `Dialog`.")
;if("boolean"!=typeof h.value)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===eN?void 0:e.open}`)
;let g=$a((()=>l.value&&h.value?0:1)),v=$a((()=>0===g.value)),b=$a((()=>d.value>1)),O=null!==ti(KR,null),[y,w]=ZR(),{resolveContainers:k,mainTreeNodeRef:x,MainTreeNode:S}=NR({
portals:y,defaultContainers:[$a((()=>{var e
;return null!=(e=R.panelRef.value)?e:f.value}))]
}),_=$a((()=>b.value?"parent":"leaf")),E=$a((()=>null!==p&&(p.value&lR.Closing)===lR.Closing)),T=$a((()=>!O&&!E.value&&v.value)),C=$a((()=>{
var e,t,n
;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(b$(x))&&e instanceof HTMLElement))))?n:null
}));RR(C,T);let A=$a((()=>!!b.value||v.value)),P=$a((()=>{var e,t,n
;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(b$(x))&&e instanceof HTMLElement)))?n:null
}));RR(P,A),BR({type:"Dialog",enabled:$a((()=>0===g.value)),element:f,
onUpdate:(e,t)=>{if("Dialog"===t)return O$(e,{[jR.Add]:()=>d.value+=1,
[jR.Remove]:()=>d.value-=1})}});let D=UR({name:"DialogDescription",
slot:$a((()=>({open:h.value})))}),$=In(null),R={titleId:$,panelRef:In(null),
dialogState:g,setTitleId(e){$.value!==e&&($.value=e)},close(){t("close",!1)}}
;ei(KR,R);let N=$a((()=>!(!v.value||b.value)));q$(k,((e,t)=>{e.preventDefault(),
R.close(),hr((()=>null==t?void 0:t.focus()))}),N)
;let M=$a((()=>!(b.value||0!==g.value)))
;yR(null==(a=m.value)?void 0:a.defaultView,"keydown",(e=>{
M.value&&(e.defaultPrevented||e.key===pR.Escape&&(e.preventDefault(),
e.stopPropagation(),R.close()))}));let I=$a((()=>!(E.value||0!==g.value||O)))
;return PR(m,I,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],k]}
})),Ti((e=>{if(0!==g.value)return;let t=b$(f);if(!t)return
;let n=new ResizeObserver((e=>{for(let t of e){
let e=t.target.getBoundingClientRect()
;0===e.x&&0===e.y&&0===e.width&&0===e.height&&R.close()}}))
;n.observe(t),e((()=>n.disconnect()))})),()=>{
let{open:t,initialFocus:o,...i}=e,a={...n,ref:f,id:s,role:u.value,
"aria-modal":0===g.value||void 0,"aria-labelledby":$.value,
"aria-describedby":D.value},l={open:0===g.value};return Ra(IR,{force:!0
},(()=>[Ra(HR,(()=>Ra(XR,{target:f.value},(()=>Ra(IR,{force:!1},(()=>Ra(_R,{
initialFocus:o,containers:k,features:v.value?O$(_.value,{
parent:_R.features.RestoreFocus,leaf:_R.features.All&~_R.features.FocusLock
}):_R.features.None},(()=>Ra(w,{},(()=>J$({ourProps:a,theirProps:{...i,...n},
slot:l,attrs:n,slots:r,visible:0===g.value,features:Y$.RenderStrategy|Y$.Static,
name:"Dialog"}))))))))))),Ra(S)]))}}}),nN=Gr({name:"DialogPanel",props:{as:{
type:[Object,String],default:"div"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-dialog-panel-${v$()}`,a=JR("DialogPanel")
;function s(e){e.stopPropagation()}return r({el:a.panelRef,$el:a.panelRef
}),()=>{let{...r}=e;return J$({ourProps:{id:i,ref:a.panelRef,onClick:s},
theirProps:r,slot:{open:0===a.dialogState.value},attrs:t,slots:n,
name:"DialogPanel"})}}}),rN=Gr({name:"DialogTitle",props:{as:{
type:[Object,String],default:"h2"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-dialog-title-${v$()}`,i=JR("DialogTitle")
;return lo((()=>{i.setTitleId(o),ho((()=>i.setTitleId(null)))})),()=>{
let{...r}=e;return J$({ourProps:{id:o},theirProps:r,slot:{
open:0===i.dialogState.value},attrs:t,slots:n,name:"DialogTitle"})}}}),oN=FR
;var iN=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(iN||{})
;let aN=Symbol("DisclosureContext");function sN(e){let t=ti(aN,null)
;if(null===t){
let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,sN),t}return t}
let lN=Symbol("DisclosurePanelContext");let cN=Gr({name:"Disclosure",props:{as:{
type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}
},setup(e,{slots:t,attrs:n}){
let r=In(e.defaultOpen?0:1),o=In(null),i=In(null),a={
buttonId:In(`headlessui-disclosure-button-${v$()}`),
panelId:In(`headlessui-disclosure-panel-${v$()}`),disclosureState:r,panel:o,
button:i,toggleDisclosure(){r.value=O$(r.value,{0:1,1:0})},closeDisclosure(){
1!==r.value&&(r.value=1)},close(e){a.closeDisclosure()
;let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?b$(e):b$(a.button):b$(a.button)
;null==t||t.focus()}};return ei(aN,a),uR($a((()=>O$(r.value,{0:lR.Open,
1:lR.Closed})))),()=>{let{defaultOpen:o,...i}=e;return J$({theirProps:i,
ourProps:{},slot:{open:0===r.value,close:a.close},slots:t,attrs:n,
name:"Disclosure"})}}}),uN=Gr({name:"DisclosureButton",props:{as:{
type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{
type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){
let o=sN("DisclosureButton"),i=ti(lN,null),a=$a((()=>null!==i&&i.value===o.panelId.value))
;lo((()=>{a.value||null!==e.id&&(o.buttonId.value=e.id)})),ho((()=>{
a.value||(o.buttonId.value=null)}));let s=In(null);r({el:s,$el:s
}),a.value||Ti((()=>{o.button.value=s.value}));let l=V$($a((()=>({as:e.as,
type:t.type}))),s);function c(){var t
;e.disabled||(a.value?(o.toggleDisclosure(),
null==(t=b$(o.button))||t.focus()):o.toggleDisclosure())}function u(t){var n
;if(!e.disabled)if(a.value)switch(t.key){case pR.Space:case pR.Enter:
t.preventDefault(),
t.stopPropagation(),o.toggleDisclosure(),null==(n=b$(o.button))||n.focus()
}else switch(t.key){case pR.Space:case pR.Enter:
t.preventDefault(),t.stopPropagation(),o.toggleDisclosure()}}function d(e){
if(e.key===pR.Space)e.preventDefault()}return()=>{var r;let i={
open:0===o.disclosureState.value},{id:p,...h}=e;return J$({ourProps:a.value?{
ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(r=o.buttonId.value)?r:p,
ref:s,type:l.value,"aria-expanded":0===o.disclosureState.value,
"aria-controls":0===o.disclosureState.value||b$(o.panel)?o.panelId.value:void 0,
disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,
slot:i,attrs:t,slots:n,name:"DisclosureButton"})}}}),dN=Gr({
name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=sN("DisclosurePanel")
;lo((()=>{null!==e.id&&(o.panelId.value=e.id)})),ho((()=>{o.panelId.value=null
})),r({el:o.panel,$el:o.panel}),ei(lN,o.panelId)
;let i=cR(),a=$a((()=>null!==i?(i.value&lR.Open)===lR.Open:0===o.disclosureState.value))
;return()=>{var r;let i={open:0===o.disclosureState.value,close:o.close
},{id:s,...l}=e;return J$({ourProps:{id:null!=(r=o.panelId.value)?r:s,
ref:o.panel},theirProps:l,slot:i,attrs:t,slots:n,
features:Y$.RenderStrategy|Y$.Static,visible:a.value,name:"DisclosurePanel"})}}
}),pN=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g
;function hN(e){var t,n;let r=null!=(t=e.innerText)?t:"",o=e.cloneNode(!0)
;if(!(o instanceof HTMLElement))return r;let i=!1
;for(let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),
i=!0;let a=i?null!=(n=o.innerText)?n:"":r
;return pN.test(a)&&(a=a.replace(pN,"")),a}function fN(e){let t=In(""),n=In("")
;return()=>{let r=b$(e);if(!r)return"";let o=r.innerText
;if(t.value===o)return n.value;let i=function(e){
let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim()
;let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{
let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label")
;return"string"==typeof e?e.trim():hN(t).trim()}return null})).filter(Boolean)
;if(e.length>0)return e.join(", ")}return hN(e).trim()}(r).trim().toLowerCase()
;return t.value=o,n.value=i,i}}function mN(e,t){return e===t}
var gN=(e=>(e[e.Open=0]="Open",
e[e.Closed=1]="Closed",e))(gN||{}),vN=(e=>(e[e.Single=0]="Single",
e[e.Multi=1]="Multi",
e))(vN||{}),bN=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(bN||{})
;let ON=Symbol("ListboxContext");function yN(e){let t=ti(ON,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,yN),t}return t}
let wN=Gr({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{
type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},
by:{type:[String,Function],default:()=>mN},horizontal:{type:[Boolean],default:!1
},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{
type:[Object,String,Number,Boolean],default:void 0},form:{type:String,
optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}
},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){
let o=In(1),i=In(null),a=In(null),s=In(null),l=In([]),c=In(""),u=In(null),d=In(1)
;function p(e=e=>e){
let t=null!==u.value?l.value[u.value]:null,n=j$(e(l.value.slice()),(e=>b$(e.dataRef.domRef))),r=t?n.indexOf(t):null
;return-1===r&&(r=null),{options:n,activeOptionIndex:r}}
let h=$a((()=>e.multiple?1:0)),[f,m]=p$($a((()=>e.modelValue)),(e=>r("update:modelValue",e)),$a((()=>e.defaultValue))),g=$a((()=>void 0===f.value?O$(h.value,{
1:[],0:void 0}):f.value)),v={listboxState:o,value:g,mode:h,compare(t,n){
if("string"==typeof e.by){let r=e.by
;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e.by(t,n)},
orientation:$a((()=>e.horizontal?"horizontal":"vertical")),labelRef:i,
buttonRef:a,optionsRef:s,disabled:$a((()=>e.disabled)),options:l,searchQuery:c,
activeOptionIndex:u,activationTrigger:d,closeListbox(){
e.disabled||1!==o.value&&(o.value=1,u.value=null)},openListbox(){
e.disabled||0!==o.value&&(o.value=0)},goToOption(t,n,r){
if(e.disabled||1===o.value)return;let i=p(),a=gR(t===mR.Specific?{
focus:mR.Specific,id:n}:{focus:t},{resolveItems:()=>i.options,
resolveActiveIndex:()=>i.activeOptionIndex,resolveId:e=>e.id,
resolveDisabled:e=>e.dataRef.disabled})
;c.value="",u.value=a,d.value=null!=r?r:1,l.value=i.options},search(t){
if(e.disabled||1===o.value)return;let n=""!==c.value?0:1
;c.value+=t.toLowerCase()
;let r=(null!==u.value?l.value.slice(u.value+n).concat(l.value.slice(0,u.value+n)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),i=r?l.value.indexOf(r):-1
;-1===i||i===u.value||(u.value=i,d.value=1)},clearSearch(){
e.disabled||1!==o.value&&""!==c.value&&(c.value="")},registerOption(e,t){
let n=p((n=>[...n,{id:e,dataRef:t}]))
;l.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){
let t=p((t=>{let n=t.findIndex((t=>t.id===e));return-1!==n&&t.splice(n,1),t}))
;l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){
e.disabled||m(t)},select(t){e.disabled||m(O$(h.value,{0:()=>t,1:()=>{
let e=$n(v.value.value).slice(),n=$n(t),r=e.findIndex((e=>v.compare(n,$n(e))))
;return-1===r?e.push(n):e.splice(r,1),e}}))}};q$([a,s],((e,t)=>{var n
;v.closeListbox(),
R$(t,$$.Loose)||(e.preventDefault(),null==(n=b$(a))||n.focus())
}),$a((()=>0===o.value))),ei(ON,v),uR($a((()=>O$(o.value,{0:lR.Open,1:lR.Closed
}))));let b=$a((()=>{var e;return null==(e=b$(a))?void 0:e.closest("form")}))
;return lo((()=>{Ci([b],(()=>{
if(b.value&&void 0!==e.defaultValue)return b.value.addEventListener("reset",t),
()=>{var e;null==(e=b.value)||e.removeEventListener("reset",t)};function t(){
v.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{
let{name:r,modelValue:i,disabled:a,form:s,...l}=e,c={open:0===o.value,
disabled:a,value:g.value};return Ra(Ui,[...null!=r&&null!=g.value?vR({
[r]:g.value}).map((([e,t])=>Ra(aR,rR({features:iR.Hidden,key:e,as:"input",
type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:a,name:e,value:t
})))):[],J$({ourProps:{},theirProps:{...n,
...oR(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},
slot:c,slots:t,attrs:n,name:"Listbox"})])}}}),kN=Gr({name:"ListboxLabel",props:{
as:{type:[Object,String],default:"label"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-listbox-label-${v$()}`,i=yN("ListboxLabel")
;function a(){var e;null==(e=b$(i.buttonRef))||e.focus({preventScroll:!0})}
return()=>{let r={open:0===i.listboxState.value,disabled:i.disabled.value
},{...s}=e;return J$({ourProps:{id:o,ref:i.labelRef,onClick:a},theirProps:s,
slot:r,attrs:t,slots:n,name:"ListboxLabel"})}}}),xN=Gr({name:"ListboxButton",
props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}
},setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-listbox-button-${v$()}`,a=yN("ListboxButton")
;function s(e){switch(e.key){case pR.Space:case pR.Enter:case pR.ArrowDown:
e.preventDefault(),a.openListbox(),hr((()=>{var e
;null==(e=b$(a.optionsRef))||e.focus({preventScroll:!0
}),a.value.value||a.goToOption(mR.First)}));break;case pR.ArrowUp:
e.preventDefault(),a.openListbox(),hr((()=>{var e
;null==(e=b$(a.optionsRef))||e.focus({preventScroll:!0
}),a.value.value||a.goToOption(mR.Last)}))}}function l(e){
if(e.key===pR.Space)e.preventDefault()}function c(e){
a.disabled.value||(0===a.listboxState.value?(a.closeListbox(),hr((()=>{var e
;return null==(e=b$(a.buttonRef))?void 0:e.focus({preventScroll:!0})
}))):(e.preventDefault(),a.openListbox(),function(e){
requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e
;return null==(e=b$(a.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}r({
el:a.buttonRef,$el:a.buttonRef});let u=V$($a((()=>({as:e.as,type:t.type
}))),a.buttonRef);return()=>{var r,o;let d={open:0===a.listboxState.value,
disabled:a.disabled.value,value:a.value.value},{...p}=e;return J$({ourProps:{
ref:a.buttonRef,id:i,type:u.value,"aria-haspopup":"listbox",
"aria-controls":null==(r=b$(a.optionsRef))?void 0:r.id,
"aria-expanded":0===a.listboxState.value,
"aria-labelledby":a.labelRef.value?[null==(o=b$(a.labelRef))?void 0:o.id,i].join(" "):void 0,
disabled:!0===a.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},
theirProps:p,slot:d,attrs:t,slots:n,name:"ListboxButton"})}}}),SN=Gr({
name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-listbox-options-${v$()}`,a=yN("ListboxOptions"),s=In(null)
;function l(e){switch(s.value&&clearTimeout(s.value),e.key){case pR.Space:
if(""!==a.searchQuery.value)return e.preventDefault(),
e.stopPropagation(),a.search(e.key);case pR.Enter:
if(e.preventDefault(),e.stopPropagation(),null!==a.activeOptionIndex.value){
let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}
0===a.mode.value&&(a.closeListbox(),hr((()=>{var e
;return null==(e=b$(a.buttonRef))?void 0:e.focus({preventScroll:!0})})));break
;case O$(a.orientation.value,{vertical:pR.ArrowDown,horizontal:pR.ArrowRight}):
return e.preventDefault(),e.stopPropagation(),a.goToOption(mR.Next)
;case O$(a.orientation.value,{vertical:pR.ArrowUp,horizontal:pR.ArrowLeft}):
return e.preventDefault(),e.stopPropagation(),a.goToOption(mR.Previous)
;case pR.Home:case pR.PageUp:
return e.preventDefault(),e.stopPropagation(),a.goToOption(mR.First)
;case pR.End:case pR.PageDown:
return e.preventDefault(),e.stopPropagation(),a.goToOption(mR.Last)
;case pR.Escape:
e.preventDefault(),e.stopPropagation(),a.closeListbox(),hr((()=>{var e
;return null==(e=b$(a.buttonRef))?void 0:e.focus({preventScroll:!0})}));break
;case pR.Tab:e.preventDefault(),e.stopPropagation();break;default:
1===e.key.length&&(a.search(e.key),
s.value=setTimeout((()=>a.clearSearch()),350))}}r({el:a.optionsRef,
$el:a.optionsRef})
;let c=cR(),u=$a((()=>null!==c?(c.value&lR.Open)===lR.Open:0===a.listboxState.value))
;return()=>{var r,o;let s={open:0===a.listboxState.value},{...c}=e;return J$({
ourProps:{
"aria-activedescendant":null===a.activeOptionIndex.value||null==(r=a.options.value[a.activeOptionIndex.value])?void 0:r.id,
"aria-multiselectable":1===a.mode.value||void 0,
"aria-labelledby":null==(o=b$(a.buttonRef))?void 0:o.id,
"aria-orientation":a.orientation.value,id:i,onKeydown:l,role:"listbox",
tabIndex:0,ref:a.optionsRef},theirProps:c,slot:s,attrs:t,slots:n,
features:Y$.RenderStrategy|Y$.Static,visible:u.value,name:"ListboxOptions"})}}
}),_N=Gr({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},
value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},
id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-listbox-option-${v$()}`,a=yN("ListboxOption"),s=In(null)
;r({el:s,$el:s})
;let l=$a((()=>null!==a.activeOptionIndex.value&&a.options.value[a.activeOptionIndex.value].id===i)),c=$a((()=>O$(a.mode.value,{
0:()=>a.compare($n(a.value.value),$n(e.value)),
1:()=>$n(a.value.value).some((t=>a.compare($n(t),$n(e.value))))
}))),u=$a((()=>O$(a.mode.value,{1:()=>{var e;let t=$n(a.value.value)
;return(null==(e=a.options.value.find((e=>t.some((t=>a.compare($n(t),$n(e.dataRef.value)))))))?void 0:e.id)===i
},0:()=>c.value}))),d=fN(s),p=$a((()=>({disabled:e.disabled,value:e.value,
get textValue(){return d()},domRef:s})));function h(t){
if(e.disabled)return t.preventDefault()
;a.select(e.value),0===a.mode.value&&(a.closeListbox(),hr((()=>{var e
;return null==(e=b$(a.buttonRef))?void 0:e.focus({preventScroll:!0})})))}
function f(){if(e.disabled)return a.goToOption(mR.Nothing)
;a.goToOption(mR.Specific,i)}
lo((()=>a.registerOption(i,p))),ho((()=>a.unregisterOption(i))),lo((()=>{
Ci([a.listboxState,c],(()=>{0===a.listboxState.value&&c.value&&O$(a.mode.value,{
1:()=>{u.value&&a.goToOption(mR.Specific,i)},0:()=>{a.goToOption(mR.Specific,i)}
})}),{immediate:!0})})),Ti((()=>{
0===a.listboxState.value&&l.value&&0!==a.activationTrigger.value&&hr((()=>{
var e,t
;return null==(t=null==(e=b$(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{
block:"nearest"})}))}));let m=W$();function g(e){m.update(e)}function v(t){
m.wasMoved(t)&&(e.disabled||l.value||a.goToOption(mR.Specific,i,0))}
function b(t){m.wasMoved(t)&&(e.disabled||l.value&&a.goToOption(mR.Nothing))}
return()=>{let{disabled:r}=e,o={active:l.value,selected:c.value,disabled:r
},{value:a,disabled:u,...d}=e;return J$({ourProps:{id:i,ref:s,role:"option",
tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,
"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,
onMouseenter:g,onPointermove:v,onMousemove:v,onPointerleave:b,onMouseleave:b},
theirProps:d,slot:o,attrs:n,slots:t,name:"ListboxOption"})}}})
;var EN=(e=>(e[e.Open=0]="Open",
e[e.Closed=1]="Closed",e))(EN||{}),TN=(e=>(e[e.Pointer=0]="Pointer",
e[e.Other=1]="Other",e))(TN||{});let CN=Symbol("MenuContext");function AN(e){
let t=ti(CN,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Menu /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,AN),t}return t}
let PN=Gr({name:"Menu",props:{as:{type:[Object,String],default:"template"}},
setup(e,{slots:t,attrs:n}){
let r=In(1),o=In(null),i=In(null),a=In([]),s=In(""),l=In(null),c=In(1)
;function u(e=e=>e){
let t=null!==l.value?a.value[l.value]:null,n=j$(e(a.value.slice()),(e=>b$(e.dataRef.domRef))),r=t?n.indexOf(t):null
;return-1===r&&(r=null),{items:n,activeItemIndex:r}}let d={menuState:r,
buttonRef:o,itemsRef:i,items:a,searchQuery:s,activeItemIndex:l,
activationTrigger:c,closeMenu:()=>{r.value=1,l.value=null},
openMenu:()=>r.value=0,goToItem(e,t,n){let r=u(),o=gR(e===mR.Specific?{
focus:mR.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,
resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,
resolveDisabled:e=>e.dataRef.disabled})
;s.value="",l.value=o,c.value=null!=n?n:1,a.value=r.items},search(e){
let t=""!==s.value?0:1;s.value+=e.toLowerCase()
;let n=(null!==l.value?a.value.slice(l.value+t).concat(a.value.slice(0,l.value+t)):a.value).find((e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled)),r=n?a.value.indexOf(n):-1
;-1===r||r===l.value||(l.value=r,c.value=1)},clearSearch(){s.value=""},
registerItem(e,t){let n=u((n=>[...n,{id:e,dataRef:t}]))
;a.value=n.items,l.value=n.activeItemIndex,c.value=1},unregisterItem(e){
let t=u((t=>{let n=t.findIndex((t=>t.id===e));return-1!==n&&t.splice(n,1),t}))
;a.value=t.items,l.value=t.activeItemIndex,c.value=1}};return q$([o,i],((e,t)=>{
var n
;d.closeMenu(),R$(t,$$.Loose)||(e.preventDefault(),null==(n=b$(o))||n.focus())
}),$a((()=>0===r.value))),ei(CN,d),uR($a((()=>O$(r.value,{0:lR.Open,1:lR.Closed
})))),()=>{let o={open:0===r.value,close:d.closeMenu};return J$({ourProps:{},
theirProps:e,slot:o,slots:t,attrs:n,name:"Menu"})}}}),DN=Gr({name:"MenuButton",
props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],
default:"button"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-menu-button-${v$()}`,a=AN("MenuButton")
;function s(e){switch(e.key){case pR.Space:case pR.Enter:case pR.ArrowDown:
e.preventDefault(),e.stopPropagation(),a.openMenu(),hr((()=>{var e
;null==(e=b$(a.itemsRef))||e.focus({preventScroll:!0}),a.goToItem(mR.First)}))
;break;case pR.ArrowUp:
e.preventDefault(),e.stopPropagation(),a.openMenu(),hr((()=>{var e
;null==(e=b$(a.itemsRef))||e.focus({preventScroll:!0}),a.goToItem(mR.Last)}))}}
function l(e){if(e.key===pR.Space)e.preventDefault()}function c(t){
e.disabled||(0===a.menuState.value?(a.closeMenu(),hr((()=>{var e
;return null==(e=b$(a.buttonRef))?void 0:e.focus({preventScroll:!0})
}))):(t.preventDefault(),a.openMenu(),function(e){
requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e
;return null==(e=b$(a.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}r({
el:a.buttonRef,$el:a.buttonRef});let u=V$($a((()=>({as:e.as,type:t.type
}))),a.buttonRef);return()=>{var r;let o={open:0===a.menuState.value},{...d}=e
;return J$({ourProps:{ref:a.buttonRef,id:i,type:u.value,"aria-haspopup":"menu",
"aria-controls":null==(r=b$(a.itemsRef))?void 0:r.id,
"aria-expanded":0===a.menuState.value,onKeydown:s,onKeyup:l,onClick:c},
theirProps:d,slot:o,attrs:t,slots:n,name:"MenuButton"})}}}),$N=Gr({
name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-menu-items-${v$()}`,a=AN("MenuItems"),s=In(null)
;function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case pR.Space:
if(""!==a.searchQuery.value)return e.preventDefault(),
e.stopPropagation(),a.search(e.key);case pR.Enter:
if(e.preventDefault(),e.stopPropagation(),null!==a.activeItemIndex.value){
null==(t=b$(a.items.value[a.activeItemIndex.value].dataRef.domRef))||t.click()}
a.closeMenu(),N$(b$(a.buttonRef));break;case pR.ArrowDown:
return e.preventDefault(),e.stopPropagation(),a.goToItem(mR.Next)
;case pR.ArrowUp:
return e.preventDefault(),e.stopPropagation(),a.goToItem(mR.Previous)
;case pR.Home:case pR.PageUp:
return e.preventDefault(),e.stopPropagation(),a.goToItem(mR.First);case pR.End:
case pR.PageDown:
return e.preventDefault(),e.stopPropagation(),a.goToItem(mR.Last)
;case pR.Escape:e.preventDefault(),e.stopPropagation(),a.closeMenu(),hr((()=>{
var e;return null==(e=b$(a.buttonRef))?void 0:e.focus({preventScroll:!0})}))
;break;case pR.Tab:
e.preventDefault(),e.stopPropagation(),a.closeMenu(),hr((()=>function(e,t){
return B$(D$(),t,{relativeTo:e})
}(b$(a.buttonRef),e.shiftKey?C$.Previous:C$.Next)));break;default:
1===e.key.length&&(a.search(e.key),
s.value=setTimeout((()=>a.clearSearch()),350))}}function c(e){
if(e.key===pR.Space)e.preventDefault()}r({el:a.itemsRef,$el:a.itemsRef}),X$({
container:$a((()=>b$(a.itemsRef))),enabled:$a((()=>0===a.menuState.value)),
accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,
walk(e){e.setAttribute("role","none")}})
;let u=cR(),d=$a((()=>null!==u?(u.value&lR.Open)===lR.Open:0===a.menuState.value))
;return()=>{var r,o;let s={open:0===a.menuState.value},{...u}=e;return J$({
ourProps:{
"aria-activedescendant":null===a.activeItemIndex.value||null==(r=a.items.value[a.activeItemIndex.value])?void 0:r.id,
"aria-labelledby":null==(o=b$(a.buttonRef))?void 0:o.id,id:i,onKeydown:l,
onKeyup:c,role:"menu",tabIndex:0,ref:a.itemsRef},theirProps:u,slot:s,attrs:t,
slots:n,features:Y$.RenderStrategy|Y$.Static,visible:d.value,name:"MenuItems"})}
}}),RN=Gr({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],
default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,
default:null}},setup(e,{slots:t,attrs:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-menu-item-${v$()}`,a=AN("MenuItem"),s=In(null)
;r({el:s,$el:s})
;let l=$a((()=>null!==a.activeItemIndex.value&&a.items.value[a.activeItemIndex.value].id===i)),c=fN(s),u=$a((()=>({
disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){
if(e.disabled)return t.preventDefault();a.closeMenu(),N$(b$(a.buttonRef))}
function p(){if(e.disabled)return a.goToItem(mR.Nothing)
;a.goToItem(mR.Specific,i)}
lo((()=>a.registerItem(i,u))),ho((()=>a.unregisterItem(i))),Ti((()=>{
0===a.menuState.value&&l.value&&0!==a.activationTrigger.value&&hr((()=>{var e,t
;return null==(t=null==(e=b$(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{
block:"nearest"})}))}));let h=W$();function f(e){h.update(e)}function m(t){
h.wasMoved(t)&&(e.disabled||l.value||a.goToItem(mR.Specific,i,0))}function g(t){
h.wasMoved(t)&&(e.disabled||l.value&&a.goToItem(mR.Nothing))}return()=>{
let{disabled:r,...o}=e,c={active:l.value,disabled:r,close:a.closeMenu}
;return J$({ourProps:{id:i,ref:s,role:"menuitem",tabIndex:!0===r?void 0:-1,
"aria-disabled":!0===r||void 0,onClick:d,onFocus:p,onPointerenter:f,
onMouseenter:f,onPointermove:m,onMousemove:m,onPointerleave:g,onMouseleave:g},
theirProps:{...n,...o},slot:c,attrs:n,slots:t,name:"MenuItem"})}}})
;var NN,MN=((NN=MN||{})[NN.Open=0]="Open",NN[NN.Closed=1]="Closed",NN)
;let IN=Symbol("PopoverContext");function LN(e){let t=ti(IN,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <${UN.name} /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,LN),t}return t}
let jN=Symbol("PopoverGroupContext");function BN(){return ti(jN,null)}
let QN=Symbol("PopoverPanelContext");let UN=Gr({name:"Popover",inheritAttrs:!1,
props:{as:{type:[Object,String],default:"div"}},
setup(e,{slots:t,attrs:n,expose:r}){var o;let i=In(null);r({el:i,$el:i})
;let a=In(1),s=In(null),l=In(null),c=In(null),u=In(null),d=$a((()=>x$(i))),p=$a((()=>{
var e,t;if(!b$(s)||!b$(u))return!1
;for(let c of document.querySelectorAll("body > *"))if(Number(null==c?void 0:c.contains(b$(s)))^Number(null==c?void 0:c.contains(b$(u))))return!0
;let n=D$(),r=n.indexOf(b$(s)),o=(r+n.length-1)%n.length,i=(r+1)%n.length,a=n[o],l=n[i]
;return!(null!=(e=b$(u))&&e.contains(a)||null!=(t=b$(u))&&t.contains(l))})),h={
popoverState:a,buttonId:In(null),panelId:In(null),panel:u,button:s,
isPortalled:p,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){
a.value=O$(a.value,{0:1,1:0})},closePopover(){1!==a.value&&(a.value=1)},
close(e){h.closePopover()
;let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?b$(e):b$(h.button):b$(h.button)
;null==t||t.focus()}};ei(IN,h),uR($a((()=>O$(a.value,{0:lR.Open,1:lR.Closed}))))
;let f={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()}
},m=BN(),g=null==m?void 0:m.registerPopover,[v,b]=ZR(),O=NR({
mainTreeNodeRef:null==m?void 0:m.mainTreeNodeRef,portals:v,
defaultContainers:[s,u]})
;return Ti((()=>null==g?void 0:g(f))),yR(null==(o=d.value)?void 0:o.defaultView,"focus",(e=>{
var t,n
;e.target!==window&&e.target instanceof HTMLElement&&0===a.value&&(function(){
var e,t,n,r
;return null!=(r=null==m?void 0:m.isFocusWithinPopoverGroup())?r:(null==(e=d.value)?void 0:e.activeElement)&&((null==(t=b$(s))?void 0:t.contains(d.value.activeElement))||(null==(n=b$(u))?void 0:n.contains(d.value.activeElement)))
}()||s&&u&&(O.contains(e.target)||null!=(t=b$(h.beforePanelSentinel))&&t.contains(e.target)||null!=(n=b$(h.afterPanelSentinel))&&n.contains(e.target)||h.closePopover()))
}),!0),q$(O.resolveContainers,((e,t)=>{var n
;h.closePopover(),R$(t,$$.Loose)||(e.preventDefault(),
null==(n=b$(s))||n.focus())}),$a((()=>0===a.value))),()=>{let r={
open:0===a.value,close:h.close};return Ra(Ui,[Ra(b,{},(()=>J$({theirProps:{...e,
...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:"Popover"
}))),Ra(O.MainTreeNode)])}}}),FN=Gr({name:"PopoverButton",props:{as:{
type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{
type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){
var o
;let i=null!=(o=e.id)?o:`headlessui-popover-button-${v$()}`,a=LN("PopoverButton"),s=$a((()=>x$(a.button)))
;r({el:a.button,$el:a.button}),lo((()=>{a.buttonId.value=i})),ho((()=>{
a.buttonId.value=null}))
;let l=BN(),c=null==l?void 0:l.closeOthers,u=ti(QN,null),d=$a((()=>null!==u&&u.value===a.panelId.value)),p=In(null),h=`headlessui-focus-sentinel-${v$()}`
;d.value||Ti((()=>{a.button.value=b$(p)}));let f=V$($a((()=>({as:e.as,
type:t.type}))),p);function m(e){var t,n,r,o,i;if(d.value){
if(1===a.popoverState.value)return;switch(e.key){case pR.Space:case pR.Enter:
e.preventDefault(),
null==(n=(t=e.target).click)||n.call(t),a.closePopover(),null==(r=b$(a.button))||r.focus()
}}else switch(e.key){case pR.Space:case pR.Enter:
e.preventDefault(),e.stopPropagation(),
1===a.popoverState.value&&(null==c||c(a.buttonId.value)),a.togglePopover();break
;case pR.Escape:
if(0!==a.popoverState.value)return null==c?void 0:c(a.buttonId.value)
;if(!b$(a.button)||null!=(o=s.value)&&o.activeElement&&(null==(i=b$(a.button))||!i.contains(s.value.activeElement)))return
;e.preventDefault(),e.stopPropagation(),a.closePopover()}}function g(e){
d.value||e.key===pR.Space&&e.preventDefault()}function v(t){var n,r
;e.disabled||(d.value?(a.closePopover(),
null==(n=b$(a.button))||n.focus()):(t.preventDefault(),
t.stopPropagation(),1===a.popoverState.value&&(null==c||c(a.buttonId.value)),
a.togglePopover(),null==(r=b$(a.button))||r.focus()))}function b(e){
e.preventDefault(),e.stopPropagation()}let O=kR();function y(){let e=b$(a.panel)
;e&&O$(O.value,{[wR.Forwards]:()=>B$(e,C$.First),
[wR.Backwards]:()=>B$(e,C$.Last)
})===A$.Error&&B$(D$().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),O$(O.value,{
[wR.Forwards]:C$.Next,[wR.Backwards]:C$.Previous}),{relativeTo:b$(a.button)})}
return()=>{let r=0===a.popoverState.value,o={open:r},{...s}=e,l=d.value?{ref:p,
type:f.value,onKeydown:m,onClick:v}:{ref:p,id:i,type:f.value,
"aria-expanded":0===a.popoverState.value,
"aria-controls":b$(a.panel)?a.panelId.value:void 0,
disabled:!!e.disabled||void 0,onKeydown:m,onKeyup:g,onClick:v,onMousedown:b}
;return Ra(Ui,[J$({ourProps:l,theirProps:{...t,...s},slot:o,attrs:t,slots:n,
name:"PopoverButton"}),r&&!d.value&&a.isPortalled.value&&Ra(aR,{id:h,
features:iR.Focusable,"data-headlessui-focus-guard":!0,as:"button",
type:"button",onFocus:y})])}}}),zN=Gr({name:"PopoverPanel",props:{as:{
type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{
type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,
default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-popover-panel-${v$()}`,{focus:a}=e,s=LN("PopoverPanel"),l=$a((()=>x$(s.panel))),c=`headlessui-focus-sentinel-before-${v$()}`,u=`headlessui-focus-sentinel-after-${v$()}`
;r({el:s.panel,$el:s.panel}),lo((()=>{s.panelId.value=i})),ho((()=>{
s.panelId.value=null})),ei(QN,s.panelId),Ti((()=>{var e,t
;if(!a||0!==s.popoverState.value||!s.panel)return
;let n=null==(e=l.value)?void 0:e.activeElement
;null!=(t=b$(s.panel))&&t.contains(n)||B$(b$(s.panel),C$.First)}))
;let d=cR(),p=$a((()=>null!==d?(d.value&lR.Open)===lR.Open:0===s.popoverState.value))
;function h(e){var t,n;if(e.key===pR.Escape){
if(0!==s.popoverState.value||!b$(s.panel)||l.value&&(null==(t=b$(s.panel))||!t.contains(l.value.activeElement)))return
;e.preventDefault(),
e.stopPropagation(),s.closePopover(),null==(n=b$(s.button))||n.focus()}}
function f(e){var t,n,r,o,i;let a=e.relatedTarget
;a&&b$(s.panel)&&(null!=(t=b$(s.panel))&&t.contains(a)||(s.closePopover(),
(null!=(r=null==(n=b$(s.beforePanelSentinel))?void 0:n.contains)&&r.call(n,a)||null!=(i=null==(o=b$(s.afterPanelSentinel))?void 0:o.contains)&&i.call(o,a))&&a.focus({
preventScroll:!0})))}let m=kR();function g(){let e=b$(s.panel);e&&O$(m.value,{
[wR.Forwards]:()=>{var t
;B$(e,C$.First)===A$.Error&&(null==(t=b$(s.afterPanelSentinel))||t.focus())},
[wR.Backwards]:()=>{var e;null==(e=b$(s.button))||e.focus({preventScroll:!0})}})
}function v(){let e=b$(s.panel);e&&O$(m.value,{[wR.Forwards]:()=>{
let e=b$(s.button),t=b$(s.panel);if(!e)return
;let n=D$(),r=n.indexOf(e),o=n.slice(0,r+1),i=[...n.slice(r+1),...o]
;for(let a of i.slice())if("true"===a.dataset.headlessuiFocusGuard||null!=t&&t.contains(a)){
let e=i.indexOf(a);-1!==e&&i.splice(e,1)}B$(i,C$.First,{sorted:!1})},
[wR.Backwards]:()=>{var t
;B$(e,C$.Previous)===A$.Error&&(null==(t=b$(s.button))||t.focus())}})}
return()=>{let r={open:0===s.popoverState.value,close:s.close},{focus:o,...l}=e
;return J$({ourProps:{ref:s.panel,id:i,onKeydown:h,
onFocusout:a&&0===s.popoverState.value?f:void 0,tabIndex:-1},theirProps:{...t,
...l},attrs:t,slot:r,slots:{...n,default:(...e)=>{var t
;return[Ra(Ui,[p.value&&s.isPortalled.value&&Ra(aR,{id:c,
ref:s.beforePanelSentinel,features:iR.Focusable,
"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g
}),null==(t=n.default)?void 0:t.call(n,...e),p.value&&s.isPortalled.value&&Ra(aR,{
id:u,ref:s.afterPanelSentinel,features:iR.Focusable,
"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v})])]}},
features:Y$.RenderStrategy|Y$.Static,visible:p.value,name:"PopoverPanel"})}}
}),qN=Symbol("LabelContext");function HN(){let e=ti(qN,null);if(null===e){
let e=new Error("You used a <Label /> component, but it is not inside a parent.")
;throw Error.captureStackTrace&&Error.captureStackTrace(e,HN),e}return e}
function VN({slot:e={},name:t="Label",props:n={}}={}){let r=In([])
;return ei(qN,{register:function(e){return r.value.push(e),()=>{
let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:n
}),$a((()=>r.value.length>0?r.value.join(" "):void 0))}let ZN=Gr({name:"Label",
props:{as:{type:[Object,String],default:"label"},passive:{type:[Boolean],
default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-label-${v$()}`,i=HN()
;return lo((()=>ho(i.register(o)))),()=>{
let{name:r="Label",slot:a={},props:s={}}=i,{passive:l,...c}=e,u={
...Object.entries(s).reduce(((e,[t,n])=>Object.assign(e,{[t]:Qn(n)})),{}),id:o}
;return l&&(delete u.onClick,delete u.htmlFor,delete c.onClick),J$({ourProps:u,
theirProps:c,slot:a,attrs:n,slots:t,name:r})}}});function WN(e,t){return e===t}
let XN=Symbol("RadioGroupContext");function GN(e){let t=ti(XN,null)
;if(null===t){
let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,GN),t}return t}
let YN=Gr({name:"RadioGroup",emits:{"update:modelValue":e=>!0},props:{as:{
type:[Object,String],default:"div"},disabled:{type:[Boolean],default:!1},by:{
type:[String,Function],default:()=>WN},modelValue:{
type:[Object,String,Number,Boolean],default:void 0},defaultValue:{
type:[Object,String,Number,Boolean],default:void 0},form:{type:String,
optional:!0},name:{type:String,optional:!0},id:{type:String,default:null}},
inheritAttrs:!1,setup(e,{emit:t,attrs:n,slots:r,expose:o}){var i
;let a=null!=(i=e.id)?i:`headlessui-radiogroup-${v$()}`,s=In(null),l=In([]),c=VN({
name:"RadioGroupLabel"}),u=UR({name:"RadioGroupDescription"});o({el:s,$el:s})
;let[d,p]=p$($a((()=>e.modelValue)),(e=>t("update:modelValue",e)),$a((()=>e.defaultValue))),h={
options:l,value:d,disabled:$a((()=>e.disabled)),
firstOption:$a((()=>l.value.find((e=>!e.propsRef.disabled)))),
containsCheckedOption:$a((()=>l.value.some((t=>h.compare($n(t.propsRef.value),$n(e.modelValue)))))),
compare(t,n){if("string"==typeof e.by){let r=e.by
;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e.by(t,n)},
change(t){var n;if(e.disabled||h.compare($n(d.value),$n(t)))return!1
;let r=null==(n=l.value.find((e=>h.compare($n(e.propsRef.value),$n(t)))))?void 0:n.propsRef
;return(null==r||!r.disabled)&&(p(t),!0)},registerOption(e){
l.value.push(e),l.value=j$(l.value,(e=>e.element))},unregisterOption(e){
let t=l.value.findIndex((t=>t.id===e));-1!==t&&l.value.splice(t,1)}}
;function f(e){if(!s.value||!s.value.contains(e.target))return
;let t=l.value.filter((e=>!1===e.propsRef.disabled)).map((e=>e.element))
;switch(e.key){case pR.Enter:!function(e){var t,n
;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){
for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click()
;null==(n=r.requestSubmit)||n.call(r)}}(e.currentTarget);break
;case pR.ArrowLeft:case pR.ArrowUp:
if(e.preventDefault(),e.stopPropagation(),B$(t,C$.Previous|C$.WrapAround)===A$.Success){
let e=l.value.find((e=>{var t
;return e.element===(null==(t=x$(s))?void 0:t.activeElement)}))
;e&&h.change(e.propsRef.value)}break;case pR.ArrowRight:case pR.ArrowDown:
if(e.preventDefault(),
e.stopPropagation(),B$(t,C$.Next|C$.WrapAround)===A$.Success){
let e=l.value.find((e=>{var t
;return e.element===(null==(t=x$(e.element))?void 0:t.activeElement)}))
;e&&h.change(e.propsRef.value)}break;case pR.Space:{
e.preventDefault(),e.stopPropagation();let t=l.value.find((e=>{var t
;return e.element===(null==(t=x$(e.element))?void 0:t.activeElement)}))
;t&&h.change(t.propsRef.value)}}}ei(XN,h),X$({container:$a((()=>b$(s))),
accept:e=>"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,
walk(e){e.setAttribute("role","none")}});let m=$a((()=>{var e
;return null==(e=b$(s))?void 0:e.closest("form")}));return lo((()=>{
Ci([m],(()=>{
if(m.value&&void 0!==e.defaultValue)return m.value.addEventListener("reset",t),
()=>{var e;null==(e=m.value)||e.removeEventListener("reset",t)};function t(){
h.change(e.defaultValue)}}),{immediate:!0})})),()=>{
let{disabled:t,name:o,form:i,...l}=e,p={ref:s,id:a,role:"radiogroup",
"aria-labelledby":c.value,"aria-describedby":u.value,onKeydown:f}
;return Ra(Ui,[...null!=o&&null!=d.value?vR({[o]:d.value
}).map((([e,n])=>Ra(aR,rR({features:iR.Hidden,key:e,as:"input",type:"hidden",
hidden:!0,readOnly:!0,form:i,disabled:t,name:e,value:n})))):[],J$({ourProps:p,
theirProps:{...n,...oR(l,["modelValue","defaultValue","by"])},slot:{},attrs:n,
slots:r,name:"RadioGroup"})])}}})
;var KN,JN=((KN=JN||{})[KN.Empty=1]="Empty",KN[KN.Active=2]="Active",KN)
;let eM=Gr({name:"RadioGroupOption",props:{as:{type:[Object,String],
default:"div"},value:{type:[Object,String,Number,Boolean]},disabled:{
type:Boolean,default:!1},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-radiogroup-option-${v$()}`,a=GN("RadioGroupOption"),s=VN({
name:"RadioGroupLabel"}),l=UR({name:"RadioGroupDescription"
}),c=In(null),u=$a((()=>({value:e.value,disabled:e.disabled}))),d=In(1);r({el:c,
$el:c});let p=$a((()=>b$(c)));lo((()=>a.registerOption({id:i,element:p,
propsRef:u}))),ho((()=>a.unregisterOption(i)));let h=$a((()=>{var e
;return(null==(e=a.firstOption.value)?void 0:e.id)===i
})),f=$a((()=>a.disabled.value||e.disabled)),m=$a((()=>a.compare($n(a.value.value),$n(e.value)))),g=$a((()=>f.value?-1:m.value||!a.containsCheckedOption.value&&h.value?0:-1))
;function v(){var t;a.change(e.value)&&(d.value|=2,null==(t=b$(c))||t.focus())}
function b(){d.value|=2}function O(){d.value&=-3}return()=>{
let{value:r,disabled:o,...a}=e,u={checked:m.value,disabled:f.value,
active:Boolean(2&d.value)};return J$({ourProps:{id:i,ref:c,role:"radio",
"aria-checked":m.value?"true":"false","aria-labelledby":s.value,
"aria-describedby":l.value,"aria-disabled":!!f.value||void 0,tabIndex:g.value,
onClick:f.value?void 0:v,onFocus:f.value?void 0:b,onBlur:f.value?void 0:O},
theirProps:a,slot:u,attrs:t,slots:n,name:"RadioGroupOption"})}}}),tM=ZN,nM=Gr({
props:{onFocus:{type:Function,required:!0}},setup(e){let t=In(!0)
;return()=>t.value?Ra(aR,{as:"button",type:"button",features:iR.Focusable,
onFocus(n){n.preventDefault();let r,o=50;r=requestAnimationFrame((function n(){
var i
;if(!(o--<=0))return null!=(i=e.onFocus)&&i.call(e)?(t.value=!1,void cancelAnimationFrame(r)):void(r=requestAnimationFrame(n))
;r&&cancelAnimationFrame(r)}))}}):null}})
;var rM,oM=(e=>(e[e.Forwards=0]="Forwards",
e[e.Backwards=1]="Backwards",e))(oM||{}),iM=((rM=iM||{})[rM.Less=-1]="Less",
rM[rM.Equal=0]="Equal",rM[rM.Greater=1]="Greater",rM)
;let aM=Symbol("TabsContext");function sM(e){let t=ti(aM,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <TabGroup /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,sM),t}return t}
let lM=Symbol("TabsSSRContext"),cM=Gr({name:"TabGroup",emits:{change:e=>!0},
props:{as:{type:[Object,String],default:"template"},selectedIndex:{
type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{
type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,
setup(e,{slots:t,attrs:n,emit:r}){var o
;let i=In(null!=(o=e.selectedIndex)?o:e.defaultIndex),a=In([]),s=In([]),l=$a((()=>null!==e.selectedIndex)),c=$a((()=>l.value?e.selectedIndex:i.value))
;function u(e){var t
;let n=j$(d.tabs.value,b$),r=j$(d.panels.value,b$),o=n.filter((e=>{var t
;return!(null!=(t=b$(e))&&t.hasAttribute("disabled"))}));if(e<0||e>n.length-1){
let t=O$(null===i.value?0:Math.sign(e-i.value),{[-1]:()=>1,
0:()=>O$(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),a=O$(t,{
0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])})
;-1!==a&&(i.value=a),d.tabs.value=n,d.panels.value=r}else{
let a=n.slice(0,e),s=[...n.slice(e),...a].find((e=>o.includes(e)));if(!s)return
;let l=null!=(t=n.indexOf(s))?t:d.selectedIndex.value
;-1===l&&(l=d.selectedIndex.value),i.value=l,d.tabs.value=n,d.panels.value=r}}
let d={selectedIndex:$a((()=>{var t,n
;return null!=(n=null!=(t=i.value)?t:e.defaultIndex)?n:null})),
orientation:$a((()=>e.vertical?"vertical":"horizontal")),
activation:$a((()=>e.manual?"manual":"auto")),tabs:a,panels:s,
setSelectedIndex(e){c.value!==e&&r("change",e),l.value||u(e)},registerTab(e){
var t;if(a.value.includes(e))return;let n=a.value[i.value]
;if(a.value.push(e),a.value=j$(a.value,b$),!l.value){
let e=null!=(t=a.value.indexOf(n))?t:i.value;-1!==e&&(i.value=e)}},
unregisterTab(e){let t=a.value.indexOf(e);-1!==t&&a.value.splice(t,1)},
registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=j$(s.value,b$))},
unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}}
;ei(aM,d);let p=In({tabs:[],panels:[]}),h=In(!1);lo((()=>{h.value=!0
})),ei(lM,$a((()=>h.value?null:p.value)));let f=$a((()=>e.selectedIndex))
;return lo((()=>{Ci([f],(()=>{var t
;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})
})),Ti((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return
;let e=j$(d.tabs.value,b$)
;e.some(((e,t)=>b$(d.tabs.value[t])!==b$(e)))&&d.setSelectedIndex(e.findIndex((e=>b$(e)===b$(d.tabs.value[c.value]))))
})),()=>{let r={selectedIndex:i.value};return Ra(Ui,[a.value.length<=0&&Ra(nM,{
onFocus:()=>{for(let e of a.value){let t=b$(e)
;if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),J$({
theirProps:{...n,
...oR(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},
ourProps:{},slot:r,slots:t,attrs:n,name:"TabGroup"})])}}}),uM=Gr({
name:"TabList",props:{as:{type:[Object,String],default:"div"}},
setup(e,{attrs:t,slots:n}){let r=sM("TabList");return()=>{let o={
selectedIndex:r.selectedIndex.value};return J$({ourProps:{role:"tablist",
"aria-orientation":r.orientation.value},theirProps:e,slot:o,attrs:t,slots:n,
name:"TabList"})}}}),dM=Gr({name:"Tab",props:{as:{type:[Object,String],
default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o
;let i=null!=(o=e.id)?o:`headlessui-tabs-tab-${v$()}`,a=sM("Tab"),s=In(null);r({
el:s,$el:s}),lo((()=>a.registerTab(s))),ho((()=>a.unregisterTab(s)))
;let l=ti(lM),c=$a((()=>{if(l.value){let e=l.value.tabs.indexOf(i)
;return-1===e?l.value.tabs.push(i)-1:e}return-1})),u=$a((()=>{
let e=a.tabs.value.indexOf(s);return-1===e?c.value:e
})),d=$a((()=>u.value===a.selectedIndex.value));function p(e){var t;let n=e()
;if(n===A$.Success&&"auto"===a.activation.value){
let e=null==(t=x$(s))?void 0:t.activeElement,n=a.tabs.value.findIndex((t=>b$(t)===e))
;-1!==n&&a.setSelectedIndex(n)}return n}function h(e){
let t=a.tabs.value.map((e=>b$(e))).filter(Boolean)
;if(e.key===pR.Space||e.key===pR.Enter)return e.preventDefault(),
e.stopPropagation(),void a.setSelectedIndex(u.value);switch(e.key){case pR.Home:
case pR.PageUp:
return e.preventDefault(),e.stopPropagation(),p((()=>B$(t,C$.First)))
;case pR.End:case pR.PageDown:
return e.preventDefault(),e.stopPropagation(),p((()=>B$(t,C$.Last)))}
return p((()=>O$(a.orientation.value,{
vertical:()=>e.key===pR.ArrowUp?B$(t,C$.Previous|C$.WrapAround):e.key===pR.ArrowDown?B$(t,C$.Next|C$.WrapAround):A$.Error,
horizontal:()=>e.key===pR.ArrowLeft?B$(t,C$.Previous|C$.WrapAround):e.key===pR.ArrowRight?B$(t,C$.Next|C$.WrapAround):A$.Error
})))===A$.Success?e.preventDefault():void 0}let f=In(!1);function m(){var t
;f.value||(f.value=!0,!e.disabled&&(null==(t=b$(s))||t.focus({preventScroll:!0
}),a.setSelectedIndex(u.value),h$((()=>{f.value=!1}))))}function g(e){
e.preventDefault()}let v=V$($a((()=>({as:e.as,type:t.type}))),s);return()=>{
var r,o;let l={selected:d.value,disabled:null!=(r=e.disabled)&&r},{...c}=e
;return J$({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:i,role:"tab",
type:v.value,"aria-controls":null==(o=b$(a.panels.value[u.value]))?void 0:o.id,
"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},
theirProps:c,slot:l,attrs:t,slots:n,name:"Tab"})}}});function pM(e){var t,n,r=""
;if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=pM(e[t]))&&(r&&(r+=" "),
r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function hM(){
for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=pM(e))&&(r&&(r+=" "),
r+=t);return r}const fM=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,mM=e=>{
const t=function(){
for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o,i
;return void 0!==(null==e||null===(o=e.hooks)||void 0===o?void 0:o["cx:done"])?null==e?void 0:e.hooks["cx:done"](hM(n)):void 0!==(null==e||null===(i=e.hooks)||void 0===i?void 0:i.onComplete)?null==e?void 0:e.hooks.onComplete(hM(n)):hM(n)
};return{compose:function(){
for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r]
;return e=>{const r=Object.fromEntries(Object.entries(e||{}).filter((e=>{
let[t]=e;return!["class","className"].includes(t)})))
;return t(n.map((e=>e(r))),null==e?void 0:e.class,null==e?void 0:e.className)}},
cva:e=>n=>{var r
;if(null==(null==e?void 0:e.variants))return t(null==e?void 0:e.base,null==n?void 0:n.class,null==n?void 0:n.className)
;const{variants:o,defaultVariants:i}=e,a=Object.keys(o).map((e=>{
const t=null==n?void 0:n[e],r=null==i?void 0:i[e],a=fM(t)||fM(r);return o[e][a]
})),s={...i,...n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t
;return void 0===r?e:{...e,[n]:r}}),{})
},l=null==e||null===(r=e.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{
let{class:n,className:r,...o}=t;return Object.entries(o).every((e=>{let[t,n]=e
;const r=s[t];return Array.isArray(n)?n.includes(r):r===n}))?[...e,n,r]:e}),[])
;return t(null==e?void 0:e.base,a,l,null==n?void 0:n.class,null==n?void 0:n.className)
},cx:t}},{compose:gM,cva:vM,cx:bM}=mM(),OM="-";function yM(e){
const t=function(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]
},o=function(e,t){if(!t)return e
;return e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))]))
}(Object.entries(e.classGroups),n);return o.forEach((([e,n])=>{xM(n,r,e,t)})),r
}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{
getClassGroupId:function(e){const n=e.split(OM)
;return""===n[0]&&1!==n.length&&n.shift(),wM(n,t)||function(e){if(kM.test(e)){
const t=kM.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"))
;if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){
const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}}function wM(e,t){var n
;if(0===e.length)return t.classGroupId
;const r=e[0],o=t.nextPart.get(r),i=o?wM(e.slice(1),o):void 0;if(i)return i
;if(0===t.validators.length)return;const a=e.join(OM)
;return null==(n=t.validators.find((({validator:e})=>e(a))))?void 0:n.classGroupId
}const kM=/^\[(.+)\]$/;function xM(e,t,n,r){e.forEach((e=>{
if("string"!=typeof e){
if("function"==typeof e)return e.isThemeGetter?void xM(e(r),t,n,r):void t.validators.push({
validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{
xM(o,SM(t,e),n,r)}))}else{(""===e?t:SM(t,e)).classGroupId=n}}))}
function SM(e,t){let n=e;return t.split(OM).forEach((e=>{
n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]
}),n=n.nextPart.get(e)})),n}function _M(e){if(e<1)return{get:()=>{},set:()=>{}}
;let t=0,n=new Map,r=new Map;function o(o,i){
n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e)
;return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){
n.has(e)?n.set(e,t):o(e,t)}}}const EM="!";function TM(e){
const t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){
const i=[];let a,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){
if(c===r&&(n||e.slice(d,d+o)===t)){i.push(e.slice(l,d)),l=d+o;continue}
if("/"===c){a=d;continue}}"["===c?s++:"]"===c&&s--}
const c=0===i.length?e:e.substring(l),u=c.startsWith(EM);return{modifiers:i,
hasImportantModifier:u,baseClassName:u?c.substring(1):c,
maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const CM=/\s+/;function AM(){
let e,t,n=0,r=""
;for(;n<arguments.length;)(e=arguments[n++])&&(t=PM(e))&&(r&&(r+=" "),r+=t)
;return r}function PM(e){if("string"==typeof e)return e;let t,n=""
;for(let r=0;r<e.length;r++)e[r]&&(t=PM(e[r]))&&(n&&(n+=" "),n+=t);return n}
function DM(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e())
;return n=function(e){return{cache:_M(e.cacheSize),splitModifiers:TM(e),...yM(e)
}}(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e)
;if(t)return t;const i=function(e,t){
const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set
;return e.trim().split(CM).map((e=>{
const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=n(e)
;let s=r(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{
isTailwindClass:!1,originalClassName:e};if(s=r(i),!s)return{isTailwindClass:!1,
originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[]
;let n=[];return e.forEach((e=>{
"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t
}(t).join(":");return{isTailwindClass:!0,modifierId:o?c+EM:c,classGroupId:s,
originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{
if(!e.isTailwindClass)return!0
;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n
;return!i.has(a)&&(i.add(a),o(n,r).forEach((e=>i.add(t+e))),!0)
})).reverse().map((e=>e.originalClassName)).join(" ")}(e,n);return o(e,i),i}
return function(){return i(AM.apply(null,arguments))}}function $M(e){
const t=t=>t[e]||[];return t.isThemeGetter=!0,t}
const RM=/^\[(?:([a-z-]+):)?(.+)\]$/i,NM=/^\d+\/\d+$/,MM=new Set(["px","full","screen"]),IM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,LM=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,jM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,BM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,QM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/
;function UM(e){return zM(e)||MM.has(e)||NM.test(e)}function FM(e){
return nI(e,"length",rI)}function zM(e){
return Boolean(e)&&!Number.isNaN(Number(e))}function qM(e){
return nI(e,"number",zM)}function HM(e){
return Boolean(e)&&Number.isInteger(Number(e))}function VM(e){
return e.endsWith("%")&&zM(e.slice(0,-1))}function ZM(e){return RM.test(e)}
function WM(e){return IM.test(e)}
const XM=new Set(["length","size","percentage"]);function GM(e){
return nI(e,XM,oI)}function YM(e){return nI(e,"position",oI)}
const KM=new Set(["image","url"]);function JM(e){return nI(e,KM,aI)}
function eI(e){return nI(e,"",iI)}function tI(){return!0}function nI(e,t,n){
const r=RM.exec(e)
;return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}
function rI(e){return LM.test(e)&&!jM.test(e)}function oI(){return!1}
function iI(e){return BM.test(e)}function aI(e){return QM.test(e)}function sI(){
const e=$M("colors"),t=$M("spacing"),n=$M("blur"),r=$M("brightness"),o=$M("borderColor"),i=$M("borderRadius"),a=$M("borderSpacing"),s=$M("borderWidth"),l=$M("contrast"),c=$M("grayscale"),u=$M("hueRotate"),d=$M("invert"),p=$M("gap"),h=$M("gradientColorStops"),f=$M("gradientColorStopPositions"),m=$M("inset"),g=$M("margin"),v=$M("opacity"),b=$M("padding"),O=$M("saturate"),y=$M("scale"),w=$M("sepia"),k=$M("skew"),x=$M("space"),S=$M("translate"),_=()=>["auto",ZM,t],E=()=>[ZM,t],T=()=>["",UM,FM],C=()=>["auto",zM,ZM],A=()=>["","0",ZM],P=()=>[zM,qM],D=()=>[zM,ZM]
;return{cacheSize:500,separator:":",theme:{colors:[tI],spacing:[UM,FM],
blur:["none","",WM,ZM],brightness:P(),borderColor:[e],
borderRadius:["none","","full",WM,ZM],borderSpacing:E(),borderWidth:T(),
contrast:P(),grayscale:A(),hueRotate:D(),invert:A(),gap:E(),
gradientColorStops:[e],gradientColorStopPositions:[VM,FM],inset:_(),margin:_(),
opacity:P(),padding:E(),saturate:P(),scale:P(),sepia:A(),skew:D(),space:E(),
translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",ZM]}],
container:["container"],columns:[{columns:[WM]}],"break-after":[{
"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]
}],"break-before":[{
"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]
}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]
}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{
box:["border","content"]}],
display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],
float:[{float:["right","left","none","start","end"]}],clear:[{
clear:["left","right","both","none","start","end"]}],
isolation:["isolate","isolation-auto"],"object-fit":[{
object:["contain","cover","fill","none","scale-down"]}],"object-position":[{
object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",ZM]
}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],
"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],
"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],
overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{
"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{
"overscroll-y":["auto","contain","none"]}],
position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],
"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],
end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],
left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{
z:["auto",HM,ZM]}],basis:[{basis:_()}],"flex-direction":[{
flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{
flex:["wrap","wrap-reverse","nowrap"]}],flex:[{
flex:["1","auto","initial","none",ZM]}],grow:[{grow:A()}],shrink:[{shrink:A()}],
order:[{order:["first","last","none",HM,ZM]}],"grid-cols":[{"grid-cols":[tI]}],
"col-start-end":[{col:["auto",{span:["full",HM,ZM]},ZM]}],"col-start":[{
"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":[tI]}],
"row-start-end":[{row:["auto",{span:[HM,ZM]},ZM]}],"row-start":[{"row-start":C()
}],"row-end":[{"row-end":C()}],"grid-flow":[{
"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{
"auto-cols":["auto","min","max","fr",ZM]}],"auto-rows":[{
"auto-rows":["auto","min","max","fr",ZM]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]
}],"gap-y":[{"gap-y":[p]}],"justify-content":[{
justify:["normal","start","end","center","between","around","evenly","stretch"]
}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],
"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],
"align-content":[{
content:["normal","start","end","center","between","around","evenly","stretch","baseline"]
}],"align-items":[{items:["start","end","center","baseline","stretch"]}],
"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],
"place-content":[{
"place-content":["start","end","center","between","around","evenly","stretch","baseline"]
}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]
}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{
p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],
pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]
}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{
ml:[g]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],
"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{
w:["auto","min","max","fit","svw","lvw","dvw",ZM,t]}],"min-w":[{
"min-w":[ZM,t,"min","max","fit"]}],"max-w":[{
"max-w":[ZM,t,"none","full","min","max","fit","prose",{screen:[WM]},WM]}],h:[{
h:[ZM,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{
"min-h":[ZM,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{
"max-h":[ZM,t,"min","max","fit","svh","lvh","dvh"]}],size:[{
size:[ZM,t,"auto","min","max","fit"]}],"font-size":[{text:["base",WM,FM]}],
"font-smoothing":["antialiased","subpixel-antialiased"],
"font-style":["italic","not-italic"],"font-weight":[{
font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qM]
}],"font-family":[{font:[tI]}],"fvn-normal":["normal-nums"],
"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],
"fvn-figure":["lining-nums","oldstyle-nums"],
"fvn-spacing":["proportional-nums","tabular-nums"],
"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{
tracking:["tighter","tight","normal","wide","wider","widest",ZM]}],
"line-clamp":[{"line-clamp":["none",zM,qM]}],leading:[{
leading:["none","tight","snug","normal","relaxed","loose",UM,ZM]}],
"list-image":[{"list-image":["none",ZM]}],"list-style-type":[{
list:["none","disc","decimal",ZM]}],"list-style-position":[{
list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],
"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{
text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]
}],"text-opacity":[{"text-opacity":[v]}],
"text-decoration":["underline","overline","line-through","no-underline"],
"text-decoration-style":[{
decoration:["solid","dashed","dotted","double","none","wavy"]}],
"text-decoration-thickness":[{decoration:["auto","from-font",UM,FM]}],
"underline-offset":[{"underline-offset":["auto",UM,ZM]}],
"text-decoration-color":[{decoration:[e]}],
"text-transform":["uppercase","lowercase","capitalize","normal-case"],
"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{
text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],
"vertical-align":[{
align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ZM]
}],whitespace:[{
whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],
break:[{break:["normal","words","all","keep"]}],hyphens:[{
hyphens:["none","manual","auto"]}],content:[{content:["none",ZM]}],
"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{
"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{
"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],
"bg-position":[{
bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",YM]
}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],
"bg-size":[{bg:["auto","cover","contain",GM]}],"bg-image":[{bg:["none",{
"gradient-to":["t","tr","r","br","b","bl","l","tl"]},JM]}],"bg-color":[{bg:[e]
}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],
"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[h]}],"gradient-via":[{
via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{
"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]
}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],
"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],
"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],
"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],
"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],
"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{
"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]
}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],
"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{
"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{
border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{
"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{
"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{
"divide-opacity":[v]}],"divide-style":[{
divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]
}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],
"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],
"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],
"divide-color":[{divide:[o]}],"outline-style":[{
outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{
"outline-offset":[UM,ZM]}],"outline-w":[{outline:[UM,FM]}],"outline-color":[{
outline:[e]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],
"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],
"ring-offset-w":[{"ring-offset":[UM,FM]}],"ring-offset-color":[{
"ring-offset":[e]}],shadow:[{shadow:["","inner","none",WM,eI]}],
"shadow-color":[{shadow:[tI]}],opacity:[{opacity:[v]}],"mix-blend":[{
"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]
}],"bg-blend":[{
"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]
}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]
}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",WM,ZM]}],
grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{
invert:[d]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{
"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],
"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{
"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],
"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{
"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],
"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{
"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],
"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{
"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],
"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],
transition:[{
transition:["none","all","","colors","opacity","shadow","transform",ZM]}],
duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",ZM]}],
delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",ZM]
}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{
"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[HM,ZM]}],
"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],
"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{
origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ZM]
}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],
cursor:[{
cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ZM]
}],"caret-color":[{caret:[e]}],"pointer-events":[{
"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],
"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],
"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{
"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()
}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],
"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{
"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()
}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],
"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{
"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],
"snap-stop":[{snap:["normal","always"]}],"snap-type":[{
snap:["none","x","y","both"]}],"snap-strictness":[{
snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],
"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{
"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{
select:["none","text","all","auto"]}],"will-change":[{
"will-change":["auto","scroll","contents","transform",ZM]}],fill:[{
fill:[e,"none"]}],"stroke-w":[{stroke:[UM,FM,qM]}],stroke:[{stroke:[e,"none"]}],
sr:["sr-only","not-sr-only"],"forced-color-adjust":[{
"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{
overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],
inset:["inset-x","inset-y","start","end","top","right","bottom","left"],
"inset-x":["right","left"],"inset-y":["top","bottom"],
flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],
p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],
m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],
size:["w","h"],"font-size":["leading"],
"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],
"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],
"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],
"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],
rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],
"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],
"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],
"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],
"border-spacing":["border-spacing-x","border-spacing-y"],
"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],
"border-w-x":["border-w-r","border-w-l"],
"border-w-y":["border-w-t","border-w-b"],
"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],
"border-color-x":["border-color-r","border-color-l"],
"border-color-y":["border-color-t","border-color-b"],
"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],
"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],
"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],
"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],
touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],
"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}
function lI(e,t,n){void 0!==n&&(e[t]=n)}function cI(e,t){
if(t)for(const n in t)lI(e,n,t[n])}function uI(e,t){if(t)for(const n in t){
const r=t[n];void 0!==r&&(e[n]=(e[n]||[]).concat(r))}}const dI=function(e,...t){
return"function"==typeof e?DM(sI,e,...t):DM((()=>function(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:i={}}){
lI(e,"cacheSize",t),lI(e,"prefix",n),lI(e,"separator",r)
;for(const a in i)cI(e[a],i[a]);for(const a in o)uI(e[a],o[a]);return e
}(sI(),e)),...t)}({extend:{classGroups:{"font-size":["text-xxs"]}}
}),{cva:pI,cx:hI,compose:fI}=mM({hooks:{onComplete:e=>dI(e)}}),mI={
solid:["scalar-button-solid","bg-b-btn text-c-btn shadow-sm active:bg-b-btn active:shadow-none hocus:bg-h-btn"],
outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-transparent text-c-1 hover:bg-b-2 shadow"],
ghost:["scalar-button-ghost","bg-transparent text-c-3 active:text-c-1 hocus:text-c-1"],
danger:["scalar-button-danger","bg-red text-white active:brightness-90 hocus:brightness-90"]
},gI=pI({
base:"scalar-button scalar-row cursor-pointer items-center justify-center rounded font-medium",
variants:{disabled:{true:"bg-background-2 text-color-3 shadow-none"},fullWidth:{
true:"w-full"},size:{sm:"px-2 py-1 text-xs",md:"h-10 px-6 text-sm"},variant:mI},
compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","danger"],
class:"bg-b-2 text-c-3 shadow-none"}]}),vI={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function bI(e,t){
return Zi(),Yi("svg",vI,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2 12h20M12 2v20"},null,-1)]))}const OI={render:bI
},yI=Object.freeze(Object.defineProperty({__proto__:null,default:OI,render:bI
},Symbol.toStringTag,{value:"Module"})),wI={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function kI(e,t){
return Zi(),Yi("svg",wI,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3"
},null,-1)]))}const xI={render:kI},SI=Object.freeze(Object.defineProperty({
__proto__:null,default:xI,render:kI},Symbol.toStringTag,{value:"Module"})),_I={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function EI(e,t){
return Zi(),Yi("svg",_I,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)]))}const TI={render:EI
},CI=Object.freeze(Object.defineProperty({__proto__:null,default:TI,render:EI
},Symbol.toStringTag,{value:"Module"})),AI={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function PI(e,t){
return Zi(),Yi("svg",AI,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2 12h20m-9.3 9.3L22 12l-9.3-9.3"},null,-1)]))}const DI={render:PI
},$I=Object.freeze(Object.defineProperty({__proto__:null,default:DI,render:PI
},Symbol.toStringTag,{value:"Module"})),RI={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function NI(e,t){
return Zi(),Yi("svg",RI,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"
},null,-1)]))}const MI={render:NI},II=Object.freeze(Object.defineProperty({
__proto__:null,default:MI,render:NI},Symbol.toStringTag,{value:"Module"})),LI={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function jI(e,t){return Zi(),Yi("svg",LI,t[0]||(t[0]=[ra("path",{
d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),ra("circle",{cx:"7.6",cy:"4.4",
r:"2.4"},null,-1),ra("circle",{cx:"7.6",cy:"19.6",r:"2.4"
},null,-1),ra("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)]))}const BI={
render:jI},QI=Object.freeze(Object.defineProperty({__proto__:null,default:BI,
render:jI},Symbol.toStringTag,{value:"Module"})),UI={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function FI(e,t){return Zi(),Yi("svg",UI,t[0]||(t[0]=[ra("path",{
d:"M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125"
},null,-1),ra("path",{
d:"M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055"
},null,-1),ra("path",{
d:"M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125"
},null,-1)]))}const zI={render:FI},qI=Object.freeze(Object.defineProperty({
__proto__:null,default:zI,render:FI},Symbol.toStringTag,{value:"Module"})),HI={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function VI(e,t){
return Zi(),Yi("svg",HI,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21.4 4.6 10.6 19.4l-8-6.4"},null,-1)]))}const ZI={render:VI
},WI=Object.freeze(Object.defineProperty({__proto__:null,default:ZI,render:VI
},Symbol.toStringTag,{value:"Module"})),XI={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function GI(e,t){
return Zi(),Yi("svg",XI,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 8.25 7.5 7.5 7.5-7.5"
},null,-1)]))}const YI={render:GI},KI=Object.freeze(Object.defineProperty({
__proto__:null,default:YI,render:GI},Symbol.toStringTag,{value:"Module"})),JI={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function eL(e,t){return Zi(),Yi("svg",JI,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m14 18-6-6 6-6"},null,-1)]))}const tL={render:eL
},nL=Object.freeze(Object.defineProperty({__proto__:null,default:tL,render:eL
},Symbol.toStringTag,{value:"Module"})),rL={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function oL(e,t){
return Zi(),Yi("svg",rL,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m8.25 19.5 7.5-7.5-7.5-7.5"},null,-1)]))}const iL={render:oL
},aL=Object.freeze(Object.defineProperty({__proto__:null,default:iL,render:oL
},Symbol.toStringTag,{value:"Module"})),sL={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function lL(e,t){
return Zi(),Yi("svg",sL,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M19.5 15.75 12 8.25l-7.5 7.5"},null,-1)]))}const cL={render:lL
},uL=Object.freeze(Object.defineProperty({__proto__:null,default:cL,render:lL
},Symbol.toStringTag,{value:"Module"})),dL={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function pL(e,t){
return Zi(),Yi("svg",dL,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"
},null,-1)]))}const hL={render:pL},fL=Object.freeze(Object.defineProperty({
__proto__:null,default:hL,render:pL},Symbol.toStringTag,{value:"Module"})),mL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gL(e,t){return Zi(),Yi("svg",mL,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M18 6 6 18M6 6l12 12"},null,-1)]))}const vL={render:gL
},bL=Object.freeze(Object.defineProperty({__proto__:null,default:vL,render:gL
},Symbol.toStringTag,{value:"Module"})),OL={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function yL(e,t){
return Zi(),Yi("svg",OL,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z"
},null,-1)]))}const wL={render:yL},kL=Object.freeze(Object.defineProperty({
__proto__:null,default:wL,render:yL},Symbol.toStringTag,{value:"Module"})),xL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function SL(e,t){return Zi(),Yi("svg",xL,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"
},null,-1)]))}const _L={render:SL},EL=Object.freeze(Object.defineProperty({
__proto__:null,default:_L,render:SL},Symbol.toStringTag,{value:"Module"})),TL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function CL(e,t){return Zi(),Yi("svg",TL,t[0]||(t[0]=[ra("path",{
d:"M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z"
},null,-1)]))}const AL={render:CL},PL=Object.freeze(Object.defineProperty({
__proto__:null,default:AL,render:CL},Symbol.toStringTag,{value:"Module"})),DL={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function $L(e,t){
return Zi(),Yi("svg",DL,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18"},null,-1)]))}const RL={
render:$L},NL=Object.freeze(Object.defineProperty({__proto__:null,default:RL,
render:$L},Symbol.toStringTag,{value:"Module"})),ML={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function IL(e,t){return Zi(),Yi("svg",ML,t[0]||(t[0]=[ra("path",{
d:"M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z"
},null,-1),ra("path",{d:"M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"
},null,-1)]))}const LL={render:IL},jL=Object.freeze(Object.defineProperty({
__proto__:null,default:LL,render:IL},Symbol.toStringTag,{value:"Module"})),BL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function QL(e,t){return Zi(),Yi("svg",BL,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08"
},null,-1)]))}const UL={render:QL},FL=Object.freeze(Object.defineProperty({
__proto__:null,default:UL,render:QL},Symbol.toStringTag,{value:"Module"})),zL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function qL(e,t){return Zi(),Yi("svg",zL,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223"
},null,-1),ra("path",{fill:"currentColor",
d:"M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425"
},null,-1)]))}const HL={render:qL},VL=Object.freeze(Object.defineProperty({
__proto__:null,default:HL,render:qL},Symbol.toStringTag,{value:"Module"})),ZL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function WL(e,t){return Zi(),Yi("svg",ZL,t[0]||(t[0]=[ra("path",{
d:"M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244"
},null,-1)]))}const XL={render:WL},GL=Object.freeze(Object.defineProperty({
__proto__:null,default:XL,render:WL},Symbol.toStringTag,{value:"Module"})),YL={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KL(e,t){return Zi(),Yi("svg",YL,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"
},null,-1)]))}const JL={render:KL},ej=Object.freeze(Object.defineProperty({
__proto__:null,default:JL,render:KL},Symbol.toStringTag,{value:"Module"})),tj={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function nj(e,t){return Zi(),Yi("svg",tj,t[0]||(t[0]=[ra("path",{
d:"M20.317 4.37a19.8 19.8 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.3 18.3 0 0 0-5.487 0 13 13 0 0 0-.617-1.25.08.08 0 0 0-.079-.037A19.7 19.7 0 0 0 3.677 4.37a.1.1 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.08.08 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.08.08 0 0 0 .084-.028 14 14 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13 13 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10 10 0 0 0 .372-.292.07.07 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.07.07 0 0 1 .078.01q.181.149.373.292a.077.077 0 0 1-.006.127 12.3 12.3 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.08.08 0 0 0 .084.028 19.8 19.8 0 0 0 6.002-3.03.08.08 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 0 0-.031-.03M8.02 15.33c-1.182 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418m7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418"
},null,-1)]))}const rj={render:nj},oj=Object.freeze(Object.defineProperty({
__proto__:null,default:rj,render:nj},Symbol.toStringTag,{value:"Module"})),ij={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function aj(e,t){return Zi(),Yi("svg",ij,t[0]||(t[0]=[ra("path",{
d:"M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152"
},null,-1),ra("path",{
d:"M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5"
},null,-1)]))}const sj={render:aj},lj=Object.freeze(Object.defineProperty({
__proto__:null,default:sj,render:aj},Symbol.toStringTag,{value:"Module"})),cj={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function uj(e,t){
return Zi(),Yi("svg",cj,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10"},null,-1)]))}
const dj={render:uj},pj=Object.freeze(Object.defineProperty({__proto__:null,
default:dj,render:uj},Symbol.toStringTag,{value:"Module"})),hj={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function fj(e,t){return Zi(),Yi("svg",hj,t[0]||(t[0]=[ra("path",{
d:"M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5"
},null,-1)]))}const mj={render:fj},gj=Object.freeze(Object.defineProperty({
__proto__:null,default:mj,render:fj},Symbol.toStringTag,{value:"Module"})),vj={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function bj(e,t){return Zi(),Yi("svg",vj,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83"
},null,-1)]))}const Oj={render:bj},yj=Object.freeze(Object.defineProperty({
__proto__:null,default:Oj,render:bj},Symbol.toStringTag,{value:"Module"})),wj={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function kj(e,t){return Zi(),Yi("svg",wj,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z"
},null,-1)]))}const xj={render:kj},Sj=Object.freeze(Object.defineProperty({
__proto__:null,default:xj,render:kj},Symbol.toStringTag,{value:"Module"})),_j={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function Ej(e,t){return Zi(),Yi("svg",_j,t[0]||(t[0]=[ra("path",{
d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
},null,-1)]))}const Tj={render:Ej},Cj=Object.freeze(Object.defineProperty({
__proto__:null,default:Tj,render:Ej},Symbol.toStringTag,{value:"Module"})),Aj={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Pj(e,t){return Zi(),Yi("svg",Aj,t[0]||(t[0]=[ra("path",{
d:"M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5"
},null,-1),ra("path",{
d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)]))}
const Dj={render:Pj},$j=Object.freeze(Object.defineProperty({__proto__:null,
default:Dj,render:Pj},Symbol.toStringTag,{value:"Module"})),Rj={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function Nj(e,t){return Zi(),Yi("svg",Rj,t[0]||(t[0]=[ra("path",{
d:"M12 0a12.24 12.24 0 0 0-8.53 3.65A11.85 11.85 0 0 0 0 12.21 11.78 11.78 0 0 0 11.8 24h.2a12.11 12.11 0 0 0 12-12.21A11.77 11.77 0 0 0 12 0m-1.5 16.54A1.48 1.48 0 0 1 12 15a1.53 1.53 0 0 1 1.52 1.47A1.47 1.47 0 0 1 12.05 18a1.53 1.53 0 0 1-1.55-1.46m.5-4v-6a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0"
},null,-1)]))}const Mj={render:Nj},Ij=Object.freeze(Object.defineProperty({
__proto__:null,default:Mj,render:Nj},Symbol.toStringTag,{value:"Module"})),Lj={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function jj(e,t){return Zi(),Yi("svg",Lj,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z"
},null,-1)]))}const Bj={render:jj},Qj=Object.freeze(Object.defineProperty({
__proto__:null,default:Bj,render:jj},Symbol.toStringTag,{value:"Module"})),Uj={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Fj(e,t){return Zi(),Yi("svg",Uj,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)]))}const zj={render:Fj
},qj=Object.freeze(Object.defineProperty({__proto__:null,default:zj,render:Fj
},Symbol.toStringTag,{value:"Module"})),Hj={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Vj(e,t){
return Zi(),Yi("svg",Hj,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)]))}const Zj={render:Vj
},Wj=Object.freeze(Object.defineProperty({__proto__:null,default:Zj,render:Vj
},Symbol.toStringTag,{value:"Module"})),Xj={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Gj(e,t){
return Zi(),Yi("svg",Xj,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z"
},null,-1)]))}const Yj={render:Gj},Kj=Object.freeze(Object.defineProperty({
__proto__:null,default:Yj,render:Gj},Symbol.toStringTag,{value:"Module"})),Jj={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"}
;function eB(e,t){return Zi(),Yi("svg",Jj,t[0]||(t[0]=[ra("path",{
d:"M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0"
},null,-1)]))}const tB={render:eB},nB=Object.freeze(Object.defineProperty({
__proto__:null,default:tB,render:eB},Symbol.toStringTag,{value:"Module"})),rB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function oB(e,t){return Zi(),Yi("svg",rB,t[0]||(t[0]=[ra("path",{
d:"M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278"
},null,-1)]))}const iB={render:oB},aB=Object.freeze(Object.defineProperty({
__proto__:null,default:iB,render:oB},Symbol.toStringTag,{value:"Module"})),sB={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function lB(e,t){return Zi(),Yi("svg",sB,t[0]||(t[0]=[ra("path",{
d:"M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33"
},null,-1)]))}const cB={render:lB},uB=Object.freeze(Object.defineProperty({
__proto__:null,default:cB,render:lB},Symbol.toStringTag,{value:"Module"})),dB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function pB(e,t){return Zi(),Yi("svg",dB,t[0]||(t[0]=[ra("path",{
d:"M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4"
},null,-1),ra("path",{
d:"M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10"
},null,-1)]))}const hB={render:pB},fB=Object.freeze(Object.defineProperty({
__proto__:null,default:hB,render:pB},Symbol.toStringTag,{value:"Module"})),mB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function gB(e,t){return Zi(),Yi("svg",mB,t[0]||(t[0]=[ra("path",{
d:"M2.78 21 21.53 3M9 19.05a9.9 9.9 0 0 0 3 .45c4.1.07 8.26-2.81 10.82-5.64a1.65 1.65 0 0 0 0-2.22 20 20 0 0 0-3.07-2.76m-2.66-1.61A11.3 11.3 0 0 0 12 6c-4-.07-8.2 2.75-10.82 5.64a1.65 1.65 0 0 0 0 2.22 20 20 0 0 0 4.93 4M9 15.07a3.85 3.85 0 0 1 5.5-5.28"
},null,-1),ra("path",{d:"M15.75 12.75A3.75 3.75 0 0 1 12 16.5"},null,-1)]))}
const vB={render:gB},bB=Object.freeze(Object.defineProperty({__proto__:null,
default:vB,render:gB},Symbol.toStringTag,{value:"Module"})),OB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function yB(e,t){return Zi(),Yi("svg",OB,t[0]||(t[0]=[ra("path",{
d:"M12.9 6.8v6.1h4.7"},null,-1),ra("path",{
d:"M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4"
},null,-1)]))}const wB={render:yB},kB=Object.freeze(Object.defineProperty({
__proto__:null,default:wB,render:yB},Symbol.toStringTag,{value:"Module"})),xB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function SB(e,t){return Zi(),Yi("svg",xB,t[0]||(t[0]=[ra("path",{
d:"M22.868 8.947 12 .747l-10.878 8.2a1.18 1.18 0 0 0-.377.8v12.522a.98.98 0 0 0 .978.978h6.522V18a3.75 3.75 0 0 1 7.5 0v5.25h6.521a.98.98 0 0 0 .979-.978V9.747a1.18 1.18 0 0 0-.377-.8"
},null,-1)]))}const _B={render:SB},EB=Object.freeze(Object.defineProperty({
__proto__:null,default:_B,render:SB},Symbol.toStringTag,{value:"Module"})),TB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function CB(e,t){return Zi(),Yi("svg",TB,t[0]||(t[0]=[ra("path",{
d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),ra("path",{
d:"M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33"
},null,-1),ra("path",{
d:"m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02"
},null,-1)]))}const AB={render:CB},PB=Object.freeze(Object.defineProperty({
__proto__:null,default:AB,render:CB},Symbol.toStringTag,{value:"Module"})),DB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function $B(e,t){return Zi(),Yi("svg",DB,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),ra("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]))}
const RB={render:$B},NB=Object.freeze(Object.defineProperty({__proto__:null,
default:RB,render:$B},Symbol.toStringTag,{value:"Module"})),MB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function IB(e,t){return Zi(),Yi("svg",MB,t[0]||(t[0]=[ra("path",{
d:"M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33"
},null,-1),ra("path",{d:"M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0"
},null,-1)]))}const LB={render:IB},jB=Object.freeze(Object.defineProperty({
__proto__:null,default:LB,render:IB},Symbol.toStringTag,{value:"Module"})),BB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function QB(e,t){return Zi(),Yi("svg",BB,t[0]||(t[0]=[ra("path",{
d:"M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9"
},null,-1)]))}const UB={render:QB},FB=Object.freeze(Object.defineProperty({
__proto__:null,default:UB,render:QB},Symbol.toStringTag,{value:"Module"})),zB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function qB(e,t){return Zi(),Yi("svg",zB,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.01M4.93 4.93l3.22 3.22"
},null,-1)]))}const HB={render:qB},VB=Object.freeze(Object.defineProperty({
__proto__:null,default:HB,render:qB},Symbol.toStringTag,{value:"Module"})),ZB={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function WB(e,t){
return Zi(),Yi("svg",ZB,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576"
},null,-1)]))}const XB={render:WB},GB=Object.freeze(Object.defineProperty({
__proto__:null,default:XB,render:WB},Symbol.toStringTag,{value:"Module"})),YB={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function KB(e,t){return Zi(),Yi("svg",YB,t[0]||(t[0]=[ra("path",{
d:"M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6"
},null,-1)]))}const JB={render:KB},eQ=Object.freeze(Object.defineProperty({
__proto__:null,default:JB,render:KB},Symbol.toStringTag,{value:"Module"})),tQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"}
;function nQ(e,t){return Zi(),Yi("svg",tQ,t[0]||(t[0]=[ra("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M7 2a2 2 0 0 0-2 2v1h4V4a2 2 0 0 0-2-2M3 4v1a1.5 1.5 0 0 0-1.5 1.5v6A1.5 1.5 0 0 0 3 14h8a1.5 1.5 0 0 0 1.5-1.5v-6A1.5 1.5 0 0 0 11 5V4a4 4 0 1 0-8 0m4 6.75a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",
"clip-rule":"evenodd"},null,-1)]))}const rQ={render:nQ
},oQ=Object.freeze(Object.defineProperty({__proto__:null,default:rQ,render:nQ
},Symbol.toStringTag,{value:"Module"})),iQ={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 593 593"};function aQ(e,t){
return Zi(),Yi("svg",iQ,t[0]||(t[0]=[ra("path",{"fill-rule":"evenodd",
d:"M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0"
},null,-1)]))}const sQ={render:aQ},lQ=Object.freeze(Object.defineProperty({
__proto__:null,default:sQ,render:aQ},Symbol.toStringTag,{value:"Module"})),cQ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 662 662"}
;function uQ(e,t){return Zi(),Yi("svg",cQ,t[0]||(t[0]=[ra("path",{
"fill-rule":"evenodd",
d:"M331 0a331 331 0 1 1 0 662 331 331 0 0 1 0-662m148.5 109 .6.9a187 187 0 1 1-297.6-.9 267 267 0 1 0 297 0"
},null,-1)]))}const dQ={render:uQ},pQ=Object.freeze(Object.defineProperty({
__proto__:null,default:dQ,render:uQ},Symbol.toStringTag,{value:"Module"})),hQ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 620 620"}
;function fQ(e,t){return Zi(),Yi("svg",hQ,t[0]||(t[0]=[ra("path",{
d:"M-.653 309.29c-.078 82.272 31.848 159.735 89.739 218.178l.283.283c122.379 121.247 319.824 121.184 440.16-.283 119.967-121.1 119.409-316.933-.998-437.339l-.99-.99C468.681 30.845 390.716-1.017 307.893-.67c-82.83.354-160.443 32.994-218.814 91.79C31.209 149.555-.724 227.025-.653 309.29m469.271-160.789.778.778c87.9 87.9 88.325 231.005.707 319.33-77.753 78.46-199.786 87.412-288.959 26.862l198.513-198.513-.007 166.361 83.68-.07v-306.22H157.11l-.008 83.6h160.584L121.994 436.323c-59.347-87.689-50.536-208.59 26.51-286.343 87.836-88.686 231.436-89.31 320.106-1.486Z"
},null,-1)]))}const mQ={render:fQ},gQ=Object.freeze(Object.defineProperty({
__proto__:null,default:mQ,render:fQ},Symbol.toStringTag,{value:"Module"})),vQ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 642 642"}
;function bQ(e,t){return Zi(),Yi("svg",vQ,t[0]||(t[0]=[ra("path",{
d:"M321 0a321 321 0 1 1 0 642 321 321 0 0 1 0-642m51.3 63L321 189.5 269.7 63l1 136.5-95.8-97.2L228 228l-125.7-53.1 97.2 95.8-136.5-1L189.5 321 63 372.3l136.5-1-97.2 95.8 125.7-53-53.1 125.6 95.8-97.2-1 136.5L321 452.5 372.3 579l-1-136.5 95.8 97.2-53-125.7 125.6 53.1-97.2-95.8 136.5 1L452.5 321 579 269.7l-136.5 1 97.2-95.8L414 228l53.1-125.7-95.8 97.2z"
},null,-1)]))}const OQ={render:bQ},yQ=Object.freeze(Object.defineProperty({
__proto__:null,default:OQ,render:bQ},Symbol.toStringTag,{value:"Module"})),wQ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 620 620"}
;function kQ(e,t){return Zi(),Yi("svg",wQ,t[0]||(t[0]=[ra("path",{
d:"M529.2 90.8A310 310 0 1 0 90.8 529.2 310 310 0 0 0 529.2 90.8M122.4 498.2c-54.9-55-15.4-183.5 88.2-287 103.6-103.7 232.1-143.2 287-88.3 54.9 54.8 15.4 183.4-88.3 287-103.5 103.6-232 143.1-286.9 88.3m261.8-262.7A104.7 104.7 0 1 1 236 383.7a104.7 104.7 0 0 1 148.2-148.2"
},null,-1)]))}const xQ={render:kQ},SQ=Object.freeze(Object.defineProperty({
__proto__:null,default:xQ,render:kQ},Symbol.toStringTag,{value:"Module"})),_Q={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"}
;function EQ(e,t){return Zi(),Yi("svg",_Q,t[0]||(t[0]=[ra("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M8.75 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V.75A.75.75 0 0 1 8.75 0m4.03 2.28a.75.75 0 0 0-1.06-1.06l-1 1a.75.75 0 0 0 1.06 1.06zM9.707 5.707a1 1 0 0 0-1.414-1.414l-8 8a1 1 0 1 0 1.414 1.414zM11.75 4.5a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm-1.53 2.22a.75.75 0 0 1 1.06 0l1 1a.75.75 0 0 1-1.06 1.06l-1-1a.75.75 0 0 1 0-1.06m-3.94-5a.75.75 0 0 0-1.06 1.06l1 1a.75.75 0 0 0 1.06-1.06z",
"clip-rule":"evenodd"},null,-1)]))}const TQ={render:EQ
},CQ=Object.freeze(Object.defineProperty({__proto__:null,default:TQ,render:EQ
},Symbol.toStringTag,{value:"Module"})),AQ={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function PQ(e,t){
return Zi(),Yi("svg",AQ,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22 6.8H2m20 10.4H2"},null,-1)]))}const DQ={render:PQ
},$Q=Object.freeze(Object.defineProperty({__proto__:null,default:DQ,render:PQ
},Symbol.toStringTag,{value:"Module"})),RQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function NQ(e,t){
return Zi(),Yi("svg",RQ,t[0]||(t[0]=[ra("path",{
d:"M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22"
},null,-1),ra("path",{
d:"M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205"
},null,-1)]))}const MQ={render:NQ},IQ=Object.freeze(Object.defineProperty({
__proto__:null,default:MQ,render:NQ},Symbol.toStringTag,{value:"Module"})),LQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"}
;function jQ(e,t){return Zi(),Yi("svg",LQ,t[0]||(t[0]=[ra("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M11.821.098a1.62 1.62 0 0 1 2.077 2.076l-3.574 10.712a1.62 1.62 0 0 1-1.168 1.069 1.6 1.6 0 0 1-1.52-.434l-1.918-1.909-2.014 1.042a.5.5 0 0 1-.73-.457l.083-3.184 7.045-5.117a.625.625 0 1 0-.735-1.012L2.203 8.088l-1.73-1.73a1.6 1.6 0 0 1-.437-1.447 1.62 1.62 0 0 1 1.069-1.238h.003z",
"clip-rule":"evenodd"},null,-1)]))}const BQ={render:jQ
},QQ=Object.freeze(Object.defineProperty({__proto__:null,default:BQ,render:jQ
},Symbol.toStringTag,{value:"Module"})),UQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function FQ(e,t){
return Zi(),Yi("svg",UQ,t[0]||(t[0]=[ra("path",{
d:"M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z"
},null,-1)]))}const zQ={render:FQ},qQ=Object.freeze(Object.defineProperty({
__proto__:null,default:zQ,render:FQ},Symbol.toStringTag,{value:"Module"})),HQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function VQ(e,t){return Zi(),Yi("svg",HQ,t[0]||(t[0]=[ra("path",{
d:"M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z"
},null,-1)]))}const ZQ={render:VQ},WQ=Object.freeze(Object.defineProperty({
__proto__:null,default:ZQ,render:VQ},Symbol.toStringTag,{value:"Module"})),XQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12"}
;function GQ(e,t){return Zi(),Yi("svg",XQ,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M11 4.3c-.5-.7-1.7-2.2-2.4-2.6C7.9 1.2 7 1 5.9 1s-2.6.5-3.5 1.5C1.5 3.4.9 4.7.9 6s.5 2.6 1.5 3.5c.9.9 2.2 1.5 3.6 1.5s2.6-.6 3.6-1.5c.5-.5.8-.9 1-1.6"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M11 1v3.3H7.6"},null,-1)]))}const YQ={render:GQ
},KQ=Object.freeze(Object.defineProperty({__proto__:null,default:YQ,render:GQ
},Symbol.toStringTag,{value:"Module"})),JQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function eU(e,t){
return Zi(),Yi("svg",JQ,t[0]||(t[0]=[ra("path",{
d:"M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17"
},null,-1)]))}const tU={render:eU},nU=Object.freeze(Object.defineProperty({
__proto__:null,default:tU,render:eU},Symbol.toStringTag,{value:"Module"})),rU={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oU(e,t){return Zi(),Yi("svg",rU,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9"
},null,-1)]))}const iU={render:oU},aU=Object.freeze(Object.defineProperty({
__proto__:null,default:iU,render:oU},Symbol.toStringTag,{value:"Module"})),sU={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function lU(e,t){return Zi(),Yi("svg",sU,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35"},null,-1)]))}const cU={
render:lU},uU=Object.freeze(Object.defineProperty({__proto__:null,default:cU,
render:lU},Symbol.toStringTag,{value:"Module"})),dU={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function pU(e,t){return Zi(),Yi("svg",dU,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2"
},null,-1),ra("path",{fill:"currentColor",
d:"M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const hU={render:pU
},fU=Object.freeze(Object.defineProperty({__proto__:null,default:hU,render:pU
},Symbol.toStringTag,{value:"Module"})),mU={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function gU(e,t){
return Zi(),Yi("svg",mU,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"
},null,-1)]))}const vU={render:gU},bU=Object.freeze(Object.defineProperty({
__proto__:null,default:vU,render:gU},Symbol.toStringTag,{value:"Module"})),OU={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function yU(e,t){
return Zi(),Yi("svg",OU,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M12 5.251C7.969 5.183 3.8 8 1.179 10.885a1.663 1.663 0 0 0 0 2.226C3.743 15.935 7.9 18.817 12 18.748c4.1.069 8.258-2.813 10.824-5.637a1.663 1.663 0 0 0 0-2.226C20.2 8 16.031 5.183 12 5.251"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M15.75 12A3.75 3.75 0 1 1 12 8.249 3.75 3.75 0 0 1 15.75 12"},null,-1)]))}
const wU={render:yU},kU=Object.freeze(Object.defineProperty({__proto__:null,
default:wU,render:yU},Symbol.toStringTag,{value:"Module"})),xU={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function SU(e,t){
return Zi(),Yi("svg",xU,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)]))}const _U={render:SU
},EU=Object.freeze(Object.defineProperty({__proto__:null,default:_U,render:SU
},Symbol.toStringTag,{value:"Module"})),TU={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function CU(e,t){
return Zi(),Yi("svg",TU,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M13 15h5M6 9l4 3-4 3"},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z"
},null,-1)]))}const AU={render:CU},PU=Object.freeze(Object.defineProperty({
__proto__:null,default:AU,render:CU},Symbol.toStringTag,{value:"Module"})),DU={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function $U(e,t){return Zi(),Yi("svg",DU,t[0]||(t[0]=[ra("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M14.333 22.94c-.848 0-1.604-.5-1.96-1.251-1.783-3.772-3.568-6.116-6.2-7.75H5V2.69h1.779l6.5-1.5h7.82a1.375 1.375 0 0 1 0 2.75h-.5a.625.625 0 1 0 0 1.25h1.5a1.375 1.375 0 0 1 0 2.75h-.5a.625.625 0 1 0 0 1.25h1a1.375 1.375 0 0 1 0 2.75h-1a.625.625 0 0 0 0 1.25h1a1.375 1.375 0 0 1 0 2.75h-7.834c.618 1.618 1.2 3.36 1.497 4.743.276 1.28-.77 2.258-1.93 2.258ZM3.5 14.5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h1.5a1 1 0 0 1 1 1z",
"clip-rule":"evenodd"},null,-1)]))}const RU={render:$U
},NU=Object.freeze(Object.defineProperty({__proto__:null,default:RU,render:$U
},Symbol.toStringTag,{value:"Module"})),MU={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function IU(e,t){
return Zi(),Yi("svg",MU,t[0]||(t[0]=[ra("path",{fill:"currentColor",
"fill-rule":"evenodd",
d:"M14.333.375c-.848 0-1.604.5-1.96 1.251-1.783 3.772-3.568 6.116-6.2 7.749H5v11.25h1.779l6.5 1.5h7.82a1.375 1.375 0 0 0 0-2.75h-.5a.625.625 0 1 1 0-1.25h1.5a1.375 1.375 0 0 0 0-2.75h-.5a.625.625 0 1 1 0-1.25h1a1.375 1.375 0 0 0 0-2.75h-1a.625.625 0 1 1 0-1.25h1a1.375 1.375 0 0 0 0-2.75h-7.834c.618-1.617 1.2-3.359 1.497-4.742.276-1.28-.77-2.258-1.93-2.258ZM3.5 8.815a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v12.5a1 1 0 0 0 1 1h1.5a1 1 0 0 0 1-1z",
"clip-rule":"evenodd"},null,-1)]))}const LU={render:IU
},jU=Object.freeze(Object.defineProperty({__proto__:null,default:LU,render:IU
},Symbol.toStringTag,{value:"Module"})),BU={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function QU(e,t){
return Zi(),Yi("svg",BU,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75"
},null,-1)]))}const UU={render:QU},FU=Object.freeze(Object.defineProperty({
__proto__:null,default:UU,render:QU},Symbol.toStringTag,{value:"Module"})),zU={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function qU(e,t){return Zi(),Yi("svg",zU,t[0]||(t[0]=[ra("path",{
d:"M19.5 9.5h-.75V6.75A6.75 6.75 0 0 0 5.53 4.81a1.25 1.25 0 0 0 2.4.72 4.25 4.25 0 0 1 8.32 1.22V9a.5.5 0 0 1-.5.5H4.5a2 2 0 0 0-2 2V22a2 2 0 0 0 2 2h15a2 2 0 0 0 2-2V11.5a2 2 0 0 0-2-2m-7.5 9a2 2 0 1 1 2-2 2 2 0 0 1-2 2"
},null,-1)]))}const HU={render:qU},VU=Object.freeze(Object.defineProperty({
__proto__:null,default:HU,render:qU},Symbol.toStringTag,{value:"Module"})),ZU={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function WU(e,t){return Zi(),Yi("svg",ZU,t[0]||(t[0]=[ra("path",{
d:"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0m4.91 10.41A1 1 0 0 1 16 11h-2.25a.25.25 0 0 0-.25.25v7.25a1.5 1.5 0 0 1-3 0v-7.25a.25.25 0 0 0-.25-.25H8a1 1 0 0 1-.75-1.66l4-4.5a1 1 0 0 1 1.5 0l4 4.5a1 1 0 0 1 .16 1.07"
},null,-1)]))}const XU={render:WU},GU=Object.freeze(Object.defineProperty({
__proto__:null,default:XU,render:WU},Symbol.toStringTag,{value:"Module"})),YU={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KU(e,t){return Zi(),Yi("svg",YU,t[0]||(t[0]=[ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7"},null,-1)]))}const JU={render:KU
},eF=Object.freeze(Object.defineProperty({__proto__:null,default:JU,render:KU
},Symbol.toStringTag,{value:"Module"})),tF={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function nF(e,t){
return Zi(),Yi("svg",tF,t[0]||(t[0]=[ra("path",{
d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),ra("circle",{cx:"12",
cy:"6.2",r:"4.5"},null,-1)]))}const rF={render:nF
},oF=Object.freeze(Object.defineProperty({__proto__:null,default:rF,render:nF
},Symbol.toStringTag,{value:"Module"})),iF={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function aF(e,t){
return Zi(),Yi("svg",iF,t[0]||(t[0]=[ra("path",{
d:"M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583"
},null,-1)]))}const sF={render:aF},lF=Object.freeze(Object.defineProperty({
__proto__:null,default:sF,render:aF},Symbol.toStringTag,{value:"Module"})),cF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function uF(e,t){return Zi(),Yi("svg",cF,t[0]||(t[0]=[ra("path",{
d:"M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5"
},null,-1),ra("path",{
d:"M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5"
},null,-1)]))}const dF={render:uF},pF=Object.freeze(Object.defineProperty({
__proto__:null,default:dF,render:uF},Symbol.toStringTag,{value:"Module"})),hF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function fF(e,t){return Zi(),Yi("svg",hF,t[0]||(t[0]=[ra("path",{
d:"M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75"
},null,-1)]))}const mF={render:fF},gF=Object.freeze(Object.defineProperty({
__proto__:null,default:mF,render:fF},Symbol.toStringTag,{value:"Module"})),vF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function bF(e,t){return Zi(),Yi("svg",vF,t[0]||(t[0]=[ra("path",{
d:"M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z"
},null,-1)]))}const OF={render:bF},yF=Object.freeze(Object.defineProperty({
__proto__:null,default:OF,render:bF},Symbol.toStringTag,{value:"Module"})),wF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function kF(e,t){return Zi(),Yi("svg",wF,t[0]||(t[0]=[ra("path",{
d:"M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z"
},null,-1)]))}const xF={render:kF},SF=Object.freeze(Object.defineProperty({
__proto__:null,default:xF,render:kF},Symbol.toStringTag,{value:"Module"})),_F={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function EF(e,t){return Zi(),Yi("svg",_F,t[0]||(t[0]=[ra("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z",
"clip-rule":"evenodd"},null,-1)]))}const TF={render:EF
},CF=Object.freeze(Object.defineProperty({__proto__:null,default:TF,render:EF
},Symbol.toStringTag,{value:"Module"})),AF={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 24 24"};function PF(e,t){
return Zi(),Yi("svg",AF,t[0]||(t[0]=[ra("path",{
d:"M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z"
},null,-1)]))}const DF={render:PF},$F=Object.freeze(Object.defineProperty({
__proto__:null,default:DF,render:PF},Symbol.toStringTag,{value:"Module"})),RF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function NF(e,t){return Zi(),Yi("svg",RF,t[0]||(t[0]=[ra("path",{
d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565"
},null,-1)]))}const MF={render:NF},IF=Object.freeze(Object.defineProperty({
__proto__:null,default:MF,render:NF},Symbol.toStringTag,{value:"Module"})),LF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function jF(e,t){return Zi(),Yi("svg",LF,t[0]||(t[0]=[ra("path",{
d:"M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51"
},null,-1),ra("path",{
d:"m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z"
},null,-1)]))}const BF={render:jF},QF=Object.freeze(Object.defineProperty({
__proto__:null,default:BF,render:jF},Symbol.toStringTag,{value:"Module"})),UF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function FF(e,t){return Zi(),Yi("svg",UF,t[0]||(t[0]=[ra("path",{
d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5"
},null,-1)]))}const zF={render:FF},qF=Object.freeze(Object.defineProperty({
__proto__:null,default:zF,render:FF},Symbol.toStringTag,{value:"Module"})),HF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function VF(e,t){return Zi(),Yi("svg",HF,t[0]||(t[0]=[ra("path",{
d:"M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z"
},null,-1)]))}const ZF={render:VF},WF=Object.freeze(Object.defineProperty({
__proto__:null,default:ZF,render:VF},Symbol.toStringTag,{value:"Module"})),XF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function GF(e,t){return Zi(),Yi("svg",XF,t[0]||(t[0]=[ra("path",{
d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z"
},null,-1)]))}const YF={render:GF},KF=Object.freeze(Object.defineProperty({
__proto__:null,default:YF,render:GF},Symbol.toStringTag,{value:"Module"})),JF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function ez(e,t){return Zi(),Yi("svg",JF,t[0]||(t[0]=[ra("path",{
d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z"
},null,-1)]))}const tz={render:ez},nz=Object.freeze(Object.defineProperty({
__proto__:null,default:tz,render:ez},Symbol.toStringTag,{value:"Module"})),rz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function oz(e,t){return Zi(),Yi("svg",rz,t[0]||(t[0]=[ra("path",{
d:"M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1"
},null,-1)]))}const iz={render:oz},az=Object.freeze(Object.defineProperty({
__proto__:null,default:iz,render:oz},Symbol.toStringTag,{value:"Module"})),sz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function lz(e,t){return Zi(),Yi("svg",sz,t[0]||(t[0]=[ra("path",{
d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z"
},null,-1)]))}const cz={render:lz},uz=Object.freeze(Object.defineProperty({
__proto__:null,default:cz,render:lz},Symbol.toStringTag,{value:"Module"})),dz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function pz(e,t){return Zi(),Yi("svg",dz,t[0]||(t[0]=[ra("path",{
d:"M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1"
},null,-1)]))}const hz={render:pz},fz=Object.freeze(Object.defineProperty({
__proto__:null,default:hz,render:pz},Symbol.toStringTag,{value:"Module"})),mz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function gz(e,t){return Zi(),Yi("svg",mz,t[0]||(t[0]=[ra("path",{
d:"M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05"
},null,-1),ra("path",{
d:"M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36"
},null,-1),ra("path",{
d:"M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38"
},null,-1)]))}const vz={render:gz},bz=Object.freeze(Object.defineProperty({
__proto__:null,default:vz,render:gz},Symbol.toStringTag,{value:"Module"})),Oz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function yz(e,t){return Zi(),Yi("svg",Oz,t[0]||(t[0]=[ra("path",{
d:"M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z"
},null,-1)]))}const wz={render:yz},kz=Object.freeze(Object.defineProperty({
__proto__:null,default:wz,render:yz},Symbol.toStringTag,{value:"Module"})),xz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function Sz(e,t){return Zi(),Yi("svg",xz,t[0]||(t[0]=[ra("path",{
d:"M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43"
},null,-1),ra("path",{
d:"M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12"
},null,-1)]))}const _z={render:Sz},Ez=Object.freeze(Object.defineProperty({
__proto__:null,default:_z,render:Sz},Symbol.toStringTag,{value:"Module"})),Tz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function Cz(e,t){return Zi(),Yi("svg",Tz,t[0]||(t[0]=[ra("path",{
d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"
},null,-1)]))}const Az={render:Cz},Pz=Object.freeze(Object.defineProperty({
__proto__:null,default:Az,render:Cz},Symbol.toStringTag,{value:"Module"})),Dz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function $z(e,t){return Zi(),Yi("svg",Dz,t[0]||(t[0]=[ra("path",{
d:"M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69"
},null,-1),ra("path",{
d:"M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85"
},null,-1)]))}const Rz={render:$z},Nz=Object.freeze(Object.defineProperty({
__proto__:null,default:Rz,render:$z},Symbol.toStringTag,{value:"Module"})),Mz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function Iz(e,t){return Zi(),Yi("svg",Mz,t[0]||(t[0]=[ra("path",{
d:"M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z"
},null,-1),ra("path",{
d:"M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z"
},null,-1)]))}const Lz={render:Iz},jz=Object.freeze(Object.defineProperty({
__proto__:null,default:Lz,render:Iz},Symbol.toStringTag,{value:"Module"})),Bz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function Qz(e,t){return Zi(),Yi("svg",Bz,t[0]||(t[0]=[ra("path",{
d:"M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0"
},null,-1)]))}const Uz={render:Qz},Fz=Object.freeze(Object.defineProperty({
__proto__:null,default:Uz,render:Qz},Symbol.toStringTag,{value:"Module"})),zz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function qz(e,t){return Zi(),Yi("svg",zz,t[0]||(t[0]=[ra("path",{
d:"M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29"
},null,-1)]))}const Hz={render:qz},Vz=Object.freeze(Object.defineProperty({
__proto__:null,default:Hz,render:qz},Symbol.toStringTag,{value:"Module"})),Zz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"}
;function Wz(e,t){return Zi(),Yi("svg",Zz,t[0]||(t[0]=[ra("path",{
"fill-rule":"evenodd",
d:"M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1",
"clip-rule":"evenodd"},null,-1)]))}const Xz={render:Wz
},Gz=Object.freeze(Object.defineProperty({__proto__:null,default:Xz,render:Wz
},Symbol.toStringTag,{value:"Module"})),Yz={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 24 24"};function Kz(e,t){
return Zi(),Yi("svg",Yz,t[0]||(t[0]=[ra("path",{
d:"m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"
},null,-1)]))}const Jz={render:Kz},eq=Object.freeze(Object.defineProperty({
__proto__:null,default:Jz,render:Kz},Symbol.toStringTag,{value:"Module"})),tq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function nq(e,t){return Zi(),Yi("svg",tq,t[0]||(t[0]=[ra("path",{
d:"M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z"
},null,-1),ra("path",{"fill-rule":"evenodd",
d:"M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"
},null,-1)]))}const rq={render:nq},oq=Object.freeze(Object.defineProperty({
__proto__:null,default:rq,render:nq},Symbol.toStringTag,{value:"Module"})),iq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function aq(e,t){return Zi(),Yi("svg",iq,t[0]||(t[0]=[ra("path",{
d:"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z"
},null,-1)]))}const sq={render:aq},lq=Object.freeze(Object.defineProperty({
__proto__:null,default:sq,render:aq},Symbol.toStringTag,{value:"Module"})),cq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function uq(e,t){return Zi(),Yi("svg",cq,t[0]||(t[0]=[ra("path",{
d:"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z"
},null,-1)]))}const dq={render:uq},pq=Object.freeze(Object.defineProperty({
__proto__:null,default:dq,render:uq},Symbol.toStringTag,{value:"Module"})),hq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"}
;function fq(e,t){return Zi(),Yi("svg",hq,t[0]||(t[0]=[ra("path",{
d:"m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z"
},null,-1)]))}const mq={render:fq},gq=Object.freeze(Object.defineProperty({
__proto__:null,default:mq,render:fq},Symbol.toStringTag,{value:"Module"})),vq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function bq(e,t){return Zi(),Yi("svg",vq,t[0]||(t[0]=[ra("path",{
d:"M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5"
},null,-1)]))}const Oq={render:bq},yq=Object.freeze(Object.defineProperty({
__proto__:null,default:Oq,render:bq},Symbol.toStringTag,{value:"Module"})),wq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function kq(e,t){return Zi(),Yi("svg",wq,t[0]||(t[0]=[ra("path",{
d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"
},null,-1)]))}const xq={render:kq},Sq=Object.freeze(Object.defineProperty({
__proto__:null,default:xq,render:kq},Symbol.toStringTag,{value:"Module"})),_q={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function Eq(e,t){
return Zi(),Yi("svg",_q,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6"
},null,-1)]))}const Tq={render:Eq},Cq=Object.freeze(Object.defineProperty({
__proto__:null,default:Tq,render:Eq},Symbol.toStringTag,{value:"Module"})),Aq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function Pq(e,t){return Zi(),Yi("svg",Aq,t[0]||(t[0]=[ra("path",{
d:"M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18"
},null,-1)]))}const Dq={render:Pq},$q=Object.freeze(Object.defineProperty({
__proto__:null,default:Dq,render:Pq},Symbol.toStringTag,{value:"Module"})),Rq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function Nq(e,t){return Zi(),Yi("svg",Rq,t[0]||(t[0]=[ra("path",{
d:"M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12"
},null,-1)]))}const Mq={render:Nq},Iq=Object.freeze(Object.defineProperty({
__proto__:null,default:Mq,render:Nq},Symbol.toStringTag,{value:"Module"
})),Lq=Object.assign({"./Add.svg":yI,"./AddTab.svg":SI,"./ArrowLeft.svg":CI,
"./ArrowRight.svg":$I,"./Brackets.svg":II,"./Branch.svg":QI,
"./Changelog.svg":qI,"./Checkmark.svg":WI,"./ChevronDown.svg":KI,
"./ChevronLeft.svg":nL,"./ChevronRight.svg":aL,"./ChevronUp.svg":uL,
"./Clipboard.svg":fL,"./Close.svg":bL,"./CloseTab.svg":kL,"./CloseTabs.svg":EL,
"./Cloud.svg":PL,"./CodeFolder.svg":NL,"./Cog.svg":jL,"./Collection.svg":FL,
"./Cookie.svg":VL,"./DarkMode.svg":GL,"./Delete.svg":ej,"./Discord.svg":oj,
"./DiscordLine.svg":lj,"./DocsPage.svg":pj,"./Download.svg":gj,
"./Duplicate.svg":yj,"./Edit.svg":Sj,"./Ellipses.svg":Cj,"./Email.svg":$j,
"./Error.svg":Ij,"./Example.svg":Qj,"./ExternalLink.svg":qj,
"./FilterList.svg":Wj,"./Folder.svg":Kj,"./GitHub.svg":nB,"./GitHubLine.svg":aB,
"./Google.svg":uB,"./Help.svg":fB,"./Hide.svg":bB,"./History.svg":kB,
"./House.svg":EB,"./Import.svg":PB,"./Info.svg":NB,"./Key.svg":jB,
"./Leave.svg":FB,"./LightDarkModeToggle.svg":VB,"./LightMode.svg":GB,
"./Link.svg":eQ,"./Lock.svg":oQ,"./Logo.svg":lQ,"./LogoAPI.svg":pQ,
"./LogoClient.svg":gQ,"./LogoMarket.svg":yQ,"./LogoSwagger.svg":SQ,
"./Magic.svg":CQ,"./Menu.svg":$Q,"./Page.svg":IQ,"./PaperAirplane.svg":QQ,
"./Pencil.svg":qQ,"./Play.svg":WQ,"./Refresh.svg":KQ,"./Roadmap.svg":nU,
"./Scribble.svg":aU,"./Search.svg":uU,"./Server.svg":fU,"./Settings.svg":bU,
"./Show.svg":kU,"./Sort.svg":EU,"./Terminal.svg":PU,"./ThumbsDown.svg":NU,
"./ThumbsUp.svg":jU,"./Trash.svg":FU,"./Unlock.svg":VU,"./Upload.svg":GU,
"./UploadSimple.svg":eF,"./User.svg":oF,"./Users.svg":lF,"./Wallet.svg":pF,
"./Workspace.svg":gF,"./programming-framework-angular.svg":yF,
"./programming-framework-astro.svg":SF,"./programming-framework-laravel.svg":CF,
"./programming-framework-nextdotjs.svg":$F,
"./programming-framework-react.svg":IF,
"./programming-framework-vuedotjs.svg":QF,"./programming-language-c.svg":qF,
"./programming-language-clojure.svg":WF,"./programming-language-csharp.svg":KF,
"./programming-language-css3.svg":nz,"./programming-language-go.svg":az,
"./programming-language-html5.svg":uz,"./programming-language-http.svg":fz,
"./programming-language-java.svg":bz,"./programming-language-javascript.svg":kz,
"./programming-language-json.svg":Ez,"./programming-language-kotlin.svg":Pz,
"./programming-language-node.svg":Nz,"./programming-language-objc.svg":jz,
"./programming-language-ocaml.svg":Fz,"./programming-language-php.svg":Vz,
"./programming-language-powershell.svg":Gz,
"./programming-language-python.svg":eq,"./programming-language-r.svg":oq,
"./programming-language-ruby.svg":lq,"./programming-language-scala.svg":pq,
"./programming-language-shell.svg":gq,"./programming-language-swift.svg":yq,
"./programming-language-typescript.svg":Sq,"./programming-script-code.svg":Cq,
"./programming-tool-git.svg":$q,"./programming-tool-tailwindcss.svg":Iq
}),jq=e=>{const t=`./${e}.svg`
;return Lq[t]?Lq[t]:(console.warn(`Could not find icon: ${e}`),null)},Bq=Gr({
__name:"ScalarIcon",props:{icon:{},size:{},thickness:{},label:{}},setup(e){
cs((e=>({"3c7f90fa":r.value})));const t=e,n=pI({variants:{size:{xs:"size-3",
sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8",
"3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}
}),r=$a((()=>t.thickness??"2")),o=$a((()=>t.label?{ariaLabel:t.label}:{
ariaHidden:!0,role:"presentation"}))
;return(e,t)=>(Zi(),Ki(wo(Qn(jq)(e.icon)),ha({class:Qn(hI)("scalar-icon",Qn(n)({
size:e.size}))},o.value),null,16,["class"]))}}),Qq=(e,t)=>{
const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n
},Uq=Qq(Bq,[["__scopeId","data-v-a4126bd9"]]),Fq=["ariaDisabled"],zq={
class:"sr-only"},qq=Gr({__name:"ScalarIconButton",props:{label:{},icon:{},
disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"},
thickness:{}},setup(e){const t=pI({
base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{
size:{xxs:"size-3.5 p-0.5",xs:"size-5 p-1",sm:"size-6 p-1",md:"size-10 p-3",
full:"h-full w-full"},disabled:{true:"cursor-not-allowed shadow-none"},
variant:mI}}),n=$a((()=>{const{class:e,...t}=No();return{class:e||"",rest:t}}))
;return(e,r)=>(Zi(),Yi("button",ha(n.value.rest,{
ariaDisabled:e.disabled||void 0,class:Qn(hI)(Qn(t)({size:e.size,
variant:e.variant,disabled:e.disabled}),n.value.class),type:"button"
}),[oa(Qn(Uq),{icon:e.icon,thickness:e.thickness
},null,8,["icon","thickness"]),ra("span",zq,st(e.label),1)],16,Fq))}}),Hq={
key:0,class:"close-button z-10 fixed right-2 top-2"};function Vq(){return xn({
open:!1,show(){this.open=!0},hide(){this.open=!1}})}const Zq=Gr({
__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{
default:"md"},variant:{}},setup(e){const t=pI({
base:["scalar-modal","col relative mx-auto mb-0 w-[calc(100vw-16px)] rounded-lg bg-b-2 p-0 text-left leading-snug text-c-1 opacity-0 lg:w-[calc(100vw-32px)]"].join(" "),
variants:{size:{xxs:"mt-20 max-w-screen-xxs",xs:"mt-20 max-w-screen-xs",
sm:"mt-20 max-w-screen-sm",md:"mt-20 max-w-screen-md",
lg:"m-auto max-w-screen-lg",xl:"m-auto max-w-screen-xl",
full:"full-size-styles mt-0 overflow-hidden lg:w-full"},variant:{
form:"scalar-modal-form",history:"scalar-modal-history bg-b-1",
search:"scalar-modal-search"}}}),n=pI({
base:["scalar-modal-body","relative m-1 max-h-[calc(100dvh-240px)] rounded-lg bg-b-1 p-3"].join(" "),
variants:{variant:{form:"overflow-visible",history:"pt-3",
search:"col !m-0 max-h-[440px] overflow-hidden p-0"},size:{
xxs:"max-h-[calc(100dvh-240px)]",xs:"max-h-[calc(100dvh-240px)]",
sm:"max-h-[calc(100dvh-240px)]",md:"max-h-[calc(100dvh-240px)]",
lg:"max-h-[calc(100dvh-180px)]",xl:"m-0 max-h-[calc(100dvh-120px)] p-0",
full:"max-h-dvh rounded-none bg-transparent"}}});return(e,r)=>(Zi(),Ki(Qn(tN),{
open:e.state.open,onClose:r[1]||(r[1]=t=>e.state.hide())},{
default:xr((()=>[ra("div",{
class:et(Qn(hI)("scalar-modal-layout fixed left-0 top-0 flex items-start justify-center","z-[1001] h-[100dvh] w-[100dvw]","bg-backdrop opacity-0 dark:bg-backdropdark","full"===e.size&&"flex"))
},[oa(Qn(nN),{class:et(Qn(t)({size:e.size,variant:e.variant})),style:Xe({
maxWidth:e.maxWidth})},{default:xr((()=>[e.title?(Zi(),Ki(Qn(rN),{key:0,
class:et(["scalar-modal-header m-0 -mb-1 rounded-lg p-3 text-left text-sm font-medium text-c-1",{
"pb-0 pt-6":"history"===e.variant}])},{default:xr((()=>[sa(st(e.title),1)])),_:1
},8,["class"])):ca("",!0),"full"===e.size?(Zi(),Yi("div",{key:1,
class:et(e.bodyClass)
},[Eo(e.$slots,"default",{},void 0,!0)],2)):(Zi(),Ki(Qn(oN),{key:2,
class:et(Qn(hI)(e.bodyClass,Qn(n)({size:e.size,variant:e.variant})))},{
default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))])),
_:3},8,["class","style"]),"full"===e.size?(Zi(),Yi("div",Hq,[oa(Qn(qq),{
class:"hover:bg-b-2 focus:outline-none",icon:"Close",label:"Clear Search",
onClose:r[0]||(r[0]=t=>e.state.hide())})])):ca("",!0)],2)])),_:3},8,["open"]))}
}),Wq=Qq(Zq,[["__scopeId","data-v-e37b0bd8"]]),Xq={key:0,class:"circular-loader"
};function Gq(){return xn({isValid:!1,isInvalid:!1,isLoading:!1,startLoading(){
this.isLoading=!0},stopLoading(){this.isLoading=!1},validate(e=800,t){
this.isInvalid=!1,this.isValid=!0;const n=t?e-300:e
;return new Promise((e=>setTimeout(t?()=>this.clear().then((()=>e(!0))):()=>e(!0),n)))
},invalidate(e=1100,t){this.isValid=!1,this.isInvalid=!0;const n=t?e-300:e
;return new Promise((e=>setTimeout(t?()=>this.clear().then((()=>e(!0))):()=>e(!0),n)))
},clear(e=300){
return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise((t=>{
setTimeout((()=>{t(!0)}),e)}))}})}const Yq=Gr({__name:"ScalarLoading",props:{
loadingState:{},size:{}},setup(e){const t=pI({variants:{size:{xs:"size-3",
sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8",
"3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}})
;return(e,n)=>e.loadingState?(Zi(),Yi("div",{key:0,
class:et(Qn(hI)("loader-wrapper",Qn(t)({size:e.size})))},[(Zi(),Yi("svg",{
class:et(["svg-loader",{"icon-is-valid":e.loadingState.isValid,
"icon-is-invalid":e.loadingState.isInvalid}]),viewBox:"0 0 100 100",
xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"
},[n[0]||(n[0]=la('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-5a129980></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-5a129980></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-5a129980></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-5a129980></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-5a129980></path>',5)),e.loadingState.isLoading?(Zi(),
Yi("g",Xq,[ra("circle",{class:et(["loader-path",{
"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",
cy:"50",fill:"none",r:"20","stroke-width":"2"
},null,2)])):ca("",!0)],2))],2)):ca("",!0)}
}),Kq=Qq(Yq,[["__scopeId","data-v-5a129980"]]),Jq=["ariaDisabled","type"],eH={
key:3,class:"centered-x absolute"},tH=Gr({inheritAttrs:!1,__name:"ScalarButton",
props:{disabled:{type:Boolean},fullWidth:{type:Boolean,default:!1},loading:{},
size:{default:"md"},variant:{default:"solid"},type:{default:"button"}},setup(e){
const t=$a((()=>{const{class:e,...t}=No();return{class:e||"",rest:t}}))
;return(e,n)=>{var r,o,i,a;return Zi(),Yi("button",ha(t.value.rest,{
ariaDisabled:e.disabled||void 0,class:Qn(hI)(Qn(gI)({fullWidth:e.fullWidth,
disabled:e.disabled,size:e.size,variant:e.variant}),{
relative:null==(r=e.loading)?void 0:r.isLoading},`${t.value.class}`),type:e.type
}),[e.$slots.icon?(Zi(),Yi("div",{key:0,class:et(["mr-2 h-4 w-4",{
invisible:null==(o=e.loading)?void 0:o.isLoading}])
},[Eo(e.$slots,"icon")],2)):ca("",!0),e.loading?(Zi(),Yi("span",{key:1,
class:et({invisible:null==(i=e.loading)?void 0:i.isLoading})
},[Eo(e.$slots,"default")],2)):Eo(e.$slots,"default",{key:2
}),null!=(a=e.loading)&&a.isLoading?(Zi(),Yi("div",eH,[oa(Qn(Kq),{
loadingState:e.loading,size:"xs"},null,8,["loadingState"])])):ca("",!0)],16,Jq)}
}}),nH={abandonedHeadElementChild:{
reason:"Unexpected metadata element after head",
description:"Unexpected element after head. Expected the element before `</head>`",
url:!1},abruptClosingOfEmptyComment:{
reason:"Unexpected abruptly closed empty comment",
description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},
abruptDoctypePublicIdentifier:{
reason:"Unexpected abruptly closed public identifier",
description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"
},abruptDoctypeSystemIdentifier:{
reason:"Unexpected abruptly closed system identifier",
description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"
},absenceOfDigitsInNumericCharacterReference:{
reason:"Unexpected non-digit at start of numeric character reference",
description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"
},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",
description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"
},characterReferenceOutsideUnicodeRange:{
reason:"Unexpected too big numeric character reference",
description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"
},closingOfElementWithOpenChildElements:{
reason:"Unexpected closing tag with open child elements",
description:"Unexpectedly closing tag. Expected other tags to be closed first",
url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",
description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"
},controlCharacterReference:{reason:"Unexpected control character reference",
description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"
},disallowedContentInNoscriptInHead:{
reason:"Disallowed content inside `<noscript>` in `<head>`",
description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",
url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",
description:"Unexpectedly double attribute. Expected attributes to occur only once"
},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",
description:"Unexpected attribute. Expected `>` instead"},
endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",
description:"Unexpected `%c-1`. Expected `>` instead"},
endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",
description:"Unexpected end tag. Expected no end tag or another end tag",url:!1
},eofBeforeTagName:{reason:"Unexpected end of file",
description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{
reason:"Unexpected end of file in CDATA",
description:"Unexpected end of file. Expected `]]>` to close the CDATA"},
eofInComment:{reason:"Unexpected end of file in comment",
description:"Unexpected end of file. Expected `--\x3e` to close the comment"},
eofInDoctype:{reason:"Unexpected end of file in doctype",
description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"
},eofInElementThatCanContainOnlyText:{
reason:"Unexpected end of file in element that can only contain text",
description:"Unexpected end of file. Expected text or a closing tag",url:!1},
eofInScriptHtmlCommentLikeText:{
reason:"Unexpected end of file in comment inside script",
description:"Unexpected end of file. Expected `--\x3e` to close the comment"},
eofInTag:{reason:"Unexpected end of file in tag",
description:"Unexpected end of file. Expected `>` to close the tag"},
incorrectlyClosedComment:{reason:"Incorrectly closed comment",
description:"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},
incorrectlyOpenedComment:{reason:"Incorrectly opened comment",
description:"Unexpected `%c`. Expected `\x3c!--` to open the comment"},
invalidCharacterSequenceAfterDoctypeName:{
reason:"Invalid sequence after doctype name",
description:"Unexpected sequence at `%c`. Expected `public` or `system`"},
invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",
description:"Unexpected `%c`. Expected an ASCII letter instead"},
misplacedDoctype:{reason:"Misplaced doctype",
description:"Unexpected doctype. Expected doctype before head",url:!1},
misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",
description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",
url:!1},missingAttributeValue:{reason:"Missing attribute value",
description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"
},missingDoctype:{reason:"Missing doctype before other content",
description:"Expected a `<!doctype html>` before anything else",url:!1},
missingDoctypeName:{reason:"Missing doctype name",
description:"Unexpected doctype end at `%c`. Expected `html` instead"},
missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",
description:"Unexpected `%c`. Expected identifier for `public` instead"},
missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",
description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'
},missingEndTagName:{reason:"Missing name in end tag",
description:"Unexpected `%c`. Expected an ASCII letter instead"},
missingQuoteBeforeDoctypePublicIdentifier:{
reason:"Missing quote before public identifier in doctype",
description:"Unexpected `%c`. Expected `\"` or `'` instead"},
missingQuoteBeforeDoctypeSystemIdentifier:{
reason:"Missing quote before system identifier in doctype",
description:"Unexpected `%c`. Expected `\"` or `'` instead"},
missingSemicolonAfterCharacterReference:{
reason:"Missing semicolon after character reference",
description:"Unexpected `%c`. Expected `;` instead"},
missingWhitespaceAfterDoctypePublicKeyword:{
reason:"Missing whitespace after public identifier in doctype",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceAfterDoctypeSystemKeyword:{
reason:"Missing whitespace after system identifier in doctype",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceBeforeDoctypeName:{
reason:"Missing whitespace before doctype name",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceBetweenAttributes:{
reason:"Missing whitespace between attributes",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{
reason:"Missing whitespace between public and system identifiers in doctype",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
nestedComment:{reason:"Unexpected nested comment",
description:"Unexpected `\x3c!--`. Expected `--\x3e`"},nestedNoscriptInHead:{
reason:"Unexpected nested `<noscript>` in `<head>`",
description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",
url:!1},nonConformingDoctype:{
reason:"Unexpected non-conforming doctype declaration",
description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',
url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{
reason:"Unexpected trailing slash on start tag of non-void element",
description:"Unexpected `/`. Expected `>` instead"},
noncharacterCharacterReference:{
reason:"Unexpected noncharacter code point referenced by character reference",
description:"Unexpected code point. Do not use noncharacters in HTML"},
noncharacterInInputStream:{reason:"Unexpected noncharacter character",
description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},
nullCharacterReference:{
reason:"Unexpected NULL character referenced by character reference",
description:"Unexpected code point. Do not use NULL characters in HTML"},
openElementsLeftAfterEof:{reason:"Unexpected end of file",
description:"Unexpected end of file. Expected closing tag instead",url:!1},
surrogateCharacterReference:{
reason:"Unexpected surrogate character referenced by character reference",
description:"Unexpected code point. Do not use lone surrogate characters in HTML"
},surrogateInInputStream:{reason:"Unexpected surrogate character",
description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"
},unexpectedCharacterAfterDoctypeSystemIdentifier:{
reason:"Invalid character after system identifier in doctype",
description:"Unexpected character at `%c`. Expected `>`"},
unexpectedCharacterInAttributeName:{
reason:"Unexpected character in attribute name",
description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"
},unexpectedCharacterInUnquotedAttributeValue:{
reason:"Unexpected character in unquoted attribute value",
description:"Unexpected `%c`. Quote the attribute value to include it"},
unexpectedEqualsSignBeforeAttributeName:{
reason:"Unexpected equals sign before attribute name",
description:"Unexpected `%c`. Add an attribute name before it"},
unexpectedNullCharacter:{reason:"Unexpected NULL character",
description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},
unexpectedQuestionMarkInsteadOfTagName:{
reason:"Unexpected question mark instead of tag name",
description:"Unexpected `%c`. Expected an ASCII letter instead"},
unexpectedSolidusInTag:{reason:"Unexpected slash in tag",
description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"
},unknownNamedCharacterReference:{
reason:"Unexpected unknown named character reference",
description:"Unexpected character reference. Expected known named character references"
}
},rH="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",oH=/-[a-z]/g,iH=/%c(?:([-+])(\d+))?/g,aH=/%x/g,sH={
2:!0,1:!1,0:null},lH={};function cH(e,t){
const n=t||lH,r=n.onerror,o=e instanceof AT?e:new AT(e),i=n.fragment?uw:cw,a=String(o),s=i(a,{
sourceCodeLocationInfo:!0,onParseError:n.onerror?function(e){
const t=e.code,i=function(e){return e.replace(oH,uH)
}(t),s=n[i],l=null==s||s,c="number"==typeof l?l:l?1:0;if(c){
const n=nH[i],a=new kT(u(n.reason),{place:{start:{line:e.startLine,
column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,
offset:e.endOffset}},ruleId:t,source:"hast-util-from-html"})
;o.path&&(a.file=o.path,
a.name=o.path+":"+a.name),a.fatal=sH[c],a.note=u(n.description),
a.url=!1===n.url?void 0:rH+t,r(a)}function u(t){
return t.replace(iH,(function(t,n,r){
const o=(r?Number.parseInt(r,10):0)*("-"===n?-1:1);return function(e){
return"`"===e?"` ` `":e}(a.charAt(e.startOffset+o))})).replace(aH,(function(){
return t=a.charCodeAt(e.startOffset),"0x"+t.toString(16).toUpperCase();var t}))}
}:null,scriptingEnabled:!1});return Yv(s,{file:o,space:n.space,verbose:n.verbose
})}function uH(e){return e.charAt(1).toUpperCase()}function dH(e){
const{emitParseErrors:t,...n}={...this.data("settings"),...e}
;this.parser=function(e,r){return cH(e,{...n,onerror:t?function(e){
r.path&&(e.name=r.path+":"+e.name,e.file=r.path),r.messages.push(e)}:void 0})}}
function pH(e){return"text"===(null==e?void 0:e.type)}function hH(e){
return"element"===(null==e?void 0:e.type)}function fH(e){return{type:"text",
value:e}}function mH(){return e=>{wg(e,"element",((e,t,n)=>{
if("element"===(null==n?void 0:n.type)&&"pre"===n.tagName&&"code"===e.tagName){
let t=0;e.children=gH(e),e.children.forEach((e=>{
if("element"===e.type&&"span"===e.tagName){
const n=e.children[e.children.length-1]
;(!pH(n)||pH(n)&&!bH(n))&&(e.children.push({type:"text",value:"\n"}),t++)}
})),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]
}}))}}function gH(e,t=[],n){
const r=()=>t[t.length-1]??(t.push(vH())&&t[t.length-1])
;return e.children.forEach((o=>{if(pH(o)&&bH(o)){const i=o.value.split(/\n/)
;i.forEach(((o,a)=>{n?r().children.push({...e,children:[fH(o)]
}):r().children.push(fH(o)),a!==i.length-1&&t.push(vH())}))
}else hH(o)&&o.children.some(bH)?gH(o,t,!0):r().children.push(o)})),t}
function vH(...e){return{type:"element",tagName:"span",properties:{
class:["line"]},children:e}}function bH(e){
return pH(e)&&/\r?\n/.test(e.value)||hH(e)&&e.children.some(bH)}
function OH(e,t){
const n=("string"==typeof(null==t?void 0:t.maskCredentials)?[t.maskCredentials]:(null==t?void 0:t.maskCredentials)??[]).filter((e=>!(e.length<3))),r=`language-${CP[t.lang]??t.lang}`
;var o;const i=IT().use(dH,{fragment:!0}).use((o=e,()=>e=>{wg(e,"element",(e=>{
"code"===e.tagName&&e.children.push({type:"text",value:o})}))})).use(PP,{
languages:t.languages
}).use((null==t?void 0:t.lineNumbers)?mH:()=>{}).use(Ak).processSync(`<pre><code class="${r}"></code></pre>`).toString()
;return n.length?i.replace(new RegExp(n.join("|"),"g"),(e=>`<span class="credentials">${e}</span>`)):i
}const yH={parse:e=>{const t=JSON.parse(e)
;if("object"!=typeof t)throw Error("Invalid JSON object");return t},
parseSafe(e,t){try{return yH.parse(e)}catch(G$){
return"function"==typeof t?t(G$):t}},stringify:e=>JSON.stringify(e)},wH=e=>{
if("string"==typeof e)return(e=>"string"==typeof e&&!!yH.parseSafe(e,!1))(e)?JSON.stringify(JSON.parse(e),null,2):e
;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{
return function(e){const t=new Set;return JSON.stringify(e,((e,n)=>{
if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}
return n}),2)}(e)}return e.toString()};const kH={
class:"scalar-code-block custom-scroll"},xH={key:0,class:"scalar-code-copy"
},SH=["innerHTML"],_H=Gr({__name:"ScalarCodeBlock",props:{content:{},lang:{
default:"plaintext"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},
copy:{type:Boolean,default:!0}},setup(e){const t=e,n=$a((()=>OH(wH(t.content),{
lang:t.lang.trim(),languages:DP,lineNumbers:t.lineNumbers,
maskCredentials:t.hideCredentials}).slice(5,-6))),{copyToClipboard:r}=(()=>{
const{toast:e}=Hh();return{copyToClipboard:t=>{
navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")
}))}}
})(),o=$a((()=>null!==t.content&&"null"!==t.content&&"404 Not Found"!==t.content))
;return(e,i)=>(Zi(),
Yi("div",kH,[e.copy?(Zi(),Yi("div",xH,[o.value?(Zi(),Yi("button",{key:0,
class:"copy-button",type:"button",
onClick:i[0]||(i[0]=e=>Qn(r)(Qn(wH)(t.content)))},[i[1]||(i[1]=ra("span",{
class:"sr-only"},"Copy content",-1)),oa(Qn(Uq),{icon:"Clipboard",size:"md"
})])):ca("",!0)])):ca("",!0),ra("pre",{class:"scalar-codeblock-pre",
innerHTML:n.value},null,8,SH)]))}});let EH=(e=21)=>{
let t="",n=crypto.getRandomValues(new Uint8Array(e))
;for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]]
;return t};const TH={class:"inline-block min-w-0 flex-1 truncate text-c-1"
},CH=Gr({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{
type:Boolean},style:{},isDeletable:{type:Boolean}},setup(e){const t=pI({
base:["group","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],
variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"}}})
;return(e,n)=>(Zi(),Yi("li",{class:et(Qn(hI)(Qn(t)({active:e.active,
selected:e.selected}),"group"))},[ra("div",{
class:et(["flex size-4 items-center justify-center p-0.75 group-hover:shadow-border",[e.selected?"bg-blue text-b-1":"text-transparent","checkbox"===e.style?"rounded":"rounded-full"]])
},[oa(Qn(Uq),{class:"relative top-[0.5px] size-2.5",icon:"Checkmark",
thickness:"2.5"
})],2),ra("span",TH,[Eo(e.$slots,"default")]),e.isDeletable?(Zi(),Ki(Qn(Uq),{
key:0,class:"text-c-2 opacity-0 group-hover:opacity-100",icon:"Delete",
size:"md",thickness:"1.5",
onClick:n[0]||(n[0]=Us((t=>e.$emit("delete")),["stop"]))})):ca("",!0)],2))}
}),AH=e=>(e=>void 0!==e.options)(e[0]),PH={class:"relative flex"
},DH=["aria-controls","placeholder"],$H=["id"],RH={key:0,
class:"min-w-0 truncate px-2 py-1.5 text-left text-c-2"},NH=Gr({inheritAttrs:!1,
__name:"ScalarComboboxOptions",props:{options:{},modelValue:{},placeholder:{},
open:{type:Boolean},multiselect:{type:Boolean},isDeletable:{type:Boolean}},
emits:["update:modelValue","delete"],setup(e,{emit:t}){var n
;const r=e,o=t,i=EH(),a=$a((()=>AH(r.options)?r.options.flatMap((e=>e.options)):r.options)),s=$a((()=>AH(r.options)?r.options:[{
label:"",options:r.options
}])),l=In(""),c=In((null==(n=r.modelValue)?void 0:n[0])??a.value[0])
;Ci((()=>r.open),(()=>l.value="")),Ci((()=>l.value),(()=>c.value=u.value[0]))
;const u=$a((()=>""===l.value?a.value:a.value.filter((e=>e.label.toLowerCase().includes(l.value.toLowerCase()))))),d=$a({
get:()=>r.modelValue??[],set:e=>e&&o("update:modelValue",e)});function p(e){
r.multiselect?d.value.some((t=>t.id===e.id))?d.value=d.value.filter((t=>t.id!==e.id)):d.value=[...d.value,e]:d.value=[e]
}function h(e){const t=u.value,n=t.findIndex((e=>e.id===c.value.id))+e
;n<0||n>t.length-1||(c.value=t[n])}
return(e,t)=>(Zi(),Yi(Ui,null,[ra("div",PH,[oa(Qn(Uq),{
class:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-c-3",
icon:"Search",size:"sm"}),Sr(ra("input",{
"onUpdate:modelValue":t[0]||(t[0]=e=>l.value=e),"aria-autocomplete":"list",
"aria-controls":Qn(i),
class:"min-w-0 flex-1 rounded-none border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 outline-none",
"data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",
type:"text",
onKeydown:[t[1]||(t[1]=zs(Us((e=>h(1)),["prevent"]),["down"])),t[2]||(t[2]=zs(Us((e=>p(c.value)),["prevent"]),["enter"])),t[3]||(t[3]=zs(Us((e=>h(-1)),["prevent"]),["up"]))]
},null,40,DH),[[$s,l.value]])]),Sr(ra("ul",{id:Qn(i),class:"border-t p-0.75"
},[(Zi(!0),Yi(Ui,null,So(s.value,((n,r)=>(Zi(),Yi(Ui,{key:r
},[n.label&&n.options.some((e=>u.value.some((t=>t.id===e.id))))?(Zi(),
Yi("div",RH,st(n.label),1)):ca("",!0),(Zi(!0),Yi(Ui,null,So(u.value,(r=>{var o
;return Zi(),Yi(Ui,{key:r.id},[n.options.some((e=>e.id===r.id))?(Zi(),Ki(CH,{
key:0,active:(null==(o=c.value)?void 0:o.id)===r.id,
isDeletable:r.isDeletable??e.isDeletable,
selected:d.value.some((e=>e.id===r.id)),
style:Xe(e.multiselect?"checkbox":"radio"),onClick:e=>p(r),
onDelete:t=>e.$emit("delete",r),
onMousedown:t[4]||(t[4]=Us((()=>{}),["prevent"])),onMouseenter:e=>c.value=r},{
default:xr((()=>[sa(st(r.label),1)])),_:2
},1032,["active","isDeletable","selected","style","onClick","onDelete","onMouseenter"])):ca("",!0)],64)
})),128))],64)))),128))],8,$H),[[as,u.value.length]])],64))}
}),MH=Math.min,IH=Math.max,LH=Math.round,jH=Math.floor,BH=e=>({x:e,y:e})
;function QH(e){return["top","bottom"].includes(function(e){
return e.split("-")[0]}(e))?"y":"x"}
const UH=["top","right","bottom","left"],FH=Math.min,zH=Math.max,qH=Math.round,HH=Math.floor,VH=e=>({
x:e,y:e}),ZH={left:"right",right:"left",bottom:"top",top:"bottom"},WH={
start:"end",end:"start"};function XH(e,t,n){return zH(e,FH(t,n))}
function GH(e,t){return"function"==typeof e?e(t):e}function YH(e){
return e.split("-")[0]}function KH(e){return e.split("-")[1]}function JH(e){
return"x"===e?"y":"x"}function eV(e){return"y"===e?"height":"width"}
function tV(e){return["top","bottom"].includes(YH(e))?"y":"x"}function nV(e){
return JH(tV(e))}function rV(e,t,n){void 0===n&&(n=!1)
;const r=KH(e),o=nV(e),i=eV(o)
;let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top"
;return t.reference[i]>t.floating[i]&&(a=sV(a)),[a,sV(a)]}function oV(e){
const t=sV(e);return[iV(e),t,iV(t)]}function iV(e){
return e.replace(/start|end/g,(e=>WH[e]))}function aV(e,t,n,r){const o=KH(e)
;let i=function(e,t,n){
const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"]
;switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":
return t?i:a;default:return[]}}(YH(e),"start"===n,r)
;return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(iV)))),i}function sV(e){
return e.replace(/left|right|bottom|top/g,(e=>ZH[e]))}function lV(e){
return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}
}(e):{top:e,right:e,bottom:e,left:e}}function cV(e){
const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,
right:t+r,bottom:n+o,x:t,y:n}}function uV(e,t,n){let{reference:r,floating:o}=e
;const i=tV(t),a=nV(t),s=eV(a),l=YH(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2
;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,
y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={
x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(KH(t)){case"start":
h[a]-=p*(n&&c?-1:1);break;case"end":h[a]+=p*(n&&c?-1:1)}return h}
async function dV(e,t){var n;void 0===t&&(t={})
;const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=GH(t,e),f=lV(h),m=s[p?"floating"===d?"reference":"floating":d],g=cV(await i.getClippingRect({
element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),
boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,
width:a.floating.width,height:a.floating.height
}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),O=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{
x:1,y:1
},y=cV(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({
elements:s,rect:v,offsetParent:b,strategy:l}):v);return{
top:(g.top-y.top+f.top)/O.y,bottom:(y.bottom-g.bottom+f.bottom)/O.y,
left:(g.left-y.left+f.left)/O.x,right:(y.right-g.right+f.right)/O.x}}
function pV(e){return mV(e)?(e.nodeName||"").toLowerCase():"#document"}
function hV(e){var t
;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}
function fV(e){var t
;return null==(t=(mV(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement
}function mV(e){return e instanceof Node||e instanceof hV(e).Node}
function gV(e){return e instanceof Element||e instanceof hV(e).Element}
function vV(e){return e instanceof HTMLElement||e instanceof hV(e).HTMLElement}
function bV(e){
return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof hV(e).ShadowRoot)
}function OV(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=SV(e)
;return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)
}function yV(e){return["table","td","th"].includes(pV(e))}function wV(e){
const t=kV(),n=SV(e)
;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))
}function kV(){
return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")
}function xV(e){return["html","body","#document"].includes(pV(e))}
function SV(e){return hV(e).getComputedStyle(e)}function _V(e){return gV(e)?{
scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,
scrollTop:e.pageYOffset}}function EV(e){if("html"===pV(e))return e
;const t=e.assignedSlot||e.parentNode||bV(e)&&e.host||fV(e)
;return bV(t)?t.host:t}function TV(e){const t=EV(e)
;return xV(t)?e.ownerDocument?e.ownerDocument.body:e.body:vV(t)&&OV(t)?t:TV(t)}
function CV(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0)
;const o=TV(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=hV(o)
;return i?t.concat(a,a.visualViewport||[],OV(o)?o:[],a.frameElement&&n?CV(a.frameElement):[]):t.concat(o,CV(o,[],n))
}function AV(e){const t=SV(e)
;let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0
;const o=vV(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=LH(n)!==i||LH(r)!==a
;return s&&(n=i,r=a),{width:n,height:r,$:s}}function PV(e){
return gV(e)?e:e.contextElement}function DV(e){const t=PV(e)
;if(!vV(t))return BH(1)
;const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=AV(t)
;let a=(i?LH(n.width):n.width)/r,s=(i?LH(n.height):n.height)/o
;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}
const $V=BH(0);function RV(e){const t=hV(e);return kV()&&t.visualViewport?{
x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$V}
function NV(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1)
;const o=e.getBoundingClientRect(),i=PV(e);let a=BH(1)
;t&&(r?gV(r)&&(a=DV(r)):a=DV(e));const s=function(e,t,n){
return void 0===t&&(t=!1),!(!n||t&&n!==hV(e))&&t}(i,n,r)?RV(i):BH(0)
;let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){
const e=hV(i),t=r&&gV(r)?hV(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){
const e=DV(o),t=o.getBoundingClientRect(),r=SV(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y
;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=hV(o),o=n.frameElement}}return cV({
width:u,height:d,x:l,y:c})}const MV=[":popover-open",":modal"];function IV(e){
return MV.some((t=>{try{return e.matches(t)}catch(G$){return!1}}))}
function LV(e){return NV(fV(e)).left+_V(e).scrollLeft}function jV(e,t,n){let r
;if("viewport"===t)r=function(e,t){const n=hV(e),r=fV(e),o=n.visualViewport
;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height
;const e=kV();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{
width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){
const t=fV(e),n=_V(e),r=e.ownerDocument.body,o=IH(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=IH(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight)
;let a=-n.scrollLeft+LV(e);const s=-n.scrollTop
;return"rtl"===SV(r).direction&&(a+=IH(t.clientWidth,r.clientWidth)-o),{width:o,
height:i,x:a,y:s}}(fV(e));else if(gV(t))r=function(e,t){
const n=NV(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=vV(e)?DV(e):BH(1)
;return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}
}(t,n);else{const n=RV(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return cV(r)}
function BV(e,t){const n=EV(e)
;return!(n===t||!gV(n)||xV(n))&&("fixed"===SV(n).position||BV(n,t))}
function QV(e,t,n){const r=vV(t),o=fV(t),i="fixed"===n,a=NV(e,!0,i,t);let s={
scrollLeft:0,scrollTop:0};const l=BH(0)
;if(r||!r&&!i)if(("body"!==pV(t)||OV(o))&&(s=_V(t)),r){const e=NV(t,!0,i,t)
;l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=LV(o));return{
x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}
}function UV(e){return"static"===SV(e).position}function FV(e,t){
return vV(e)&&"fixed"!==SV(e).position?t?t(e):e.offsetParent:null}
function zV(e,t){const n=hV(e);if(IV(e))return n;if(!vV(e)){let t=EV(e)
;for(;t&&!xV(t);){if(gV(t)&&!UV(t))return t;t=EV(t)}return n}let r=FV(e,t)
;for(;r&&yV(r)&&UV(r);)r=FV(r,t)
;return r&&xV(r)&&UV(r)&&!wV(r)?n:r||function(e){let t=EV(e)
;for(;vV(t)&&!xV(t);){if(wV(t))return t;t=EV(t)}return null}(e)||n}const qV={
convertOffsetParentRelativeRectToViewportRelativeRect:function(e){
let{elements:t,rect:n,offsetParent:r,strategy:o}=e
;const i="fixed"===o,a=fV(r),s=!!t&&IV(t.floating);if(r===a||s&&i)return n
;let l={scrollLeft:0,scrollTop:0},c=BH(1);const u=BH(0),d=vV(r)
;if((d||!d&&!i)&&(("body"!==pV(r)||OV(a))&&(l=_V(r)),vV(r))){const e=NV(r)
;c=DV(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,
height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y
}},getDocumentElement:fV,getClippingRect:function(e){
let{element:t,boundary:n,rootBoundary:r,strategy:o}=e
;const i=[..."clippingAncestors"===n?IV(t)?[]:function(e,t){const n=t.get(e)
;if(n)return n;let r=CV(e,[],!1).filter((e=>gV(e)&&"body"!==pV(e))),o=null
;const i="fixed"===SV(e).position;let a=i?EV(e):e;for(;gV(a)&&!xV(a);){
const t=SV(a),n=wV(a)
;n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||OV(a)&&!n&&BV(e,a))?r=r.filter((e=>e!==a)):o=t,
a=EV(a)}return t.set(e,r),r
}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=jV(t,n,o)
;return e.top=IH(r.top,e.top),
e.right=MH(r.right,e.right),e.bottom=MH(r.bottom,e.bottom),
e.left=IH(r.left,e.left),e}),jV(t,a,o));return{width:s.right-s.left,
height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:zV,
getElementRects:async function(e){
const t=this.getOffsetParent||zV,n=this.getDimensions,r=await n(e.floating)
;return{reference:QV(e.reference,await t(e.floating),e.strategy),floating:{x:0,
y:0,width:r.width,height:r.height}}},getClientRects:function(e){
return Array.from(e.getClientRects())},getDimensions:function(e){
const{width:t,height:n}=AV(e);return{width:t,height:n}},getScale:DV,
isElement:gV,isRTL:function(e){return"rtl"===SV(e).direction}}
;function HV(e,t,n,r){void 0===r&&(r={})
;const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=PV(e),u=o||i?[...c?CV(c):[],...CV(t)]:[]
;u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0
}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null
;const o=fV(e);function i(){var e
;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){
void 0===s&&(s=!1),void 0===l&&(l=1),i()
;const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect()
;if(s||t(),!d||!p)return;const h={
rootMargin:-jH(u)+"px "+-jH(o.clientWidth-(c+d))+"px "+-jH(o.clientHeight-(u+p))+"px "+-jH(c)+"px",
threshold:IH(0,MH(1,l))||1};let f=!0;function m(e){
const t=e[0].intersectionRatio;if(t!==l){if(!f)return a()
;t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}f=!1}try{
r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch(G$){
r=new IntersectionObserver(m,h)}r.observe(e)}(!0),i}(c,n):null;let p,h=-1,f=null
;a&&(f=new ResizeObserver((e=>{let[r]=e
;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),
h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()
})),c&&!l&&f.observe(c),f.observe(t));let m=l?NV(e):null;return l&&function t(){
const r=NV(e)
;!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n()
;m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{
o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)
})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}
const VV=function(e){return void 0===e&&(e=0),{name:"offset",options:e,
async fn(t){var n,r
;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){
const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=YH(n),s=KH(n),l="y"===tV(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=GH(t,e)
;let{mainAxis:p,crossAxis:h,alignmentAxis:f}="number"==typeof d?{mainAxis:d,
crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d}
;return s&&"number"==typeof f&&(h="end"===s?-1*f:f),l?{x:h*u,y:p*c}:{x:p*c,y:h*u
}}(t,e)
;return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{
x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},ZV=function(e){
return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){
const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{
let{x:t,y:n}=e;return{x:t,y:n}}},...l}=GH(e,t),c={x:n,y:r
},u=await dV(t,l),d=tV(YH(o)),p=JH(d);let h=c[p],f=c[d];if(i){
const e="y"===p?"bottom":"right";h=XH(h+u["y"===p?"top":"left"],h,h-u[e])}if(a){
const e="y"===d?"bottom":"right";f=XH(f+u["y"===d?"top":"left"],f,f-u[e])}
const m=s.fn({...t,[p]:h,[d]:f});return{...m,data:{x:m.x-n,y:m.y-r}}}}
},WV=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){
var n,r
;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=GH(e,t)
;if(null!=(n=i.arrow)&&n.alignmentOffset)return{}
;const v=YH(o),b=YH(s)===s,O=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=p||(b||!m?[sV(s)]:oV(s))
;p||"none"===f||y.push(...aV(s,m,f,O));const w=[s,...y],k=await dV(t,g),x=[]
;let S=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&x.push(k[v]),d){
const e=rV(o,a,O);x.push(k[e[0]],k[e[1]])}if(S=[...S,{placement:o,overflows:x}],
!x.every((e=>e<=0))){var _,E
;const e=((null==(_=i.flip)?void 0:_.index)||0)+1,t=w[e];if(t)return{data:{
index:e,overflows:S},reset:{placement:t}}
;let n=null==(E=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement
;if(!n)switch(h){case"bestFit":{var T
;const e=null==(T=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:T[0]
;e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}
return{}}}},XV=(e,t,n)=>{const r=new Map,o={platform:qV,...n},i={...o.platform,
_c:r};return(async(e,t,n)=>{
const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t))
;let c=await a.getElementRects({reference:e,floating:t,strategy:o
}),{x:u,y:d}=uV(c,r,l),p=r,h={},f=0;for(let m=0;m<s.length;m++){
const{name:n,fn:i}=s[m],{x:g,y:v,data:b,reset:O}=await i({x:u,y:d,
initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:a,
elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,h={...h,[n]:{
...h[n],...b}},O&&f<=50&&(f++,"object"==typeof O&&(O.placement&&(p=O.placement),
O.rects&&(c=!0===O.rects?await a.getElementRects({reference:e,floating:t,
strategy:o}):O.rects),({x:u,y:d}=uV(c,p,l))),m=-1)}return{x:u,y:d,placement:p,
strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};function GV(e){
if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el
;return mV(t)&&"#comment"===pV(t)?null:t}return e}function YV(e){
if("undefined"==typeof window)return 1
;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}
function KV(e,t){const n=YV(e);return Math.round(t*n)/n}function JV(e,t,n){
void 0===n&&(n={});const r=n.whileElementsMounted,o=$a((()=>{var e
;return null==(e=Qn(n.open))||e})),i=$a((()=>Qn(n.middleware))),a=$a((()=>{var e
;return null!=(e=Qn(n.placement))?e:"bottom"})),s=$a((()=>{var e
;return null!=(e=Qn(n.strategy))?e:"absolute"})),l=$a((()=>{var e
;return null==(e=Qn(n.transform))||e
})),c=$a((()=>GV(e.value))),u=$a((()=>GV(t.value))),d=In(0),p=In(0),h=In(s.value),f=In(a.value),m=Ln({}),g=In(!1),v=$a((()=>{
const e={position:h.value,left:"0",top:"0"};if(!u.value)return e
;const t=KV(u.value,d.value),n=KV(u.value,p.value);return l.value?{...e,
transform:"translate("+t+"px, "+n+"px)",...YV(u.value)>=1.5&&{
willChange:"transform"}}:{position:h.value,left:t+"px",top:n+"px"}}));let b
;function O(){null!=c.value&&null!=u.value&&XV(c.value,u.value,{
middleware:i.value,placement:a.value,strategy:s.value}).then((e=>{
d.value=e.x,p.value=e.y,
h.value=e.strategy,f.value=e.placement,m.value=e.middlewareData,g.value=!0}))}
function y(){"function"==typeof b&&(b(),b=void 0)}return Ci([i,a,s],O,{
flush:"sync"}),Ci([c,u],(function(){
y(),void 0!==r?null==c.value||null==u.value||(b=r(c.value,u.value,O)):O()}),{
flush:"sync"}),Ci(o,(function(){o.value||(g.value=!1)}),{flush:"sync"
}),ht()&&ft(y),{x:En(d),y:En(p),strategy:En(h),placement:En(f),
middlewareData:En(m),isPositioned:En(g),floatingStyles:v,update:O}}const eZ={
class:"scalar-app"},tZ=Gr({inheritAttrs:!1,__name:"ScalarFloating",props:{
placement:{},resize:{type:Boolean},targetRef:{},middleware:{},isOpen:{
type:Boolean},teleport:{type:[Boolean,String]}},setup(e){
const t=e,n=In(null),r=In(null),o=$a((()=>{var e,n
;return(t.targetRef||(null==(n=null==(e=r.value)?void 0:e.children)?void 0:n[0])||r.value)??void 0
})),i=function(e,t={enabled:In(!0)}){const n=In(0),r=In(0),o=In()
;return typeof ResizeObserver<"u"&&(o.value=new ResizeObserver((([e])=>{var t,o
;e&&(n.value=(null==(t=e.borderBoxSize[0])?void 0:t.inlineSize)??0,
r.value=(null==(o=e.borderBoxSize[0])?void 0:o.blockSize)??0)
}))),Ci([()=>Un(t.enabled),()=>Un(e)],(([e,t])=>{
!t||!o.value||(e?o.value.observe(t):o.value.disconnect())}),{immediate:!0}),{
width:$a((()=>Un(t.enabled)?`${n.value}px`:void 0)),
height:$a((()=>Un(t.enabled)?`${r.value}px`:void 0))}}(o,{
enabled:$a((()=>t.resize))
}),a=$a((()=>"y"===QH(t.placement||"bottom")?i.width.value:void 0)),s=$a((()=>"x"===QH(t.placement||"bottom")?i.height.value:void 0)),{floatingStyles:l,middlewareData:c}=JV(o,n,{
placement:$a((()=>t.placement)),whileElementsMounted:HV,
middleware:$a((()=>[VV(5),WV(),ZV(),...t.middleware??[]]))});return(e,t)=>(Zi(),
Yi(Ui,null,[ra("div",{ref_key:"wrapperRef",ref:r,class:et({
contents:!!e.$slots.default})
},[Eo(e.$slots,"default")],2),e.isOpen?(Zi(),Ki(Nr,{key:0,disabled:!e.teleport,
to:"string"==typeof e.teleport?e.teleport:"body"},[ra("div",eZ,[ra("div",{
ref_key:"floatingRef",ref:n,class:"relative z-overlay",style:Xe(Qn(l))
},[Eo(e.$slots,"floating",{data:Qn(c),height:s.value,width:a.value
})],4)])],8,["disabled","to"])):ca("",!0)],64))}}),nZ=Gr({inheritAttrs:!1,
__name:"ScalarComboboxPopover",props:{placement:{},resize:{type:Boolean},
targetRef:{},isOpen:{type:Boolean},teleport:{type:[Boolean,String]}},
setup(e,{expose:t}){const n=In(null),r=e=>{var t
;["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),
null==(t=e.target)||t.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))
};return t({popoverButtonRef:n}),(e,t)=>(Zi(),Ki(Qn(UN),{as:"template"},{
default:xr((({open:o})=>[oa(Qn(tZ),{isOpen:o??e.isOpen,
placement:e.placement??"bottom-start",resize:e.resize,teleport:e.teleport},{
floating:xr((({width:n})=>[oa(Qn(zN),ha({
class:"relative flex w-40 flex-col rounded border text-sm",focus:"",style:{
width:n}},e.$attrs),{default:xr((({close:n})=>[Eo(e.$slots,"popover",{close:n,
open:o}),t[0]||(t[0]=ra("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-md brightness-lifted"
},null,-1))])),_:2},1040,["style"])])),default:xr((()=>[oa(Qn(FN),{
ref_key:"popoverButtonRef",ref:n,as:"template",onKeydown:r},{
default:xr((()=>[Eo(e.$slots,"default")])),_:3},512)])),_:2
},1032,["isOpen","placement","resize","teleport"])])),_:3}))}}),rZ={
class:"divide-1 divide-y"},oZ={key:1,class:"p-0.75"},iZ=Gr({
__name:"ScalarComboboxMultiselect",props:{options:{},modelValue:{},
placeholder:{},isDeletable:{type:Boolean},placement:{},resize:{type:Boolean},
targetRef:{},isOpen:{type:Boolean},teleport:{type:[Boolean,String]}},
emits:["update:modelValue","delete"],setup(e,{expose:t}){const n=In(null)
;return t({comboboxPopoverRef:n}),(e,t)=>(Zi(),Ki(nZ,{
ref_key:"comboboxPopoverRef",ref:n,isOpen:e.isOpen,
placement:e.placement??"bottom-start",resize:e.resize,teleport:e.teleport},{
popover:xr((({open:n})=>[ra("div",rZ,[e.options&&e.options.length?(Zi(),Ki(NH,{
key:0,isDeletable:e.isDeletable,modelValue:e.modelValue,multiselect:"",open:n,
options:e.options,placeholder:e.placeholder,
onDelete:t[0]||(t[0]=t=>e.$emit("delete",t)),
"onUpdate:modelValue":t[1]||(t[1]=t=>e.$emit("update:modelValue",t))
},null,8,["isDeletable","modelValue","open","options","placeholder"])):ca("",!0),e.$slots.actions?(Zi(),
Yi("div",oZ,[Eo(e.$slots,"actions")])):ca("",!0)])])),
default:xr((()=>[Eo(e.$slots,"default")])),_:3
},8,["isOpen","placement","resize","teleport"]))}}),aZ=["innerHTML"],sZ=Gr({
__name:"ScalarMarkdown",props:{value:{},withImages:{type:Boolean,default:!1},
transform:{},transformType:{},clamp:{type:[String,Boolean]}},setup(e){
const t=e,n=$a((()=>function(e,t){
const n=(null==t?void 0:t.removeTags)??[],r=[...$w.tagNames??[],...(null==t?void 0:t.allowTags)??[]].filter((e=>!n.includes(e)))
;return IT().use(FE).use(dE).use($P,{transform:null==t?void 0:t.transform,
type:null==t?void 0:t.transformType}).use(sT,{allowDangerousHtml:!0
}).use(Pw).use(Qw,{...$w,clobberPrefix:"",tagNames:r,attributes:{
...$w.attributes,abbr:["title"]}}).use(PP,{languages:DP,detect:!0}).use(_g,{
target:"_blank"}).use(Jg).use(Ak).processSync(e).toString()}(t.value??"",{
removeTags:t.withImages?[]:["img","picture"],transform:t.transform,
transformType:t.transformType})))
;return fo((async()=>await(e=>new Promise((t=>setTimeout(t,e))))(1))),
(e,t)=>(Zi(),Yi("div",{class:et(["markdown text-ellipsis",{
"line-clamp-4":e.clamp}]),style:Xe({
"-webkit-line-clamp":"string"==typeof e.clamp?e.clamp:void 0}),innerHTML:n.value
},null,14,aZ))}}),lZ=Gr({inheritAttrs:!1,__name:"ScalarDropdown",props:{
placement:{},resize:{type:Boolean},targetRef:{},isOpen:{type:Boolean},teleport:{
type:[Boolean,String]},static:{type:Boolean,default:!1},staticOpen:{
type:Boolean,default:!0}},setup:e=>(e,t)=>(Zi(),Ki(Qn(PN),null,{
default:xr((({open:n})=>[oa(Qn(tZ),{isOpen:e.static?e.staticOpen:n??e.isOpen,
placement:e.placement??"bottom-start",resize:e.resize,targetRef:e.targetRef,
teleport:e.teleport},{floating:xr((({width:n})=>[oa(Qn($N),ha({
class:"relative flex w-56 flex-col p-0.75"},e.$attrs,{static:e.static,style:{
width:n}}),{default:xr((()=>[Eo(e.$slots,"items"),t[0]||(t[0]=ra("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"
},null,-1))])),_:2},1040,["static","style"])])),
default:xr((()=>[e.static?ca("",!0):(Zi(),Ki(Qn(DN),{key:0,as:"template"},{
default:xr((()=>[Eo(e.$slots,"default")])),_:3}))])),_:2
},1032,["isOpen","placement","resize","targetRef","teleport"])])),_:3}))}),cZ={
class:"-mx-0.75 my-0.75 h-px bg-border"}
;const uZ=Qq({},[["render",function(e,t){return Zi(),Yi("div",cZ)}]]),dZ=Gr({
__name:"ScalarDropdownItem",props:{disabled:{type:Boolean}},emits:["click"],
setup(e){const t=pI({
base:["h-8 min-w-0 items-center gap-1.5 rounded px-2.5 py-1.5 text-left","truncate text-sm text-c-1","cursor-pointer hover:bg-b-2 hover:text-c-1"],
variants:{disabled:{true:"pointer-events-none text-c-3"},active:{
true:"bg-b-2 text-c-1"}}});return(e,n)=>(Zi(),Ki(Qn(RN),{disabled:e.disabled},{
default:xr((({active:r})=>[ra("button",{
class:et(["item",Qn(hI)("scalar-dropdown-item",Qn(t)({active:r,
disabled:e.disabled}))]),type:"button",
onClick:n[0]||(n[0]=t=>e.$emit("click",t))
},[Eo(e.$slots,"default",{},void 0,!0)],2)])),_:3},8,["disabled"]))}
}),pZ=Qq(dZ,[["__scopeId","data-v-a4980d5e"]]),hZ=Gr({inheritAttrs:!1,
__name:"ScalarListbox",props:{multiple:{type:Boolean,default:!1},options:{},
modelValue:{},fullWidth:{type:Boolean},id:{},label:{},placement:{},resize:{
type:Boolean},isOpen:{type:Boolean},teleport:{type:[Boolean,String]}},
emits:["update:modelValue"],setup(e){const t=pI({
base:["group","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","first-of-type:mt-0.75 last-of-type:mb-0.75","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],
variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"},disabled:{
true:"pointer-events-none opacity-50"}}});return(e,n)=>(Zi(),Ki(Qn(wN),{
as:"div",class:et([{"w-full":e.fullWidth},"text-sm"]),modelValue:e.modelValue,
multiple:e.multiple,
"onUpdate:modelValue":n[0]||(n[0]=t=>e.$emit("update:modelValue",t))},{
default:xr((({open:r})=>[e.label?(Zi(),Ki(Qn(kN),{key:0,class:"sr-only"},{
default:xr((()=>[sa(st(e.label),1)])),_:1})):ca("",!0),oa(Qn(tZ),{
isOpen:r??e.isOpen,placement:e.placement??"bottom-start",resize:e.resize,
teleport:e.teleport},{floating:xr((({width:r})=>[oa(Qn(SN),ha({
class:"relative flex w-40 flex-col rounded border p-0.75",style:{width:r}
},e.$attrs),{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.options,(e=>(Zi(),Ki(Qn(_N),{key:e.id,
as:"template",disabled:e.disabled,value:e},{
default:xr((({active:n,selected:r})=>[ra("li",{class:et(Qn(hI)(Qn(t)({active:n,
selected:r,disabled:e.disabled})))},[ra("div",{
class:et(["flex size-4 items-center justify-center rounded-full p-[3px] group-hover:shadow-border",r?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"relative top-[0.5px] size-2.5",icon:"Checkmark",
thickness:"2.5"})],2),ra("span",{
class:et(["inline-block min-w-0 flex-1 truncate",e.color?e.color:"text-c-1"])
},st(e.label),3)],2)])),_:2
},1032,["disabled","value"])))),128)),n[1]||(n[1]=ra("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-md brightness-lifted"
},null,-1))])),_:2},1040,["style"])])),default:xr((()=>[oa(Qn(xN),{id:e.id,
as:"template",
class:"justify-start focus:outline-none focus-visible:ring-1 focus-visible:ring-c-accent"
},{default:xr((()=>[Eo(e.$slots,"default")])),_:3},8,["id"])])),_:2
},1032,["isOpen","placement","resize","teleport"])])),_:3
},8,["class","modelValue","multiple"]))}});function fZ(e,t,n){
let{reference:r,floating:o}=e
;const i=tV(t),a=nV(t),s=eV(a),l=YH(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2
;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,
y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={
x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(KH(t)){case"start":
h[a]-=p*(n&&c?-1:1);break;case"end":h[a]+=p*(n&&c?-1:1)}return h}
async function mZ(e,t){var n;void 0===t&&(t={})
;const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=GH(t,e),f=lV(h),m=s[p?"floating"===d?"reference":"floating":d],g=cV(await i.getClippingRect({
element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),
boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,
width:a.floating.width,height:a.floating.height
}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),O=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{
x:1,y:1
},y=cV(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({
elements:s,rect:v,offsetParent:b,strategy:l}):v);return{
top:(g.top-y.top+f.top)/O.y,bottom:(y.bottom-g.bottom+f.bottom)/O.y,
left:(g.left-y.left+f.left)/O.x,right:(y.right-g.right+f.right)/O.x}}
function gZ(e,t){return{top:e.top-t.height,right:e.right-t.width,
bottom:e.bottom-t.height,left:e.left-t.width}}function vZ(e){
return UH.some((t=>e[t]>=0))}function bZ(e){
return wZ(e)?(e.nodeName||"").toLowerCase():"#document"}function OZ(e){var t
;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}
function yZ(e){var t
;return null==(t=(wZ(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement
}function wZ(e){return e instanceof Node||e instanceof OZ(e).Node}
function kZ(e){return e instanceof Element||e instanceof OZ(e).Element}
function xZ(e){return e instanceof HTMLElement||e instanceof OZ(e).HTMLElement}
function SZ(e){
return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof OZ(e).ShadowRoot)
}function _Z(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=DZ(e)
;return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)
}function EZ(e){return["table","td","th"].includes(bZ(e))}function TZ(e){
return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(G$){
return!1}}))}function CZ(e){const t=AZ(),n=kZ(e)?DZ(e):e
;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))
}function AZ(){
return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")
}function PZ(e){return["html","body","#document"].includes(bZ(e))}
function DZ(e){return OZ(e).getComputedStyle(e)}function $Z(e){return kZ(e)?{
scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,
scrollTop:e.scrollY}}function RZ(e){if("html"===bZ(e))return e
;const t=e.assignedSlot||e.parentNode||SZ(e)&&e.host||yZ(e)
;return SZ(t)?t.host:t}function NZ(e){const t=RZ(e)
;return PZ(t)?e.ownerDocument?e.ownerDocument.body:e.body:xZ(t)&&_Z(t)?t:NZ(t)}
function MZ(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0)
;const o=NZ(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=OZ(o);if(i){
const e=IZ(a);return t.concat(a,a.visualViewport||[],_Z(o)?o:[],e&&n?MZ(e):[])}
return t.concat(o,MZ(o,[],n))}function IZ(e){
return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}
function LZ(e){const t=DZ(e)
;let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0
;const o=xZ(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=qH(n)!==i||qH(r)!==a
;return s&&(n=i,r=a),{width:n,height:r,$:s}}function jZ(e){
return kZ(e)?e:e.contextElement}function BZ(e){const t=jZ(e)
;if(!xZ(t))return VH(1)
;const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=LZ(t)
;let a=(i?qH(n.width):n.width)/r,s=(i?qH(n.height):n.height)/o
;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}
const QZ=VH(0);function UZ(e){const t=OZ(e);return AZ()&&t.visualViewport?{
x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:QZ}
function FZ(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1)
;const o=e.getBoundingClientRect(),i=jZ(e);let a=VH(1)
;t&&(r?kZ(r)&&(a=BZ(r)):a=BZ(e));const s=function(e,t,n){
return void 0===t&&(t=!1),!(!n||t&&n!==OZ(e))&&t}(i,n,r)?UZ(i):VH(0)
;let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){
const e=OZ(i),t=r&&kZ(r)?OZ(r):r;let n=e,o=IZ(n);for(;o&&r&&t!==n;){
const e=BZ(o),t=o.getBoundingClientRect(),r=DZ(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y
;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=OZ(o),o=IZ(n)}}return cV({width:u,
height:d,x:l,y:c})}function zZ(e){return FZ(yZ(e)).left+$Z(e).scrollLeft}
function qZ(e,t,n){let r;if("viewport"===t)r=function(e,t){
const n=OZ(e),r=yZ(e),o=n.visualViewport
;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height
;const e=AZ();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{
width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){
const t=yZ(e),n=$Z(e),r=e.ownerDocument.body,o=zH(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=zH(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight)
;let a=-n.scrollLeft+zZ(e);const s=-n.scrollTop
;return"rtl"===DZ(r).direction&&(a+=zH(t.clientWidth,r.clientWidth)-o),{width:o,
height:i,x:a,y:s}}(yZ(e));else if(kZ(t))r=function(e,t){
const n=FZ(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=xZ(e)?BZ(e):VH(1)
;return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}
}(t,n);else{const n=UZ(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return cV(r)}
function HZ(e,t){const n=RZ(e)
;return!(n===t||!kZ(n)||PZ(n))&&("fixed"===DZ(n).position||HZ(n,t))}
function VZ(e,t,n){const r=xZ(t),o=yZ(t),i="fixed"===n,a=FZ(e,!0,i,t);let s={
scrollLeft:0,scrollTop:0};const l=VH(0)
;if(r||!r&&!i)if(("body"!==bZ(t)||_Z(o))&&(s=$Z(t)),r){const e=FZ(t,!0,i,t)
;l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=zZ(o));return{
x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}
}function ZZ(e){return"static"===DZ(e).position}function WZ(e,t){
return xZ(e)&&"fixed"!==DZ(e).position?t?t(e):e.offsetParent:null}
function XZ(e,t){const n=OZ(e);if(TZ(e))return n;if(!xZ(e)){let t=RZ(e)
;for(;t&&!PZ(t);){if(kZ(t)&&!ZZ(t))return t;t=RZ(t)}return n}let r=WZ(e,t)
;for(;r&&EZ(r)&&ZZ(r);)r=WZ(r,t)
;return r&&PZ(r)&&ZZ(r)&&!CZ(r)?n:r||function(e){let t=RZ(e)
;for(;xZ(t)&&!PZ(t);){if(CZ(t))return t;if(TZ(t))return null;t=RZ(t)}return null
}(e)||n}const GZ={
convertOffsetParentRelativeRectToViewportRelativeRect:function(e){
let{elements:t,rect:n,offsetParent:r,strategy:o}=e
;const i="fixed"===o,a=yZ(r),s=!!t&&TZ(t.floating);if(r===a||s&&i)return n
;let l={scrollLeft:0,scrollTop:0},c=VH(1);const u=VH(0),d=xZ(r)
;if((d||!d&&!i)&&(("body"!==bZ(r)||_Z(a))&&(l=$Z(r)),xZ(r))){const e=FZ(r)
;c=BZ(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,
height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y
}},getDocumentElement:yZ,getClippingRect:function(e){
let{element:t,boundary:n,rootBoundary:r,strategy:o}=e
;const i=[..."clippingAncestors"===n?TZ(t)?[]:function(e,t){const n=t.get(e)
;if(n)return n;let r=MZ(e,[],!1).filter((e=>kZ(e)&&"body"!==bZ(e))),o=null
;const i="fixed"===DZ(e).position;let a=i?RZ(e):e;for(;kZ(a)&&!PZ(a);){
const t=DZ(a),n=CZ(a)
;n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||_Z(a)&&!n&&HZ(e,a))?r=r.filter((e=>e!==a)):o=t,
a=RZ(a)}return t.set(e,r),r
}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=qZ(t,n,o)
;return e.top=zH(r.top,e.top),
e.right=FH(r.right,e.right),e.bottom=FH(r.bottom,e.bottom),
e.left=zH(r.left,e.left),e}),qZ(t,a,o));return{width:s.right-s.left,
height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:XZ,
getElementRects:async function(e){
const t=this.getOffsetParent||XZ,n=this.getDimensions,r=await n(e.floating)
;return{reference:VZ(e.reference,await t(e.floating),e.strategy),floating:{x:0,
y:0,width:r.width,height:r.height}}},getClientRects:function(e){
return Array.from(e.getClientRects())},getDimensions:function(e){
const{width:t,height:n}=LZ(e);return{width:t,height:n}},getScale:BZ,
isElement:kZ,isRTL:function(e){return"rtl"===DZ(e).direction}}
;function YZ(e,t,n,r){void 0===r&&(r={})
;const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=jZ(e),u=o||i?[...c?MZ(c):[],...MZ(t)]:[]
;u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0
}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null
;const o=yZ(e);function i(){var e
;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){
void 0===s&&(s=!1),void 0===l&&(l=1),i()
;const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect()
;if(s||t(),!d||!p)return;const h={
rootMargin:-HH(u)+"px "+-HH(o.clientWidth-(c+d))+"px "+-HH(o.clientHeight-(u+p))+"px "+-HH(c)+"px",
threshold:zH(0,FH(1,l))||1};let f=!0;function m(e){
const t=e[0].intersectionRatio;if(t!==l){if(!f)return a()
;t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}f=!1}try{
r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch(G$){
r=new IntersectionObserver(m,h)}r.observe(e)}(!0),i}(c,n):null;let p,h=-1,f=null
;a&&(f=new ResizeObserver((e=>{let[r]=e
;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),
h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()
})),c&&!l&&f.observe(c),f.observe(t));let m=l?FZ(e):null;return l&&function t(){
const r=FZ(e)
;!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n()
;m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{
o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)
})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}
const KZ=function(e){return void 0===e&&(e=0),{name:"offset",options:e,
async fn(t){var n,r
;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){
const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=YH(n),s=KH(n),l="y"===tV(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=GH(t,e)
;let{mainAxis:p,crossAxis:h,alignmentAxis:f}="number"==typeof d?{mainAxis:d,
crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d}
;return s&&"number"==typeof f&&(h="end"===s?-1*f:f),l?{x:h*u,y:p*c}:{x:p*c,y:h*u
}}(t,e)
;return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{
x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},JZ=function(e){
return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){
const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{
let{x:t,y:n}=e;return{x:t,y:n}}},...l}=GH(e,t),c={x:n,y:r
},u=await mZ(t,l),d=tV(YH(o)),p=JH(d);let h=c[p],f=c[d];if(i){
const e="y"===p?"bottom":"right";h=XH(h+u["y"===p?"top":"left"],h,h-u[e])}if(a){
const e="y"===d?"bottom":"right";f=XH(f+u["y"===d?"top":"left"],f,f-u[e])}
const m=s.fn({...t,[p]:h,[d]:f});return{...m,data:{x:m.x-n,y:m.y-r}}}}
},eW=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){
var n,r
;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=GH(e,t)
;if(null!=(n=i.arrow)&&n.alignmentOffset)return{}
;const v=YH(o),b=tV(s),O=YH(s)===s,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=p||(O||!m?[sV(s)]:oV(s)),k="none"!==f
;!p&&k&&w.push(...aV(s,m,f,y));const x=[s,...w],S=await mZ(t,g),_=[]
;let E=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&_.push(S[v]),d){
const e=rV(o,a,y);_.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:o,overflows:_}],
!_.every((e=>e<=0))){var T,C
;const e=((null==(T=i.flip)?void 0:T.index)||0)+1,t=x[e];if(t)return{data:{
index:e,overflows:E},reset:{placement:t}}
;let n=null==(C=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement
;if(!n)switch(h){case"bestFit":{var A;const e=null==(A=E.filter((e=>{if(k){
const t=tV(e.placement);return t===b||"y"===t}return!0
})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:A[0]
;e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}
return{}}}},tW=function(e){return void 0===e&&(e={}),{name:"size",options:e,
async fn(t){
const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=GH(e,t),l=await mZ(t,s),c=YH(n),u=KH(n),d="y"===tV(n),{width:p,height:h}=r.floating
;let f,m
;"top"===c||"bottom"===c?(f=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,
f="end"===u?"top":"bottom")
;const g=h-l.top-l.bottom,v=p-l.left-l.right,b=FH(h-l[f],g),O=FH(p-l[m],v),y=!t.middlewareData.shift
;let w=b,k=O;if(d?k=u||y?FH(O,v):v:w=u||y?FH(b,g):g,y&&!u){
const e=zH(l.left,0),t=zH(l.right,0),n=zH(l.top,0),r=zH(l.bottom,0)
;d?k=p-2*(0!==e||0!==t?e+t:zH(l.left,l.right)):w=h-2*(0!==n||0!==r?n+r:zH(l.top,l.bottom))
}await a({...t,availableWidth:k,availableHeight:w})
;const x=await o.getDimensions(i.floating);return p!==x.width||h!==x.height?{
reset:{rects:!0}}:{}}}},nW=function(e){return void 0===e&&(e={}),{name:"hide",
options:e,async fn(t){
const{rects:n}=t,{strategy:r="referenceHidden",...o}=GH(e,t);switch(r){
case"referenceHidden":{const e=gZ(await mZ(t,{...o,elementContext:"reference"
}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:vZ(e)}}}
case"escaped":{const e=gZ(await mZ(t,{...o,altBoundary:!0}),n.floating);return{
data:{escapedOffsets:e,escaped:vZ(e)}}}default:return{}}}}},rW=e=>({
name:"arrow",options:e,async fn(t){
const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=GH(e,t)||{}
;if(null==c)return{};const d=lV(u),p={x:n,y:r
},h=nV(o),f=eV(h),m=await a.getDimensions(c),g="y"===h,v=g?"top":"left",b=g?"bottom":"right",O=g?"clientHeight":"clientWidth",y=i.reference[f]+i.reference[h]-p[h]-i.floating[f],w=p[h]-i.reference[h],k=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c))
;let x=k?k[O]:0
;x&&await(null==a.isElement?void 0:a.isElement(k))||(x=s.floating[O]||i.floating[f])
;const S=y/2-w/2,_=x/2-m[f]/2-1,E=FH(d[v],_),T=FH(d[b],_),C=E,A=x-m[f]-T,P=x/2-m[f]/2+S,D=XH(C,P,A),$=!l.arrow&&null!=KH(o)&&P!==D&&i.reference[f]/2-(P<C?E:T)-m[f]/2<0,R=$?P<C?P-C:P-A:0
;return{[h]:p[h]+R,data:{[h]:D,centerOffset:P-D-R,...$&&{alignmentOffset:R}},
reset:$}}}),oW=function(e){return void 0===e&&(e={}),{options:e,fn(t){
const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=GH(e,t),u={
x:n,y:r},d=tV(o),p=JH(d);let h=u[p],f=u[d]
;const m=GH(s,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,
crossAxis:0,...m};if(l){
const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+g.mainAxis,n=i.reference[p]+i.reference[e]-g.mainAxis
;h<t?h=t:h>n&&(h=n)}if(c){var v,b
;const e="y"===p?"width":"height",t=["top","left"].includes(YH(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(b=a.offset)?void 0:b[d])||0)-(t?g.crossAxis:0)
;f<n?f=n:f>r&&(f=r)}return{[p]:h,[d]:f}}}},iW=(e,t,n)=>{const r=new Map,o={
platform:GZ,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{
const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t))
;let c=await a.getElementRects({reference:e,floating:t,strategy:o
}),{x:u,y:d}=fZ(c,r,l),p=r,h={},f=0;for(let m=0;m<s.length;m++){
const{name:n,fn:i}=s[m],{x:g,y:v,data:b,reset:O}=await i({x:u,y:d,
initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:a,
elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,h={...h,[n]:{
...h[n],...b}},O&&f<=50&&(f++,"object"==typeof O&&(O.placement&&(p=O.placement),
O.rects&&(c=!0===O.rects?await a.getElementRects({reference:e,floating:t,
strategy:o}):O.rects),({x:u,y:d}=fZ(c,p,l))),m=-1)}return{x:u,y:d,placement:p,
strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};function aW(e){
if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el
;return wZ(t)&&"#comment"===bZ(t)?null:t}return e}function sW(e){
return"function"==typeof e?e():Qn(e)}function lW(e){
if("undefined"==typeof window)return 1
;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}
function cW(e,t){const n=lW(e);return Math.round(t*n)/n}function uW(e,t){
const n=Symbol("string"!=typeof e||t?t:`${e}Context`);return[t=>{const r=ti(n,t)
;if(r||null===r)return r
;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)
},e=>(ei(n,e),e)]}function dW(e,t,n){
const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,
detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}
function pW(e){return!!ht()&&(ft(e),!0)}function hW(e){
return"function"==typeof e?e():Qn(e)}
const fW=typeof window<"u"&&typeof document<"u"
;typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope)
;const mW=Object.prototype.toString,gW=e=>"[object Object]"===mW.call(e),vW=()=>{}
;function bW(e,t=1e4){return Hn(((n,r)=>{let o,i=hW(e);return pW((()=>{
clearTimeout(o)})),{get:()=>(n(),i),set(n){
i=n,r(),clearTimeout(o),o=setTimeout((()=>{i=hW(e),r()}),hW(t))}}}))}
function OW(e,t,n={}){const{immediate:r=!0}=n,o=In(!1);let i=null;function a(){
i&&(clearTimeout(i),i=null)}function s(){o.value=!1,a()}function l(...n){
a(),o.value=!0,i=setTimeout((()=>{o.value=!1,i=null,e(...n)}),hW(t))}
return r&&(o.value=!0,fW&&l()),pW(s),{isPending:_n(o),start:l,stop:s}}
function yW(e){var t;const n=hW(e);return null!=(t=null==n?void 0:n.$el)?t:n}
const wW=fW?window:void 0;function kW(...e){let t,n,r,o
;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,o]=e,
t=wW):[t,n,r,o]=e,!t)return vW
;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{
i.forEach((e=>e())),i.length=0},s=Ci((()=>[yW(t),hW(o)]),(([e,t])=>{
if(a(),!e)return;const o=gW(t)?{...t}:t
;i.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),
()=>e.removeEventListener(t,n,r)))(e,t,n,o))))))}),{immediate:!0,flush:"post"
}),l=()=>{s(),a()};return pW(l),l}function xW(...e){let t,n,r={}
;3===e.length?(t=e[0],
n=e[1],r=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],
r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0])
;const{target:o=wW,eventName:i="keydown",passive:a=!1,dedupe:s=!1}=r,l=function(e){
return"function"==typeof e?e:"string"==typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0
}(t);return kW(o,i,(e=>{e.repeat&&hW(s)||l(e)&&n(e)}),a)}
function SW(e,t,n,r={}){var o,i,a
;const{clone:s=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:p}=r,h=ba(),f=n||(null==h?void 0:h.emit)||(null==(o=null==h?void 0:h.$emit)?void 0:o.bind(h))||(null==(a=null==(i=null==h?void 0:h.proxy)?void 0:i.$emit)?void 0:a.bind(null==h?void 0:h.proxy))
;let m=c;m=m||`update:${t.toString()}`
;const g=e=>s?"function"==typeof s?s(e):function(e){
return JSON.parse(JSON.stringify(e))
}(e):e,v=()=>(e=>typeof e<"u")(e[t])?g(e[t]):d,b=e=>{p?p(e)&&f(m,e):f(m,e)}
;if(l){const n=In(v());let r=!1;return Ci((()=>e[t]),(e=>{r||(r=!0,n.value=g(e),
hr((()=>r=!1)))})),Ci(n,(n=>{!r&&(n!==e[t]||u)&&b(n)}),{deep:u}),n}return $a({
get:()=>v(),set(e){b(e)}})}function _W(e){
return e?e.flatMap((e=>e.type===Ui?_W(e.children):[e])):[]}
const[EW,TW]=uW("ConfigProvider");function CW(e){
const t=ba(),n=Object.keys((null==t?void 0:t.type.props)??{}).reduce(((e,n)=>{
const r=(null==t?void 0:t.type.props[n]).default;return void 0!==r&&(e[n]=r),e
}),{}),r=Xn(e);return $a((()=>{const e={},o=(null==t?void 0:t.vnode.props)??{}
;return Object.keys(o).forEach((t=>{e[Le(t)]=o[t]})),Object.keys({...n,...e
}).reduce(((e,t)=>(void 0!==r.value[t]&&(e[t]=r.value[t]),e)),{})}))}
function AW(e,t){const n=CW(e),r=t?function(e){
const t=ba(),n=null==t?void 0:t.type.emits,r={}
;return null!=n&&n.length||console.warn(`No emitted event found. Please check component: ${null==t?void 0:t.type.__name}`),
null==n||n.forEach((t=>{r[Ue(Le(t))]=(...n)=>e(t,...n)})),r}(t):{}
;return $a((()=>({...n.value,...r})))}function PW(){
const e=ba(),t=In(),n=$a((()=>{var e,n
;return["#text","#comment"].includes(null==(e=t.value)?void 0:e.$el.nodeName)?null==(n=t.value)?void 0:n.$el.nextElementSibling:yW(t)
})),r=Object.assign({},e.exposed),o={}
;for(const i in e.props)Object.defineProperty(o,i,{enumerable:!0,
configurable:!0,get:()=>e.props[i]})
;if(Object.keys(r).length>0)for(const i in r)Object.defineProperty(o,i,{
enumerable:!0,configurable:!0,get:()=>r[i]})
;return Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,
get:()=>e.vnode.el}),e.exposed=o,{forwardRef:function(n){
t.value=n,!(n instanceof Element)&&n&&(Object.defineProperty(o,"$el",{
enumerable:!0,configurable:!0,get:()=>n.$el}),e.exposed=o)},currentRef:t,
currentElement:n}}function DW(e,t){const n=bW(!1,300),r=In(null),o=function(){
const e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);const r=()=>t(n)
;return pW(r),{off:r}},off:t,
trigger:(...t)=>Promise.all(Array.from(e).map((e=>e(...t))))}}();function i(){
r.value=null,n.value=!1}function a(e,t){const o=e.currentTarget,i={x:e.clientX,
y:e.clientY},a=function(e,t){
const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x)
;switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:
return"top";case r:return"bottom";default:throw new Error("unreachable")}
}(i,o.getBoundingClientRect()),s=function(e,t,n=5){const r=[];switch(t){
case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":
r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,
y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,
y:e.y+n})}return r}(i,a),l=function(e){const{top:t,right:n,bottom:r,left:o}=e
;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]
}(t.getBoundingClientRect()),c=function(e){const t=e.slice()
;return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),
function(e){if(e.length<=1)return e.slice();const t=[]
;for(let r=0;r<e.length;r++){const n=e[r];for(;t.length>=2;){
const e=t[t.length-1],r=t[t.length-2]
;if(!((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x)))break;t.pop()}t.push(n)}t.pop()
;const n=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;n.length>=2;){
const e=n[n.length-1],r=n[n.length-2]
;if(!((e.x-r.x)*(t.y-r.y)>=(e.y-r.y)*(t.x-r.x)))break;n.pop()}n.push(t)}
return n.pop(),
1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)
}([...s,...l]);r.value=c,n.value=!0}return Ti((n=>{if(e.value&&t.value){
const r=e=>a(e,t.value),o=t=>a(t,e.value)
;e.value.addEventListener("pointerleave",r),
t.value.addEventListener("pointerleave",o),n((()=>{var n,i
;null==(n=e.value)||n.removeEventListener("pointerleave",r),
null==(i=t.value)||i.removeEventListener("pointerleave",o)}))}})),Ti((n=>{
if(r.value){const a=n=>{var a,s;if(!r.value)return;const l=n.target,c={
x:n.clientX,y:n.clientY
},u=(null==(a=e.value)?void 0:a.contains(l))||(null==(s=t.value)?void 0:s.contains(l)),d=!function(e,t){
const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){
const e=t[i].x,s=t[i].y,l=t[a].x,c=t[a].y
;s>r!=c>r&&n<(l-e)*(r-s)/(c-s)+e&&(o=!o)}return o
}(c,r.value),p=l.hasAttribute("data-grace-area-trigger")
;u?i():(d||p)&&(i(),o.trigger())}
;document.addEventListener("pointermove",a),n((()=>document.removeEventListener("pointermove",a)))
}})),{isPointerInTransit:n,onPointerExit:o.on}}let $W=0;function RW(e,t){
const n=In(e);return{state:n,dispatch:e=>{n.value=function(e){
return t[n.value][e]??n.value}(e)}}}const NW=Gr({name:"PrimitiveSlot",
inheritAttrs:!1,setup:(e,{attrs:t,slots:n})=>()=>{var e,r
;if(!n.default)return null
;const o=_W(n.default()),i=o.findIndex((e=>e.type!==zi));if(-1===i)return o
;const a=o[i];null==(e=a.props)||delete e.ref;const s=a.props?ha(t,a.props):t
;t.class&&null!=(r=a.props)&&r.class&&delete a.props.class;const l=aa(a,s)
;for(const t in s)t.startsWith("on")&&(l.props||(l.props={}),l.props[t]=s[t])
;return 1===o.length?l:(o[i]=l,o)}}),MW=Gr({name:"Primitive",inheritAttrs:!1,
props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}
},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as
;return"string"==typeof r&&["area","img","input"].includes(r)?()=>Ra(r,t):"template"!==r?()=>Ra(e.as,t,{
default:n.default}):()=>Ra(NW,t,{default:n.default})}});function IW(e){
return e&&getComputedStyle(e).animationName||"none"}const LW=Gr({
name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{
type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var r
;const{present:o,forceMount:i}=Vn(e),a=In(),{isPresent:s}=function(e,t){
const n=In({}),r=In("none"),o=e.value?"mounted":"unmounted",{state:i,dispatch:a}=RW(o,{
mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},
unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{
MOUNT:"mounted"}}),s=e=>{var n;if(fW){const r=new CustomEvent(e,{bubbles:!1,
cancelable:!1});null==(n=t.value)||n.dispatchEvent(r)}};Ci(e,(async(e,o)=>{var i
;const l=o!==e;if(await hr(),l){const l=r.value,c=IW(t.value)
;e?(a("MOUNT"),s("enter"),
"none"===c&&s("after-enter")):"none"===c||"none"===(null==(i=n.value)?void 0:i.display)?(a("UNMOUNT"),
s("leave"),
s("after-leave")):o&&l!==c?(a("ANIMATION_OUT"),s("leave")):(a("UNMOUNT"),
s("after-leave"))}}),{immediate:!0});const l=e=>{
const n=IW(t.value),r=n.includes(e.animationName),o="mounted"===i.value?"enter":"leave"
;e.target===t.value&&r&&(s(`after-${o}`),
a("ANIMATION_END")),e.target===t.value&&"none"===n&&a("ANIMATION_END")},c=e=>{
e.target===t.value&&(r.value=IW(t.value))},u=Ci(t,((e,t)=>{
e?(n.value=getComputedStyle(e),
e.addEventListener("animationstart",c),e.addEventListener("animationcancel",l),
e.addEventListener("animationend",l)):(a("ANIMATION_END"),
null==t||t.removeEventListener("animationstart",c),
null==t||t.removeEventListener("animationcancel",l),
null==t||t.removeEventListener("animationend",l))}),{immediate:!0
}),d=Ci(i,(()=>{const e=IW(t.value);r.value="mounted"===i.value?e:"none"}))
;return ho((()=>{u(),d()})),{
isPresent:$a((()=>["mounted","unmountSuspended"].includes(i.value)))}}(o,a);n({
present:s});let l=t.default({present:s});l=_W(l||[]);const c=ba()
;if(l&&(null==l?void 0:l.length)>1){
const e=null!=(r=null==c?void 0:c.parent)&&r.type.name?`<${c.parent.type.name} />`:"component"
;throw new Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map((e=>` - ${e}`)).join("\n")].join("\n"))
}return()=>i.value||o.value||s.value?Ra(t.default({present:s})[0],{ref:e=>{
const t=yW(e)
;return typeof(null==t?void 0:t.hasAttribute)>"u"||(null!=t&&t.hasAttribute("data-radix-popper-content-wrapper")?a.value=t.firstElementChild:a.value=t),
t}}):null}}),jW=Gr({__name:"Teleport",props:{to:{default:"body"},disabled:{
type:Boolean},forceMount:{type:Boolean}},setup(e){const t=function(){
const e=In(!1),t=ba();return t&&lo((()=>{e.value=!0}),t),e}()
;return(e,n)=>Qn(t)||e.forceMount?(Zi(),Ki(Nr,{key:0,to:e.to,disabled:e.disabled
},[Eo(e.$slots,"default")],8,["to","disabled"])):ca("",!0)}});function BW(e,t){
const n=t.closest("[data-dismissable-layer]"),r=""===e.dataset.dismissableLayer?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"))
;return!!(n&&r===n||o.indexOf(r)<o.indexOf(n))}const QW=xn({layersRoot:new Set,
layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),UW=Gr({
__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,
default:!1},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],
setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=PW(),a=$a((()=>{
var e;return(null==(e=i.value)?void 0:e.ownerDocument)??globalThis.document
})),s=$a((()=>QW.layersRoot)),l=$a((()=>i.value?Array.from(s.value).indexOf(i.value):-1)),c=$a((()=>QW.layersWithOutsidePointerEventsDisabled.size>0)),u=$a((()=>{
const e=Array.from(s.value),[t]=[...QW.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t)
;return l.value>=n})),d=function(e,t){var n
;const r=(null==(n=null==t?void 0:t.value)?void 0:n.ownerDocument)??(null==globalThis?void 0:globalThis.document),o=In(!1),i=In((()=>{}))
;return Ti((n=>{if(!fW)return;const a=async n=>{const a=n.target
;if(null!=t&&t.value){if(BW(t.value,a))return void(o.value=!1)
;if(n.target&&!o.value){let t=function(){
dW("dismissableLayer.pointerDownOutside",e,o)};const o={originalEvent:n}
;"touch"===n.pointerType?(r.removeEventListener("click",i.value),
i.value=t,r.addEventListener("click",i.value,{once:!0})):t()
}else r.removeEventListener("click",i.value);o.value=!1}
},s=window.setTimeout((()=>{r.addEventListener("pointerdown",a)}),0);n((()=>{
window.clearTimeout(s),
r.removeEventListener("pointerdown",a),r.removeEventListener("click",i.value)}))
})),{onPointerDownCapture:()=>o.value=!0}}((async e=>{
const t=[...QW.branches].some((t=>t.contains(e.target)))
;!u.value||t||(r("pointerDownOutside",e),
r("interactOutside",e),await hr(),e.defaultPrevented||r("dismiss"))
}),i),p=function(e,t){var n
;const r=(null==(n=null==t?void 0:t.value)?void 0:n.ownerDocument)??(null==globalThis?void 0:globalThis.document),o=In(!1)
;return Ti((n=>{if(!fW)return;const i=async n=>{
null!=t&&t.value&&(await hr(),t.value&&!BW(t.value,n.target)&&n.target&&!o.value&&dW("dismissableLayer.focusOutside",e,{
originalEvent:n}))}
;r.addEventListener("focusin",i),n((()=>r.removeEventListener("focusin",i)))})),
{onFocusCapture:()=>o.value=!0,onBlurCapture:()=>o.value=!1}}((e=>{
[...QW.branches].some((t=>t.contains(e.target)))||(r("focusOutside",e),
r("interactOutside",e),e.defaultPrevented||r("dismiss"))}),i);let h
;return xW("Escape",(e=>{
l.value===s.value.size-1&&(r("escapeKeyDown",e),e.defaultPrevented||r("dismiss"))
})),Ti((e=>{
i.value&&(n.disableOutsidePointerEvents&&(0===QW.layersWithOutsidePointerEventsDisabled.size&&(h=a.value.body.style.pointerEvents,
a.value.body.style.pointerEvents="none"),
QW.layersWithOutsidePointerEventsDisabled.add(i.value)),
s.value.add(i.value),e((()=>{
n.disableOutsidePointerEvents&&1===QW.layersWithOutsidePointerEventsDisabled.size&&(a.value.body.style.pointerEvents=h)
})))})),Ti((e=>{e((()=>{
i.value&&(s.value.delete(i.value),QW.layersWithOutsidePointerEventsDisabled.delete(i.value))
}))})),(e,t)=>(Zi(),Ki(Qn(MW),{ref:Qn(o),"as-child":e.asChild,as:e.as,
"data-dismissable-layer":"",style:Xe({
pointerEvents:c.value?u.value?"auto":"none":void 0}),
onFocusCapture:Qn(p).onFocusCapture,onBlurCapture:Qn(p).onBlurCapture,
onPointerdownCapture:Qn(d).onPointerDownCapture},{
default:xr((()=>[Eo(e.$slots,"default")])),_:3
},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))
}});!function(e){let t,n=!1;const r=new pt(!0)}((()=>In([])))
;const[FW,zW]=uW("PopperRoot"),qW=Gr({__name:"PopperRoot",setup(e){const t=In()
;return zW({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>Eo(e.$slots,"default")
}}),HW=Gr({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}
},setup(e){const t=e,{forwardRef:n,currentElement:r}=PW(),o=FW()
;return Ti((()=>{o.onAnchorChange(t.element??r.value)
})),(e,t)=>(Zi(),Ki(Qn(MW),{ref:Qn(n),as:e.as,"as-child":e.asChild},{
default:xr((()=>[Eo(e.$slots,"default")])),_:3},8,["as","as-child"]))}})
;function VW(e){return null!==e}function ZW(e){return{name:"transformOrigin",
options:e,fn(t){var n,r,o
;const{placement:i,rects:a,middlewareData:s}=t,l=0!==(null==(n=s.arrow)?void 0:n.centerOffset),c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[d,p]=WW(i),h={
start:"0%",center:"50%",end:"100%"
}[p],f=((null==(r=s.arrow)?void 0:r.x)??0)+c/2,m=((null==(o=s.arrow)?void 0:o.y)??0)+u/2
;let g="",v=""
;return"bottom"===d?(g=l?h:`${f}px`,v=-u+"px"):"top"===d?(g=l?h:`${f}px`,
v=`${a.floating.height+u}px`):"right"===d?(g=-u+"px",
v=l?h:`${m}px`):"left"===d&&(g=`${a.floating.width+u}px`,v=l?h:`${m}px`),{data:{
x:g,y:v}}}}}function WW(e){const[t,n="center"]=e.split("-");return[t,n]}
const[XW,GW]=uW("PopperContent"),YW=Gr({inheritAttrs:!1,__name:"PopperContent",
props:Lo({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{
type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},
sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},
prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{side:"bottom",
sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,
collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",
hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1}),
emits:["placed"],setup(e,{emit:t}){
const n=e,r=t,o=FW(),{forwardRef:i,currentElement:a}=PW(),s=In(),l=In(),{width:c,height:u}=function(e){
const t=In(),n=$a((()=>{var e;return(null==(e=t.value)?void 0:e.width)??0
})),r=$a((()=>{var e;return(null==(e=t.value)?void 0:e.height)??0}))
;return lo((()=>{const n=yW(e);if(n){t.value={width:n.offsetWidth,
height:n.offsetHeight};const e=new ResizeObserver((e=>{
if(!Array.isArray(e)||!e.length)return;const r=e[0];let o,i
;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e
;o=t.inlineSize,i=t.blockSize}else o=n.offsetWidth,i=n.offsetHeight;t.value={
width:o,height:i}}));return e.observe(n,{box:"border-box"}),()=>e.unobserve(n)}
t.value=void 0})),{width:n,height:r}
}(l),d=$a((()=>n.side+("center"!==n.align?`-${n.align}`:""))),p=$a((()=>"number"==typeof n.collisionPadding?n.collisionPadding:{
top:0,right:0,bottom:0,left:0,...n.collisionPadding
})),h=$a((()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary])),f=$a((()=>({
padding:p.value,boundary:h.value.filter(VW),altBoundary:h.value.length>0
}))),m=function(e,t){const n=Ln();return Ti((()=>{n.value=e()}),{...t,
flush:"sync"}),_n(n)}((()=>{return[KZ({mainAxis:n.sideOffset+u.value,
alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&eW({
...f.value}),n.avoidCollisions&&JZ({mainAxis:!0,
crossAxis:!!n.prioritizePosition,limiter:"partial"===n.sticky?oW():void 0,
...f.value}),!n.prioritizePosition&&n.avoidCollisions&&eW({...f.value}),tW({
...f.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{
const{width:o,height:i}=t.reference,a=e.floating.style
;a.setProperty("--radix-popper-available-width",`${n}px`),
a.setProperty("--radix-popper-available-height",`${r}px`),
a.setProperty("--radix-popper-anchor-width",`${o}px`),
a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),l.value&&(e={
element:l.value,padding:n.arrowPadding},{name:"arrow",options:e,fn(t){
const n=aW(sW(e.element));return null==n?{}:rW({element:n,padding:e.padding
}).fn(t)}}),ZW({arrowWidth:c.value,arrowHeight:u.value
}),n.hideWhenDetached&&nW({strategy:"referenceHidden",...f.value})];var e
})),{floatingStyles:g,placement:v,isPositioned:b,middlewareData:O}=function(e,t,n){
void 0===n&&(n={});const r=n.whileElementsMounted,o=$a((()=>{var e
;return null==(e=sW(n.open))||e})),i=$a((()=>sW(n.middleware))),a=$a((()=>{var e
;return null!=(e=sW(n.placement))?e:"bottom"})),s=$a((()=>{var e
;return null!=(e=sW(n.strategy))?e:"absolute"})),l=$a((()=>{var e
;return null==(e=sW(n.transform))||e
})),c=$a((()=>aW(e.value))),u=$a((()=>aW(t.value))),d=In(0),p=In(0),h=In(s.value),f=In(a.value),m=Ln({}),g=In(!1),v=$a((()=>{
const e={position:h.value,left:"0",top:"0"};if(!u.value)return e
;const t=cW(u.value,d.value),n=cW(u.value,p.value);return l.value?{...e,
transform:"translate("+t+"px, "+n+"px)",...lW(u.value)>=1.5&&{
willChange:"transform"}}:{position:h.value,left:t+"px",top:n+"px"}}));let b
;function O(){null!=c.value&&null!=u.value&&iW(c.value,u.value,{
middleware:i.value,placement:a.value,strategy:s.value}).then((e=>{
d.value=e.x,p.value=e.y,
h.value=e.strategy,f.value=e.placement,m.value=e.middlewareData,g.value=!0}))}
function y(){"function"==typeof b&&(b(),b=void 0)}return Ci([i,a,s],O,{
flush:"sync"}),Ci([c,u],(function(){
y(),void 0!==r?null==c.value||null==u.value||(b=r(c.value,u.value,O)):O()}),{
flush:"sync"}),Ci(o,(function(){o.value||(g.value=!1)}),{flush:"sync"
}),ht()&&ft(y),{x:En(d),y:En(p),strategy:En(h),placement:En(f),
middlewareData:En(m),isPositioned:En(g),floatingStyles:v,update:O}}(o.anchor,s,{
strategy:"fixed",placement:d,whileElementsMounted:(...e)=>YZ(...e,{
animationFrame:"always"===n.updatePositionStrategy}),middleware:m
}),y=$a((()=>WW(v.value)[0])),w=$a((()=>WW(v.value)[1]));Ti((()=>{
b.value&&r("placed")}));const k=$a((()=>{var e
;return 0!==(null==(e=O.value.arrow)?void 0:e.centerOffset)})),x=In("")
;Ti((()=>{a.value&&(x.value=window.getComputedStyle(a.value).zIndex)}))
;const S=$a((()=>{var e;return(null==(e=O.value.arrow)?void 0:e.x)??0
})),_=$a((()=>{var e;return(null==(e=O.value.arrow)?void 0:e.y)??0}))
;return GW({placedSide:y,onArrowChange:e=>l.value=e,arrowX:S,arrowY:_,
shouldHideArrow:k}),(e,t)=>{var r,o,a;return Zi(),Yi("div",{
ref_key:"floatingRef",ref:s,"data-radix-popper-content-wrapper":"",style:Xe({
...Qn(g),transform:Qn(b)?Qn(g).transform:"translate(0, -200%)",
minWidth:"max-content",zIndex:x.value,
"--radix-popper-transform-origin":[null==(r=Qn(O).transformOrigin)?void 0:r.x,null==(o=Qn(O).transformOrigin)?void 0:o.y].join(" "),
...(null==(a=Qn(O).hide)?void 0:a.referenceHidden)&&{visibility:"hidden",
pointerEvents:"none"}})},[oa(Qn(MW),ha({ref:Qn(i)},e.$attrs,{
"as-child":n.asChild,as:e.as,"data-side":y.value,"data-align":w.value,style:{
animation:Qn(b)?void 0:"none"}}),{default:xr((()=>[Eo(e.$slots,"default")])),_:3
},16,["as-child","as","data-side","data-align","style"])],4)}}}),KW=Gr({
__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},
setup:e=>(PW(),(e,t)=>(Zi(),Ki(Qn(MW),{as:e.as,"as-child":e.asChild,style:{
position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",
padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",
whiteSpace:"nowrap",wordWrap:"normal"}},{
default:xr((()=>[Eo(e.$slots,"default")])),_:3},8,["as","as-child"])))})
;!function(){
if("function"==typeof matchMedia)matchMedia("(pointer:coarse)").matches}()
;const JW="tooltip.open",[eX,tX]=uW("TooltipProvider"),nX=Gr({
__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{
default:300},disableHoverableContent:{type:Boolean,default:!1},
disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},
ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){
const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:o,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:s}=Vn(t)
;PW();const l=In(!0),c=In(!1),{start:u,stop:d}=OW((()=>{l.value=!0}),r,{
immediate:!1});return tX({isOpenDelayed:l,delayDuration:n,onOpen(){
d(),l.value=!1},onClose(){u()},isPointerInTransitRef:c,
disableHoverableContent:o,disableClosingTrigger:i,disabled:s,
ignoreNonKeyboardFocus:a}),(e,t)=>Eo(e.$slots,"default")}
}),[rX,oX]=uW("TooltipRoot"),iX=Gr({__name:"TooltipRoot",props:{defaultOpen:{
type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{
default:void 0},disableHoverableContent:{type:Boolean,default:void 0},
disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,
default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},
emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;PW()
;const o=eX(),i=$a((()=>n.disableHoverableContent??o.disableHoverableContent.value)),a=$a((()=>n.disableClosingTrigger??o.disableClosingTrigger.value)),s=$a((()=>n.disabled??o.disabled.value)),l=$a((()=>n.delayDuration??o.delayDuration.value)),c=$a((()=>n.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value)),u=SW(n,"open",r,{
defaultValue:n.defaultOpen,passive:void 0===n.open});Ci(u,(e=>{
o.onClose&&(e?(o.onOpen(),
document.dispatchEvent(new CustomEvent(JW))):o.onClose())}))
;const d=In(!1),p=In(),h=$a((()=>u.value?d.value?"delayed-open":"instant-open":"closed")),{start:f,stop:m}=OW((()=>{
d.value=!0,u.value=!0}),l,{immediate:!1});function g(){m(),d.value=!1,u.value=!0
}function v(){m(),u.value=!1}return oX({contentId:"",open:u,stateAttribute:h,
trigger:p,onTriggerChange(e){p.value=e},onTriggerEnter(){
o.isOpenDelayed.value?f():g()},onTriggerLeave(){i.value?v():m()},onOpen:g,
onClose:v,disableHoverableContent:i,disableClosingTrigger:a,disabled:s,
ignoreNonKeyboardFocus:c}),(e,t)=>(Zi(),Ki(Qn(qW),null,{
default:xr((()=>[Eo(e.$slots,"default",{open:Qn(u)})])),_:3}))}}),aX=Gr({
__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},
setup(e){const t=e,n=rX(),r=eX()
;n.contentId||(n.contentId=function(e,t="radix"){const{useId:n}=EW({useId:void 0
});return n&&"function"==typeof n?`${t}-${n()}`:`${t}-${++$W}`
}(0,"radix-vue-tooltip-content"))
;const{forwardRef:o,currentElement:i}=PW(),a=In(!1),s=In(!1),l=$a((()=>n.disabled.value?{}:{
click:m,focus:h,pointermove:d,pointerleave:p,pointerdown:u,blur:f}))
;function c(){a.value=!1}function u(){
a.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(e){
"touch"!==e.pointerType&&!s.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),
s.value=!0)}function p(){n.onTriggerLeave(),s.value=!1}function h(e){var t,r
;a.value||n.ignoreNonKeyboardFocus.value&&(null==(r=(t=e.target).matches)||!r.call(t,":focus-visible"))||n.onOpen()
}function f(){n.onClose()}function m(){
n.disableClosingTrigger.value||n.onClose()}return lo((()=>{
n.onTriggerChange(i.value)})),(e,r)=>(Zi(),Ki(Qn(HW),{"as-child":""},{
default:xr((()=>[oa(Qn(MW),ha({ref:Qn(o),
"aria-describedby":Qn(n).open.value?Qn(n).contentId:void 0,
"data-state":Qn(n).stateAttribute.value,as:e.as,"as-child":t.asChild,
"data-grace-area-trigger":""},Co(l.value)),{
default:xr((()=>[Eo(e.$slots,"default")])),_:3
},16,["aria-describedby","data-state","as","as-child"])])),_:3}))}}),sX=Gr({
__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},
side:{default:"top"},sideOffset:{default:0},align:{default:"center"},
alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{
default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{
default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},
emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){
const n=e,r=t,o=rX(),{forwardRef:i}=PW(),a=Ro(),s=$a((()=>{var e
;return null==(e=a.default)?void 0:e.call(a)})),l=$a((()=>{var e
;if(n.ariaLabel)return n.ariaLabel;let t="";function r(e){
"string"==typeof e.children?t+=e.children:Array.isArray(e.children)&&e.children.forEach((e=>r(e)))
}return null==(e=s.value)||e.forEach((e=>r(e))),t})),c=$a((()=>{
const{ariaLabel:e,...t}=n;return t}));return lo((()=>{kW(window,"scroll",(e=>{
const t=e.target;null!=t&&t.contains(o.trigger.value)&&o.onClose()
})),kW(window,JW,o.onClose)})),(e,t)=>(Zi(),Ki(Qn(UW),{"as-child":"",
"disable-outside-pointer-events":!1,
onEscapeKeyDown:t[0]||(t[0]=e=>r("escapeKeyDown",e)),
onPointerDownOutside:t[1]||(t[1]=e=>{var t
;Qn(o).disableClosingTrigger.value&&null!=(t=Qn(o).trigger.value)&&t.contains(e.target)&&e.preventDefault(),
r("pointerDownOutside",e)}),
onFocusOutside:t[2]||(t[2]=Us((()=>{}),["prevent"])),
onDismiss:t[3]||(t[3]=e=>Qn(o).onClose())},{default:xr((()=>[oa(Qn(YW),ha({
ref:Qn(i),"data-state":Qn(o).stateAttribute.value},{...e.$attrs,...c.value},{
style:{
"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)",
"--radix-tooltip-content-available-width":"var(--radix-popper-available-width)",
"--radix-tooltip-content-available-height":"var(--radix-popper-available-height)",
"--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)",
"--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{
default:xr((()=>[Eo(e.$slots,"default"),oa(Qn(KW),{id:Qn(o).contentId,
role:"tooltip"},{default:xr((()=>[sa(st(l.value),1)])),_:1},8,["id"])])),_:3
},16,["data-state"])])),_:3}))}}),lX=Gr({__name:"TooltipContentHoverable",
props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},
alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},
collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},
setup(e){
const t=CW(e),{forwardRef:n,currentElement:r}=PW(),{trigger:o,onClose:i}=rX(),a=eX(),{isPointerInTransit:s,onPointerExit:l}=DW(o,r)
;return a.isPointerInTransitRef=s,l((()=>{i()})),(e,r)=>(Zi(),Ki(sX,ha({
ref:Qn(n)},Qn(t)),{default:xr((()=>[Eo(e.$slots,"default")])),_:3},16))}
}),cX=Gr({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},
asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},
alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},
collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},
emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){
const n=e,r=t,o=rX(),i=AW(n,r),{forwardRef:a}=PW()
;return(e,t)=>(Zi(),Ki(Qn(LW),{present:e.forceMount||Qn(o).open.value},{
default:xr((()=>[(Zi(),Ki(wo(Qn(o).disableHoverableContent.value?sX:lX),ha({
ref:Qn(a)},Qn(i)),{default:xr((()=>[Eo(e.$slots,"default")])),_:3},16))])),_:3
},8,["present"]))}}),uX=Gr({__name:"TooltipPortal",props:{to:{},disabled:{
type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e
;return(e,n)=>(Zi(),Ki(Qn(jW),tt(ia(t)),{
default:xr((()=>[Eo(e.$slots,"default")])),_:3},16))}}),dX=Gr({inheritAttrs:!1,
__name:"ScalarPopover",props:{placement:{},resize:{type:Boolean},targetRef:{},
isOpen:{type:Boolean},teleport:{type:[Boolean,String]}},
setup:e=>(e,t)=>(Zi(),Ki(Qn(UN),{as:"template"},{
default:xr((({open:n})=>[oa(Qn(tZ),ha(e.$props,{isOpen:n??e.isOpen,
teleport:e.teleport}),{floating:xr((({width:n,height:r})=>[oa(Qn(zN),ha({
class:"relative flex flex-col p-0.75",style:{width:n,height:r}},e.$attrs),{
default:xr((({close:n})=>[Eo(e.$slots,"popover",{close:()=>n()
}),t[0]||(t[0]=ra("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"
},null,-1))])),_:2},1040,["style"])])),default:xr((()=>[oa(Qn(FN),{as:"template"
},{default:xr((()=>[Eo(e.$slots,"default")])),_:3})])),_:2
},1040,["isOpen","teleport"])])),_:3}))}),pX={class:"sr-only"
},hX=["value"],fX=Gr({inheritAttrs:!1,__name:"ScalarSearchInput",props:{
loading:{},modelValue:{},sidebar:{type:Boolean}},emits:["update:modelValue"],
setup(e,{expose:t,emit:n}){const r=n,o=In(null);function i(e){
r("update:modelValue",e.target.value)}const a=$a((()=>{const{class:e,...t}=No()
;return{className:e||"",rest:t}})),s=pI({
base:"flex items-center rounded border bg-b-1 text-sm font-medium",variants:{
sidebar:{true:"h-8 gap-1.5 px-1.5",false:"h-10 p-3"}}});return t({focus:()=>{
var e;null==(e=o.value)||e.focus()},blur:()=>{var e;null==(e=o.value)||e.blur()}
}),(e,t)=>(Zi(),Yi("label",ha(a.value.rest,{class:Qn(hI)(Qn(s)({
sidebar:e.sidebar}),a.value.className)
}),[ra("span",pX,[Eo(e.$slots,"label",{},(()=>[t[1]||(t[1]=sa("Enter search"))]))]),e.sidebar?(Zi(),
Ki(Qn(Uq),{key:0,class:"text-c-2",icon:"Search",size:"xs",thickness:"2.5"
})):ca("",!0),ra("input",{ref_key:"inputRef",ref:o,autocapitalize:"off",
autocomplete:"off",autocorrect:"off",
class:"flex-1 rounded border-none bg-transparent outline-none",
placeholder:"Search...",spellcheck:"false",type:"text",value:e.modelValue,
onInput:i},null,40,hX),e.loading&&e.loading.isLoading?(Zi(),Ki(Qn(Kq),{key:1,
class:"mr-3 self-center",loadingState:e.loading,size:"md"
},null,8,["loadingState"])):e.modelValue?(Zi(),Ki(Qn(qq),{key:2,
class:et(Qn(hI)("p-0",e.sidebar?"h-4 w-4":"h-5 w-5")),icon:"Close",
label:"Clear Search",thickness:e.sidebar?"1.75":"1.5",
onClick:t[0]||(t[0]=e=>r("update:modelValue",""))
},null,8,["class","thickness"])):ca("",!0)],16))}}),mX={class:"contents"},gX={
key:0,
class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"
},vX={class:"flex min-w-0 flex-1 flex-col gap-0.75"},bX={
class:"flex items-center gap-1"},OX={class:"flex-1 truncate text-sm font-medium"
},yX={key:0,class:"text-sm text-c-2"},wX={key:0,
class:"truncate text-sm text-c-2"},kX=Gr({inheritAttrs:!1,
__name:"ScalarSearchResultItem",props:{icon:{},active:{type:Boolean}},setup(e){
const t=$a((()=>{const{class:e,...t}=No();return{className:e||"",rest:t}}))
;return(e,n)=>(Zi(),Yi("li",mX,[ra("a",ha(t.value.rest,{
class:Qn(hI)("group flex cursor-pointer gap-2.5 rounded px-3 py-1.5 no-underline hover:bg-b-2",{
"bg-b-2":e.active},t.value.className)
}),[e.icon?(Zi(),Yi("div",gX,[Eo(e.$slots,"icon",{},(()=>[e.icon?(Zi(),
Ki(Qn(Uq),{key:0,icon:e.icon,size:"sm"
},null,8,["icon"])):ca("",!0)])),n[0]||(n[0]=ra("span",null," ",-1))])):ca("",!0),ra("div",vX,[ra("div",bX,[ra("div",OX,[Eo(e.$slots,"default")]),e.$slots.addon?(Zi(),
Yi("div",yX,[Eo(e.$slots,"addon")])):ca("",!0)]),e.$slots.description?(Zi(),
Yi("div",wX,[Eo(e.$slots,"description")])):ca("",!0)])],16)]))}}),xX=Gr({
inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}
},setup(e){const t=$a((()=>{const{class:e,...t}=No();return{className:e||"",
rest:t}}));return(e,n)=>(Zi(),Yi("ul",ha(t.value.rest,{
class:Qn(hI)("flex flex-col",t.value.className)
}),[e.noResults?Eo(e.$slots,"noResults",{key:0},(()=>[n[0]||(n[0]=ra("div",{
class:"flex flex-col items-center gap-2 px-3 py-4"},[ra("div",{
class:"rotate-90 text-lg font-bold"},":("),ra("div",{
class:"text-sm font-medium text-c-2"
},"No results found")],-1))])):ca("",!0),Eo(e.$slots,"default")],16))}}),SX={
class:"scalar-input-container relative"},_X=["for"],EX={
class:"icon-slot cursor-pointer text-c-ghost hover:text-c-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3"
},TX=Gr({__name:"ScalarTextField",props:{modelValue:{},placeholder:{},label:{},
labelShadowColor:{default:"var(--scalar-background-1)"},error:{type:Boolean},
isMultiline:{type:Boolean},helperText:{},emitOnBlur:{type:Boolean,default:!0},
handleFieldSubmit:{},handleFieldChange:{},disableTrim:{type:Boolean,default:!1}
},emits:["submit","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=pI({
base:"scalar-input-wrapper relative flex items-center rounded border border-solid border-border",
variants:{focus:{
true:"scalar-input-wrapper-focus border-c-3 has-actv-btn:border has-actv-btn:border-border"
},error:{true:"scalar-input-wrapper-error border-red"}}
}),i=No(),a=i.id||`id-${EH()}`,s=In(),l=In(!1);let c;if(n.isMultiline){
const{triggerResize:e}=function(e){var t
;const n=In(null==e?void 0:e.element),r=In(null==e?void 0:e.input),o=null!=(t=null==e?void 0:e.styleProp)?t:"height",i=In(1)
;function a(){var t;if(!n.value)return;let r=""
;n.value.style[o]="1px",i.value=null==(t=n.value)?void 0:t.scrollHeight,
(null==e?void 0:e.styleTarget)?Np(e.styleTarget).style[o]=`${i.value}px`:r=`${i.value}px`,
n.value.style[o]=r}return Ci([r,n],(()=>hr(a)),{immediate:!0}),Ci(i,(()=>{var t
;return null==(t=null==e?void 0:e.onResize)?void 0:t.call(e)})),Yp(n,(()=>a())),
(null==e?void 0:e.watch)&&Ci(e.watch,a,{immediate:!0,deep:!0}),{textarea:n,
input:r,triggerResize:a}}({element:s,input:n.modelValue});c=e}function u(e){
const t=e.target.value
;n.isMultiline&&c(),n.handleFieldChange?n.handleFieldChange(t):r("update:modelValue",t)
}function d(e){
const t=e.target,o=n.disableTrim||n.isMultiline?t.value:t.value.trim()
;n.handleFieldSubmit?n.handleFieldSubmit(o):r("submit",o)}function p(e){
l.value=!1,n.emitOnBlur&&n.modelValue&&d(e)}return lo((()=>{var e
;Object.prototype.hasOwnProperty.call(i,"autofocus")&&(null==(e=s.value)||e.focus())
})),(e,t)=>(Zi(),Yi("div",SX,[ra("div",{class:et(Qn(o)({error:e.error,
focus:l.value}))},[(Zi(),Ki(wo(e.isMultiline?"textarea":"input"),ha({id:Qn(a)
},e.$attrs,{ref_key:"input",ref:s,class:["scalar-input",Qn(hI)({
"min-h-[77px]":e.isMultiline
},"z-10 w-full resize-none appearance-none border-0 bg-transparent p-3 text-sm text-c-1","outline-none transition-opacity")],
placeholder:e.placeholder,value:e.modelValue,onBlur:p,
onFocus:t[0]||(t[0]=e=>l.value=!0),onInput:u,onKeydown:zs(d,["enter"])
}),null,16,["id","class","placeholder","value"])),e.label?(Zi(),Yi("label",{
key:0,
class:et(Qn(hI)("scalar-input-label pointer-events-none absolute left-0 top-0 mx-2 my-3 px-1 text-sm","z-10 origin-top-left rounded text-c-3 shadow-current transition-transform")),
for:Qn(a),style:Xe({"box-shadow":`0 0 4px 4px ${e.labelShadowColor}`,
"background-color":e.labelShadowColor})
},st(e.label),15,_X)):ca("",!0),ra("div",EX,[Eo(e.$slots,"default",{},void 0,!0)])],2),e.helperText?(Zi(),
Yi("span",{key:0,
class:et(["helper-text mt-1.5 flex items-center gap-1 text-sm",e.error?"font-medium text-red":"text-c-2"])
},[e.error?(Zi(),Ki(Qn(Uq),{key:0,icon:"Error",size:"sm"
})):ca("",!0),sa(" "+st(e.helperText),1)],2)):ca("",!0)]))}
}),CX=Qq(TX,[["__scopeId","data-v-4de7a24e"]]),AX=Gr({__name:"ScalarTooltip",
props:{click:{},delay:{},skipDelay:{default:1e3},align:{default:"center"},side:{
default:"top"},sideOffset:{},class:{},triggerClass:{},resize:{type:Boolean}},
emits:["click"],setup(e){const t=e;return(e,n)=>(Zi(),Ki(Qn(nX),{
delayDuration:t.delay,skipDelayDuration:t.skipDelay},{
default:xr((()=>[oa(Qn(iX),null,{default:xr((()=>[oa(Qn(aX),{
class:et(["flex items-center justify-center",[t.resize?"w-full":"",t.triggerClass]]),
onClick:t.click},{default:xr((()=>[Eo(e.$slots,"trigger")])),_:3
},8,["class","onClick"]),oa(Qn(uX),{to:".scalar-client"},{
default:xr((()=>[oa(Qn(cX),{align:t.align,class:et(["scalar-app",t.class]),
side:t.side,sideOffset:t.sideOffset},{
default:xr((()=>[Eo(e.$slots,"content")])),_:3
},8,["align","class","side","sideOffset"])])),_:3})])),_:3})])),_:3
},8,["delayDuration","skipDelayDuration"]))}}),PX=Gr({
__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},
containerClass:{default:""},contentClass:{default:""},lineClass:{default:""}},
setup(e){
const t=e,n=In(null),r=In(null),o=In(0),i=In(0),a=$a((()=>t.text.split("\n"))),s=$a((()=>a.value.length*t.lineHeight)),l=$a((()=>Math.floor(o.value/t.lineHeight))),c=$a((()=>Math.min(Math.ceil((o.value+i.value)/t.lineHeight),a.value.length))),u=$a((()=>{
const e=Math.max(0,l.value-10),t=Math.min(a.value.length,c.value+10)
;return a.value.slice(e,t)})),d=$a((()=>({height:`${s.value}px`,
transform:`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`
}))),p=()=>n.value&&(o.value=n.value.scrollTop),h=()=>n.value&&(i.value=n.value.clientHeight)
;return lo((()=>{h(),window.addEventListener("resize",h)})),po((()=>{
window.removeEventListener("resize",h)})),Ti((()=>{
r.value&&(r.value.style.transform=`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`)
})),(e,o)=>(Zi(),Yi("div",{ref_key:"containerRef",ref:n,
class:et(["scalar-virtual-text relative overflow-auto",e.containerClass]),
onScroll:p},[ra("code",{ref_key:"contentRef",ref:r,
class:et(["scalar-virtual-text-content absolute",e.contentClass]),
style:Xe(d.value)},[(Zi(!0),Yi(Ui,null,So(u.value,((n,r)=>(Zi(),Yi("div",{
key:l.value+r,class:et(["scalar-virtual-text-line",e.lineClass]),style:Xe({
height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})
},st(n),7)))),128))],6)],34))}}),DX=()=>{
const e=document.getElementById("headlessui-portal-root")
;if(e)e.classList.add("scalar-app"),e.classList.add("scalar-client");else{
const e=new MutationObserver((t=>{
const n=t.find((e=>Array.from(e.addedNodes).find((e=>"headlessui-portal-root"===e.id))))
;if(n){const t=n.addedNodes[0]
;t.classList.add("scalar-app"),t.classList.add("scalar-client"),e.disconnect()}
}));e.observe(document.body,{childList:!0})}};function $X(){
return typeof navigator<"u"&&/Mac/.test(navigator.platform)}
const RX=Symbol(),NX=Symbol(),MX=Jp(RX),IX=Jp(NX),LX=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"],jX={
POST:"var(--scalar-color-green)",DELETE:"var(--scalar-color-red)",
PATCH:"var(--scalar-color-yellow)",GET:"var(--scalar-color-blue)",
PUT:"var(--scalar-color-orange)",OPTIONS:"var(--scalar-color-purple)",
HEAD:"var(--scalar-color-2)",CONNECT:"var(--scalar-color-2)",
TRACE:"var(--scalar-color-2)"},BX={POST:"POST",DELETE:"DEL",PATCH:"PATCH",
GET:"GET",PUT:"PUT",OPTIONS:"OPTS",HEAD:"HEAD",CONNECT:"CONN",TRACE:"TRACE"}
;function QX(e){return LX.includes(e)}const UX=Gr({__name:"HttpMethod",props:{
as:{},property:{},short:{type:Boolean},method:{}},setup(e){
const t=e,n=$a((()=>t.method.trim().toUpperCase())),r=$a((()=>QX(n.value)?BX[n.value]:n.value.slice(0,4))),o=$a((()=>QX(n.value)?jX[n.value]:"var(--scalar-color-ghost)"))
;return(e,t)=>(Zi(),Ki(wo(e.as??"span"),{style:Xe({[e.property||"color"]:o.value
})},{default:xr((()=>[Eo(e.$slots,"default",tt(ia({normalized:n.value,
abbreviated:r.value,color:o.value
})),(()=>[sa(st(e.short?r.value:n.value),1)]))])),_:3},8,["style"]))}
}),FX=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n
},zX=FX(Gr({__name:"SidebarHttpBadge",props:{active:{type:Boolean},method:{}},
setup:e=>(e,t)=>(Zi(),Ki(Qn(UX),{class:et(["sidebar-heading-type",{
"sidebar-heading-type-active":e.active}]),method:e.method,
property:"--method-color",short:""},null,8,["class","method"]))
}),[["__scopeId","data-v-f51e2805"]]);function qX(e){
return Array.isArray?Array.isArray(e):"[object Array]"===JX(e)}const HX=1/0
;function VX(e){return null==e?"":function(e){if("string"==typeof e)return e
;let t=e+"";return"0"==t&&1/e==-HX?"-0":t}(e)}function ZX(e){
return"string"==typeof e}function WX(e){return"number"==typeof e}function XX(e){
return!0===e||!1===e||function(e){return GX(e)&&null!==e
}(e)&&"[object Boolean]"==JX(e)}function GX(e){return"object"==typeof e}
function YX(e){return null!=e}function KX(e){return!e.trim().length}
function JX(e){
return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)
}
const eG=e=>`Missing ${e} property in key`,tG=e=>`Property 'weight' in key '${e}' must be a positive integer`,nG=Object.prototype.hasOwnProperty
;class rG{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{
let n=oG(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight
})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){
return this._keys}toJSON(){return JSON.stringify(this._keys)}}function oG(e){
let t=null,n=null,r=null,o=1,i=null;if(ZX(e)||qX(e))r=e,t=iG(e),n=aG(e);else{
if(!nG.call(e,"name"))throw new Error(eG("name"));const a=e.name
;if(r=a,nG.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(tG(a))
;t=iG(a),n=aG(a),i=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:i}}
function iG(e){return qX(e)?e:e.split(".")}function aG(e){
return qX(e)?e.join("."):e}const sG={useExtendedSearch:!1,getFn:function(e,t){
let n=[],r=!1;const o=(e,t,i)=>{if(YX(e))if(t[i]){const a=e[t[i]]
;if(!YX(a))return
;if(i===t.length-1&&(ZX(a)||WX(a)||XX(a)))n.push(VX(a));else if(qX(a)){r=!0
;for(let e=0,n=a.length;e<n;e+=1)o(a[e],t,i+1)}else t.length&&o(a,t,i+1)
}else n.push(e)};return o(e,ZX(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,
ignoreFieldNorm:!1,fieldNormWeight:1};var lG={isCaseSensitive:!1,
includeScore:!1,keys:[],shouldSort:!0,
sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,
includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,
threshold:.6,distance:100,...sG};const cG=/[^ ]+/g;class uG{
constructor({getFn:e=lG.getFn,fieldNormWeight:t=lG.fieldNormWeight}={}){
this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){
const o=t.match(cG).length;if(n.has(o))return n.get(o)
;const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a
},clear(){n.clear()}}
}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){
this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){
this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}
create(){
!this.isCreated&&this.docs.length&&(this.isCreated=!0,ZX(this.docs[0])?this.docs.forEach(((e,t)=>{
this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)
})),this.norm.clear())}add(e){const t=this.size()
;ZX(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){
this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1
}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){
return this.records.length}_addString(e,t){if(!YX(e)||KX(e))return;let n={v:e,
i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}}
;this.keys.forEach(((t,r)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path)
;if(YX(o))if(qX(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}]
;for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop()
;if(YX(r))if(ZX(r)&&!KX(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)
}else qX(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e
}else if(ZX(o)&&!KX(o)){let e={v:o,n:this.norm.get(o)};n.$[r]=e}
})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}
function dG(e,t,{getFn:n=lG.getFn,fieldNormWeight:r=lG.fieldNormWeight}={}){
const o=new uG({getFn:n,fieldNormWeight:r})
;return o.setKeys(e.map(oG)),o.setSources(t),o.create(),o}
function pG(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=lG.distance,ignoreLocation:i=lG.ignoreLocation}={}){
const a=t/e.length;if(i)return a;const s=Math.abs(r-n);return o?a+s/o:s?1:a}
const hG=32
;function fG(e,t,n,{location:r=lG.location,distance:o=lG.distance,threshold:i=lG.threshold,findAllMatches:a=lG.findAllMatches,minMatchCharLength:s=lG.minMatchCharLength,includeMatches:l=lG.includeMatches,ignoreLocation:c=lG.ignoreLocation}={}){
if(t.length>hG)throw new Error(`Pattern length exceeds max of ${hG}.`)
;const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let h=i,f=p
;const m=s>1||l,g=m?Array(d):[];let v;for(;(v=e.indexOf(t,f))>-1;){let e=pG(t,{
currentLocation:v,expectedLocation:p,distance:o,ignoreLocation:c})
;if(h=Math.min(e,h),f=v+u,m){let e=0;for(;e<u;)g[v+e]=1,e+=1}}f=-1
;let b=[],O=1,y=u+d;const w=1<<u-1;for(let x=0;x<u;x+=1){let r=0,i=y;for(;r<i;){
pG(t,{errors:x,currentLocation:p+i,expectedLocation:p,distance:o,
ignoreLocation:c})<=h?r=i:y=i,i=Math.floor((y-r)/2+r)}y=i
;let s=Math.max(1,p-i+1),l=a?d:Math.min(p+i,d)+u,v=Array(l+2);v[l+1]=(1<<x)-1
;for(let a=l;a>=s;a-=1){let r=a-1,i=n[e.charAt(r)]
;if(m&&(g[r]=+!!i),v[a]=(v[a+1]<<1|1)&i,
x&&(v[a]|=(b[a+1]|b[a])<<1|1|b[a+1]),v[a]&w&&(O=pG(t,{errors:x,
currentLocation:r,expectedLocation:p,distance:o,ignoreLocation:c}),O<=h)){
if(h=O,f=r,f<=p)break;s=Math.max(1,2*p-f)}}if(pG(t,{errors:x+1,
currentLocation:p,expectedLocation:p,distance:o,ignoreLocation:c})>h)break;b=v}
const k={isMatch:f>=0,score:Math.max(.001,O)};if(m){
const e=function(e=[],t=lG.minMatchCharLength){let n=[],r=-1,o=-1,i=0
;for(let a=e.length;i<a;i+=1){let a=e[i]
;a&&-1===r?r=i:a||-1===r||(o=i-1,o-r+1>=t&&n.push([r,o]),r=-1)}
return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}(g,s)
;e.length?l&&(k.indices=e):k.isMatch=!1}return k}function mG(e){let t={}
;for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}
return t}class gG{
constructor(e,{location:t=lG.location,threshold:n=lG.threshold,distance:r=lG.distance,includeMatches:o=lG.includeMatches,findAllMatches:i=lG.findAllMatches,minMatchCharLength:a=lG.minMatchCharLength,isCaseSensitive:s=lG.isCaseSensitive,ignoreLocation:l=lG.ignoreLocation}={}){
if(this.options={location:t,threshold:n,distance:r,includeMatches:o,
findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l
},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return
;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:mG(e),startIndex:t})
},u=this.pattern.length;if(u>hG){let e=0;const t=u%hG,n=u-t
;for(;e<n;)c(this.pattern.substr(e,hG),e),e+=hG;if(t){const e=u-hG
;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){
const{isCaseSensitive:t,includeMatches:n}=this.options
;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0}
;return n&&(t.indices=[[0,e.length-1]]),t}
const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:s,ignoreLocation:l}=this.options
;let c=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:h})=>{
const{isMatch:f,score:m,indices:g}=fG(e,t,p,{location:r+h,distance:o,
threshold:i,findAllMatches:a,minMatchCharLength:s,includeMatches:n,
ignoreLocation:l});f&&(d=!0),u+=m,f&&g&&(c=[...c,...g])}));let p={isMatch:d,
score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class vG{
constructor(e){this.pattern=e}static isMultiMatch(e){
return bG(e,this.multiRegex)}static isSingleMatch(e){
return bG(e,this.singleRegex)}search(){}}function bG(e,t){const n=e.match(t)
;return n?n[1]:null}class OG extends vG{
constructor(e,{location:t=lG.location,threshold:n=lG.threshold,distance:r=lG.distance,includeMatches:o=lG.includeMatches,findAllMatches:i=lG.findAllMatches,minMatchCharLength:a=lG.minMatchCharLength,isCaseSensitive:s=lG.isCaseSensitive,ignoreLocation:l=lG.ignoreLocation}={}){
super(e),this._bitapSearch=new gG(e,{location:t,threshold:n,distance:r,
includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:s,
ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){
return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){
return this._bitapSearch.searchIn(e)}}class yG extends vG{constructor(e){
super(e)}static get type(){return"include"}static get multiRegex(){
return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0
;const r=[],o=this.pattern.length
;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const i=!!r.length
;return{isMatch:i,score:i?0:1,indices:r}}}const wG=[class extends vG{
constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){
return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){
const t=e===this.pattern;return{isMatch:t,score:t?0:1,
indices:[0,this.pattern.length-1]}}},yG,class extends vG{constructor(e){super(e)
}static get type(){return"prefix-exact"}static get multiRegex(){
return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){
const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[0,this.pattern.length-1]}}},class extends vG{constructor(e){super(e)}
static get type(){return"inverse-prefix-exact"}static get multiRegex(){
return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){
const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[0,e.length-1]}}},class extends vG{constructor(e){super(e)}
static get type(){return"inverse-suffix-exact"}static get multiRegex(){
return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){
const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[0,e.length-1]}}},class extends vG{constructor(e){super(e)}
static get type(){return"suffix-exact"}static get multiRegex(){
return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){
const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[e.length-this.pattern.length,e.length-1]}}},class extends vG{
constructor(e){super(e)}static get type(){return"inverse-exact"}
static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){
return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,
score:t?0:1,indices:[0,e.length-1]}}
},OG],kG=wG.length,xG=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/
;const SG=new Set([OG.type,yG.type]);class _G{
constructor(e,{isCaseSensitive:t=lG.isCaseSensitive,includeMatches:n=lG.includeMatches,minMatchCharLength:r=lG.minMatchCharLength,ignoreLocation:o=lG.ignoreLocation,findAllMatches:i=lG.findAllMatches,location:a=lG.location,threshold:s=lG.threshold,distance:l=lG.distance}={}){
this.query=null,this.options={isCaseSensitive:t,includeMatches:n,
minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:s,
distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){
return e.split("|").map((e=>{
let n=e.trim().split(xG).filter((e=>e&&!!e.trim())),r=[]
;for(let o=0,i=n.length;o<i;o+=1){const e=n[o];let i=!1,a=-1;for(;!i&&++a<kG;){
const n=wG[a];let o=n.isMultiMatch(e);o&&(r.push(new n(o,t)),i=!0)}
if(!i)for(a=-1;++a<kG;){const n=wG[a];let o=n.isSingleMatch(e);if(o){
r.push(new n(o,t));break}}}return r}))}(this.pattern,this.options)}
static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query
;if(!t)return{isMatch:!1,score:1}
;const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase()
;let o=0,i=[],a=0;for(let s=0,l=t.length;s<l;s+=1){const r=t[s];i.length=0,o=0
;for(let t=0,s=r.length;t<s;t+=1){
const s=r[t],{isMatch:l,indices:c,score:u}=s.search(e);if(!l){a=0,o=0,i.length=0
;break}if(o+=1,a+=u,n){const e=s.constructor.type
;SG.has(e)?i=[...i,...c]:i.push(c)}}if(o){let e={isMatch:!0,score:a/o}
;return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}}const EG=[]
;function TG(e,t){for(let n=0,r=EG.length;n<r;n+=1){let r=EG[n]
;if(r.condition(e,t))return new r(e,t)}return new gG(e,t)}
const CG="$and",AG="$or",PG="$path",DG="$val",$G=e=>!(!e[CG]&&!e[AG]),RG=e=>({
[CG]:Object.keys(e).map((t=>({[t]:e[t]})))});function NG(e,t,{auto:n=!0}={}){
const r=e=>{let o=Object.keys(e);const i=(e=>!!e[PG])(e)
;if(!i&&o.length>1&&!$G(e))return r(RG(e));if((e=>!qX(e)&&GX(e)&&!$G(e))(e)){
const r=i?e[PG]:o[0],a=i?e[DG]:e[r]
;if(!ZX(a))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={
keyId:aG(r),pattern:a};return n&&(s.searcher=TG(a,t)),s}let a={children:[],
operator:o[0]};return o.forEach((t=>{const n=e[t];qX(n)&&n.forEach((e=>{
a.children.push(r(e))}))})),a};return $G(e)||(e=RG(e)),r(e)}function MG(e,t){
const n=e.matches;t.matches=[],YX(n)&&n.forEach((e=>{
if(!YX(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={
indices:n,value:r}
;e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}
function IG(e,t){t.score=e.score}class LG{constructor(e,t={},n){this.options={
...lG,...t
},this.options.useExtendedSearch,this._keyStore=new rG(this.options.keys),
this.setCollection(e,n)}setCollection(e,t){
if(this._docs=e,t&&!(t instanceof uG))throw new Error("Incorrect 'index' type")
;this._myIndex=t||dG(this.options.keys,this._docs,{getFn:this.options.getFn,
fieldNormWeight:this.options.fieldNormWeight})}add(e){
YX(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[]
;for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n]
;e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){
this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex
}search(e,{limit:t=-1}={}){
const{includeMatches:n,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options
;let s=ZX(e)?ZX(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e)
;return function(e,{ignoreFieldNorm:t=lG.ignoreFieldNorm}){e.forEach((e=>{
let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const i=e?e.weight:null
;n*=Math.pow(0===o&&i?Number.EPSILON:o,(i||1)*(t?1:r))})),e.score=n}))}(s,{
ignoreFieldNorm:a
}),o&&s.sort(i),WX(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:n=lG.includeMatches,includeScore:r=lG.includeScore}={}){
const o=[];return n&&o.push(MG),r&&o.push(IG),e.map((e=>{const{idx:n}=e,r={
item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))
}(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){
const t=TG(e,this.options),{records:n}=this._myIndex,r=[]
;return n.forEach((({v:e,i:n,n:o})=>{if(!YX(e))return
;const{isMatch:i,score:a,indices:s}=t.searchIn(e);i&&r.push({item:e,idx:n,
matches:[{score:a,value:e,norm:o,indices:s}]})})),r}_searchLogical(e){
const t=NG(e,this.options),n=(e,t,r)=>{if(!e.children){
const{keyId:n,searcher:o}=e,i=this._findMatches({key:this._keyStore.get(n),
value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o})
;return i&&i.length?[{idx:r,item:t,matches:i}]:[]}const o=[]
;for(let i=0,a=e.children.length;i<a;i+=1){const a=e.children[i],s=n(a,t,r)
;if(s.length)o.push(...s);else if(e.operator===CG)return[]}return o
},r=this._myIndex.records,o={},i=[];return r.forEach((({$:e,i:r})=>{if(YX(e)){
let a=n(t,e,r);a.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]
},i.push(o[r])),a.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),i}
_searchObjectList(e){
const t=TG(e,this.options),{keys:n,records:r}=this._myIndex,o=[]
;return r.forEach((({$:e,i:r})=>{if(!YX(e))return;let i=[];n.forEach(((n,r)=>{
i.push(...this._findMatches({key:n,value:e[r],searcher:t}))
})),i.length&&o.push({idx:r,item:e,matches:i})})),o}
_findMatches({key:e,value:t,searcher:n}){if(!YX(t))return[];let r=[]
;if(qX(t))t.forEach((({v:t,i:o,n:i})=>{if(!YX(t))return
;const{isMatch:a,score:s,indices:l}=n.searchIn(t);a&&r.push({score:s,key:e,
value:t,idx:o,norm:i,indices:l})}));else{
const{v:o,n:i}=t,{isMatch:a,score:s,indices:l}=n.searchIn(o);a&&r.push({score:s,
key:e,value:o,norm:i,indices:l})}return r}}function jG(e){var t,n,r;try{
const o=null==(r=null==(n=null==(t=null==e?void 0:e.information)?void 0:t.requestBody)?void 0:n.content)?void 0:r["application/json"]
;if(!o)throw new Error("Body not found");return function(e){var t
;const n=["Body"],r=null==(t=null==e?void 0:e.schema)?void 0:t.properties
;return r&&Object.keys(r).forEach((t=>{if(!e.schema)return;n.push(function(e,t){
let n=e
;return n+=t.required&&t.required.includes(e)?" REQUIRED ":" optional ",t.properties[e]&&(n+=t.properties[e].type,
t.properties[e].description&&(n+=" "+t.properties[e].description)),n
}(t,e.schema));const o=r[t]
;"object"===o.type&&o.properties&&o.properties&&Object.keys(o.properties).forEach((e=>{
var t,r
;n.push(`${e} ${null==(r=null==(t=o.properties)?void 0:t[e])?void 0:r.type}`)}))
})),n}(o)}catch(o){return!1}}
LG.version="7.0.0",LG.createIndex=dG,LG.parseIndex=function(e,{getFn:t=lG.getFn,fieldNormWeight:n=lG.fieldNormWeight}={}){
const{keys:r,records:o}=e,i=new uG({getFn:t,fieldNormWeight:n})
;return i.setKeys(r),i.setIndexRecords(o),i
},LG.config=lG,LG.parseQuery=NG,function(...e){EG.push(...e)}(_G)
;const BG=FX(Gr({__name:"SearchModal",props:{parsedSpec:{},modalState:{}},
setup(e){
const t=e,n=Xn(t,"parsedSpec"),{resetSearch:r,fuseSearch:o,selectedSearchResult:i,searchResultsWithPlaceholderResults:a,searchText:s}=function({specification:e}){
const{getHeadingId:t,getWebhookId:n,getModelId:r,getOperationId:o,getTagId:i}=ff(),{hideModels:a}=XD(),s=In([]),l=In([]),c=In(0),u=In(""),d=new LG(s.value,{
keys:["title","description","body"]
}),p=$a((()=>0===u.value.length?s.value.slice(0,25).map((e=>({item:e
}))):l.value.slice(0,25)));return Ci(e.value,(async()=>{var l,c,u,p,h,f,m,g,v
;const b=performance.now()
;if(s.value=[],!(null==(c=null==(l=e.value)?void 0:l.tags)?void 0:c.length)&&!(null==(p=null==(u=e.value)?void 0:u.webhooks)?void 0:p.length))return void d.setCollection([])
;const O=[],y=jP((null==(f=null==(h=e.value)?void 0:h.info)?void 0:f.description)??"")
;y.length&&(y.forEach((e=>{O.push({type:"heading",title:`Info > ${e.value}`,
description:"",href:`#${t(e)}`,tag:e.slug,body:""})
})),s.value=s.value.concat(O)),
null==(g=null==(m=e.value)?void 0:m.tags)||g.forEach((e=>{const t={
title:e["x-displayName"]??e.name,href:`#${i(e)}`,description:e.description,
type:"tag",tag:e.name,body:""}
;s.value.push(t),e.operations&&e.operations.forEach((t=>{
const{parameterMap:n}=mf({operation:t}),r=jG(t)||n.value;let i=null
;"boolean"!=typeof r&&(i=r);const a={type:"req",title:t.name??t.path,
href:`#${o(t,e)}`,operationId:t.operationId,description:t.description??"",
httpVerb:t.httpVerb,path:t.path,tag:e.name,operation:t}
;i&&(a.body=i),s.value.push(a)}))}))
;const w=null==(v=e.value)?void 0:v.webhooks,k=[]
;w&&Object.keys(w).forEach((e=>{Object.keys(w[e]).forEach((t=>{var r;k.push({
type:"webhook",title:`Webhook: ${null==(r=w[e][t])?void 0:r.name}`,
href:`#${n(e,t)}`,description:e,httpVerb:t,tag:e,body:""})
})),s.value=s.value.concat(k)}));const x=a.value?{}:QP(e.value),S=[]
;x&&(Object.keys(x).forEach((e=>{S.push({type:"model",title:"Model",
href:`#${r(e)}`,description:x[e].title??e,tag:e,body:""})
})),s.value=s.value.concat(S)),d.setCollection(s.value)
;const _=performance.now()
;console.log(`create-search-index: ${Math.round(_-b)} ms`)}),{immediate:!0}),{
resetSearch:function(){u.value="",c.value=0,l.value=[]},fuseSearch:()=>{
c.value=0,l.value=d.search(u.value)},selectedSearchResult:c,
searchResultsWithPlaceholderResults:p,searchText:u}}({specification:n}),l={
heading:"DocsPage",model:"Brackets",req:"Terminal",tag:"CodeFolder",
webhook:"Terminal"},c=In(null);Ci((()=>t.modalState.open),(e=>{e&&r()}))
;const{setCollapsedSidebarItem:u}=XD(),d=/#(tag\/[^/]*)/;function p(e){
let n="models";const r=e.item.href.match(d)
;(null==r?void 0:r.length)&&r.length>1&&(n=r[1]),u(n,!0)
;const o=e.item.href.replace("#","")
;if(document.getElementById(o))kD(o),t.modalState.hide();else{
const e=CD.on((n=>{n.id===o&&(kD(o),e(),t.modalState.hide())}))}}Ci(i,(e=>{var t
;const n=a.value[e]
;null==(t=document.getElementById(n.item.href))||t.scrollIntoView({
behavior:"smooth",block:"nearest"})}));const h=e=>{
const t="up"===e?-1:1,n=a.value.length,r=(i.value+t+n)%n;i.value=r}
;function f(e){const t=new URL(window.location.href)
;return t.hash=e,t.toString()}return(e,t)=>(Zi(),Ki(Qn(Wq),{state:e.modalState,
variant:"search",
onKeydown:[t[1]||(t[1]=zs(Us((e=>h("down")),["stop","prevent"]),["down"])),t[2]||(t[2]=zs(Us((e=>p(Qn(a)[Qn(i)])),["stop","prevent"]),["enter"])),t[3]||(t[3]=zs(Us((e=>h("up")),["stop","prevent"]),["up"]))]
},{default:xr((()=>[ra("div",{ref_key:"searchModalRef",ref:c,
class:"ref-search-container"},[oa(Qn(fX),{modelValue:Qn(s),
"onUpdate:modelValue":t[0]||(t[0]=e=>Mn(s)?s.value=e:null),onInput:Qn(o)
},null,8,["modelValue","onInput"])],512),oa(Qn(xX),{
class:"ref-search-results custom-scroll",noResults:!Qn(a).length},{
query:xr((()=>[sa(st(Qn(s)),1)])),
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(Qn(a),((e,t)=>(Zi(),Ki(Qn(kX),{
id:e.item.href,key:e.refIndex,active:Qn(i)===t,href:f(e.item.href),
icon:l[e.item.type],onClick:t=>p(e),onFocus:e=>i.value=t},_o({default:xr((()=>{
var t,n;return[ra("span",{class:et({
deprecated:null==(n=null==(t=e.item.operation)?void 0:t.information)?void 0:n.deprecated
})},st(e.item.title),3)]})),_:2
},[(e.item.httpVerb||e.item.path)&&e.item.path!==e.item.title?{
name:"description",fn:xr((()=>[sa(st(e.item.path),1)])),key:"0"
}:e.item.description?{name:"description",
fn:xr((()=>[sa(st(e.item.description),1)])),key:"1"
}:void 0,"req"===e.item.type?{name:"addon",fn:xr((()=>[oa(zX,{
method:e.item.httpVerb??"get"},null,8,["method"])])),key:"2"
}:void 0]),1032,["id","active","href","icon","onClick","onFocus"])))),128))])),
_:1},8,["noResults"]),t[4]||(t[4]=ra("div",{class:"ref-search-meta"
},[ra("span",null,"↑↓ Navigate"),ra("span",null,"⏎ Select")],-1))])),_:1
},8,["state"]))}}),[["__scopeId","data-v-fc89d20d"]]),QG={
class:"sidebar-search-input"},UG={class:"sidebar-search-shortcut"},FG={
class:"sidebar-search-key"},zG=Gr({__name:"SearchButton",props:{spec:{},
searchHotKey:{default:"k"}},setup(e){const t=e,n=Vq(),r=In(null),o=nh({
passive:!1,onEventFired(e){
!$X()&&e.ctrlKey&&e.key===t.searchHotKey&&(e.preventDefault(),
e.stopPropagation())}});return lo((()=>{IX.on((e=>{r.value=e}))
})),zp(o[`${$X()?"meta":"control"}_${t.searchHotKey}`],(()=>{var e
;(null==(e=r.value)?void 0:e.open)||(n.open?n.hide():n.show())
})),(e,t)=>(Zi(),Yi(Ui,null,[ra("button",{
class:et(["sidebar-search",e.$attrs.class]),type:"button",
onClick:t[0]||(t[0]=(...e)=>Qn(n).show&&Qn(n).show(...e))},[oa(Qn(Uq),{
class:"search-icon",icon:"Search",size:"sm",thickness:"2.5"
}),ra("div",QG,[t[1]||(t[1]=ra("span",{class:"sidebar-search-placeholder"
},"Search",-1)),ra("span",UG,[ra("span",FG,st(Qn($X)()?"⌘":"⌃")+st(e.searchHotKey),1)])])],2),oa(BG,{
modalState:Qn(n),parsedSpec:e.spec},null,8,["modalState","parsedSpec"])],64))}
}),qG=FX(zG,[["__scopeId","data-v-bc475de3"]]),HG=Gr({__name:"ApiClientModal",
props:{proxyUrl:{},preferredSecurityScheme:{},spec:{},servers:{}},setup(e){
const t=e,n=In(null),r=In(null),{server:o,setServer:i}=_p()
;return lo((async()=>{if(!n.value)return
;const{createApiClientModal:e}=await Promise.resolve().then((()=>foe)),{app:a,open:s,updateAuth:l,modalState:c,updateSpec:u,updateServer:d,onUpdateServer:p}=await e(n.value,{
spec:t.spec??{},preferredSecurityScheme:t.preferredSecurityScheme,
proxyUrl:t.proxyUrl,servers:t.servers});r.value={app:a,updateSpec:u,
updateServer:d},IX.emit(c),p((e=>{if(!o.servers)return
;const t=o.servers.findIndex((t=>t.url===e));t>=0&&i({selectedServer:t})
})),MX.on((e=>{
e.open&&s(e.open),e.updateSpec&&u(e.updateSpec),e.updateAuth&&l(e.updateAuth)}))
})),Ci(o,(e=>{const t=Vd(e);t&&r.value&&r.value.updateServer(t)
})),Ci((()=>t.spec),(e=>{var t
;return e&&(null==(t=r.value)?void 0:t.updateSpec(e))}),{deep:!0}),po((()=>{
var e;return null==(e=r.value)?void 0:e.app.unmount()})),(e,t)=>(Zi(),Yi("div",{
ref_key:"el",ref:n},null,512))}}),VG=["innerHTML"],ZG=FX(Gr({__name:"ServerUrl",
props:{server:{},variables:{}},setup(e){const t=e,n=$a((()=>{var e
;return Qd(((null==(e=t.server)?void 0:e.url)??"").replace(/(<([^>]+)>)/gi,""),(e=>{
var n;const r=(null==(n=t.variables)?void 0:n[e])??""
;return`<span class="base-url-variable">${""!==r?r:`{${e}}`}</span>`}))}))
;return(e,t)=>(Zi(),Yi("span",{class:"base-url",innerHTML:n.value},null,8,VG))}
}),[["__scopeId","data-v-fe287df9"]]),WG={class:"custom-scroll"},XG=FX(Gr({
__name:"ServerUrlSelect",props:{options:{},modelValue:{},describedBy:{}},
emits:["update:modelValue"],setup(e,{emit:t}){
const n=e,r=t,o=$a((()=>n.options.map(((e,t)=>({id:t.toString(),label:e.url??""
}))))),i=$a({get:()=>{var e
;return null==(e=o.value)?void 0:e.find((e=>e.id===n.modelValue.toString()))},
set:e=>r("update:modelValue",parseInt((null==e?void 0:e.id)??"",10))})
;return(e,t)=>(Zi(),Ki(Qn(hZ),{modelValue:i.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),fullWidth:"",options:o.value,
resize:""},{default:xr((()=>[oa(Qn(tH),{"aria-describedby":e.describedBy,
class:et(["url-select",{"pointer-events-none":o.value.length<=1}]),fullWidth:"",
variant:"ghost"},{
default:xr((()=>[ra("span",WG,[Eo(e.$slots,"default",{},void 0,!0)]),o.value.length>1?(Zi(),
Ki(Qn(Uq),{key:0,icon:"ChevronDown",size:"xs"})):ca("",!0)])),_:3
},8,["aria-describedby","class"])])),_:3},8,["modelValue","options"]))}
}),[["__scopeId","data-v-f41e881b"]]),GG=Gr({__name:"ServerVariablesSelect",
props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){
const n=e,r=t,o=$a((()=>n.enum.map((e=>({id:e,label:e}))))),i=$a({
get:()=>o.value.find((e=>e.id===n.value)),
set:e=>r("change",(null==e?void 0:e.id)??"")});return(e,t)=>(Zi(),Ki(Qn(hZ),{
modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),fullWidth:"",
options:o.value},{default:xr((()=>[oa(Qn(tH),{"aria-controls":e.controls,
class:"variable-select",fullWidth:"",variant:"ghost"},{
default:xr((()=>[ra("span",null,[t[1]||(t[1]=ra("span",{class:"sr-only"
},"Selected:",-1)),sa(" "+st(e.value),1)]),oa(Qn(Uq),{icon:"ChevronDown",
size:"xs"})])),_:1},8,["aria-controls"])])),_:1},8,["modelValue","options"]))}
}),YG=FX(GG,[["__scopeId","data-v-1eae5319"]]),KG=["aria-controls"],JG=FX(Gr({
__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],
setup(e,{emit:t}){const n=e,r=t,o=$a({get:()=>n.value,set:e=>r("change",e)})
;return(e,t)=>Sr((Zi(),Yi("input",{
"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),"aria-controls":e.controls,
autocomplete:"off",class:"variable-textbox",placeholder:"value",
spellcheck:"false",type:"text"},null,8,KG)),[[$s,o.value]])}
}),[["__scopeId","data-v-0edbbce4"]]),eY={key:0,class:"variable-container"
},tY=["for"],nY=Gr({__name:"ServerVariablesForm",props:{variables:{},values:{},
controls:{}},emits:["update:variable"],setup(e,{emit:t}){const n=e,r=t,o=EH()
;function i(e,t){r("update:variable",e,t)}const a=e=>{var t,r
;return((null==(t=n.values)?void 0:t[e])??(null==(r=n.variables)?void 0:r[e].default)??"").toString()
}
;return(e,t)=>e.variables&&Object.keys(e.variables??{}).length?(Zi(),Yi("div",eY,[(Zi(!0),
Yi(Ui,null,So(Object.keys(e.variables),(t=>{var n,r,s,l;return Zi(),Yi("div",{
key:t,class:"variable-container-item"},[ra("label",{class:"variable-label",
for:`${Qn(o)}-variable-${t}`
},[ra("code",null,st(t),1)],8,tY),(null==(r=null==(n=e.variables)?void 0:n[t].enum)?void 0:r.length)?(Zi(),
Ki(YG,{key:0,controls:e.controls,
enum:(null==(l=null==(s=e.variables[t])?void 0:s.enum)?void 0:l.map((e=>`${e}`)))??[],
label:t,value:a(t),onChange:e=>i(t,e)
},null,8,["controls","enum","label","value","onChange"])):(Zi(),Ki(JG,{key:1,
id:`${Qn(o)}-variable-${t}`,controls:e.controls,value:a(t),onChange:e=>i(t,e)
},null,8,["id","controls","value","onChange"]))])})),128))])):ca("",!0)}
}),rY=FX(nY,[["__scopeId","data-v-94bc9df6"]]),oY={key:0},iY={
class:"server-form"},aY={class:"server-form-container"},sY={class:"description"
},lY=FX(Gr({__name:"ServerForm",props:{selected:{default:0},servers:{},
variables:{}},emits:["update:selected","update:variables"],setup(e,{emit:t}){
const n=e,r=t,o=`server-selector-${EH()}`,i=`server-description-${EH()}`,a=$a({
get:()=>n.selected,set:e=>r("update:selected",e)}),s=$a((()=>{var e
;return null==(e=n.servers)?void 0:e[a.value]}));function l(e,t){
r("update:variables",{...n.variables,[e]:t})}return(e,t)=>{var n,r,c
;return(null==(n=e.servers)?void 0:n.length)?(Zi(),
Yi("div",oY,[t[2]||(t[2]=ra("label",{class:"server-form-title"
},"Base URL",-1)),ra("div",iY,[ra("div",aY,[ra("div",null,[oa(XG,{id:o,
modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),
describedBy:i,label:"Base URL",options:e.servers},{
default:xr((()=>[t[1]||(t[1]=ra("span",{class:"sr-only"
},"Selected:",-1)),oa(ZG,{server:s.value,variables:e.variables
},null,8,["server","variables"])])),_:1},8,["modelValue","options"])]),oa(rY,{
controls:o,values:e.variables,variables:null==(r=s.value)?void 0:r.variables,
"onUpdate:variable":l
},null,8,["values","variables"])])]),(null==(c=s.value)?void 0:c.description)?(Zi(),
Yi("div",{key:0,id:i,muted:""},[ra("div",sY,[oa(Qn(sZ),{
value:s.value.description},null,8,["value"])])])):ca("",!0)])):ca("",!0)}}
}),[["__scopeId","data-v-ff1fd73b"]]),cY=Gr({__name:"BaseUrl",props:{
specification:{},defaultServerUrl:{},servers:{}},setup(e){
const t=e,n=Xn(t.specification),r=Xn(t.defaultServerUrl),o=Xn(t.servers),{server:i,setServer:a}=_p({
specification:n,defaultServerUrl:r,servers:o}),s=$a({
get:()=>i.selectedServer||0,set:e=>a({selectedServer:e})}),l=$a({
get:()=>i.variables,set:e=>a({variables:e})});return(e,t)=>(Zi(),Ki(lY,{
selected:s.value,"onUpdate:selected":t[0]||(t[0]=e=>s.value=e),
variables:l.value,"onUpdate:variables":t[1]||(t[1]=e=>l.value=e),
servers:Qn(i).servers},null,8,["selected","variables","servers"]))}}),uY={
class:"card-form"};const dY=FX({},[["render",function(e,t){
return Zi(),Yi("form",uY,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-20e78fcd"]]),pY=FX(Gr({__name:"CardFormButton",
setup(e,{expose:t}){const n=In();return t({el:n}),(e,t)=>(Zi(),Yi("button",{
ref_key:"el",ref:n,class:"card-form-button",type:"button"
},[Eo(e.$slots,"default",{},void 0,!0)],512))}
}),[["__scopeId","data-v-502d153b"]]),hY={class:"card-form-group"}
;const fY=FX({},[["render",function(e,t){
return Zi(),Yi("div",hY,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-88abf5f7"]]),mY={class:"card-form-rows"}
;const gY=FX({},[["render",function(e,t){
return Zi(),Yi("div",mY,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-1611fc76"]]),vY={class:"card-form-input"
},bY=["for"],OY=["id","type"],yY={key:0,class:"card-form-input-mask"
},wY=["aria-controls","aria-expanded"],kY=FX(Gr({inheritAttrs:!1,
__name:"CardFormTextInput",props:{id:{},type:{},label:{type:Boolean}},setup(e){
const t=e,n=In(!0),r=$a((()=>"password"===t.type?n.value?"password":"text":t.type??"text"))
;return(e,t)=>(Zi(),Yi("div",vY,[ra("label",{class:et(["card-form-input-label",{
"sr-only":!e.label}]),for:e.id
},[Eo(e.$slots,"default",{},void 0,!0)],10,bY),ra("input",ha(e.$attrs,{id:e.id,
autocomplete:"off",class:"card-form-input-text","data-1p-ignore":"",
spellcheck:"false",type:r.value
}),null,16,OY),"password"===e.type?(Zi(),Yi("label",yY,[t[1]||(t[1]=ra("span",{
class:"sr-only"},"Hide Password",-1)),oa(Qn(Uq),{
class:"card-form-input-mask-icon",icon:n.value?"Show":"Hide"
},null,8,["icon"]),Sr(ra("input",{
"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),"aria-controls":e.id,
"aria-expanded":!n.value,type:"checkbox"
},null,8,wY),[[Rs,n.value]])])):ca("",!0)]))}
}),[["__scopeId","data-v-1473bccc"]]),xY={class:"scopes-label"
},SY=["checked"],_Y={class:"dropdown-item-title"},EY={
class:"dropdown-item-description"},TY=Gr({__name:"SecuritySchemeScopes",props:{
scopes:{},selected:{}},emits:["update:selected"],setup(e,{emit:t}){
const n=e,r=t,o=In(),i=In(),{floatingStyles:a}=JV(o,i,{placement:"bottom-end",
whileElementsMounted:HV,middleware:[VV(5),WV(),ZV()]}),s=$a({get:()=>n.selected,
set:e=>r("update:selected",e)})
;return(e,t)=>Object.keys(e.scopes??{}).length?(Zi(),Ki(Qn(wN),{key:0,
modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),multiple:""
},{default:xr((({open:n})=>[ra("div",{ref_key:"trigger",ref:o,
class:et(["wrapper",{"wrapper-open":n}])},[oa(Qn(xN),{as:pY},{
default:xr((()=>[ra("div",xY,[sa(" Scopes "+st(s.value.length),1),t[1]||(t[1]=ra("em",null,"/",-1)),sa(st(Object.entries(e.scopes??{}).length)+" ",1),oa(Qn(Uq),{
icon:n?"ChevronUp":"ChevronDown",size:"sm"},null,8,["icon"])])])),_:2
},1024)],2),(Zi(),Ki(Nr,{to:"body"},[ra("div",{ref_key:"dropdown",ref:i,
class:"floating scalar-app",style:Xe(Qn(a))},[oa(Qn(SN),{as:"dl",
class:"dropdown"},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(Object.entries(e.scopes??{}),(([e,t])=>(Zi(),
Ki(Qn(_N),{key:e,as:"div",class:"dropdown-item",value:e},{
default:xr((({selected:n})=>[ra("input",{checked:n,class:"dropdown-item-check",
tabindex:"-1",type:"checkbox"
},null,8,SY),ra("dt",_Y,st(e),1),ra("dd",EY,st(t),1)])),_:2
},1032,["value"])))),128))])),_:1})],4)]))])),_:1},8,["modelValue"])):ca("",!0)}
}),CY=FX(TY,[["__scopeId","data-v-6d6455a4"]]),AY=FX(Gr({
__name:"SecurityScheme",props:{value:{},proxy:{}},setup(e){
const{toast:t}=Hh(),{server:n}=_p(),{authentication:r,setAuthentication:o}=op(),i=e=>{
const t=e.target.value;o({apiKey:{...r.apiKey,token:t}
}),r.preferredSecurityScheme&&MX.emit({updateAuth:{
nameKey:r.preferredSecurityScheme,propertyKey:"value",value:t}})},a=e=>{
const t=e.target.value;o({http:{...r.http,basic:{...r.http.basic,username:t}}}),
r.preferredSecurityScheme&&MX.emit({updateAuth:{
nameKey:r.preferredSecurityScheme,propertyKey:"username",value:t}})},s=e=>{
const t=e.target.value;o({http:{...r.http,basic:{...r.http.basic,password:t}}}),
r.preferredSecurityScheme&&MX.emit({updateAuth:{
nameKey:r.preferredSecurityScheme,propertyKey:"password",value:t}})},l=e=>{
const t=e.target.value;o({http:{...r.http,bearer:{...r.http.bearer,token:t}}
}),r.preferredSecurityScheme&&MX.emit({updateAuth:{
nameKey:r.preferredSecurityScheme,propertyKey:"token",value:t}})},c=e=>{o({
oAuth2:{...r.oAuth2,clientId:e.target.value}})},u=e=>{o({oAuth2:{...r.oAuth2,
username:e.target.value}})},d=e=>{o({oAuth2:{...r.oAuth2,password:e.target.value
}})};const p=$a({get:()=>r.oAuth2.scopes,set:e=>o({oAuth2:{...r.oAuth2,scopes:e}
})});return(e,h)=>{var f
;return e.value&&(null==(f=e.value)?void 0:f.type)?(Zi(),Ki(dY,{key:0,
onSubmit:h[5]||(h[5]=Us((()=>{}),["prevent"]))},{
default:xr((()=>["apiKey"===e.value.type?(Zi(),Ki(kY,{key:0,
id:`security-scheme-${e.value.name}`,placeholder:"Token",type:"password",
value:Qn(r).apiKey.token,onInput:i},{default:xr((()=>{var t,n,r
;return[e.value.in?(Zi(),Yi(Ui,{key:0
},[sa(st((null==(n=null==(t=e.value.in)?void 0:t.charAt(0))?void 0:n.toUpperCase())+(null==(r=e.value.in)?void 0:r.slice(1))),1)],64)):ca("",!0),h[6]||(h[6]=sa(" API "))]
})),_:1},8,["id","value"])):"http"===e.value.type||"basic"===e.value.type?(Zi(),
Yi(Ui,{key:1},["basic"===e.value.type||"basic"===e.value.scheme?(Zi(),Ki(fY,{
key:0},{default:xr((()=>[oa(kY,{id:"http.basic.username",placeholder:"Username",
value:Qn(r).http.basic.username,onInput:a},{
default:xr((()=>h[7]||(h[7]=[sa(" Username ")]))),_:1},8,["value"]),oa(kY,{
id:"http.basic.password",placeholder:"Password",type:"password",
value:Qn(r).http.basic.password,onInput:s},{
default:xr((()=>h[8]||(h[8]=[sa(" Password ")]))),_:1},8,["value"])])),_:1
})):"http"===e.value.type&&"bearer"===e.value.scheme?(Zi(),Ki(kY,{key:1,
id:"http.bearer.token",placeholder:"Token",type:"password",
value:Qn(r).http.bearer.token,onInput:l},{
default:xr((()=>h[9]||(h[9]=[sa(" Bearer Token ")]))),_:1
},8,["value"])):ca("",!0)],64)):"oauth2"===e.value.type.toLowerCase()&&e.value.flows?(Zi(),
Ki(fY,{key:2},{default:xr((()=>{var i,a
;return[e.value.flows.implicit?(Zi(),Yi(Ui,{key:0
},[Qn(r).oAuth2.accessToken?(Zi(),Yi(Ui,{key:0},[oa(kY,{id:"oAuth2.accessToken",
placeholder:"xxxxx",type:"password",value:Qn(r).oAuth2.accessToken},{
default:xr((()=>h[10]||(h[10]=[sa(" Access Token ")]))),_:1
},8,["value"]),oa(pY,{onClick:h[0]||(h[0]=()=>Qn(o)({oAuth2:{...Qn(r).oAuth2,
accessToken:"",state:""}}))},{default:xr((()=>h[11]||(h[11]=[sa(" Reset ")]))),
_:1
})],64)):ca("",!0)],64)):ca("",!0),(null==(a=null==(i=e.value)?void 0:i.flows)?void 0:a.password)?(Zi(),
Ki(gY,{key:1},{default:xr((()=>[oa(fY,null,{default:xr((()=>[oa(kY,{
id:"oAuth2.username",placeholder:"Username",value:Qn(r).oAuth2.username,
onInput:u},{default:xr((()=>h[12]||(h[12]=[sa(" Username ")]))),_:1
},8,["value"]),oa(kY,{id:"oAuth2.password",placeholder:"Password",
type:"password",value:Qn(r).oAuth2.password,onInput:d},{
default:xr((()=>h[13]||(h[13]=[sa(" Password ")]))),_:1},8,["value"])])),_:1
}),oa(fY,null,{default:xr((()=>{var i,a,s,l,u,d,f,m,g,v,b;return[oa(kY,{
id:"oAuth2.clientId",placeholder:"12345",type:"text",
value:Qn(r).oAuth2.clientId,onInput:c},{
default:xr((()=>h[14]||(h[14]=[sa(" Client ID ")]))),_:1
},8,["value"]),void 0!==e.value&&Object.entries((null==(s=null==(a=null==(i=e.value)?void 0:i.flows)?void 0:a.implicit)?void 0:s.scopes)??(null==(d=null==(u=null==(l=e.value)?void 0:l.flows)?void 0:u.password)?void 0:d.scopes)??{}).length>0?(Zi(),
Ki(CY,{key:0,selected:p.value,"onUpdate:selected":h[1]||(h[1]=e=>p.value=e),
scopes:(null==(g=null==(m=null==(f=e.value)?void 0:f.flows)?void 0:m.implicit)?void 0:g.scopes)??(null==(b=null==(v=e.value)?void 0:v.flows)?void 0:b.password.scopes)
},null,8,["selected","scopes"])):ca("",!0),ra("button",{
class:"cardform-auth-button",type:"button",onClick:h[2]||(h[2]=()=>{var i,a
;return function(e,n){
if("string"!=typeof e)return void console.log("tokenUrl is not a string")
;const i=(null==n?void 0:n.baseUrl)&&!e.startsWith("http")?sl(null==n?void 0:n.baseUrl,e):e,a=new URL(i)
;a.searchParams.set("grant_type","password"),
a.searchParams.set("username",r.oAuth2.username),
a.searchParams.set("password",r.oAuth2.password),
a.searchParams.set("client_id",r.oAuth2.clientId),
a.searchParams.set("scope",r.oAuth2.scopes.join(" ")),
fetch((null==n?void 0:n.proxy)?ll(null==n?void 0:n.proxy,a.toString()):a.toString(),{
method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}
}).then((e=>{
if(!e.ok)throw new Error("Failed to get an access token. Please check your credentials.")
;return e.json()})).then((e=>{o({oAuth2:{...r.oAuth2,accessToken:e.access_token}
})})).catch((e=>{t("Couldn’t retrieve the password grant token","warn",{
description:"Open your browser console to get more information."
}),console.error("[authorizeWithPassword]",e)}))
}(null==(a=null==(i=e.value.flows)?void 0:i.password)?void 0:a.tokenUrl,{
baseUrl:Qn(Vd)(Qn(n)),proxy:e.proxy})})}," Authorize ")]})),_:1})])),_:1
})):(Zi(),Ki(gY,{key:2},{default:xr((()=>[oa(fY,null,{default:xr((()=>{
var t,n,i,a,s,l;return[oa(kY,{id:"oAuth2.clientId",placeholder:"12345",
type:"text",value:Qn(r).oAuth2.clientId,onInput:c},{
default:xr((()=>h[15]||(h[15]=[sa(" Client ID ")]))),_:1
},8,["value"]),void 0!==e.value&&Object.entries((null==(t=e.value.flows.implicit)?void 0:t.scopes)??(null==(n=e.value.flows.password)?void 0:n.scopes)??(null==(i=e.value.flows.authorizationCode)?void 0:i.scopes)).length>0?(Zi(),
Ki(CY,{key:0,selected:p.value,"onUpdate:selected":h[3]||(h[3]=e=>p.value=e),
scopes:(null==(a=e.value.flows.implicit)?void 0:a.scopes)??(null==(s=e.value.flows.password)?void 0:s.scopes)??(null==(l=e.value.flows.authorizationCode)?void 0:l.scopes)
},null,8,["selected","scopes"])):ca("",!0),ra("button",{
class:"cardform-auth-button",type:"button",onClick:h[4]||(h[4]=()=>{var t,n,i,a
;return(e=>{
const t=window.open(e,"openAuth2Window","left=100,top=100,width=800,height=600")
;if(t){const e=setInterval((function(){var n;try{
const i=new URLSearchParams(t.location.href).get("access_token")
;if(t.closed||i){clearInterval(e)
;const a=null==(n=t.location.href.match(/state=([^&]*)/))?void 0:n[1]
;i&&r.oAuth2.state===a&&o({oAuth2:{...r.oAuth2,accessToken:i}}),t.close()}
}catch{}}),200)}})(function(e){
const t=r.oAuth2.scopes.join(" "),n=(Math.random()+1).toString(36).substring(7),i=new URL(e.authorizationUrl)
;return o({oAuth2:{...r.oAuth2,state:n}
}),i.searchParams.set("response_type","token"),
i.searchParams.set("client_id",r.oAuth2.clientId),
i.searchParams.set("redirect_uri",window.location.href),
i.searchParams.set("scope",t),i.searchParams.set("state",n),i.toString()
}((null==(n=null==(t=e.value)?void 0:t.flows)?void 0:n.implicit)??(null==(a=null==(i=e.value)?void 0:i.flows)?void 0:a.password)))
})}," Authorize ")]})),_:1})])),_:1}))]})),_:1})):ca("",!0)])),_:1})):ca("",!0)}
}}),[["__scopeId","data-v-22bdc0a2"]]),PY={key:0,class:"security-scheme-label"
},DY=FX(Gr({__name:"SecuritySchemeSelector",props:{value:{}},emits:["input"],
setup(e,{emit:t}){const n=e,r=t,{authentication:o,setAuthentication:i}=op()
;lo((()=>{o.preferredSecurityScheme||a(Object.keys(n.value??{})[0]??null)}))
;const a=e=>{i({preferredSecurityScheme:e}),r("input",e)}
;fo((()=>a(Object.keys(n.value??{})[0]??null)))
;const s=(e,t)=>`${l(e)} (${t})`,l=e=>{var t,n
;return(e=>!(null==e?void 0:e.type))(e)?"No Authentication":(e=>"apikey"===e.type.toLowerCase())(e)?"API Key":(e=>"http"===e.type&&"basic"===e.scheme.toLowerCase()||"basic"===e.type.toLowerCase())(e)?"Basic Authentication":(e=>"http"===e.type&&"bearer"===e.scheme.toLowerCase())(e)?"Bearer Authentication":(e=>"oauth2"===e.type.toLowerCase())(e)?(null==(t=e.flows)?void 0:t.implicit)?"OAuth 2.0 Implicit":(null==(n=e.flows)?void 0:n.password)?"OAuth 2.0 Password":"OAuth 2.0":`${e.type} (not yet supported)`
},c=$a((()=>Object.keys(n.value??{}))),u=$a((()=>c.value.map((e=>{var t;return{
id:e,label:s(null==(t=n.value)?void 0:t[e],e)}})))),d=$a({get:()=>{var e
;return null==(e=u.value)?void 0:e.find((e=>e.id===o.preferredSecurityScheme))},
set:e=>a((null==e?void 0:e.id)??"")});return(e,t)=>{var n
;return 1===c.value.length?(Zi(),
Yi("div",PY,st(s(null==(n=e.value)?void 0:n[c.value[0]],c.value[0])),1)):c.value.length>1?(Zi(),
Ki(Qn(hZ),{key:1,modelValue:d.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>d.value=e),label:"Security Scheme",
options:u.value,resize:""},{default:xr((()=>[oa(Qn(tH),{
class:"security-scheme-button",fullWidth:"",variant:"ghost"},{default:xr((()=>{
var n;return[t[1]||(t[1]=ra("span",{class:"sr-only"
},"Selected:",-1)),sa(" "+st(Qn(o).preferredSecurityScheme?s(null==(n=e.value)?void 0:n[Qn(o).preferredSecurityScheme],Qn(o).preferredSecurityScheme):"No Authentication")+" ",1),oa(Qn(Uq),{
icon:"ChevronDown",size:"xs"})]})),_:1})])),_:1
},8,["modelValue","options"])):ca("",!0)}}
}),[["__scopeId","data-v-e94bff6c"]]),$Y={key:0},RY={
class:"authentication-header"},NY={class:"selector"},MY={key:0,
class:"authentication-content"},IY=FX(Gr({__name:"Authentication",props:{
parsedSpec:{},proxy:{}},setup(e){
const t=e,{authentication:n,setAuthentication:r}=op(),o=$a((()=>{var e,r,o
;if(!n.preferredSecurityScheme)return!1
;const i=null==(o=null==(r=null==(e=t.parsedSpec)?void 0:e.components)?void 0:r.securitySchemes)?void 0:o[n.preferredSecurityScheme]
;return!!i&&"type"in i&&!!i.type}));return Ci((()=>{var e,n
;return null==(n=null==(e=t.parsedSpec)?void 0:e.components)?void 0:n.securitySchemes
}),(()=>{var e,n;r({
securitySchemes:null==(n=null==(e=t.parsedSpec)?void 0:e.components)?void 0:n.securitySchemes
})}),{deep:!0,immediate:!0}),fo((async()=>{const e=Ei()
;await xD(1),e.payload.data["useGlobalStore-authentication"]=n})),(e,t)=>{
var r,i,a,s,l
;return Qn(FP)(e.parsedSpec)?(Zi(),Yi("div",$Y,[ra("div",RY,[ra("div",NY,[oa(DY,{
value:null==(i=null==(r=e.parsedSpec)?void 0:r.components)?void 0:i.securitySchemes
},null,8,["value"])])]),o.value?(Zi(),
Yi("div",MY,[Qn(n).preferredSecurityScheme?(Zi(),Ki(AY,{key:0,proxy:e.proxy,
value:null==(l=null==(s=null==(a=e.parsedSpec)?void 0:a.components)?void 0:s.securitySchemes)?void 0:l[Qn(n).preferredSecurityScheme]
},null,8,["proxy","value"])):ca("",!0)])):ca("",!0)])):ca("",!0)}}
}),[["__scopeId","data-v-244454d9"]]),LY=["onClick"],jY=["value"],BY=["label"],QY=["aria-label","value"],UY={
"aria-hidden":"true",class:"client-libraries-icon__more"},FY={key:1,
class:"client-libraries-icon",height:"50",role:"presentation",
viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},zY={key:0,
"aria-hidden":"true"},qY=FX(Gr({__name:"ClientSelector",setup(e){
const{httpClient:t,setHttpClient:n,availableTargets:r,getClientTitle:o,getTargetTitle:i}=d$(),a=In(),s=[{
targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{
targetKey:"node",clientKey:"undici"},{targetKey:"php",clientKey:"guzzle"},{
targetKey:"python",clientKey:"python3"
}].filter((e=>r.value.find((t=>t.key===e.targetKey&&t.clients.find((t=>t.key===e.clientKey)))))),l=e=>`programming-language-${e}`,c=e=>s.some((t=>t.targetKey===e.targetKey&&t.clientKey===e.clientKey))
;return(e,u)=>(Zi(),Yi("div",{ref_key:"containerRef",ref:a,
class:"client-libraries-content"},[(Zi(!0),Yi(Ui,null,So(Qn(s),(e=>{return Zi(),
Yi("button",{key:e.clientKey,"aria-hidden":"true",
class:et(["client-libraries rendered-code-sdks",{
"client-libraries__active":(r=e,
r.targetKey===t.targetKey&&r.clientKey===t.clientKey)}]),tabindex:"-1",
type:"button",onClick:()=>Qn(n)(e)},[ra("div",{
class:et(`client-libraries-icon__${e.targetKey}`)},[oa(Qn(Uq),{
class:"client-libraries-icon",icon:l(e.targetKey)
},null,8,["icon"])],2),ra("span",null,st(Qn(i)(e)),1)],10,LY);var r
})),128)),ra("label",{class:et(["client-libraries client-libraries__select",{
"client-libraries__active":Qn(t)&&!c(Qn(t))}])},[u[2]||(u[2]=ra("span",{
class:"sr-only"},"Select Client Library",-1)),ra("select",{
class:"language-select",value:JSON.stringify(Qn(t)),
onInput:u[0]||(u[0]=e=>Qn(n)(JSON.parse(e.target.value)))
},[(Zi(!0),Yi(Ui,null,So(Qn(r),(e=>(Zi(),Yi("optgroup",{key:e.key,label:e.title
},[(Zi(!0),Yi(Ui,null,So(e.clients,(t=>(Zi(),Yi("option",{key:t.key,
"aria-label":`${e.title} ${Qn(o)({targetKey:e.key,clientKey:t.key})}`,
value:JSON.stringify({targetKey:e.key,clientKey:t.key})},st(Qn(o)({
targetKey:e.key,clientKey:t.key
})),9,QY)))),128))],8,BY)))),128))],40,jY),ra("div",UY,[Qn(t)&&!c(Qn(t))?(Zi(),
Yi("div",{key:0,class:et(`client-libraries-icon__${Qn(t).targetKey}`)
},[oa(Qn(Uq),{class:"client-libraries-icon",icon:l(Qn(t).targetKey)
},null,8,["icon"])],2)):(Zi(),Yi("svg",FY,u[1]||(u[1]=[ra("g",{
fill:"currentColor","fill-rule":"nonzero"},[ra("path",{
d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"
})],-1)])))]),Qn(r).length?(Zi(),Yi("span",zY," More ")):ca("",!0)],2)],512))}
}),[["__scopeId","data-v-10825810"]]),HY={key:0},VY={
class:"selected-client card-footer",muted:""},ZY=FX(Gr({
__name:"ClientLibraries",setup(e){
const{availableTargets:t,httpTargetTitle:n,httpClientTitle:r}=d$()
;return(e,o)=>Qn(t).length?(Zi(),Yi("div",HY,[o[0]||(o[0]=ra("div",{
class:"client-libraries-heading"
},"Client Libraries",-1)),ra("div",null,[oa(qY)]),ra("div",VY,st(Qn(r))+" "+st(Qn(n)),1)])):ca("",!0)
}}),[["__scopeId","data-v-7df7ca7f"]]),WY={class:"download"
},XY=["href"],GY=FX(Gr({__name:"DownloadLink",props:{specTitle:{}},setup(e){
const t=e,n=ti(bD),r=ti(yD),o=()=>{SD.emit({id:"",specTitle:t.specTitle})}
;return(e,t)=>{var i,a,s
;return Zi(),Yi("div",WY,[(null==(i=Qn(n))?void 0:i())?ca("",!0):(Zi(),Yi(Ui,{
key:0},[(null==(a=Qn(r))?void 0:a())?(Zi(),Yi("a",{key:0,
class:"download-button",download:"",href:null==(s=Qn(r))?void 0:s(),
target:"_blank"}," Download OpenAPI Document ",8,XY)):(Zi(),Yi("button",{key:1,
class:"download-button",role:"link",type:"button",onClick:o
}," Download OpenAPI Document "))],64))])}}
}),[["__scopeId","data-v-4ae6d175"]]),YY={class:"badge"}
;const KY=FX({},[["render",function(e,t){
return Zi(),Yi("div",YY,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-190574ac"]]),JY=Gr({__name:"IntersectionObserver",
props:{id:{},is:{}},emits:["intersecting"],setup(e,{emit:t}){
const n=e,r=t,o=In(),i=e=>{const t=e.offsetHeight
;return`${t/2}px 0px ${t/2}px 0px`};return lo((()=>{if(o.value){const t={
rootMargin:i(o.value),
threshold:(e=o.value,e.offsetHeight<window.innerHeight?.8:.5)}
;!function(e,t,n={}){
const{root:r,rootMargin:o="0px",threshold:i=.1,window:a=Hp,immediate:s=!0}=n,l=Xp((()=>a&&"IntersectionObserver"in a)),c=$a((()=>{
const t=Np(e);return(Array.isArray(t)?t:[t]).map(qp).filter(Ip)}));let u=Bp
;const d=In(s),p=l.value?Ci((()=>[c.value,qp(r),d.value]),(([e,n])=>{
if(u(),!d.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{
root:qp(n),rootMargin:o,threshold:i});e.forEach((e=>e&&r.observe(e))),u=()=>{
r.disconnect(),u=Bp}}),{immediate:s,flush:"post"}):Bp,h=()=>{u(),p(),d.value=!1}
;Rp(h)}(o,(([{isIntersecting:e}])=>{e&&n.id&&r("intersecting")}),t)}var e
})),(e,t)=>(Zi(),Ki(wo(e.is??"div"),{id:e.id,ref_key:"intersectionObserverRef",
ref:o},{default:xr((()=>[Eo(e.$slots,"default")])),_:3},8,["id"]))}}),eK=FX(Gr({
__name:"Section",props:{id:{},label:{}},setup(e){
const t=e,{getSectionId:n,hash:r,isIntersectionEnabled:o,pathRouting:i}=ff(),{setCollapsedSidebarItem:a}=XD()
;function s(){var e,s;if(!t.label||!o.value)return
;const l=new URL(window.location.href),c=t.id??""
;i.value?l.pathname=zP(i.value.basePath,c):l.hash=c,
r.value=c,window.history.replaceState({},"",l),
((null==(e=t.id)?void 0:e.startsWith("model"))||(null==(s=t.id)?void 0:s.startsWith("webhook")))&&a(n(t.id),!0)
}return(e,t)=>(Zi(),Ki(JY,{is:"section",id:e.id,class:"section",onIntersecting:s
},{default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3},8,["id"]))}
}),[["__scopeId","data-v-fc324287"]]),tK={
class:"section-accordion-button-content"},nK={key:0,
class:"section-accordion-button-actions"},rK={key:0,
class:"section-accordion-description"},oK={
class:"section-accordion-content-card"},iK=FX(Gr({__name:"SectionAccordion",
props:{id:{},transparent:{type:Boolean}},setup(e){
const t=In(),n=function(e,t={}){
const{delayEnter:n=0,delayLeave:r=0,window:o=Hp}=t,i=In(!1);let a;const s=e=>{
const t=e?n:r
;a&&(clearTimeout(a),a=void 0),t?a=setTimeout((()=>i.value=e),t):i.value=e}
;return o?(Zp(e,"mouseenter",(()=>s(!0)),{passive:!0
}),Zp(e,"mouseleave",(()=>s(!1)),{passive:!0}),i):i}(t)
;return(e,r)=>(Zi(),Ki(JY,{id:e.id,class:"section-wrapper"},{
default:xr((()=>[oa(Qn(cN),{as:"section",class:et(["section-accordion",{
"section-accordion-transparent":e.transparent}])},{
default:xr((({open:r})=>[oa(Qn(uN),{ref_key:"button",ref:t,
class:"section-accordion-button"},{
default:xr((()=>[ra("div",tK,[Eo(e.$slots,"title",{},void 0,!0)]),e.$slots.actions?(Zi(),
Yi("div",nK,[Eo(e.$slots,"actions",{active:Qn(n)||r
},void 0,!0)])):ca("",!0),oa(Qn(Uq),{class:"section-accordion-chevron",
icon:r?"ChevronDown":"ChevronRight"},null,8,["icon"])])),_:2},1536),oa(Qn(dN),{
class:"section-accordion-content"},{default:xr((()=>[e.$slots.description?(Zi(),
Yi("div",rK,[Eo(e.$slots,"description",{},void 0,!0)])):ca("",!0),ra("div",oK,[Eo(e.$slots,"default",{},void 0,!0)])])),
_:3})])),_:3},8,["class"])])),_:3},8,["id"]))}
}),[["__scopeId","data-v-07cabcb0"]]),aK={class:"section-column"}
;const sK=FX({},[["render",function(e,t){
return Zi(),Yi("div",aK,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-d64e7382"]]),lK={class:"section-columns"}
;const cK=FX({},[["render",function(e,t){
return Zi(),Yi("div",lK,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-8b9602bf"]]),uK={class:"section-container"}
;const dK=FX({},[["render",function(e,t){
return Zi(),Yi("div",uK,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-823b8471"]]),pK={class:"section-accordion-wrapper"},hK={
class:"section-accordion-title"},fK=FX(Gr({__name:"SectionContainerAccordion",
setup:e=>(e,t)=>(Zi(),Yi("div",pK,[oa(Qn(cN),{as:"div",
class:"section-accordion",defaultOpen:""},{default:xr((({open:t})=>[oa(Qn(uN),{
class:"section-accordion-button"},{default:xr((()=>[oa(Qn(Uq),{
class:"section-accordion-chevron",icon:t?"ChevronDown":"ChevronRight"
},null,8,["icon"]),ra("div",hK,[Eo(e.$slots,"title",{},void 0,!0)])])),_:2
},1024),oa(Qn(dN),{class:"section-accordion-content"},{
default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})]))
}),[["__scopeId","data-v-2049975e"]]),mK=FX(Gr({__name:"LoadingSkeleton",props:{
lines:{default:1}},
setup:e=>(e,t)=>(Zi(!0),Yi(Ui,null,So([...Array(e.lines).keys()],(t=>(Zi(),
Yi("div",{key:t,class:et(["loading",{"single-line":1===e.lines}])
},null,2)))),128))}),[["__scopeId","data-v-c90b2c46"]]),gK={
class:"section-content"},vK=FX(Gr({__name:"SectionContent",props:{loading:{
type:Boolean,default:!1}},
setup:e=>(e,t)=>(Zi(),Yi("div",gK,[e.loading?(Zi(),Ki(mK,{key:1,lines:8
})):Eo(e.$slots,"default",{key:0},void 0,!0)]))
}),[["__scopeId","data-v-9735459e"]]),bK=FX(Gr({__name:"SectionHeader",props:{
loading:{type:Boolean,default:!1},tight:{type:Boolean,default:!1},level:{
default:1}},setup:e=>(e,t)=>e.loading?(Zi(),Ki(mK,{key:0
})):(Zi(),Ki(wo(`h${e.level}`),{key:1,class:et(["section-header",{tight:e.tight
}])},{default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))
}),[["__scopeId","data-v-3bd1b9f0"]]),OK={key:0,class:"screenreader-only"
},yK=FX(Gr({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},
setup:e=>(e,t)=>e.$props.if?(Zi(),
Yi("span",OK,[Eo(e.$slots,"default",{},void 0,!0)])):Eo(e.$slots,"default",{
key:1},void 0,!0)}),[["__scopeId","data-v-681ebf2c"]]),wK={class:"label"},kK={
class:"anchor"},xK=FX(Gr({__name:"Anchor",props:{id:{}},setup(e){
const{copyToClipboard:t}=Zh()
;return(e,n)=>(Zi(),Yi("span",wK,[Eo(e.$slots,"default",{},void 0,!0),ra("span",kK,[n[4]||(n[4]=ra("span",null,"​",-1)),ra("button",{
class:"anchor-copy",type:"button",onClick:n[0]||(n[0]=Us((n=>Qn(t)((e=>{
const t=new URL(window.location.href);return t.hash=e,t.toString()
})(e.id))),["stop"]))},[n[3]||(n[3]=sa(" # ")),oa(yK,null,{
default:xr((()=>[n[1]||(n[1]=sa('Copy link to "')),Eo(e.$slots,"default",{},void 0,!0),n[2]||(n[2]=sa('"'))])),
_:3})])])]))}
}),[["__scopeId","data-v-d9801d4e"]]),SK=["aria-expanded"],_K=FX(Gr({
__name:"CompactSection",props:{id:{},label:{}},setup(e){
const t=e,{hash:n}=ff(),r=In(!1);return Ci(n,(async e=>{
e!==t.id||r.value||(r.value=!0,await hr(),kD(t.id))}),{immediate:!0
}),(e,t)=>(Zi(),Yi("div",{"aria-expanded":r.value,class:"collapsible-section"
},[ra("div",{class:et(["collapsible-section-trigger",{
"collapsible-section-trigger-open":r.value}]),
onClick:t[0]||(t[0]=e=>r.value=!r.value)},[oa(Qn(Uq),{
icon:r.value?"ChevronDown":"ChevronRight",size:"sm"},null,8,["icon"]),oa(xK,{
id:e.id,class:"collapsible-section-header"},{
default:xr((()=>[Eo(e.$slots,"heading",{},void 0,!0)])),_:3
},8,["id"])],2),r.value?(Zi(),Ki(Qn(eK),{key:0,id:e.id,
class:"collapsible-section-content",label:e.label},{
default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3
},8,["id","label"])):ca("",!0)],8,SK))}
}),[["__scopeId","data-v-db0c8da0"]]),EK={key:0,class:"introduction-description"
},TK=FX(Gr({__name:"Description",props:{value:{}},setup(e){const t=e,n=$a((()=>{
if(!t.value)return[];const e=new ef;return IP(t.value).map((t=>{const[n]=NP(t)
;return{id:n?r({...n,slug:e.slug(n.value)}):void 0,content:t}}))
})),{getHeadingId:r,hash:o,isIntersectionEnabled:i,pathRouting:a}=ff()
;const s=new ef,l=e=>(e.data={hProperties:{id:r({depth:e.depth,
value:e.children[0].value,slug:s.slug(e.children[0].value)})}},e)
;return(e,t)=>e.value?(Zi(),
Yi("div",EK,[(Zi(!0),Yi(Ui,null,So(n.value,((e,t)=>(Zi(),Yi(Ui,{key:t
},[e.id?(Zi(),Ki(JY,{key:0,id:e.id,class:"introduction-description-heading",
onIntersecting:()=>function(e=""){if(!i.value)return
;const t=new URL(window.location.href)
;a.value?t.pathname=zP(a.value.basePath,e):t.hash=e,
o.value=e,window.history.replaceState({},"",t)}(e.id)},{
default:xr((()=>[oa(Qn(sZ),{transform:l,transformType:"heading",value:e.content
},null,8,["value"])])),_:2},1032,["id","onIntersecting"])):(Zi(),Ki(Qn(sZ),{
key:1,value:e.content,withImages:""
},null,8,["value"]))],64)))),128))])):ca("",!0)}
}),[["__scopeId","data-v-15c890da"]]),CK={class:"badges"},AK={
class:"sticky-cards"},PK=FX(Gr({__name:"Introduction",props:{info:{},
parsedSpec:{}},setup(e){
const t=e,n=new ef,r=$a((()=>t.parsedSpec.openapi??t.parsedSpec.swagger??"")),o=$a((()=>n.slug(t.info.title??"")))
;return(e,t)=>(Zi(),Ki(Qn(dK),null,{default:xr((()=>[oa(Qn(eK),{
class:"introduction-section"},{default:xr((()=>[oa(Qn(vK),{
loading:!e.info.description&&!e.info.title},{default:xr((()=>[oa(Qn(cK),null,{
default:xr((()=>[oa(Qn(sK),null,{
default:xr((()=>[ra("div",CK,[e.info.version?(Zi(),Ki(Qn(KY),{key:0},{
default:xr((()=>[sa(st(e.info.version),1)])),_:1
})):ca("",!0),r.value?(Zi(),Ki(Qn(KY),{key:1},{
default:xr((()=>[sa(" OAS "+st(r.value),1)])),_:1})):ca("",!0)]),oa(Qn(bK),{
level:1,loading:!e.info.title,tight:""},{
default:xr((()=>[sa(st(e.info.title),1)])),_:1},8,["loading"]),oa(GY,{
specTitle:o.value},null,8,["specTitle"]),oa(TK,{value:e.info.description
},null,8,["value"])])),_:1}),e.$slots.aside?(Zi(),Ki(Qn(sK),{key:0},{
default:xr((()=>[ra("div",AK,[Eo(e.$slots,"aside",{},void 0,!0)])])),_:3
})):ca("",!0)])),_:3})])),_:3
},8,["loading"]),Eo(e.$slots,"after",{},void 0,!0)])),_:3})])),_:3}))}
}),[["__scopeId","data-v-4e25996e"]]),DK=Gr({__name:"Lazy",props:{id:{},isLazy:{
type:Boolean,default:!0},lazyTimeout:{default:0}},setup(e){
const t=e,n=In(!t.isLazy);return t.isLazy?((e=()=>{})=>{
"undefined"==typeof window||("requestIdleCallback"in window?setTimeout((()=>window.requestIdleCallback(e)),t.lazyTimeout):setTimeout((()=>hr(e)),t.lazyTimeout??300))
})((()=>{n.value=!0,t.id&&hr((()=>CD.emit({id:t.id})))
})):t.id&&hr((()=>CD.emit({id:t.id}))),(e,t)=>n.value?Eo(e.$slots,"default",{
key:0}):ca("",!0)}}),$K=["value"],RK=["label"],NK=["value"],MK=["value"],IK=Gr({
__name:"TextSelect",props:{modelValue:{},options:{}},
emits:["update:modelValue"],setup:e=>(e,t)=>(Zi(),Yi("div",{
class:et(["text-select",1===e.options.length?"text-select--single-option":""])
},[ra("span",null,[Eo(e.$slots,"default")]),ra("select",{value:e.modelValue,
onInput:t[0]||(t[0]=t=>e.$emit("update:modelValue",t.target.value))
},[(Zi(!0),Yi(Ui,null,So(e.options,(e=>(Zi(),Yi(Ui,{key:e.value
},[e.options?(Zi(),Yi("optgroup",{key:0,label:e.label
},[(Zi(!0),Yi(Ui,null,So(e.options,(e=>(Zi(),Yi("option",{key:e.value,
value:e.value},st(e.label),9,NK)))),128))],8,RK)):(Zi(),Yi("option",{
key:e.value,value:e.value},st(e.label),9,MK))],64)))),128))],40,$K)],2))
}),LK=FX(Gr({__name:"ExamplePicker",props:{examples:{}},
emits:["update:modelValue"],setup(e,{emit:t}){
const n=e,r=t,o=In(Object.keys(n.examples)[0]);function i(e){
if(!e)return"Select an example";const t=n.examples[e]
;return(null==t?void 0:t.summary)??e}return Ci((()=>n.examples),(()=>{var e
;(e=Object.keys(n.examples)[0])&&(o.value=e)}),{immediate:!0}),Ci(o,(()=>{
o.value&&r("update:modelValue",o.value)}),{immediate:!0}),(e,t)=>(Zi(),Ki(IK,{
modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),
class:"example-selector",options:Object.keys(e.examples).map((e=>({label:i(e),
value:e})))},{default:xr((()=>[sa(st(i(o.value)),1)])),_:1
},8,["modelValue","options"]))}}),[["__scopeId","data-v-090632a2"]]),jK={
class:"scalar-card"};const BK=FX({},[["render",function(e,t){
return Zi(),Yi("div",jK,[Eo(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-38801681"]]),QK=FX(Gr({__name:"CardContent",props:{
muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},
transparent:{type:Boolean},borderless:{type:Boolean}},
setup:e=>(e,t)=>(Zi(),Yi("div",{class:et(["scalar-card-content",{
"scalar-card--muted":e.muted,"scalar-card--contrast":e.contrast,
"scalar-card--frameless":e.frameless,"scalar-card--transparent":e.transparent,
"scalar-card--borderless":e.borderless}])
},[Eo(e.$slots,"default",{},void 0,!0)],2))
}),[["__scopeId","data-v-dd83e46e"]]),UK={class:"scalar-card-header-slots"},FK={
class:"scalar-card-header-slot scalar-card-header-title"},zK={
class:"scalar-card-header-slot scalar-card-header-actions"},qK=FX(Gr({
__name:"CardHeader",props:{muted:{type:Boolean},contrast:{type:Boolean},
frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},
setup(e){const t=e;return(e,n)=>(Zi(),Ki(QK,ha(t,{class:"scalar-card-header"}),{
default:xr((()=>[ra("div",UK,[ra("div",FK,[Eo(e.$slots,"default",{},void 0,!0)]),ra("div",zK,[Eo(e.$slots,"actions",{},void 0,!0)])])])),
_:3},16))}}),[["__scopeId","data-v-ef7873bc"]]),HK=FX(Gr({__name:"CardFooter",
props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},
transparent:{type:Boolean},borderless:{type:Boolean}},setup(e){const t=e
;return(e,n)=>(Zi(),Ki(QK,tt(ia(t)),{
default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3},16))}
}),[["__scopeId","data-v-918ab8d6"]]),VK=FX(Gr({__name:"CardTabHeader",
emits:["change"],setup(e,{emit:t}){const n=t,r=e=>{n("change",e)}
;return(e,t)=>(Zi(),Ki(qK,{class:"scalar-card-header scalar-card-header-tabs"},{
actions:xr((()=>[Eo(e.$slots,"actions",{},void 0,!0)])),
default:xr((()=>[oa(Qn(cM),{onChange:r},{default:xr((()=>[oa(Qn(uM),{
class:"tab-list custom-scroll"},{
default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})])),_:3}))
}}),[["__scopeId","data-v-03fdb072"]]),ZK=FX(Gr({__name:"CardTab",
setup:e=>(e,t)=>(Zi(),Ki(Qn(dM),{as:"template"},{
default:xr((({selected:t})=>[ra("button",{class:et({tab:!0,"tab-selected":t}),
type:"button"},[ra("span",null,[Eo(e.$slots,"default",{},void 0,!0)])],2)])),_:3
}))}),[["__scopeId","data-v-f373ecc2"]]),WK={class:"request-header"},XK={
class:"code-snippet"},GK={key:0,class:"request-card-footer-addon"},YK={
class:"request-header"},KK=Gr({__name:"ExampleRequest",props:{operation:{},
fallback:{type:Boolean}},setup(e){const t=e,n=(e=>{let t=0,n=0,r=0
;if(!(null==e?void 0:e.length))return n
;for(r=0;r<e.length;r++)t=e.charCodeAt(r),n=(n<<5)-n+t,n|=0;return n
})(t.operation.path+t.operation.httpVerb+t.operation.operationId),r=`components-Content-Operation-Example-Request${n}`,o=In(),{httpClient:i,setHttpClient:a,availableTargets:s,httpTargetTitle:l,httpClientTitle:c}=d$(),{server:u}=_p(),{authentication:d}=op(),p=$a((()=>{
var e;const n=["x-custom-examples","x-codeSamples","x-code-samples"]
;for(const r of n)if(null==(e=t.operation.information)?void 0:e[r])return t.operation.information[r]??[]
;return[]})),h=In(p.value.length?{targetKey:"customExamples",clientKey:0}:{
targetKey:i.targetKey,clientKey:i.clientKey});Ci(i,(()=>{h.value={
targetKey:i.targetKey,clientKey:i.clientKey}}));const f=$a((()=>{var e,n,r,o
;return Object.keys((null==(o=null==(r=null==(n=null==(e=t.operation.information)?void 0:e.requestBody)?void 0:n.content)?void 0:r["application/json"])?void 0:o.examples)??{}).length>1
})),m=ti(vD);async function g(){var e,n
;if("customExamples"===h.value.targetKey)return(null==(e=p.value[h.value.clientKey])?void 0:e.source)??""
;const r=Wm({url:Vd(u)},Ef(t.operation,{replaceVariables:!0
},o.value),ol(d,(null==(n=t.operation.information)?void 0:n.security)??(null==m?void 0:m()))),a=i.clientKey,s=i.targetKey
;return await async function(e,t,n){const r=t
;if(If().hasPlugin(r,n))return If().print(t,n,e);try{
const r=t.replace("js","javascript"),o=n,i=await new Zm(e).convert(r,o)
;if("string"==typeof i)return i}catch(o){
console.error("[getExampleCode] Failed to generate example code with httpsnippet-lite:",o)
}return""}(r,s,a)??""}const v=function(e,t,n){let r;r=Mn(n)?{evaluating:n}:{}
;const{lazy:o=!1,evaluating:i,shallow:a=!0,onError:s=Bp}=r,l=In(!o),c=a?Ln(t):In(t)
;let u=0;return Ti((async t=>{if(!l.value)return;u++;const n=u;let r=!1
;i&&Promise.resolve().then((()=>{i.value=!0}));try{const o=await e((e=>{t((()=>{
i&&(i.value=!1),r||e()}))}));n===u&&(c.value=o)}catch(G$){s(G$)}finally{
i&&n===u&&(i.value=!1),r=!0}})),o?$a((()=>(l.value=!0,c.value))):c}((async()=>{
try{return await g()}catch(e){return console.error("[generateSnippet]",e),""}
}),Fd[r]??"");fo((async()=>{Ei().payload.data[r]=await g()}));const b=$a((()=>{
var e,t
;const n="customExamples"===(null==(e=h.value)?void 0:e.targetKey)?(null==(t=p.value[h.value.clientKey])?void 0:t.lang)??"plaintext":i.targetKey
;return"shell"===n&&v.value.includes("curl")?"curl":"Objective-C"===n?"objc":n
})),O=$a((()=>{const e=s.value.map((e=>({value:e.key,label:e.title,
options:e.clients.map((t=>({value:JSON.stringify({targetKey:e.key,
clientKey:t.key}),label:t.title})))})));return p.value.length&&e.unshift({
value:"customExamples",label:"Examples",options:p.value.map(((e,t)=>({
value:JSON.stringify({targetKey:"customExamples",clientKey:t}),
label:e.label??e.lang??`Example #${t+1}`})))}),e}));function y(e){
const t=JSON.parse(e);"customExamples"===t.targetKey?h.value=t:a(t)}
return(e,t)=>Qn(s).length||p.value.length?(Zi(),Ki(Qn(BK),{key:0,
class:"dark-mode"},{default:xr((()=>[oa(Qn(qK),{muted:""},{
actions:xr((()=>[oa(IK,{class:"request-client-picker",
modelValue:JSON.stringify(h.value),options:O.value,"onUpdate:modelValue":y},{
default:xr((()=>["customExamples"===h.value.targetKey?(Zi(),Yi(Ui,{key:0
},[sa(st(p.value[h.value.clientKey].label??"Example"),1)],64)):(Zi(),Yi(Ui,{
key:1},[sa(st(Qn(l))+" "+st(Qn(c)),1)],64))])),_:1
},8,["modelValue","options"])])),default:xr((()=>[ra("div",WK,[oa(Qn(UX),{
as:"span",class:"request-method",method:e.operation.httpVerb
},null,8,["method"]),Eo(e.$slots,"header",{},void 0,!0)])])),_:3}),oa(Qn(QK),{
borderless:"",class:"request-editor-section custom-scroll",frameless:""},{
default:xr((()=>[ra("div",XK,[oa(Qn(_H),{class:"bg-b-2",content:Qn(v),
hideCredentials:Qn(al)(Qn(d)),lang:b.value,lineNumbers:""
},null,8,["content","hideCredentials","lang"])])])),_:1
}),f.value||e.$slots.footer?(Zi(),Ki(Qn(HK),{key:0,class:"request-card-footer",
contrast:""},{default:xr((()=>{var n,r,i,a
;return[f.value?(Zi(),Yi("div",GK,[oa(LK,{class:"request-example-selector",
examples:(null==(a=null==(i=null==(r=null==(n=e.operation.information)?void 0:n.requestBody)?void 0:r.content)?void 0:i["application/json"])?void 0:a.examples)??[],
"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)
},null,8,["examples"])])):ca("",!0),Eo(e.$slots,"footer",{},void 0,!0)]})),_:3
})):ca("",!0)])),_:3})):e.fallback?(Zi(),Ki(Qn(BK),{key:1,class:"dark-mode"},{
default:xr((()=>[oa(Qn(QK),{class:"request-card-simple"},{
default:xr((()=>[ra("div",YK,[oa(Qn(UX),{as:"span",class:"request-method",
method:e.operation.httpVerb
},null,8,["method"]),Eo(e.$slots,"header",{},void 0,!0)]),Eo(e.$slots,"footer",{},void 0,!0)])),
_:3})])),_:3})):ca("",!0)}}),JK=FX(KK,[["__scopeId","data-v-db770e2d"]]),eJ={
key:2,class:"empty-state"},tJ=FX(Gr({__name:"ExampleResponse",props:{response:{}
},setup:e=>(e,t)=>{var n,r,o,i
;return(null==(n=e.response)?void 0:n.example)?(Zi(),Ki(Qn(_H),{key:0,
class:"bg-b-2",content:null==(r=e.response)?void 0:r.example,lang:"json"
},null,8,["content"])):(null==(o=e.response)?void 0:o.schema)?(Zi(),Ki(Qn(_H),{
key:1,class:"bg-b-2",content:Qn(yf)(null==(i=e.response)?void 0:i.schema,{
emptyString:"…",mode:"read"}),lang:"json"
},null,8,["content"])):(Zi(),Yi("div",eJ," No Body "))}
}),[["__scopeId","data-v-076c28f6"]]),nJ={key:1,class:"scalar-card-checkbox"
},rJ={class:"scalar-card-container custom-scroll"},oJ={key:1,
class:"response-description"},iJ=FX(Gr({__name:"ExampleResponses",props:{
operation:{}},setup(e){const t=e,{copyToClipboard:n}=Zh(),r=In(),o=$a((()=>{
var e,n
;return Object.keys((null==(n=null==(e=null==t?void 0:t.operation)?void 0:e.information)?void 0:n.responses)??{}).sort()
})),i=$a((()=>!!l.value.examples)),a=In(0),s=$a((()=>{var e,n
;const r=o.value[a.value]
;return null==(n=null==(e=t.operation.information)?void 0:e.responses)?void 0:n[r]
})),l=$a((()=>{var e;const t=Ld(null==(e=s.value)?void 0:e.content)
;return(null==t?void 0:t["application/json"])??(null==t?void 0:t["text/plain"])??s.value
})),c=()=>{if(i.value){
if(Array.isArray(l.value.examples))return l.value.examples[0];{
const e=Object.keys(l.value.examples)[0];return l.value.examples[e]}}
return l.value.example},u=$a((()=>({...l.value,
example:i.value&&r.value?l.value.examples[r.value].value??l.value.examples[r.value]:c()
}))),d=e=>{a.value=e,r.value=void 0},p=In(!1);return(e,t)=>o.value.length?(Zi(),
Ki(Qn(BK),{key:0},{default:xr((()=>{var e;return[oa(Qn(VK),{muted:"",x:"as",
onChange:d},{actions:xr((()=>{var e,r
;return[(null==(e=l.value)?void 0:e.example)?(Zi(),Yi("button",{key:0,
class:"code-copy",type:"button",onClick:t[0]||(t[0]=()=>{var e
;return Qn(n)(null==(e=l.value)?void 0:e.example)})},[oa(Qn(Uq),{
icon:"Clipboard",width:"12px",x:"asd"
})])):ca("",!0),(null==(r=l.value)?void 0:r.schema)?(Zi(),
Yi("label",nJ,[t[3]||(t[3]=sa(" Show Schema ")),Sr(ra("input",{
"onUpdate:modelValue":t[1]||(t[1]=e=>p.value=e),
class:"scalar-card-checkbox-input",type:"checkbox"
},null,512),[[Rs,p.value]]),t[4]||(t[4]=ra("span",{
class:"scalar-card-checkbox-checkmark"},null,-1))])):ca("",!0)]})),
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(o.value,(e=>(Zi(),Ki(Qn(ZK),{key:e},{
default:xr((()=>[sa(st(e),1)])),_:2},1024)))),128))])),_:1
}),ra("div",rJ,[oa(Qn(QK),{muted:""},{default:xr((()=>{var e
;return[(null==(e=l.value)?void 0:e.schema)?(Zi(),Yi(Ui,{key:0
},[p.value&&u.value?(Zi(),Ki(Qn(_H),{key:0,content:u.value,lang:"json"
},null,8,["content"])):(Zi(),Ki(tJ,{key:1,response:u.value
},null,8,["response"]))],64)):(Zi(),Ki(tJ,{key:1,response:u.value
},null,8,["response"]))]})),_:1
})]),(null==(e=s.value)?void 0:e.description)||i.value?(Zi(),Ki(Qn(HK),{key:0,
class:"response-card-footer",muted:""},{default:xr((()=>{var e,n
;return[i.value?(Zi(),Ki(Qn(LK),{key:0,class:"response-example-selector",
examples:null==(e=l.value)?void 0:e.examples,
"onUpdate:modelValue":t[2]||(t[2]=e=>r.value=e)
},null,8,["examples"])):(null==(n=s.value)?void 0:n.description)?(Zi(),
Yi("div",oJ,[oa(Qn(sZ),{class:"markdown",value:s.value.description
},null,8,["value"])])):ca("",!0)]})),_:1})):ca("",!0)]})),_:1})):ca("",!0)}
}),[["__scopeId","data-v-2dae81fd"]]),aJ={key:0,class:"schema-type"
},sJ=["title"],lJ=FX(Gr({__name:"SchemaHeading",props:{value:{
type:[Object,Boolean]},name:{}},setup:e=>(e,t)=>{var n,r,o,i,a,s
;return"object"==typeof e.value?(Zi(),Yi("span",aJ,[ra("span",{
class:"schema-type-icon",
title:"string"==typeof e.value.type?e.value.type:Array.isArray(e.value.type)?e.value.type.join(" | "):"unkown type"
},["object"===e.value.type?(Zi(),Yi(Ui,{key:0
},[sa(" {} ")],64)):ca("",!0),"array"===e.value.type?(Zi(),Yi(Ui,{key:1
},[sa(" [] ")],64)):ca("",!0),e.value.enum?(Zi(),Yi(Ui,{key:2
},[sa(" enum ")],64)):ca("",!0)],8,sJ),(null==(r=null==(n=e.value)?void 0:n.xml)?void 0:r.name)&&"##default"!==(null==(i=null==(o=e.value)?void 0:o.xml)?void 0:i.name)?(Zi(),
Yi(Ui,{key:0
},[sa(" <"+st(null==(s=null==(a=e.value)?void 0:a.xml)?void 0:s.name)+" /> ",1)],64)):e.name?(Zi(),
Yi(Ui,{key:1},[sa(st(e.name),1)],64)):(Zi(),Yi(Ui,{key:2
},[sa(st(e.value.type),1)],64))])):ca("",!0)}
}),[["__scopeId","data-v-2a52eb0b"]]),cJ={key:0,class:"property-detail-prefix"
},uJ={key:1,class:"property-detail-value"},dJ={key:2,
class:"property-detail-value"},pJ=FX(Gr({__name:"SchemaPropertyDetail",props:{
truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(e,t)=>(Zi(),Yi("span",{
class:et(["property-detail",{"property-detail-truncate":e.truncate}])
},[e.$slots.prefix?(Zi(),
Yi("div",cJ,[Eo(e.$slots,"prefix",{},void 0,!0),t[0]||(t[0]=sa("  "))])):ca("",!0),e.code?(Zi(),
Yi("code",uJ,[Eo(e.$slots,"default",{},void 0,!0)])):(Zi(),
Yi("span",dJ,[Eo(e.$slots,"default",{},void 0,!0)]))],2))
}),[["__scopeId","data-v-16d94ef5"]]),hJ={class:"property-heading"},fJ={key:0,
class:"property-name"},mJ={key:1,class:"property-additional"},gJ={key:2,
class:"property-deprecated"},vJ={key:3,class:"property-required"},bJ={key:4,
class:"property-const"},OJ={key:5,class:"property-details"},yJ={key:6,
class:"property-write-only"},wJ={key:7,class:"property-read-only"},kJ=Gr({
__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},required:{
type:Boolean,default:!1},additional:{type:Boolean}},setup(e){
const t=["oneOf","anyOf","allOf","not"];return(e,n)=>{var r,o,i,a,s,l,c
;return Zi(),
Yi("div",hJ,[e.$slots.name?(Zi(),Yi("div",fJ,[Eo(e.$slots,"name",{},void 0,!0)])):ca("",!0),e.additional?(Zi(),
Yi("div",mJ,[(null==(r=e.value)?void 0:r["x-additionalPropertiesName"])?(Zi(),
Yi(Ui,{key:0
},[sa(st(e.value["x-additionalPropertiesName"]),1)],64)):(Zi(),Yi(Ui,{key:1
},[sa("additional properties")],64))])):ca("",!0),(null==(o=e.value)?void 0:o.deprecated)?(Zi(),
Yi("div",gJ,[oa(Qn(KY),null,{default:xr((()=>n[0]||(n[0]=[sa("deprecated")]))),
_:1
})])):ca("",!0),e.required?(Zi(),Yi("div",vJ," required ")):ca("",!0),(null==(i=e.value)?void 0:i.const)||(null==(a=e.value)?void 0:a.enum)&&1===e.value.enum.length?(Zi(),
Yi("div",bJ,[oa(pJ,{truncate:""},{prefix:xr((()=>n[1]||(n[1]=[sa("const:")]))),
default:xr((()=>[sa(" "+st(e.value.const??e.value.enum[0]),1)])),_:1
})])):(null==(s=e.value)?void 0:s.type)?(Zi(),Yi("div",OJ,[oa(pJ,null,{
default:xr((()=>{var t,n,r
;return[(null==(n=null==(t=e.value)?void 0:t.items)?void 0:n.type)?(Zi(),Yi(Ui,{
key:0
},[sa(st(e.value.type)+" "+st(e.value.items.type)+"[] ",1)],64)):(Zi(),Yi(Ui,{
key:1
},[sa(st(Array.isArray(e.value.type)?e.value.type.join(" | "):e.value.type)+" "+st((null==(r=e.value)?void 0:r.nullable)?" | nullable":""),1)],64)),e.value.minItems||e.value.maxItems?(Zi(),
Yi(Ui,{key:2
},[sa(st(e.value.minItems)+"…"+st(e.value.maxItems),1)],64)):ca("",!0)]})),_:1
}),e.value.minLength?(Zi(),Ki(pJ,{key:0},{
prefix:xr((()=>n[2]||(n[2]=[sa("min:")]))),
default:xr((()=>[sa(" "+st(e.value.minLength),1)])),_:1
})):ca("",!0),e.value.maxLength?(Zi(),Ki(pJ,{key:1},{
prefix:xr((()=>n[3]||(n[3]=[sa("max:")]))),
default:xr((()=>[sa(" "+st(e.value.maxLength),1)])),_:1
})):ca("",!0),e.value.uniqueItems?(Zi(),Ki(pJ,{key:2},{
default:xr((()=>n[4]||(n[4]=[sa(" unique! ")]))),_:1
})):ca("",!0),e.value.format?(Zi(),Ki(pJ,{key:3},{
default:xr((()=>[sa(st(e.value.format),1)])),_:1
})):ca("",!0),void 0!==e.value.minimum&&e.value.exclusiveMinimum?(Zi(),Ki(pJ,{
key:4},{prefix:xr((()=>n[5]||(n[5]=[sa("greater than:")]))),
default:xr((()=>[sa(" "+st(e.value.minimum),1)])),_:1
})):ca("",!0),void 0===e.value.minimum||e.value.exclusiveMinimum?ca("",!0):(Zi(),
Ki(pJ,{key:5},{prefix:xr((()=>n[6]||(n[6]=[sa("min:")]))),
default:xr((()=>[sa(" "+st(e.value.minimum),1)])),_:1
})),void 0!==e.value.maximum&&e.value.exclusiveMaximum?(Zi(),Ki(pJ,{key:6},{
prefix:xr((()=>n[7]||(n[7]=[sa("less than:")]))),
default:xr((()=>[sa(" "+st(e.value.maximum),1)])),_:1
})):ca("",!0),void 0===e.value.maximum||e.value.exclusiveMaximum?ca("",!0):(Zi(),
Ki(pJ,{key:7},{prefix:xr((()=>n[8]||(n[8]=[sa("max:")]))),
default:xr((()=>[sa(" "+st(e.value.maximum),1)])),_:1
})),e.value.pattern?(Zi(),Ki(pJ,{key:8,code:"",truncate:""},{
default:xr((()=>[sa(st(e.value.pattern),1)])),_:1
})):ca("",!0),e.$props.enum?(Zi(),Ki(pJ,{key:9},{
default:xr((()=>n[9]||(n[9]=[sa("enum")]))),_:1
})):ca("",!0),void 0!==e.value.default?(Zi(),Ki(pJ,{key:10,truncate:""},{
prefix:xr((()=>n[10]||(n[10]=[sa("default:")]))),default:xr((()=>{
return[sa(" "+st((t=e.value,
Array.isArray(null==t?void 0:t.default)&&1===t.default.length?t.default[0]:null==t?void 0:t.default)),1)]
;var t})),_:1
})):ca("",!0)])):ca("",!0),(null==(l=e.value)?void 0:l.writeOnly)?(Zi(),
Yi("div",yJ," write-only ")):(null==(c=e.value)?void 0:c.readOnly)?(Zi(),
Yi("div",wJ," read-only ")):ca("",!0),(Zi(!0),Yi(Ui,null,So(t.filter((t=>{
var n,r,o
;return(null==(n=e.value)?void 0:n[t])||(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])
})),(e=>(Zi(),Ki(Qn(KY),{key:e},{default:xr((()=>[sa(st(e),1)])),_:2
},1024)))),128))])}}}),xJ=FX(kJ,[["__scopeId","data-v-9ff769a7"]]),SJ={key:0,
class:"property-description"},_J={key:1,class:"property-description"},EJ={key:2,
class:"property-example custom-scroll"},TJ={class:"property-example-value"},CJ={
key:3,class:"property-example custom-scroll"},AJ={class:"property-example-label"
},PJ={key:4,class:"property-enum"},DJ={key:0,class:"property-list"},$J={
class:"property-heading"},RJ={class:"property-name"},NJ={
class:"property-description"},MJ={key:1,class:"property-enum-values"},IJ={key:5,
class:"children"},LJ={key:0,class:"children"},jJ={key:0,class:"property-rule"
},BJ={key:1,class:"property-rule"},QJ=FX(Gr({__name:"SchemaProperty",props:{
value:{},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{
type:Boolean,default:!1},description:{},additional:{type:Boolean}},setup(e){
const t={integer:{_default:"Integer numbers.",
int32:"Signed 32-bit integers (commonly used integer type).",
int64:"Signed 64-bit integers (long type)."},string:{
date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21",
"date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",
password:"a hint to UIs to mask the input",
byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
binary:"binary data, used to describe files"}},n=function(e,t){
return(null==t?void 0:t.properties)||(null==t?void 0:t.additionalProperties)?null:e||(null==t?void 0:t.description)||null
},r=function(e){return e&&t[e.type]?t[e.type][e.format||"_default"]:null
},o=function(e){var t
;return(null==e?void 0:e.enum)||(null==(t=null==e?void 0:e.items)?void 0:t.enum)||[]
},i=["oneOf","anyOf","allOf","not"];return(e,t)=>{var a,s,l,c,u,d,p,h,f,m,g,v
;return Zi(),Yi("div",{class:et(["property",[`property--level-${e.level}`,{
"property--compact":e.compact,
"property--deprecated":null==(a=e.value)?void 0:a.deprecated}]])},[oa(xJ,{
additional:e.additional,enum:o(e.value).length>1,required:e.required,
value:e.value},_o({_:2},[e.name?{name:"name",fn:xr((()=>[sa(st(e.name),1)])),
key:"0"
}:void 0]),1032,["additional","enum","required","value"]),n(e.description,e.value)?(Zi(),
Yi("div",SJ,[oa(Qn(sZ),{value:n(e.description,e.value)
},null,8,["value"])])):r(e.value)?(Zi(),Yi("div",_J,[oa(Qn(sZ),{
value:r(e.value)||""
},null,8,["value"])])):ca("",!0),(null==(s=e.value)?void 0:s.example)||(null==(c=null==(l=e.value)?void 0:l.items)?void 0:c.example)?(Zi(),
Yi("div",EJ,[t[0]||(t[0]=ra("span",{class:"property-example-label"
},"Example",-1)),ra("code",TJ,st(e.value.example||(null==(u=e.value)?void 0:u.items.example)),1)])):ca("",!0),(null==(d=e.value)?void 0:d.examples)&&"object"==typeof e.value.examples&&Object.keys(e.value.examples).length>0?(Zi(),
Yi("div",CJ,[ra("span",AJ,st(1===Object.keys(e.value.examples).length?"Example":"Examples"),1),(Zi(!0),
Yi(Ui,null,So(e.value.examples,((e,t)=>(Zi(),Yi("code",{key:t,
class:"property-example-value"
},st(e),1)))),128))])):ca("",!0),(null==(p=o(e.value))?void 0:p.length)>1?(Zi(),
Yi("div",PJ,[(null==(h=e.value)?void 0:h["x-enumDescriptions"])?(Zi(),
Yi("div",DJ,[(Zi(!0),Yi(Ui,null,So(o(e.value),(t=>(Zi(),Yi("div",{key:t,
class:"property"},[ra("div",$J,[ra("div",RJ,st(t),1)]),ra("div",NJ,[oa(Qn(sZ),{
value:e.value["x-enumDescriptions"][t]},null,8,["value"])])])))),128))])):(Zi(),
Yi("ul",MJ,[(Zi(!0),Yi(Ui,null,So(o(e.value),(e=>(Zi(),Yi("li",{key:e,
class:"property-enum-value"
},st(e),1)))),128))]))])):ca("",!0),"object"===(null==(f=e.value)?void 0:f.type)&&((null==(m=e.value)?void 0:m.properties)||(null==(g=e.value)?void 0:g.additionalProperties))?(Zi(),
Yi("div",IJ,[oa(zJ,{compact:e.compact,level:e.level+1,value:e.value
},null,8,["compact","level","value"])])):ca("",!0),(null==(v=e.value)?void 0:v.items)?(Zi(),
Yi(Ui,{key:6
},[["object"].includes(e.value.items.type)?(Zi(),Yi("div",LJ,[oa(zJ,{
compact:e.compact,level:e.level+1,value:e.value.items
},null,8,["compact","level","value"])])):ca("",!0)],64)):ca("",!0),(Zi(),
Yi(Ui,null,So(i,(t=>{var n,r,o;return Zi(),Yi(Ui,{key:t
},[(null==(n=e.value)?void 0:n[t])?(Zi(),
Yi("div",jJ,[(Zi(!0),Yi(Ui,null,So(e.value[t],((t,n)=>(Zi(),Ki(zJ,{key:n,
compact:e.compact,level:e.level+1,value:t
},null,8,["compact","level","value"])))),128))])):ca("",!0),(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])&&e.level<3?(Zi(),
Yi("div",BJ,[(Zi(!0),Yi(Ui,null,So(e.value.items[t],((t,n)=>(Zi(),Ki(zJ,{key:n,
compact:e.compact,level:e.level+1,value:t
},null,8,["compact","level","value"])))),128))])):ca("",!0)],64)})),64))],2)}}
}),[["__scopeId","data-v-bfe8efb1"]]),UJ={key:0,class:"schema-card-description"
},FJ=Gr({__name:"Schema",props:{value:{type:[Object,Boolean]},level:{default:0},
name:{},compact:{type:Boolean},noncollapsible:{type:Boolean},hideHeading:{
type:Boolean}},setup(e){
const t=e,n=$a((()=>!t.noncollapsible&&0!==t.level)),r=e=>t.noncollapsible&&e.stopPropagation()
;return(e,t)=>"object"==typeof e.value&&Object.keys(e.value).length?(Zi(),
Ki(Qn(cN),{key:0,defaultOpen:e.noncollapsible},{default:xr((({open:t})=>{var o
;return[ra("div",{class:et(["schema-card",[`schema-card--level-${e.level}`,{
"schema-card--compact":e.compact,"schema-card--open":t}]])
},[(null==(o=e.value)?void 0:o.description)&&"string"==typeof e.value.description?(Zi(),
Yi("div",UJ,[oa(Qn(sZ),{value:e.value.description
},null,8,["value"])])):ca("",!0),ra("div",{class:et(["schema-properties",{
"schema-properties-open":t}])},[Sr(oa(Qn(uN),{
as:e.noncollapsible?"div":"button",class:et(["schema-card-title",{
"schema-card-title--compact":e.compact}]),style:Xe({
top:`calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`
}),onClickCapture:r},{default:xr((()=>{var r,o,i;return[e.compact?(Zi(),Yi(Ui,{
key:0},[n.value?(Zi(),Ki(Qn(Uq),{key:0,
class:et(["schema-card-title-icon h-2.5",{"schema-card-title-icon--open":t}]),
icon:"Add",thickness:"3"},null,8,["class"])):ca("",!0),t?(Zi(),Yi(Ui,{key:1
},[sa(" Hide "+st((null==(r=e.value)?void 0:r.title)??"Child Attributes"),1)],64)):(Zi(),
Yi(Ui,{key:2
},[sa(" Show "+st((null==(o=e.value)?void 0:o.title)??"Child Attributes"),1)],64))],64)):(Zi(),
Yi(Ui,{key:1},[n.value?(Zi(),Ki(Qn(Uq),{key:0,
class:et(["schema-card-title-icon",{"schema-card-title-icon--open":t}]),
icon:"Add",size:"xs",thickness:"2.5"},null,8,["class"])):ca("",!0),oa(lJ,{
name:(null==(i=e.value)?void 0:i.title)??e.name,value:e.value
},null,8,["name","value"])],64))]})),_:2
},1032,["as","class","style"]),[[as,!(e.hideHeading||e.noncollapsible&&e.compact)]]),oa(Qn(dN),{
static:e.noncollapsible},{default:xr((()=>{var t
;return[e.value.properties||e.value.additionalProperties?(Zi(),Yi(Ui,{key:0
},[e.value.properties?(Zi(!0),Yi(Ui,{key:0
},So(Object.keys(null==(t=e.value)?void 0:t.properties),(t=>{var n,r,o,i
;return Zi(),Ki(QJ,{key:t,compact:e.compact,level:e.level,name:t,
required:(null==(n=e.value.required)?void 0:n.includes(t))||!0===(null==(o=null==(r=e.value.properties)?void 0:r[t])?void 0:o.required),
value:null==(i=e.value.properties)?void 0:i[t]
},null,8,["compact","level","name","required","value"])
})),128)):ca("",!0),e.value.additionalProperties?(Zi(),Yi(Ui,{key:1
},[!0!==e.value.additionalProperties&&0!==Object.keys(e.value.additionalProperties).length&&e.value.additionalProperties.type?(Zi(),
Ki(QJ,{key:1,additional:"",compact:e.compact,level:e.level,noncollapsible:"",
value:e.value.additionalProperties
},null,8,["compact","level","value"])):(Zi(),Ki(QJ,{key:0,additional:"",
compact:e.compact,level:e.level,noncollapsible:"",value:{type:"anything",
..."object"==typeof e.value.additionalProperties?e.value.additionalProperties:{}
}},null,8,["compact","level","value"]))],64)):ca("",!0)],64)):(Zi(),Ki(QJ,{
key:1,compact:e.compact,level:e.level,name:e.value.name,value:e.value
},null,8,["compact","level","name","value"]))]})),_:1},8,["static"])],2)],2)]
})),_:1},8,["defaultOpen"])):ca("",!0)}
}),zJ=FX(FJ,[["__scopeId","data-v-24920b5a"]]),qJ=["value"],HJ=["value"],VJ=FX(Gr({
__name:"ContentTypeSelect",props:{requestBody:{},defaultValue:{}},
emits:["selectContentType"],setup(e,{emit:t}){const n=e,r=t,o=$a((()=>{var e
;return(null==(e=n.requestBody)?void 0:e.content)?Object.keys(n.requestBody.content):[]
})),i=In(n.defaultValue||o.value[0]);return(e,t)=>{var a;return Zi(),Yi("div",{
class:et(["content-type-select",{"content-type-no-select":o.value.length<=1}])
},[ra("span",null,st(i.value),1),(null==n?void 0:n.requestBody)&&o.value.length>1?(Zi(),
Yi("select",{key:0,value:i.value,onChange:t[0]||(t[0]=e=>(e=>{
const t=e.target.value;i.value=t,r("selectContentType",{contentType:t})})(e))
},[(Zi(!0),Yi(Ui,null,So(null==(a=n.requestBody)?void 0:a.content,((e,t)=>(Zi(),
Yi("option",{key:t,value:t},st(t),9,HJ)))),128))],40,qJ)):ca("",!0)],2)}}
}),[["__scopeId","data-v-19d1d4d0"]]),ZJ=FX(Gr({__name:"ParameterHeaders",
props:{headers:{}},setup(e){function t(e){return void 0!==e.schema}
return(e,n)=>(Zi(),Ki(Qn(cN),null,{default:xr((({open:n})=>[ra("div",{
class:et(["headers-card headers-card--compact",[{"headers-card--open":n}]])
},[ra("div",{class:et(["headers-properties",{"headers-properties-open":n}])
},[oa(Qn(uN),{class:"headers-card-title headers-card-title--compact",style:{
top:"calc(var(--refs-header-height)))"}},{default:xr((()=>[oa(Qn(Uq),{
class:et(["headers-card-title-icon",{"headers-card-title-icon--open":n}]),
icon:"Add",thickness:"3"},null,8,["class"]),n?(Zi(),Yi(Ui,{key:0
},[sa(" Hide Headers ")],64)):(Zi(),Yi(Ui,{key:1
},[sa(" Show Headers ")],64))])),_:2},1024),oa(Qn(dN),null,{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.headers,((e,n)=>(Zi(),Ki(QJ,{key:n,
description:e.description,name:`${n}`,value:t(e)?e.schema:void 0
},null,8,["description","name","value"])))),128))])),_:1})],2)],2)])),_:1}))}
}),[["__scopeId","data-v-eecfdd25"]]),WJ={class:"parameter-item"},XJ={
class:"parameter-item-name"},GJ={class:"parameter-item-type"},YJ={key:1,
class:"parameter-item-container parameter-item-container-markdown"},KJ=FX(Gr({
__name:"ParameterItem",props:{parameter:{},showChildren:{type:Boolean,default:!1
},collapsableItems:{type:Boolean,default:!1}},setup(e){
const t=e,n=In(!1),r=In($a((()=>t.parameter.content?Object.keys(t.parameter.content):[])).value[0])
;t.parameter.content&&"application/json"in t.parameter.content&&(r.value="application/json")
;const o=$a((()=>t.collapsableItems&&t.parameter.content));return(e,i)=>{var a,s
;return Zi(),Yi("li",WJ,[o.value?(Zi(),Yi("div",{key:0,
class:et(["flex parameter-item-trigger",{"parameter-item-trigger-open":n.value
}]),onClick:i[1]||(i[1]=e=>n.value=!n.value)},[oa(Qn(Uq),{
class:"parameter-item-icon",icon:n.value?"ChevronDown":"ChevronRight",size:"md",
thickness:"1.75"
},null,8,["icon"]),ra("span",XJ,st(e.parameter.name),1),ra("span",GJ,st(e.parameter.description),1),o.value&&t.parameter.content?(Zi(),
Ki(VJ,{key:0,class:"parameter-item-content-type",defaultValue:r.value,
requestBody:t.parameter,
onSelectContentType:i[0]||(i[0]=({contentType:e})=>r.value=e)
},null,8,["defaultValue","requestBody"])):ca("",!0)],2)):ca("",!0),o.value&&n.value||!o.value?(Zi(),
Yi("div",YJ,[e.parameter.headers?(Zi(),Ki(ZJ,{key:0,headers:e.parameter.headers
},null,8,["headers"])):ca("",!0),oa(Qn(QJ),{compact:"",
description:o.value?"":e.parameter.description,name:o.value?"":e.parameter.name,
noncollapsible:e.showChildren,required:e.parameter.required,
value:e.parameter.content?null==(s=null==(a=e.parameter.content)?void 0:a[r.value])?void 0:s.schema:e.parameter.schema
},null,8,["description","name","noncollapsible","required","value"])])):ca("",!0)])
}}}),[["__scopeId","data-v-f4d4e7c0"]]),JJ={key:0,class:"parameters"},e0={
class:"parameters-title"},t0={class:"parameter-list"},n0=FX(Gr({
__name:"Parameters",props:{parameters:{},showChildren:{type:Boolean,default:!1},
collapsableItems:{type:Boolean,default:!1}},setup:e=>(e,t)=>{var n
;return(null==(n=e.parameters)?void 0:n.length)?(Zi(),
Yi("div",JJ,[ra("div",e0,[Eo(e.$slots,"title",{},void 0,!0)]),ra("ul",t0,[(Zi(!0),
Yi(Ui,null,So(e.parameters,(t=>(Zi(),Ki(KJ,{key:t.name,
collapsableItems:e.collapsableItems,parameter:t,showChildren:e.showChildren
},null,8,["collapsableItems","parameter","showChildren"])))),128))])])):ca("",!0)
}}),[["__scopeId","data-v-eade05ab"]]),r0={key:0},o0={class:"request-body-title"
},i0=["value"],a0={key:0,class:"request-body-description"},s0={key:0,
class:"request-body-schema"},l0=FX(Gr({__name:"RequestBody",props:{
requestBody:{}},setup(e){var t;const n=e,r=$a((()=>{var e
;return(null==(e=n.requestBody)?void 0:e.content)?Object.keys(n.requestBody.content):[]
})),o=In("application/json")
;return(null==(t=n.requestBody)?void 0:t.content)&&r.value.length>0&&(o.value=r.value[0]),
(e,t)=>{var i,a,s,l
;return(null==n?void 0:n.requestBody)?(Zi(),Yi("div",r0,[ra("div",o0,[Eo(e.$slots,"title",{},void 0,!0),ra("div",{
class:et(["request-body-title-select",{
"request-body-title-no-select":r.value.length<=1}])
},[ra("span",null,st(o.value),1),(null==n?void 0:n.requestBody)&&r.value.length>1?Sr((Zi(),
Yi("select",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)
},[(Zi(!0),Yi(Ui,null,So(null==(i=n.requestBody)?void 0:i.content,((e,t)=>(Zi(),
Yi("option",{key:t,value:t
},st(t),9,i0)))),128))],512)),[[Ms,o.value]]):ca("",!0)],2),(null==n?void 0:n.requestBody.description)?(Zi(),
Yi("div",a0,[oa(Qn(sZ),{value:n.requestBody.description
},null,8,["value"])])):ca("",!0)]),(null==(a=null==n?void 0:n.requestBody.content)?void 0:a[o.value])?(Zi(),
Yi("div",s0,[oa(Qn(zJ),{compact:"",noncollapsible:"",
value:null==(l=null==(s=null==n?void 0:n.requestBody.content)?void 0:s[o.value])?void 0:l.schema
},null,8,["value"])])):ca("",!0)])):ca("",!0)}}
}),[["__scopeId","data-v-3b43342b"]]),c0={class:"endpoint-details"},u0={
class:"endpoint-description"},d0=Gr({__name:"EndpointDetails",props:{
operation:{}},setup(e){
const t=e,{parameterMap:n}=mf(t),{responses:r}=TD(t.operation);return(e,t)=>{
var o,i;return Zi(),Yi("div",c0,[ra("div",u0,[oa(Qn(sZ),{
value:e.operation.description,withImages:""},null,8,["value"])]),oa(n0,{
parameters:Qn(n).path},{title:xr((()=>t[0]||(t[0]=[sa("Path Parameters")]))),_:1
},8,["parameters"]),oa(n0,{parameters:Qn(n).query},{
title:xr((()=>t[1]||(t[1]=[sa("Query Parameters")]))),_:1
},8,["parameters"]),oa(n0,{parameters:Qn(n).header},{
title:xr((()=>t[2]||(t[2]=[sa("Headers")]))),_:1},8,["parameters"]),oa(n0,{
parameters:Qn(n).body,showChildren:""},{
title:xr((()=>t[3]||(t[3]=[sa("Body Parameters")]))),_:1
},8,["parameters"]),oa(n0,{parameters:Qn(n).formData},{
title:xr((()=>t[4]||(t[4]=[sa("Form Data")]))),_:1
},8,["parameters"]),(null==(o=e.operation.information)?void 0:o.requestBody)?(Zi(),
Ki(l0,{key:0,requestBody:null==(i=e.operation.information)?void 0:i.requestBody
},{title:xr((()=>t[5]||(t[5]=[sa("Body")]))),_:1
},8,["requestBody"])):ca("",!0),oa(n0,{collapsableItems:!0,parameters:Qn(r)},{
title:xr((()=>t[6]||(t[6]=[sa("Responses")]))),_:1},8,["parameters"])])}}}),p0={
key:0},h0=Gr({__name:"EndpointPath",props:{path:{},deprecated:{type:Boolean}},
setup(e){
const t=e,n=e=>e.startsWith("{")&&e.endsWith("}"),r=$a((()=>t.path.split(/({[^}]+})/)))
;return(e,t)=>(Zi(),Yi("span",{class:et(["endpoint-path",{
deprecated:e.deprecated}])},[(Zi(!0),Yi(Ui,null,So(r.value,((e,t)=>(Zi(),Yi(Ui,{
key:t},[n(e)?(Zi(),Yi("em",p0,st(e),1)):(Zi(),Yi(Ui,{key:1
},[sa(st(e),1)],64))],64)))),128))],2))}
}),f0=FX(h0,[["__scopeId","data-v-b5ffe25a"]]),m0=["method"],g0=FX(Gr({
__name:"TestRequestButton",props:{operation:{}},setup(e){const t=ti(OD)
;return(e,n)=>{var r;return!0!==(null==(r=Qn(t))?void 0:r())?(Zi(),Yi("button",{
key:0,class:"show-api-client-button",method:e.operation.httpVerb,type:"button",
onClick:n[0]||(n[0]=Us((t=>Qn(MX).emit({open:{path:e.operation.path,
method:e.operation.httpVerb}})),["stop"]))},[oa(Qn(Uq),{icon:"Play",size:"sm"
}),n[1]||(n[1]=ra("span",null,"Test Request",-1))],8,m0)):(Zi(),Yi(Ui,{key:1
},[sa(" ")],64))}}}),[["__scopeId","data-v-2e17b0a6"]]),v0={class:"examples"
},b0=FX(Gr({__name:"Operation",props:{id:{},operation:{}},setup:e=>(e,t)=>(Zi(),
Ki(Qn(eK),{id:e.id,label:e.operation.name},{default:xr((()=>[oa(Qn(vK),null,{
default:xr((()=>[oa(Qn(cK),null,{default:xr((()=>[oa(Qn(sK),null,{
default:xr((()=>{var n,r
;return[(null==(n=e.operation.information)?void 0:n.deprecated)?(Zi(),
Ki(Qn(KY),{key:0},{default:xr((()=>t[0]||(t[0]=[sa(" Deprecated ")]))),_:1
})):ca("",!0),ra("div",{
class:et((null==(r=e.operation.information)?void 0:r.deprecated)?"deprecated":"")
},[oa(Qn(bK),{level:3},{default:xr((()=>[oa(Qn(xK),{id:e.id??""},{
default:xr((()=>[sa(st(e.operation.name),1)])),_:1},8,["id"])])),_:1
})],2),oa(d0,{operation:e.operation},null,8,["operation"])]})),_:1
}),oa(Qn(sK),null,{default:xr((()=>[ra("div",v0,[oa(Qn(JK),{fallback:"",
operation:e.operation},{header:xr((()=>{var t;return[oa(f0,{
class:"example-path",
deprecated:null==(t=e.operation.information)?void 0:t.deprecated,
path:e.operation.path},null,8,["deprecated","path"])]})),footer:xr((()=>[oa(g0,{
operation:e.operation},null,8,["operation"])])),_:1
},8,["operation"]),oa(Qn(iJ),{operation:e.operation,style:{"margin-top":"12px"}
},null,8,["operation"])])])),_:1})])),_:1})])),_:1})])),_:1},8,["id","label"]))
}),[["__scopeId","data-v-d485e1e4"]]),O0={class:"endpoint-details-card"
},y0=FX(Gr({__name:"EndpointDetailsCard",props:{operation:{}},setup(e){
const t=e,{parameterMap:n}=mf(t),{responses:r}=TD(t.operation);return(e,t)=>{
var o;return Zi(),Yi("div",O0,[oa(n0,{class:"endpoint-details-card-item",
parameters:Qn(n).path},{title:xr((()=>t[0]||(t[0]=[sa("Path Parameters")]))),_:1
},8,["parameters"]),oa(n0,{class:"endpoint-details-card-item",
parameters:Qn(n).query},{title:xr((()=>t[1]||(t[1]=[sa("Query Parameters")]))),
_:1},8,["parameters"]),oa(n0,{class:"endpoint-details-card-item",
parameters:Qn(n).header},{title:xr((()=>t[2]||(t[2]=[sa("Headers")]))),_:1
},8,["parameters"]),oa(l0,{class:"endpoint-details-card-item",
requestBody:null==(o=e.operation.information)?void 0:o.requestBody},{
title:xr((()=>t[3]||(t[3]=[sa("Body")]))),_:1},8,["requestBody"]),oa(n0,{
class:"endpoint-details-card-item",parameters:Qn(r)},{
title:xr((()=>t[4]||(t[4]=[sa("Responses")]))),_:1},8,["parameters"])])}}
}),[["__scopeId","data-v-102733a0"]]),w0={class:"endpoint-header"},k0={
class:"endpoint-details"},x0={class:"endpoint-label"},S0={
class:"endpoint-label-path"},_0={class:"endpoint-label-name"},E0={
class:"endpoint-content"},T0=FX(Gr({__name:"OperationAccordion",props:{id:{},
operation:{}},setup(e){const{copyToClipboard:t}=Zh(),n=ti(OD)
;return console.log(!(null==n?void 0:n())),(e,r)=>(Zi(),Ki(Qn(iK),{id:e.id,
class:"reference-endpoint",transparent:""},_o({
title:xr((()=>[ra("h3",w0,[ra("div",k0,[oa(Qn(UX),{class:"endpoint-type",
method:e.operation.httpVerb,short:""},null,8,["method"]),oa(Qn(xK),{id:e.id??"",
class:"endpoint-anchor"},{default:xr((()=>{var t
;return[ra("div",x0,[ra("div",S0,[oa(f0,{
deprecated:null==(t=e.operation.information)?void 0:t.deprecated,
path:e.operation.path
},null,8,["deprecated","path"])]),ra("div",_0,st(e.operation.name),1)])]})),_:1
},8,["id"])])])])),actions:xr((({active:o})=>{var i;return[o?(Zi(),Ki(g0,{key:0,
operation:e.operation
},null,8,["operation"])):(null==(i=Qn(n))?void 0:i())?ca("",!0):(Zi(),
Ki(Qn(Uq),{key:1,class:"endpoint-try-hint",icon:"Play",thickness:"1.75px"
})),oa(Qn(qq),{class:"endpoint-copy",icon:"Clipboard",label:"Copy endpoint URL",
size:"xs",variant:"ghost",
onClick:r[0]||(r[0]=Us((n=>Qn(t)(e.operation.path)),["stop"]))})]})),
default:xr((()=>[ra("div",E0,[oa(y0,{operation:e.operation
},null,8,["operation"]),oa(Qn(iJ),{operation:e.operation
},null,8,["operation"]),oa(Qn(JK),{operation:e.operation
},null,8,["operation"])])])),_:2},[e.operation.description?{name:"description",
fn:xr((()=>[oa(Qn(sZ),{value:e.operation.description,withImages:""
},null,8,["value"])])),key:"0"}:void 0]),1032,["id"]))}
}),[["__scopeId","data-v-79ac1ab2"]]),C0=FX(Gr({__name:"ShowMoreButton",props:{
id:{}},setup(e){const{setCollapsedSidebarItem:t}=XD()
;return(e,n)=>(Zi(),Yi("button",{class:"show-more",type:"button",
onClick:n[0]||(n[0]=n=>Qn(t)(e.id,!0))
},[n[1]||(n[1]=sa(" Show More ")),oa(Qn(Uq),{class:"show-more-icon",
icon:"ChevronDown"})]))}}),[["__scopeId","data-v-b1ddf847"]]),A0={
class:"endpoints"},P0=["onClick"],D0=FX(Gr({__name:"Endpoints",props:{id:{},
tag:{},isCollapsed:{type:Boolean}},setup(e){
const t=e,{getOperationId:n,getTagId:r}=ff(),{scrollToOperation:o}=XD()
;return(e,i)=>(Zi(),Ki(Qn(eK),{id:e.id,label:e.tag.name.toUpperCase()},{
default:xr((()=>[oa(Qn(vK),null,{default:xr((()=>[oa(Qn(cK),null,{
default:xr((()=>[oa(Qn(sK),null,{default:xr((()=>[oa(Qn(bK),{level:2},{
default:xr((()=>[oa(Qn(xK),{id:Qn(r)(e.tag)},{
default:xr((()=>[sa(st(e.tag["x-displayName"]??e.tag.name),1)])),_:1
},8,["id"])])),_:1}),oa(Qn(sZ),{clamp:!!e.isCollapsed&&"7",
value:e.tag.description,withImages:""},null,8,["clamp","value"])])),_:1
}),oa(Qn(sK),null,{default:xr((()=>{var r
;return[(null==(r=e.tag.operations)?void 0:r.length)>0?(Zi(),Ki(Qn(BK),{key:0,
class:"scalar-card-sticky"},{default:xr((()=>[oa(Qn(qK),{muted:""},{
default:xr((()=>i[0]||(i[0]=[sa("Endpoints")]))),_:1}),oa(Qn(QK),{
class:"custom-scroll",muted:""},{
default:xr((()=>[ra("div",A0,[(Zi(!0),Yi(Ui,null,So(e.tag.operations,(r=>{var i
;return Zi(),Yi("a",{key:Qn(n)(r,e.tag),class:"endpoint",onClick:e=>(async e=>{
const r=n(e,t.tag);o(r)})(r)},[oa(Qn(UX),{method:r.httpVerb
},null,8,["method"]),ra("span",{class:et({
deprecated:null==(i=r.information)?void 0:i.deprecated})},st(r.path),3)],8,P0)
})),128))])])),_:1})])),_:1})):ca("",!0)]})),_:1})])),_:1})])),_:1})])),_:1
},8,["id","label"]))}}),[["__scopeId","data-v-fe316e67"]]),$0=FX(Gr({
__name:"Tag",props:{id:{},tag:{},spec:{}},setup(e){
const t=e,n=In(null),{collapsedSidebarItems:r}=XD(),{getTagId:o}=ff(),i=$a((()=>{
var e,n,r
;return 1!==(null==(e=t.spec.tags)?void 0:e.length)||"default"!==(null==(n=t.tag)?void 0:n.name)||""!==(null==(r=t.tag)?void 0:r.description)
}));return(e,t)=>(Zi(),Ki(Qn(dK),{ref_key:"sectionContainerRef",ref:n,
class:"tag-section-container"},{default:xr((()=>{var t
;return[i.value?(Zi(),Ki(D0,{key:0,id:e.id,isCollapsed:!Qn(r)[Qn(o)(e.tag)],
tag:e.tag
},null,8,["id","isCollapsed","tag"])):ca("",!0),!Qn(r)[Qn(o)(e.tag)]&&(null==(t=e.tag.operations)?void 0:t.length)>1?(Zi(),
Ki(C0,{key:1,id:e.id??""},null,8,["id"])):Eo(e.$slots,"default",{key:2
},void 0,!0)]})),_:3},512))}}),[["__scopeId","data-v-f9c3c8a1"]]),R0=FX(Gr({
__name:"TagAccordion",props:{tag:{},spec:{}},setup(e){const{getTagId:t}=ff()
;return(e,n)=>(Zi(),Ki(Qn(fK),{class:"tag-section"},{title:xr((()=>[oa(Qn(bK),{
class:"tag-name",level:2},{default:xr((()=>[oa(Qn(xK),{id:Qn(t)(e.tag)},{
default:xr((()=>[sa(st(e.tag.name),1)])),_:1},8,["id"])])),_:1}),oa(Qn(sZ),{
class:"tag-description",value:e.tag.description,withImages:""
},null,8,["value"])])),default:xr((()=>[Eo(e.$slots,"default",{},void 0,!0)])),
_:3}))}}),[["__scopeId","data-v-fe69da0e"]]),N0=Gr({__name:"TagList",props:{
tags:{},spec:{},layout:{}},setup(e){
const t=e,{getOperationId:n,getTagId:r,hash:o}=ff(),{collapsedSidebarItems:i}=XD(),a=$a((()=>"accordion"===t.layout?R0:$0)),s=$a((()=>"accordion"===t.layout?T0:b0)),l="accordion"!==t.layout&&!o.value.startsWith("model")
;return(e,t)=>(Zi(!0),Yi(Ui,null,So(e.tags,(t=>(Zi(),Ki(Qn(DK),{id:Qn(r)(t),
key:Qn(r)(t),isLazy:Qn(l)&&!Qn(i)[Qn(r)(t)]},{
default:xr((()=>[(Zi(),Ki(wo(a.value),{id:Qn(r)(t),spec:e.spec,tag:t},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(t.operations,((e,r)=>(Zi(),Ki(Qn(DK),{
id:Qn(n)(e,t),key:`${e.httpVerb}-${e.operationId}`,isLazy:r>0},{
default:xr((()=>[(Zi(),Ki(wo(s.value),{id:Qn(n)(e,t),operation:e,tag:t
},null,8,["id","operation","tag"]))])),_:2},1032,["id","isLazy"])))),128))])),
_:2},1032,["id","spec","tag"]))])),_:2},1032,["id","isLazy"])))),128))}
}),M0=Gr({__name:"Loading",props:{layout:{default:"default"},parsedSpec:{}},
setup(e){
const t=e,n=In(!1),r=In([]),o=In([]),{getModelId:i,getSectionId:a,getTagId:s,hash:l,isIntersectionEnabled:c}=ff(),u=In("accordion"!==t.layout&&l.value)
;Ci((()=>{var e;return null==(e=t.parsedSpec.tags)?void 0:e.length}),(e=>{
var i,u;if(!l.value||"number"!=typeof e||!t.parsedSpec.tags)return;const d=a()
;if(d.startsWith("tag")){let e=0
;const o=(null==(i=t.parsedSpec.tags)?void 0:i.findIndex((e=>s(e)===d)))??0,a=l.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/)
;if(4===(null==a?void 0:a.length)){const n=a[2],r="/"+a[3]
;e=null==(u=t.parsedSpec.tags[o])?void 0:u.operations.findIndex((({httpVerb:e,path:t})=>n===e&&r===t))
}const c=t.parsedSpec.tags[o];if(!c)return
;"default"!==c.name&&(n.value=d!==l.value&&d.startsWith("tag")),r.value.push({
...c,lazyOperations:c.operations.slice(e,e+2)})
}else if(l.value.startsWith("model")){
const e=Object.keys(QP(t.parsedSpec)??{}),[,n]=l.value.toLowerCase().split("/"),r="models"===l.value?0:e.findIndex((e=>e.toLowerCase()===n))
;if(-1===r)return;o.value=e.slice(r,r+3)
}else"undefined"!=typeof window&&kD(l.value),setTimeout((()=>c.value=!0),1e3)
}),{immediate:!0});const d=CD.on((({id:e})=>{const t=l.value
;t&&e===t&&(d(),setTimeout((()=>{
"undefined"!=typeof window&&kD(t),u.value=!1,setTimeout((()=>c.value=!0),1e3)
}),300))}));return lo((()=>{l.value||setTimeout((()=>c.value=!0),1e3)
})),(e,t)=>Sr((Zi(),Yi("div",{class:et(["references-loading",{
"references-loading-hidden-tag":n.value,
"references-loading-top-spacer":r.value.length}])
},[(Zi(!0),Yi(Ui,null,So(r.value,((t,n)=>(Zi(),Yi(Ui,{key:t.name+n
},[t.operations&&t.operations.length>0?(Zi(),Ki(Qn($0),{key:0,spec:e.parsedSpec,
tag:t},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(t.lazyOperations,(e=>(Zi(),Ki(Qn(b0),{
key:`${e.httpVerb}-${e.operationId}`,operation:e,tag:t
},null,8,["operation","tag"])))),128))])),_:2
},1032,["spec","tag"])):ca("",!0)],64)))),128)),o.value.length?(Zi(),Ki(Qn(dK),{
key:0},{default:xr((()=>[(Zi(!0),Yi(Ui,null,So(o.value,(t=>(Zi(),Ki(Qn(eK),{
key:t,label:t},{default:xr((()=>{var n
;return[(null==(n=Qn(QP)(e.parsedSpec))?void 0:n[t])?(Zi(),Ki(Qn(vK),{key:0},{
default:xr((()=>{var n;return[oa(Qn(bK),{level:2},{default:xr((()=>[oa(Qn(xK),{
id:Qn(i)(t)},{default:xr((()=>{var n
;return[sa(st((null==(n=Qn(QP)(e.parsedSpec))?void 0:n[t]).title??t),1)]})),_:2
},1032,["id"])])),_:2},1024),oa(Qn(zJ),{name:t,noncollapsible:"",
value:null==(n=Qn(QP)(e.parsedSpec))?void 0:n[t]},null,8,["name","value"])]})),
_:2},1024)):ca("",!0)]})),_:2},1032,["label"])))),128))])),_:1
})):ca("",!0)],2)),[[as,u.value]])}}),I0=FX(Gr({__name:"Models",props:{
schemas:{}},setup(e){
const t=e,{collapsedSidebarItems:n}=XD(),{getModelId:r}=ff(),o=$a((()=>Object.keys(t.schemas??{}).length<=10||n[r()])),i=$a((()=>{
const e=Object.keys(t.schemas??{});return o.value?e:e.slice(0,10)}))
;return(e,t)=>e.schemas?(Zi(),Ki(Qn(dK),{key:0,id:"models"},{
default:xr((()=>[oa(Qn(eK),null,{default:xr((()=>[oa(Qn(bK),{level:2},{
default:xr((()=>t[0]||(t[0]=[sa("Models")]))),_:1}),oa(Qn(DK),{id:"models",
isLazy:!1}),ra("div",{class:et(["models-list",{"models-list-truncated":!o.value
}])},[(Zi(!0),Yi(Ui,null,So(i.value,(t=>(Zi(),Ki(Qn(DK),{id:Qn(r)(t),key:t,
isLazy:""},{default:xr((()=>[oa(Qn(_K),{id:Qn(r)(t),class:"models-list-item",
label:t},{heading:xr((()=>[oa(Qn(lJ),{name:t,value:e.schemas[t]
},null,8,["name","value"])])),default:xr((()=>[oa(Qn(zJ),{hideHeading:!0,
noncollapsible:"",value:e.schemas[t]},null,8,["value"])])),_:2
},1032,["id","label"])])),_:2
},1032,["id"])))),128))],2),o.value?ca("",!0):(Zi(),Ki(C0,{key:0,id:Qn(r)(),
class:"show-more-models"},null,8,["id"]))])),_:1})])),_:1})):ca("",!0)}
}),[["__scopeId","data-v-cff15ceb"]]),L0={key:0,class:"properties"},j0={key:1
},B0=FX(Gr({__name:"ModelsAccordion",props:{schemas:{}},setup(e){
const t=e,n=$a((()=>t.schemas?Object.entries(t.schemas).map((([e,t])=>({name:e,
schema:t}))):[])),{getModelId:r}=ff();return(e,o)=>t.schemas?(Zi(),Ki(Qn(fK),{
key:0,class:"reference-models"},{title:xr((()=>[oa(Qn(bK),{level:2},{
default:xr((()=>o[0]||(o[0]=[sa("Models")]))),_:1})])),default:xr((()=>[(Zi(!0),
Yi(Ui,null,So(n.value,(({name:e,schema:t})=>(Zi(),Ki(Qn(iK),{id:Qn(r)(e),key:e,
label:e},{title:xr((()=>[oa(Qn(xK),{id:Qn(r)(e),class:"reference-models-anchor"
},{default:xr((()=>[oa(Qn(lJ),{class:"reference-models-label",name:e,value:t
},null,8,["name","value"])])),_:2},1032,["id"])])),
default:xr((()=>[(null==t?void 0:t.properties)?(Zi(),
Yi("div",L0,[(Zi(!0),Yi(Ui,null,So(Object.entries(t.properties),(([e,n])=>{
var r,o,i;return Zi(),Ki(Qn(QJ),{key:e,name:e,
required:(null==(r=t.required)?void 0:r.includes(e))||!0===(null==(i=null==(o=t.properties)?void 0:o[e])?void 0:i.required),
value:n},null,8,["name","required","value"])
})),128))])):(Zi(),Yi("div",j0,[oa(Qn(QJ),{value:t},null,8,["value"])]))])),_:2
},1032,["id","label"])))),128))])),_:1})):ca("",!0)}
}),[["__scopeId","data-v-b3be69ad"]]),Q0=FX(Gr({__name:"Webhook",props:{
webhook:{}},setup(e){const t=e,{responses:n}=TD(t.webhook);return(e,t)=>{var r
;return e.webhook?(Zi(),Yi(Ui,{key:0},[oa(l0,{class:"webhook-request-body",
requestBody:null==(r=e.webhook.information)?void 0:r.requestBody},{
title:xr((()=>t[0]||(t[0]=[sa("Payload")]))),_:1},8,["requestBody"]),oa(n0,{
class:"webhook-response-parameters",parameters:Qn(n)},{
title:xr((()=>t[1]||(t[1]=[sa("Responses")]))),_:1
},8,["parameters"])],64)):ca("",!0)}}
}),[["__scopeId","data-v-8fced5af"]]),U0=FX(Gr({__name:"Webhooks",props:{
webhooks:{}},setup(e){
const t=e,n=$a((()=>Object.keys(t.webhooks??{}))),{getWebhookId:r}=ff(),{collapsedSidebarItems:o}=XD(),i=$a((()=>n.value.length<=10||o[r()])),a=$a((()=>{
const e=n.value;return i.value?e:e.slice(0,10)}))
;return(e,t)=>n.value.length?(Zi(),Ki(Qn(dK),{key:0,id:"webhooks"},{
default:xr((()=>[oa(Qn(eK),null,{default:xr((()=>[oa(Qn(bK),{level:2},{
default:xr((()=>t[0]||(t[0]=[sa("Webhooks")]))),_:1}),oa(Qn(DK),{id:"webhooks",
isLazy:!1}),ra("div",{class:et(["webhooks-list",{
"webhooks-list-truncated":!i.value}])},[(Zi(!0),Yi(Ui,null,So(a.value,(t=>{var n
;return Zi(),Yi(Ui,{key:t
},[(Zi(!0),Yi(Ui,null,So(Object.keys(null==(n=e.webhooks)?void 0:n[t]),(n=>(Zi(),
Ki(Qn(DK),{id:Qn(r)(t,n),key:n,isLazy:""},{default:xr((()=>{var o
;return[(null==(o=e.webhooks)?void 0:o[t])?(Zi(),Ki(Qn(_K),{key:0,id:Qn(r)(t,n),
class:"webhooks-list-item",label:t},{heading:xr((()=>{var r
;return[sa(st(null==(r=e.webhooks[t][n])?void 0:r.name),1)]})),default:xr((()=>{
var r,o
;return[(null==(r=e.webhooks[t][n])?void 0:r.description)?(Zi(),Ki(Qn(sZ),{
key:0,class:"webhook-section-description",
value:null==(o=e.webhooks[t][n])?void 0:o.description,withImages:""
},null,8,["value"])):ca("",!0),oa(Q0,{webhook:e.webhooks[t][n]
},null,8,["webhook"])]})),_:2},1032,["id","label"])):ca("",!0)]})),_:2
},1032,["id"])))),128))],64)})),128))],2),i.value?ca("",!0):(Zi(),Ki(C0,{key:0,
id:"webhooks",class:"show-more-webhooks"}))])),_:1})])),_:1})):ca("",!0)}
}),[["__scopeId","data-v-87687203"]]),F0={class:"narrow-references-container"
},z0=Gr({__name:"Content",props:{parsedSpec:{},layout:{},baseServerURL:{},
servers:{},proxy:{}},setup(e){
const t=e,{hideModels:n}=XD(),r=$a((()=>"accordion"===t.layout?"after":"aside"))
;return(e,o)=>{var i,a,s,l
;return Zi(),Yi(Ui,null,[o[0]||(o[0]=la('<div class="section-flare" data-v-2ffda479><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div><div class="section-flare-item" data-v-2ffda479></div></div>',1)),ra("div",F0,[Eo(e.$slots,"start",{},void 0,!0),oa(Qn(M0),{
layout:e.layout,parsedSpec:e.parsedSpec
},null,8,["layout","parsedSpec"]),(null==(a=null==(i=e.parsedSpec)?void 0:i.info)?void 0:a.title)||(null==(l=null==(s=e.parsedSpec)?void 0:s.info)?void 0:l.description)?(Zi(),
Ki(Qn(PK),{key:0,info:e.parsedSpec.info,parsedSpec:e.parsedSpec},{
[r.value]:xr((()=>[ra("div",{class:et(["introduction-card",{
"introduction-card-row":"accordion"===e.layout}])},[oa(Qn(cY),{
class:"introduction-card-item",defaultServerUrl:e.baseServerURL,
servers:t.servers,specification:e.parsedSpec
},null,8,["defaultServerUrl","servers","specification"]),oa(Qn(IY),{
class:"introduction-card-item",parsedSpec:e.parsedSpec,proxy:e.proxy
},null,8,["parsedSpec","proxy"]),oa(Qn(ZY),{class:"introduction-card-item"
})],2)])),_:2},1032,["info","parsedSpec"])):Eo(e.$slots,"empty-state",{key:1
},void 0,!0),e.parsedSpec.tags?(Zi(),Yi(Ui,{key:2
},[e.parsedSpec["x-tagGroups"]?(Zi(!0),Yi(Ui,{key:0
},So(e.parsedSpec["x-tagGroups"],(t=>(Zi(),Ki(Qn(N0),{key:t.name,
layout:e.layout,spec:e.parsedSpec,tags:t.tags.map((t=>{var n
;return null==(n=e.parsedSpec.tags)?void 0:n.find((e=>e.name===t))
})).filter((e=>!!e))
},null,8,["layout","spec","tags"])))),128)):(Zi(),Ki(Qn(N0),{key:1,
layout:e.layout,spec:e.parsedSpec,tags:e.parsedSpec.tags
},null,8,["layout","spec","tags"]))],64)):ca("",!0),e.parsedSpec.webhooks?(Zi(),
Ki(Qn(U0),{key:3,webhooks:e.parsedSpec.webhooks
},null,8,["webhooks"])):ca("",!0),Qn(UP)(e.parsedSpec)&&!Qn(n)?(Zi(),Yi(Ui,{
key:4},["accordion"===e.layout?(Zi(),Ki(Qn(B0),{key:0,
schemas:Qn(QP)(e.parsedSpec)},null,8,["schemas"])):(Zi(),Ki(Qn(I0),{key:1,
schemas:Qn(QP)(e.parsedSpec)
},null,8,["schemas"]))],64)):ca("",!0),Eo(e.$slots,"end",{},void 0,!0)])],64)}}
}),q0=FX(z0,[["__scopeId","data-v-2ffda479"]]),H0={class:"start custom-scroll"
},V0={class:"start-copy"},Z0={class:"start-cta"},W0={class:"start-row"},X0={
class:"start-section start-section-colors"},G0=["onClick"],Y0=FX(Gr({
__name:"GettingStarted",props:{theme:{}},
emits:["changeTheme","loadSwaggerFile","linkSwaggerFile","updateContent"],
setup(e,{emit:t}){
const n=t,r=["default","alternate","moon","purple","solarized","bluePlanet","saturn","kepler","mars","deepSpace"]
;async function o(){
const e=await fetch("https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml")
;n("updateContent",await e.text())}
return(e,t)=>(Zi(),Yi("div",H0,[ra("div",V0,[t[3]||(t[3]=la('<div class="start-logo" data-v-391b4e37><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-391b4e37></path></svg></div><h1 class="start-h1" data-v-391b4e37>Swagger Editor</h1><p class="start-p" data-v-391b4e37> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>',3)),ra("div",Z0,[oa(Qn(tH),{
fullWidth:"",onClick:o},{default:xr((()=>t[1]||(t[1]=[sa(" Show Example ")]))),
_:1}),oa(Qn(tH),{fullWidth:"",variant:"outlined",
onClick:t[0]||(t[0]=t=>e.$emit("loadSwaggerFile"))},{
default:xr((()=>t[2]||(t[2]=[sa(" Upload File ")]))),_:1
})])]),ra("div",W0,[t[5]||(t[5]=la('<div class="start-section start-section-integrations" data-v-391b4e37><div class="start-h2" data-v-391b4e37>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-391b4e37><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-391b4e37></path></svg><span data-v-391b4e37>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-391b4e37><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g data-v-391b4e37><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-391b4e37></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-391b4e37></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-391b4e37></path></g></svg><span data-v-391b4e37>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-391b4e37><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="currentColor" fill-rule="nonzero" data-v-391b4e37><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-391b4e37></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-391b4e37></polygon></g></svg><span data-v-391b4e37>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-391b4e37><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="none" fill-rule="evenodd" data-v-391b4e37><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-391b4e37></circle><g stroke="currentColor" data-v-391b4e37><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-391b4e37></ellipse></g></g></svg><span data-v-391b4e37>React</span></a></div>',1)),ra("div",X0,[t[4]||(t[4]=ra("p",{
class:"start-h2"},"THEMING",-1)),(Zi(),Yi(Ui,null,So(r,(t=>ra("div",{key:t,
class:et(["start-item",{"start-item-active":t===e.theme}]),
onClick:n=>e.$emit("changeTheme",{id:t,label:Qn(Pp)[t]})
},st(Qn(Pp)[t]),11,G0))),64))])]),t[6]||(t[6]=la('<p class="start-h1" data-v-391b4e37>Features</p><ul class="start-ul" data-v-391b4e37><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>',2))]))
}}),[["__scopeId","data-v-391b4e37"]]),K0=["id"],J0={key:0,
class:"sidebar-heading-chevron"},e1=["href"],t1={
class:"sidebar-heading-link-title"},n1={key:1,
class:"sidebar-heading-link-method"},r1={key:1,class:"action-menu"},o1=FX(Gr({
__name:"SidebarElement",props:{id:{},item:{},isActive:{type:Boolean},
hasChildren:{type:Boolean},open:{type:Boolean}},emits:["toggleOpen"],
setup(e,{emit:t}){
const n=e,r=t,{hash:o,isIntersectionEnabled:i,pathRouting:a}=ff(),s=async()=>{
var e,t
;n.hasChildren&&r("toggleOpen"),null==(t=null==(e=n.item)?void 0:e.select)||t.call(e),
n.open&&(i.value=!1,await xD(100),i.value=!0)},l=()=>{
if(a.value)return zP(a.value.basePath,n.item.id);if("undefined"!=typeof window){
const e=new URL(window.location.href)
;return e.hash=n.item.id,`${e.pathname}${e.search}${e.hash}`}
return`#${n.item.id}`},c=async e=>{var t,s;if(a.value){
e.preventDefault(),n.hasChildren&&r("toggleOpen"),
null==(s=null==(t=n.item)?void 0:t.select)||s.call(t),
r("toggleOpen"),i.value=!1,o.value=n.item.id
;const l=new URL(window.location.href)
;l.pathname=zP(a.value.basePath,n.item.id),
window.history.pushState({},"",l),kD(n.item.id),await xD(100),i.value=!0}}
;return(e,t)=>{var n,r;return Zi(),Yi("li",{id:e.id,class:"sidebar-group-item"
},[ra("div",{class:et(["sidebar-heading",{
"sidebar-group-item__folder":e.hasChildren,active_page:e.isActive,
deprecated:e.item.deprecated??!1}]),onClick:s
},[e.hasChildren?(Zi(),Yi("p",J0,[oa(Qn(qq),{class:"toggle-nested-icon",
icon:e.open?"ChevronDown":"ChevronRight",label:"Toggle group",size:"xs",
onClick:Us(s,["stop"])
},null,8,["icon"]),t[0]||(t[0]=sa("   "))])):ca("",!0),ra("a",{
class:"sidebar-heading-link",href:l(),onClick:c
},[(null==(r=null==(n=e.item)?void 0:n.icon)?void 0:r.src)?(Zi(),Ki(Qn(Uq),{
key:0,class:"sidebar-icon",icon:e.item.icon.src
},null,8,["icon"])):ca("",!0),ra("p",t1,st(e.item.title),1),e.item.httpVerb&&!e.hasChildren?(Zi(),
Yi("p",n1,[t[1]||(t[1]=sa("   ")),oa(zX,{active:e.isActive,
method:e.item.httpVerb
},null,8,["active","method"])])):ca("",!0)],8,e1)],2),e.open?Eo(e.$slots,"default",{
key:0
},void 0,!0):ca("",!0),e.$slots["action-menu"]?(Zi(),Yi("div",r1,[Eo(e.$slots,"action-menu",{},void 0,!0)])):ca("",!0)],8,K0)
}}}),[["__scopeId","data-v-8f97b414"]]),i1=FX(Gr({__name:"SidebarGroup",props:{
level:{}},setup:e=>(e,t)=>(Zi(),Yi("ul",{
class:"sidebar-group sidebar-indent-nested",style:Xe({
"--scalar-sidebar-level":e.level})},[Eo(e.$slots,"default",{},void 0,!0)],4))
}),[["__scopeId","data-v-39c84840"]]),a1={class:"sidebar"},s1={
class:"sidebar-group-title"},l1=FX(Gr({__name:"Sidebar",props:{parsedSpec:{},
tagsSorter:{type:[String,Function]},operationsSorter:{type:[String,Function]}},
setup(e){
const t=e,{hash:n,isIntersectionEnabled:r}=ff(),{items:o,toggleCollapsedSidebarItem:i,collapsedSidebarItems:a}=XD({
parsedSpec:t.parsedSpec,tagsSorter:t.tagsSorter,
operationsSorter:t.operationsSorter}),s=In(null),l=In(!0);Ci(n,(e=>{
r.value&&!l.value&&"undefined"!=typeof window&&c(e)}));const c=e=>{var t,n,r,o
;const i=document.getElementById(`sidebar-${e}`);if(!i||!s.value)return
;let a=-160
;"heading"===i.getAttribute("data-sidebar-type")?a+=i.offsetTop+(null==(t=i.getElementsByClassName("sidebar-heading"))?void 0:t[0]).offsetHeight:a+=i.offsetTop+((null==(n=i.parentElement)?void 0:n.offsetTop)??0)+((null==(o=null==(r=i.parentElement)?void 0:r.parentElement)?void 0:o.offsetTop)??0),
s.value.scrollTo({top:a,behavior:"smooth"})};return lo((()=>{
setTimeout((()=>c(n.value)),500),l.value=!1
})),(e,t)=>(Zi(),Yi("div",a1,[Eo(e.$slots,"sidebar-start",{},void 0,!0),ra("div",{
ref_key:"scrollerEl",ref:s,
class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"
},[oa(i1,{level:0},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(Qn(o).entries,(e=>(Zi(),Yi(Ui,{key:e.id
},[e.isGroup?(Zi(),Yi(Ui,{key:0
},[ra("li",s1,st(e.displayTitle??e.title),1),(Zi(!0),
Yi(Ui,null,So(e.children,(t=>(Zi(),Ki(o1,{key:t.id,id:`sidebar-${t.id}`,
"data-sidebar-type":"heading",hasChildren:t.children&&t.children.length>0,
isActive:Qn(n)===t.id,item:{id:t.id,title:t.displayTitle??t.title,
select:t.select,httpVerb:t.httpVerb,deprecated:t.deprecated??!1},
open:Qn(a)[t.id]??!1,onToggleOpen:async()=>{
l.value=!0,Qn(i)(t.id),await Qn(xD)(100),l.value=!1}},{default:xr((()=>{var r
;return[t.children&&(null==(r=t.children)?void 0:r.length)>0?(Zi(),Ki(i1,{key:0,
level:1},{default:xr((()=>[(Zi(!0),Yi(Ui,null,So(t.children,(t=>(Zi(),Yi(Ui,{
key:t.id},[e.show?(Zi(),Ki(o1,{key:0,id:`sidebar-${t.id}`,isActive:Qn(n)===t.id,
item:{id:t.id,title:t.displayTitle??t.title,select:t.select,httpVerb:t.httpVerb,
deprecated:t.deprecated??!1}
},null,8,["id","isActive","item"])):ca("",!0)],64)))),128))])),_:2
},1024)):ca("",!0)]})),_:2
},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])))),128))],64)):(Zi(),
Yi(Ui,{key:1},[e.show?(Zi(),Ki(o1,{key:0,id:`sidebar-${e.id}`,
"data-sidebar-type":"heading",hasChildren:e.children&&e.children.length>0,
isActive:Qn(n)===e.id,item:{id:e.id,title:e.displayTitle??e.title,
select:e.select,httpVerb:e.httpVerb,deprecated:e.deprecated??!1},
open:Qn(a)[e.id]??!1,onToggleOpen:async()=>{
l.value=!0,Qn(i)(e.id),await Qn(xD)(100),l.value=!1}},{default:xr((()=>{var t
;return[e.children&&(null==(t=e.children)?void 0:t.length)>0?(Zi(),Ki(i1,{key:0,
level:1},{default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.children,(t=>(Zi(),Yi(Ui,{
key:t.id},[e.show?(Zi(),Ki(o1,{key:0,id:`sidebar-${t.id}`,isActive:Qn(n)===t.id,
item:{id:t.id,title:t.displayTitle??t.title,select:t.select,httpVerb:t.httpVerb,
deprecated:t.deprecated??!1}
},null,8,["id","isActive","item"])):ca("",!0)],64)))),128))])),_:2
},1024)):ca("",!0)]})),_:2
},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])):ca("",!0)],64))],64)))),128))])),
_:1})],512),Eo(e.$slots,"sidebar-end",{},void 0,!0)]))}
}),[["__scopeId","data-v-42bebafe"]]),c1=["innerHTML"],u1={
class:"references-header"},d1=["aria-label"],p1={
class:"references-navigation-list"},h1={class:"references-editor"},f1={
class:"references-editor-textarea"},m1=["aria-label"],g1={key:0,
class:"references-footer"},v1=Gr({inheritAttrs:!1,__name:"ApiReferenceLayout",
props:{configuration:{},parsedSpec:{},rawSpec:{}},
emits:["changeTheme","updateContent","loadSwaggerFile","linkSwaggerFile","toggleDarkMode"],
setup(e){const t=e,{initializeToasts:n,toast:r}=Hh();n((e=>r(e)))
;const o=Gp("(min-width: 1150px)"),i=In("100dvh"),a=In(null);Yp(a,(e=>{
i.value=e[0].contentRect.height+"px"}))
;const s=$a(Ap),{breadcrumb:l,collapsedSidebarItems:c,isSidebarOpen:u,setCollapsedSidebarItem:d,hideModels:p,defaultOpenAllTags:h,setParsedSpec:f,scrollToOperation:m}=XD(),{getPathRoutingId:g,getSectionId:v,getTagId:b,hash:O,isIntersectionEnabled:y,pathRouting:w,updateHash:k}=ff()
;w.value=t.configuration.pathRouting,so((()=>k()));const x=async e=>{var t
;y.value=!1,
k(),e?m(e):null==(t=a.value)||t.scrollTo(0,0),await xD(100),y.value=!0},S=In(0)
;so((()=>DX())),lo((()=>{var e,n,r
;history.scrollRestoration="manual",SD.on((({specTitle:e})=>{!function(e,t){
const n=vd(e),r=n?new Blob([e],{type:"application/json"}):new Blob([e],{
type:"application/x-yaml"
}),o=URL.createObjectURL(r),i=n?".json":".yaml",a=t?t+i:"spec"+i,s=document.createElement("a")
;s.href=o,s.download=a,s.dispatchEvent(new MouseEvent("click",{bubbles:!0,
cancelable:!0,view:window})),setTimeout((()=>{
window.URL.revokeObjectURL(o),s.remove()}),100)}(t.rawSpec,e)}))
;const o=null==(n=null==(e=a.value)?void 0:e.parentElement)?void 0:n.getBoundingClientRect(),i=null==(r=a.value)?void 0:r.getBoundingClientRect()
;if(o&&i){const e=i.top-o.top;S.value=e<2?0:e}
window.onhashchange=()=>x(decodeURIComponent(window.location.hash.replace(/^#/,""))),
window.onpopstate=()=>w.value&&x(g(window.location.pathname))}))
;const _=$a((()=>o.value||!t.configuration.isEditable)),E=Fp((e=>{
if((e.target.scrollTop??0)<50){
const e=t.configuration.pathRouting?t.configuration.pathRouting.basePath:window.location.pathname
;window.history.replaceState({},"",e+window.location.search),O.value=""}
})),T=$a((()=>({breadcrumb:l.value,spec:t.parsedSpec})));var C;ho((()=>{
SD.reset()})),Ci((()=>t.parsedSpec),f,{deep:!0}),fo((()=>{var e,n;const r=Ei()
;if(r&&(r.payload||(r.payload={data:{}
}),(e=r.payload).data||(e.data={}),t.configuration.pathRouting)){
const e=g(r.url);O.value=e,r.payload.data.hash=e
;for(const t in c)Object.hasOwn(c,t)&&delete c[t];if(e)d(v(e),!0);else{
const e=null==(n=t.parsedSpec.tags)?void 0:n[0];e&&d(b(e),!0)}
r.payload.data["useSidebarContent-collapsedSidebarItems"]=c}})),function(e){
ei(m$,e)}((()=>{var e;const t=ba(),n="scalar-instance-id";if(!t)return n
;let r=t.uid
;return"undefined"==typeof window?(t.attrs||(t.attrs={}),t.attrs[n]=r):(null==(e=t.vnode.el)?void 0:e.getAttribute)&&(r=t.vnode.el.getAttribute(n)),
`${n}-${r}`
})),ei(vD,(()=>t.parsedSpec.security)),ei(bD,(()=>t.configuration.hideDownloadButton)),
ei(OD,(()=>t.configuration.hideTestRequestButton)),ei(yD,(()=>{var e
;return null==(e=t.configuration.spec)?void 0:e.url
})),ei(wD,(()=>null!==t.configuration._integration?t.configuration._integration:"vue")),
p.value=t.configuration.hideModels??!1,
h.value=t.configuration.defaultOpenAllTags??!1,
C=t.configuration,Ci((()=>C),(()=>{var e
;C.proxy===Gh?(console.warn(`[DEPRECATED] Warning: configuration.proxy points to our old proxy (${Gh}).`),
console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${Yh}) instead.`),
C.proxy=Yh,
console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${Yh}). Read more: https://github.com/scalar/scalar`)):(null==(e=C.proxy)?void 0:e.length)&&C.proxy!==Yh&&"http://localhost:5051"!==C.proxy&&(console.warn(`[DEPRECATED] Warning: configuration.proxy points to a custom proxy (${null==C?void 0:C.proxy}).`),
console.warn("[DEPRECATED] Action Required: You need to use our new proxy (written in Go). Read more: https://github.com/scalar/scalar/tree/main/examples/proxy-server"))
}),{immediate:!0});const A=$a((()=>`<style>\n ${((e,t)=>{
const{fonts:n=!0,layer:r="scalar-theme"}=t??{},o=[$p(e),n?"/* Inter (--scalar-font) */\n/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,\n U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,\n U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,\n U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,\n U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format('woff2');\n unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,\n U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* JetBrains Mono (--scalar-font-code) */\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,\n U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-greek.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,\n U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,\n U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,\n U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format('woff2');\n unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,\n U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n":""].join("")
;return r?`@layer ${r} {\n${o}}`:o})(t.configuration.theme,{
fonts:t.configuration.withDefaultFonts})}</style>`));return(e,t)=>{var n,r,o,i
;return Zi(),Yi(Ui,null,[ra("div",{innerHTML:A.value},null,8,c1),ra("div",{
ref_key:"documentEl",ref:a,
class:et(["scalar-app scalar-api-reference references-layout",[{
"scalar-scrollbars-obtrusive":s.value,
"references-editable":e.configuration.isEditable,
"references-sidebar":e.configuration.showSidebar,
"references-sidebar-mobile-open":Qn(u),
"references-classic":"classic"===e.configuration.layout},e.$attrs.class]]),
style:Xe({"--scalar-y-offset":`var(--scalar-custom-header-height, ${S.value}px)`
}),onScrollPassive:t[4]||(t[4]=(...e)=>Qn(E)&&Qn(E)(...e))
},[ra("div",u1,[Eo(e.$slots,"header",tt(ia(T.value)),void 0,!0)]),e.configuration.showSidebar?(Zi(),
Yi("nav",{key:0,
"aria-label":`Contents of ${null==(n=e.parsedSpec.info)?void 0:n.title}`,
class:"references-navigation t-doc__sidebar"},[ra("div",p1,[oa(Qn(l1),{
operationsSorter:e.configuration.operationsSorter,parsedSpec:e.parsedSpec,
tagsSorter:e.configuration.tagsSorter},{
"sidebar-start":xr((()=>[Eo(e.$slots,"sidebar-start",tt(ia(T.value)),void 0,!0)])),
"sidebar-end":xr((()=>[Eo(e.$slots,"sidebar-end",tt(ia(T.value)),void 0,!0)])),
_:3
},8,["operationsSorter","parsedSpec","tagsSorter"])])],8,d1)):ca("",!0),Sr(ra("div",h1,[ra("div",f1,[Eo(e.$slots,"editor",tt(ia(T.value)),void 0,!0)])],512),[[as,e.configuration.isEditable]]),_.value?(Zi(),
Yi(Ui,{key:1},[ra("section",{
"aria-label":`Open API Documentation for ${null==(r=e.parsedSpec.info)?void 0:r.title}`,
class:"references-rendered"},[oa(Qn(q0),{
baseServerURL:e.configuration.baseServerURL,
layout:"classic"===e.configuration.layout?"accordion":"default",
parsedSpec:e.parsedSpec,proxy:e.configuration.proxy,
servers:e.configuration.servers},_o({
start:xr((()=>[Eo(e.$slots,"content-start",tt(ia(T.value)),void 0,!0)])),
end:xr((()=>[Eo(e.$slots,"content-end",tt(ia(T.value)),void 0,!0)])),_:2
},[(null==(o=e.configuration)?void 0:o.isEditable)?{name:"empty-state",
fn:xr((()=>{var n;return[oa(Y0,{
theme:(null==(n=e.configuration)?void 0:n.theme)||"default",
onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),
onLinkSwaggerFile:t[1]||(t[1]=t=>e.$emit("linkSwaggerFile")),
onLoadSwaggerFile:t[2]||(t[2]=t=>e.$emit("loadSwaggerFile")),
onUpdateContent:t[3]||(t[3]=t=>e.$emit("updateContent",t))},null,8,["theme"])]
})),key:"0"
}:void 0]),1032,["baseServerURL","layout","parsedSpec","proxy","servers"])],8,m1),e.$slots.footer?(Zi(),
Yi("div",g1,[Eo(e.$slots,"footer",tt(ia(T.value)),void 0,!0)])):ca("",!0)],64)):ca("",!0),oa(HG,{
preferredSecurityScheme:null==(i=e.configuration.authentication)?void 0:i.preferredSecurityScheme,
proxyUrl:e.configuration.proxy,servers:e.configuration.servers,
spec:e.configuration.spec
},null,8,["preferredSecurityScheme","proxyUrl","servers","spec"])],38),oa(Qn(Vh))],64)
}}}),b1=FX(v1,[["__scopeId","data-v-1f7a83f1"]]),O1={
class:"references-classic-header-container"},y1={
class:"references-classic-header"};const w1=FX({},[["render",function(e,t){
return Zi(),
Yi("div",O1,[ra("div",y1,[Eo(e.$slots,"default",{},void 0,!0),Eo(e.$slots,"dark-mode-toggle",{},void 0,!0)])])
}],["__scopeId","data-v-a860f78f"]]),k1={class:"darklight-reference"},x1={key:0
},S1={key:1},_1=FX(Gr({__name:"DarkModeToggle",props:{isDarkMode:{type:Boolean}
},emits:["toggleDarkMode"],setup:e=>(e,t)=>(Zi(),Yi("div",k1,[ra("button",{
class:"darklight",type:"button",
onClick:t[0]||(t[0]=t=>e.$emit("toggleDarkMode"))},[oa(Qn(Uq),{
icon:"LightDarkModeToggle",size:"md"
}),e.isDarkMode?(Zi(),Yi("span",x1,"Light Mode")):(Zi(),
Yi("span",S1,"Dark Mode"))])]))}),[["__scopeId","data-v-9f4f5367"]]),E1=FX(Gr({
__name:"DarkModeIconToggle",props:{isDarkMode:{type:Boolean}},
emits:["toggleDarkMode"],setup:e=>(e,t)=>(Zi(),Yi("button",{class:"darklight",
type:"button",onClick:t[0]||(t[0]=t=>e.$emit("toggleDarkMode"))},[oa(Qn(Uq),{
icon:e.isDarkMode?"DarkMode":"LightMode"},null,8,["icon"]),oa(yK,null,{
default:xr((()=>[sa(" Switch to "+st(e.isDarkMode?"Light":"Dark")+" Mode ",1)])),
_:1})]))}),[["__scopeId","data-v-3d47eee0"]]),T1=Gr({__name:"ClassicLayout",
props:{configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},
emits:["toggleDarkMode","updateContent"],setup(e){const t=e,n=Ro(),r=$a((()=>({
...t.configuration,showSidebar:!1})));return(e,o)=>(Zi(),Ki(b1,{
configuration:r.value,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec,
onUpdateContent:o[1]||(o[1]=t=>e.$emit("updateContent",t))},_o({
"content-start":xr((({spec:n})=>[oa(w1,null,{
"dark-mode-toggle":xr((()=>[t.configuration.hideDarkModeToggle?ca("",!0):(Zi(),
Ki(Qn(E1),{key:0,isDarkMode:e.isDark,
onToggleDarkMode:o[0]||(o[0]=t=>e.$emit("toggleDarkMode"))
},null,8,["isDarkMode"]))])),
default:xr((()=>[t.configuration.hideSearch?ca("",!0):(Zi(),Ki(Qn(qG),{key:0,
class:"t-doc__sidebar",searchHotKey:r.value.searchHotKey,spec:n
},null,8,["searchHotKey","spec"]))])),_:2},1024)])),_:2},[So(n,((t,n)=>({name:n,
fn:xr((t=>[Eo(e.$slots,n,tt(ia(t||{})))]))
})))]),1032,["configuration","parsedSpec","rawSpec"]))}}),C1={
class:"references-mobile-header t-doc__header"},A1={
class:"references-mobile-breadcrumbs"},P1={
class:"references-mobile-header-actions"},D1=FX(Gr({__name:"MobileHeader",
props:{open:{type:Boolean}},emits:["update:open"],setup(e){
const{breadcrumb:t}=XD();return(e,n)=>(Zi(),Yi("div",C1,[oa(Qn(qq),{
icon:e.open?"Close":"Menu",label:e.open?"Close Menu":"Open Menu",size:"md",
onClick:n[0]||(n[0]=t=>e.$emit("update:open",!e.open))
},null,8,["icon","label"]),ra("span",A1,st(Qn(t)),1),ra("div",P1,[Eo(e.$slots,"actions",{},void 0,!0)])]))
}}),[["__scopeId","data-v-b5fb4b8b"]]),$1={key:0,
class:"scalar-api-references-standalone-search"},R1=Gr({__name:"ModernLayout",
props:{configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},
emits:["toggleDarkMode","updateContent"],setup(e){
const t=e,n=Ro(),r=Gp("(max-width: 1000px)"),{isSidebarOpen:o}=XD()
;Ci(r,((e,t)=>{e&&!t&&(o.value=!1)}));const{hash:i}=ff();return Ci(i,((e,t)=>{
e&&e!==t&&(o.value=!1)})),(e,r)=>(Zi(),Ki(b1,{class:et({
"scalar-api-references-standalone-mobile":e.configuration.showSidebar}),
configuration:e.configuration,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec,
onUpdateContent:r[2]||(r[2]=t=>e.$emit("updateContent",t))},_o({
header:xr((()=>[t.configuration.showSidebar?(Zi(),Ki(D1,{key:0,open:Qn(o),
"onUpdate:open":r[0]||(r[0]=e=>Mn(o)?o.value=e:null)
},null,8,["open"])):ca("",!0)])),"sidebar-start":xr((({spec:e})=>{var n
;return[t.configuration.hideSearch?ca("",!0):(Zi(),Yi("div",$1,[oa(Qn(qG),{
searchHotKey:null==(n=t.configuration)?void 0:n.searchHotKey,spec:e
},null,8,["searchHotKey","spec"])]))]})),
"sidebar-end":xr((()=>[t.configuration.hideDarkModeToggle?ca("",!0):(Zi(),
Ki(Qn(_1),{key:0,isDarkMode:e.isDark,
onToggleDarkMode:r[1]||(r[1]=t=>e.$emit("toggleDarkMode"))
},null,8,["isDarkMode"]))])),_:2},[So(n,((t,n)=>({name:n,
fn:xr((t=>[Eo(e.$slots,n,tt(ia(t||{})),void 0,!0)]))
})))]),1032,["class","configuration","parsedSpec","rawSpec"]))}
}),N1=FX(R1,[["__scopeId","data-v-67757240"]]),M1=Gr({__name:"Layouts",props:{
configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},
emits:["toggleDarkMode","updateContent"],setup(e){const t=e,n=Ro(),r={modern:N1,
classic:T1}
;return(e,o)=>(Zi(),Ki(wo(r[e.configuration.layout??"modern"]??N1),ha(t,{
onToggleDarkMode:o[0]||(o[0]=t=>e.$emit("toggleDarkMode")),
onUpdateContent:o[1]||(o[1]=t=>e.$emit("updateContent",t))}),_o({_:2
},[So(n,((t,n)=>({name:n,fn:xr((t=>[Eo(e.$slots,n,tt(ia(t||{})))]))})))]),1040))
}}),I1=Gr({__name:"ApiReference",props:{configuration:{}},
emits:["updateContent"],setup(e){var t,n,r
;const o=e,{toggleDarkMode:i,isDark:a}=Xh(null==(t=o.configuration)?void 0:t.darkMode,null==(n=o.configuration)?void 0:n.forceDarkModeState)
;Ci((()=>{var e;return null==(e=o.configuration)?void 0:e.darkMode}),(e=>{
e!==a.value&&i()}));const s=$a((()=>{var e,t
;if(null==(e=o.configuration)?void 0:e.customCss)return function(e){
return Cp.some((t=>e.includes(t)))?(console.warn("DEPRECATION WARNING: It looks like you're using legacy CSS variables in your custom CSS string. Please migrate them to use the updated prefixes. See https://github.com/scalar/scalar#theme-prefix-changes"),
Tp.reduce(((e,[t,n])=>e.replaceAll(t,n)),e)):e
}(null==(t=o.configuration)?void 0:t.customCss)}))
;Ci(s,(()=>console.log(s.value)));const l=$a((()=>{var e;return{spec:{
content:void 0,url:void 0,...null==(e=o.configuration)?void 0:e.spec},
proxy:void 0,theme:"default",showSidebar:!0,isEditable:!1,...o.configuration,
customCss:s.value}}));function c(e,t){Ci((()=>{var t
;return null==(t=l.value)?void 0:t[e]}),(e=>{void 0!==e&&t(e)}),{immediate:!0})}
(null==(r=l.value)?void 0:r.metaData)&&function(e,t){
const{title:n,titleTemplate:r,...o}=e;nl({title:n,titleTemplate:r,_flatMeta:o},{
...t,transform(e){const t=N({...e._flatMeta});return delete e._flatMeta,{...e,
meta:t}}})}(l.value.metaData);const{setAuthentication:u}=op()
;c("authentication",u);const{setExcludedClients:d,setDefaultHttpClient:p}=d$()
;c("defaultHttpClient",p),c("hiddenClients",d)
;const{parsedSpec:h,rawSpec:f}=ED({proxy:Xn((()=>l.value.proxy||"")),
specConfig:Xn((()=>l.value.spec||{}))})
;return eh($a((()=>l.value.favicon))),(e,t)=>{var n
;return Zi(),Yi(Ui,null,[(null==(n=l.value)?void 0:n.customCss)?(Zi(),
Ki(wo("style"),{key:0},{default:xr((()=>[sa(st(l.value.customCss),1)])),_:1
})):ca("",!0),oa(Qn(M1),{configuration:l.value,isDark:Qn(a),parsedSpec:Qn(h),
rawSpec:Qn(f),onToggleDarkMode:t[0]||(t[0]=()=>Qn(i)()),
onUpdateContent:t[1]||(t[1]=t=>e.$emit("updateContent",t))},{
footer:xr((()=>[Eo(e.$slots,"footer")])),
"content-end":xr((()=>[Eo(e.$slots,"footer")])),_:3
},8,["configuration","isDark","parsedSpec","rawSpec"])],64)}}
}),L1=()=>document.getElementById("api-reference"),j1=document.querySelector("[data-spec]"),B1=document.querySelector("[data-spec-url]"),Q1=document.querySelector("#api-reference[data-configuration]"),U1=()=>{
if(Q1){const e=Q1.getAttribute("data-configuration");if(e)return{
_integration:"html",...JSON.parse(e.split("&quot;").join('"'))}}return{
_integration:"html"}},F1=()=>{var e,t,n
;if(null==(e=U1().spec)?void 0:e.url)return null==(t=U1().spec)?void 0:t.url
;const r=L1();if(r){const e=null==(n=r.getAttribute("data-url"))?void 0:n.trim()
;if(e)return e}if(B1){
console.warn('[@scalar/api-reference] The [data-spec-url] HTML API is deprecated. Use the new <script id="api-reference" data-url="/scalar.json" /> API instead.')
;const e=B1.getAttribute("data-spec-url");if(e)return e}},z1=()=>{var e,t
;const n=L1();if(n){const t=null==(e=n.innerHTML)?void 0:e.trim();if(t)return t}
if(j1){
console.warn('[@scalar/api-reference] The [data-spec] HTML API is deprecated. Use the new <script id="api-reference" type="application/json">{"openapi":"3.1.0","info":{"title":"Example"},"paths":{}}<\/script> API instead.')
;const e=null==(t=j1.getAttribute("data-spec"))?void 0:t.trim();if(e)return e}
},q1=()=>{const e=L1();if(e){const t=e.getAttribute("data-proxy-url")
;if(t)return t.trim()}},H1=xn({});if(B1||j1||L1()){const n=z1()?{content:z1()}:{
url:F1()};Object.assign(H1,{configuration:{_integration:"html",...U1(),spec:{
...n},proxy:q1()}
}),U1().darkMode?null==(e=document.body)||e.classList.add("dark-mode"):null==(t=document.body)||t.classList.add("light-mode")
;const r=()=>{var e;let t=null;const n=L1()
;return n?(t=document.createElement("main"),
null==(e=null==n?void 0:n.parentNode)||e.insertBefore(t,n)):t=j1||B1||document.body,
t};let o=r();const i=()=>{const e=Zs((()=>Ra(I1,H1))),t=Ks()
;return e.use(t),o?e.mount(o):console.error("Could not find a mount point for API References"),
e};let a=i();document.addEventListener("scalar:reload-references",(()=>{
document.body.contains(o)||(console.log("Re-adding container"),
o=r()),a.unmount(),a=i()
}),!1),document.addEventListener("scalar:destroy-references",(()=>{
delete H1.configuration,a.unmount()
}),!1),document.addEventListener("scalar:update-references-config",(e=>{
"detail"in e&&Object.assign(H1,e.detail)}),!1)
}else console.error('Couldn’t find a [data-spec], [data-spec-url] or <script id="api-reference" /> element. Try adding it like this: %c<div data-spec-url="https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml" />',"font-family: monospace;")
;function V1(e,t){
const n=e.match(/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g)??[]
;let r=e;return n.forEach((e=>{const n=function(e,t){
const n=e.split(".").reduce(((e,t)=>null==e?void 0:e[t]),t)
;return"string"==typeof n?n:JSON.stringify(n)
}(e.startsWith(":")?e.slice(1):e.replace(/[{}]/g,"").trim(),t)
;n&&(r=r.replaceAll(e,n))})),r}
/*!
* vue-router v4.3.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/
const Z1="undefined"!=typeof document;const W1=Object.assign;function X1(e,t){
const n={};for(const r in t){const o=t[r];n[r]=Y1(o)?o.map(e):e(o)}return n}
const G1=()=>{},Y1=Array.isArray,K1=/#/g,J1=/&/g,e2=/\//g,t2=/=/g,n2=/\?/g,r2=/\+/g,o2=/%5B/g,i2=/%5D/g,a2=/%5E/g,s2=/%60/g,l2=/%7B/g,c2=/%7C/g,u2=/%7D/g,d2=/%20/g
;function p2(e){
return encodeURI(""+e).replace(c2,"|").replace(o2,"[").replace(i2,"]")}
function h2(e){
return p2(e).replace(r2,"%2B").replace(d2,"+").replace(K1,"%23").replace(J1,"%26").replace(s2,"`").replace(l2,"{").replace(u2,"}").replace(a2,"^")
}function f2(e){return null==e?"":function(e){
return p2(e).replace(K1,"%23").replace(n2,"%3F")}(e).replace(e2,"%2F")}
function m2(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}
const g2=/\/$/,v2=e=>e.replace(g2,"");function b2(e,t,n="/"){
let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?")
;return s<l&&s>=0&&(l=-1),
l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),
s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=function(e,t){
if(e.startsWith("/"))return e;if(!e)return t
;const n=t.split("/"),r=e.split("/"),o=r[r.length-1]
;".."!==o&&"."!==o||r.push("");let i,a,s=n.length-1
;for(i=0;i<r.length;i++)if(a=r[i],"."!==a){if(".."!==a)break;s>1&&s--}
return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}(null!=r?r:t,n),{
fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:m2(a)}}function O2(e,t){
return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}
function y2(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function w2(e,t){
if(Object.keys(e).length!==Object.keys(t).length)return!1
;for(const n in e)if(!k2(e[n],t[n]))return!1;return!0}function k2(e,t){
return Y1(e)?x2(e,t):Y1(t)?x2(t,e):e===t}function x2(e,t){
return Y1(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t
}var S2,_2,E2,T2
;(_2=S2||(S2={})).pop="pop",_2.push="push",(T2=E2||(E2={})).back="back",
T2.forward="forward",T2.unknown="";function C2(e){if(!e)if(Z1){
const t=document.querySelector("base")
;e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/"
;return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),v2(e)}const A2=/^[^#]+#/
;function P2(e,t){return e.replace(A2,"#")+t}const D2=()=>({left:window.scrollX,
top:window.scrollY});function $2(e){let t;if("el"in e){
const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n
;if(!o)return;t=function(e,t){
const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect()
;return{behavior:t.behavior,left:r.left-n.left-(t.left||0),
top:r.top-n.top-(t.top||0)}}(o,e)}else t=e
;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)
}function R2(e,t){return(history.state?history.state.position-t:-1)+e}
const N2=new Map;let M2=()=>location.protocol+"//"+location.host
;function I2(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){
let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t)
;return"/"!==n[0]&&(n="/"+n),O2(n,"")}return O2(n,e)+r+o}
function L2(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,
position:window.history.length,scroll:o?D2():null}}function j2(e=""){
let t=[],n=[""],r=0;function o(e){r++,r!==n.length&&n.splice(r),n.push(e)}
const i={location:"",state:{},base:e=C2(e),createHref:P2.bind(null,e),
replace(e){n.splice(r--,1),o(e)},push(e,t){o(e)},listen:e=>(t.push(e),()=>{
const n=t.indexOf(e);n>-1&&t.splice(n,1)}),destroy(){t=[],n=[""],r=0},
go(e,o=!0){const i=this.location,a=e<0?E2.back:E2.forward
;r=Math.max(0,Math.min(r+e,n.length-1)),o&&function(e,n,{direction:r,delta:o}){
const i={direction:r,delta:o,type:S2.pop};for(const a of t)a(e,n,i)
}(this.location,i,{direction:a,delta:e})}}
;return Object.defineProperty(i,"location",{enumerable:!0,get:()=>n[r]}),i}
function B2(e){return"string"==typeof e||"symbol"==typeof e}const Q2={path:"/",
name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},
redirectedFrom:void 0},U2=Symbol("");var F2,z2;function q2(e,t){
return W1(new Error,{type:e,[U2]:!0},t)}function H2(e,t){
return e instanceof Error&&U2 in e&&(null==t||!!(e.type&t))}
(z2=F2||(F2={}))[z2.aborted=4]="aborted",
z2[z2.cancelled=8]="cancelled",z2[z2.duplicated=16]="duplicated"
;const V2="[^/]+?",Z2={sensitive:!1,strict:!1,start:!0,end:!0
},W2=/[.+*?^${}()[\]/\\]/g;function X2(e,t){let n=0
;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}
return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0
}function G2(e,t){let n=0;const r=e.score,o=t.score
;for(;n<r.length&&n<o.length;){const e=X2(r[n],o[n]);if(e)return e;n++}
if(1===Math.abs(o.length-r.length)){if(Y2(r))return 1;if(Y2(o))return-1}
return o.length-r.length}function Y2(e){const t=e[e.length-1]
;return e.length>0&&t[t.length-1]<0}const K2={type:0,value:""},J2=/[a-zA-Z0-9_]/
;function e5(e,t,n){const r=function(e,t){const n=W1({},Z2,t),r=[]
;let o=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90]
;n.strict&&!l.length&&(o+="/");for(let t=0;t<l.length;t++){const r=l[t]
;let a=40+(n.sensitive?.25:0)
;if(0===r.type)t||(o+="/"),o+=r.value.replace(W2,"\\$&"),
a+=40;else if(1===r.type){const{value:e,repeatable:n,optional:c,regexp:u}=r
;i.push({name:e,repeatable:n,optional:c});const d=u||V2;if(d!==V2){a+=10;try{
new RegExp(`(${d})`)}catch(s){
throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}
let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`
;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),
c&&(p+="?"),o+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}
r.push(e)}if(n.strict&&n.end){const e=r.length-1
;r[e][r[e].length-1]+=.7000000000000001}
n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)")
;const a=new RegExp(o,n.sensitive?"":"i");return{re:a,score:r,keys:i,
parse:function(e){const t=e.match(a),n={};if(!t)return null
;for(let r=1;r<t.length;r++){const e=t[r]||"",o=i[r-1]
;n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){
let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1
;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){
const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:""
;if(Y1(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`)
;const c=Y1(l)?l.join("/"):l;if(!c){
if(!s)throw new Error(`Missing required param "${i}"`)
;o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}
}(function(e){if(!e)return[[]];if("/"===e)return[[K2]]
;if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){
throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let i
;function a(){i&&o.push(i),i=[]}let s,l=0,c="",u="";function d(){
c&&(0===n?i.push({type:0,value:c
}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),
i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,
optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}
function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:
"/"===s?(c&&d(),a()):":"===s?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:
"("===s?n=2:J2.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break
;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),
n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")
}else r=n,n=4
;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),o
}(e.path),n),o=W1(r,{record:e,parent:t,children:[],alias:[]})
;return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}
function t5(e,t){const n=[],r=new Map;function o(e,n,r){
const s=!r,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,
meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:r5(e),
children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,
enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{
default:e.component}}}(e);l.aliasOf=r&&r.record;const c=a5(t,e),u=[l]
;if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias
;for(const e of t)u.push(W1({},l,{components:r?r.record.components:l.components,
path:e,aliasOf:r?r.record:l}))}let d,p;for(const t of u){const{path:u}=t
;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/"
;t.path=n.record.path+(u&&r+u)}
if(d=e5(t,n,c),r?r.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),
s&&e.name&&!o5(d)&&i(e.name)),s5(d)&&a(d),l.children){const e=l.children
;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d}return p?()=>{i(p)
}:G1}function i(e){if(B2(e)){const t=r.get(e)
;t&&(r.delete(e),n.splice(n.indexOf(t),1),
t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e)
;t>-1&&(n.splice(t,1),
e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))
}}function a(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){
const o=n+r>>1;G2(e,t[o])<0?r=o:n=o+1}const o=function(e){let t=e
;for(;t=t.parent;)if(s5(t)&&0===G2(e,t))return t;return}(e)
;o&&(r=t.lastIndexOf(o,r-1));return r}(e,n)
;n.splice(t,0,e),e.record.name&&!o5(e)&&r.set(e.record.name,e)}return t=a5({
strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,
resolve:function(e,t){let o,i,a,s={};if("name"in e&&e.name){
if(o=r.get(e.name),!o)throw q2(1,{location:e})
;a=o.record.name,s=W1(n5(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&n5(e.params,o.keys.map((e=>e.name)))),
i=o.stringify(s)
}else if(null!=e.path)i=e.path,o=n.find((e=>e.re.test(i))),o&&(s=o.parse(i),
a=o.record.name);else{
if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw q2(1,{
location:e,currentLocation:t})
;a=o.record.name,s=W1({},t.params,e.params),i=o.stringify(s)}const l=[];let c=o
;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,
meta:i5(l)}},removeRoute:i,getRoutes:function(){return n},
getRecordMatcher:function(e){return r.get(e)}}}function n5(e,t){const n={}
;for(const r of t)r in e&&(n[r]=e[r]);return n}function r5(e){
const t={},n=e.props||!1
;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n
;return t}function o5(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}
return!1}function i5(e){return e.reduce(((e,t)=>W1(e,t.meta)),{})}
function a5(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}
function s5({record:e}){
return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}
function l5(e){const t={};if(""===e||"?"===e)return t
;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){
const e=n[r].replace(r2," "),o=e.indexOf("="),i=m2(o<0?e:e.slice(0,o)),a=o<0?null:m2(e.slice(o+1))
;if(i in t){let e=t[i];Y1(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}
function c5(e){let t="";for(let n in e){const r=e[n]
;if(n=h2(n).replace(t2,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n)
;continue}(Y1(r)?r.map((e=>e&&h2(e))):[r&&h2(r)]).forEach((e=>{
void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}
function u5(e){const t={};for(const n in e){const r=e[n]
;void 0!==r&&(t[n]=Y1(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}
const d5=Symbol(""),p5=Symbol(""),h5=Symbol(""),f5=Symbol(""),m5=Symbol("")
;function g5(){let e=[];return{add:function(t){return e.push(t),()=>{
const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){
e=[]}}}function v5(e,t,n,r,o,i=e=>e()){
const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[])
;return()=>new Promise(((s,l)=>{const c=e=>{var i;!1===e?l(q2(4,{from:n,to:t
})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(q2(2,{
from:t,to:e})):(a&&r.enterCallbacks[o]===a&&"function"==typeof e&&a.push(e),s())
},u=i((()=>e.call(r&&r.instances[o],t,n,c)));let d=Promise.resolve(u)
;e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function b5(e,t,n,r,o=e=>e()){
const i=[];for(const s of e)for(const e in s.components){let l=s.components[e]
;if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(a=l)||"displayName"in a||"props"in a||"__vccOpts"in a){
const a=(l.__vccOpts||l)[t];a&&i.push(v5(a,n,r,s,e,o))}else{let a=l()
;i.push((()=>a.then((i=>{
if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`))
;const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l
;s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&v5(c,n,r,s,e,o)()}))))}
}var a;return i}function O5(e){const t=ti(h5),n=ti(f5),r=$a((()=>{
const n=Qn(e.to);return t.resolve(n)})),o=$a((()=>{
const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched
;if(!o||!i.length)return-1;const a=i.findIndex(y2.bind(null,o));if(a>-1)return a
;const s=w5(e[t-2])
;return t>1&&w5(o)===s&&i[i.length-1].path!==s?i.findIndex(y2.bind(null,e[t-2])):a
})),i=$a((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n]
;if("string"==typeof r){if(r!==o)return!1
}else if(!Y1(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}
return!0
}(n.params,r.value.params))),a=$a((()=>o.value>-1&&o.value===n.matched.length-1&&w2(n.params,r.value.params)))
;return{route:r,href:$a((()=>r.value.href)),isActive:i,isExactActive:a,
navigate:function(n={}){return function(e){
if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return
;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return
;if(e.currentTarget&&e.currentTarget.getAttribute){
const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}
e.preventDefault&&e.preventDefault();return!0
}(n)?t[Qn(e.replace)?"replace":"push"](Qn(e.to)).catch(G1):Promise.resolve()}}}
const y5=Gr({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:O5,setup(e,{slots:t}){
const n=xn(O5(e)),{options:r}=ti(h5),o=$a((()=>({
[k5(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,
[k5(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive
})));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ra("a",{
"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,
onClick:n.navigate,class:o.value},r)}}});function w5(e){
return e?e.aliasOf?e.aliasOf.path:e.path:""}
const k5=(e,t,n)=>null!=e?e:null!=t?t:n;function x5(e,t){if(!e)return null
;const n=e(t);return 1===n.length?n[0]:n}const S5=Gr({name:"RouterView",
inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},
compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){
const r=ti(m5),o=$a((()=>e.route||r.value)),i=ti(p5,0),a=$a((()=>{let e=Qn(i)
;const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e
})),s=$a((()=>o.value.matched[a.value]))
;ei(p5,$a((()=>a.value+1))),ei(d5,s),ei(m5,o);const l=In()
;return Ci((()=>[l.value,s.value,e.name]),(([e,t,n],[r,o,i])=>{
t&&(t.instances[n]=e,
o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),
t.updateGuards.size||(t.updateGuards=o.updateGuards))),
!e||!t||o&&y2(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{
flush:"post"}),()=>{const r=o.value,i=e.name,a=s.value,c=a&&a.components[i]
;if(!c)return x5(n.default,{Component:c,route:r})
;const u=a.props[i],d=u?!0===u?r.params:"function"==typeof u?u(r):u:null,p=Ra(c,W1({},d,t,{
onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}))
;return x5(n.default,{Component:p,route:r})||p}}});function _5(e){
const t=t5(e.routes,e),n=e.parseQuery||l5,r=e.stringifyQuery||c5,o=e.history,i=g5(),a=g5(),s=g5(),l=Ln(Q2)
;let c=Q2
;Z1&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual")
;const u=X1.bind(null,(e=>""+e)),d=X1.bind(null,f2),p=X1.bind(null,m2)
;function h(e,i){if(i=W1({},i||l.value),"string"==typeof e){
const r=b2(n,e,i.path),a=t.resolve({path:r.path},i),s=o.createHref(r.fullPath)
;return W1(r,a,{params:p(a.params),hash:m2(r.hash),redirectedFrom:void 0,href:s
})}let a;if(null!=e.path)a=W1({},e,{path:b2(n,e.path,i.path).path});else{
const t=W1({},e.params);for(const e in t)null==t[e]&&delete t[e];a=W1({},e,{
params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||""
;s.params=u(p(s.params));const h=function(e,t){const n=t.query?e(t.query):""
;return t.path+(n&&"?")+n+(t.hash||"")}(r,W1({},e,{
hash:(f=c,p2(f).replace(l2,"{").replace(u2,"}").replace(a2,"^")),path:s.path}))
;var f;const m=o.createHref(h);return W1({fullPath:h,hash:c,
query:r===c5?u5(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}
function f(e){return"string"==typeof e?b2(n,e,l.value.path):W1({},e)}
function m(e,t){if(c!==e)return q2(8,{from:t,to:e})}function g(e){return b(e)}
function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){
const{redirect:n}=t;let r="function"==typeof n?n(e):n
;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=f(r):{path:r
},r.params={}),W1({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)
}}function b(e,t){
const n=c=h(e),o=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n)
;if(u)return b(W1(f(u),{state:"object"==typeof u?W1({},i,u.state):i,force:a,
replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&function(e,t,n){
const r=t.matched.length-1,o=n.matched.length-1
;return r>-1&&r===o&&y2(t.matched[r],n.matched[o])&&w2(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash
}(r,o,n)&&(p=q2(16,{to:d,from:o
}),D(o,o,!0,!1)),(p?Promise.resolve(p):w(d,o)).catch((e=>H2(e)?H2(e,2)?e:P(e):A(e,d,o))).then((e=>{
if(e){if(H2(e,2))return b(W1({replace:s},f(e.to),{
state:"object"==typeof e.to?W1({},i,e.to.state):i,force:a}),t||d)
}else e=x(d,o,!0,s,i);return k(d,o,e),e}))}function O(e,t){const n=m(e,t)
;return n?Promise.reject(n):Promise.resolve()}function y(e){
const t=N.values().next().value
;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}
function w(e,t){let n;const[r,o,s]=function(e,t){
const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length)
;for(let a=0;a<i;a++){const i=t.matched[a]
;i&&(e.matched.find((e=>y2(e,i)))?r.push(i):n.push(i));const s=e.matched[a]
;s&&(t.matched.find((e=>y2(e,s)))||o.push(s))}return[n,r,o]}(e,t)
;n=b5(r.reverse(),"beforeRouteLeave",e,t)
;for(const i of r)i.leaveGuards.forEach((r=>{n.push(v5(r,e,t))}))
;const l=O.bind(null,e,t);return n.push(l),I(n).then((()=>{n=[]
;for(const r of i.list())n.push(v5(r,e,t));return n.push(l),I(n)})).then((()=>{
n=b5(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{
n.push(v5(r,e,t))}));return n.push(l),I(n)})).then((()=>{n=[]
;for(const r of s)if(r.beforeEnter)if(Y1(r.beforeEnter))for(const o of r.beforeEnter)n.push(v5(o,e,t));else n.push(v5(r.beforeEnter,e,t))
;return n.push(l),I(n)
})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),
n=b5(s,"beforeRouteEnter",e,t,y),n.push(l),I(n)))).then((()=>{n=[]
;for(const r of a.list())n.push(v5(r,e,t));return n.push(l),I(n)
})).catch((e=>H2(e,8)?e:Promise.reject(e)))}function k(e,t,n){
s.list().forEach((r=>y((()=>r(e,t,n)))))}function x(e,t,n,r,i){const a=m(e,t)
;if(a)return a;const s=t===Q2,c=Z1?history.state:{}
;n&&(r||s?o.replace(e.fullPath,W1({scroll:s&&c&&c.scroll
},i)):o.push(e.fullPath,i)),l.value=e,D(e,t,n,s),P()}let S;function _(){
S||(S=o.listen(((e,t,n)=>{if(!M.listening)return;const r=h(e),i=v(r)
;if(i)return void b(W1(i,{replace:!0}),r).catch(G1);c=r;const a=l.value;var s,u
;Z1&&(s=R2(a.fullPath,n.delta),
u=D2(),N2.set(s,u)),w(r,a).catch((e=>H2(e,12)?e:H2(e,2)?(b(e.to,r).then((e=>{
H2(e,20)&&!n.delta&&n.type===S2.pop&&o.go(-1,!1)
})).catch(G1),Promise.reject()):(n.delta&&o.go(-n.delta,!1),
A(e,r,a)))).then((e=>{
(e=e||x(r,a,!1))&&(n.delta&&!H2(e,8)?o.go(-n.delta,!1):n.type===S2.pop&&H2(e,20)&&o.go(-1,!1)),
k(r,a,e)})).catch(G1)})))}let E,T=g5(),C=g5();function A(e,t,n){P(e)
;const r=C.list()
;return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}
function P(e){
return E||(E=!e,_(),T.list().forEach((([t,n])=>e?n(e):t())),T.reset()),e}
function D(t,n,r,o){const{scrollBehavior:i}=e
;if(!Z1||!i)return Promise.resolve();const a=!r&&function(e){const t=N2.get(e)
;return N2.delete(e),t
}(R2(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null
;return hr().then((()=>i(t,n,a))).then((e=>e&&$2(e))).catch((e=>A(e,t,n)))}
const $=e=>o.go(e);let R;const N=new Set,M={currentRoute:l,listening:!0,
addRoute:function(e,n){let r,o
;return B2(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},
removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},
hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){
return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:g,
replace:function(e){return g(W1(f(e),{replace:!0}))},go:$,back:()=>$(-1),
forward:()=>$(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,
onError:C.add,isReady:function(){
return E&&l.value!==Q2?Promise.resolve():new Promise(((e,t)=>{T.add([e,t])}))},
install(e){
e.component("RouterLink",y5),e.component("RouterView",S5),e.config.globalProperties.$router=this,
Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,
get:()=>Qn(l)}),Z1&&!R&&l.value===Q2&&(R=!0,g(o.location).catch((e=>{})))
;const t={};for(const r in Q2)Object.defineProperty(t,r,{get:()=>l.value[r],
enumerable:!0});e.provide(h5,this),e.provide(f5,Sn(t)),e.provide(m5,l)
;const n=e.unmount;N.add(e),e.unmount=function(){
N.delete(e),N.size<1&&(c=Q2,S&&S(),S=null,l.value=Q2,R=!1,E=!1),n()}}}
;function I(e){return e.reduce(((e,t)=>e.then((()=>y(t)))),Promise.resolve())}
return M}function E5(){return ti(h5)}
var T5=(e=>(e.Request="request",e.Examples="examples",
e.Cookies="cookies",e.Collection="collection",
e.Schema="schema",e.Environment="environment",
e.Servers="servers",e.Workspace="workspace",e.Settings="settings",e))(T5||{})
;const C5=[{path:"",
redirect:e=>`${e.fullPath.replace(/\/$/,"")}/request/default`},{path:"request",
redirect:e=>`${e.fullPath.replace(/\/$/,"")}/default`},{name:"request",
path:"request/:request",component:()=>Promise.resolve().then((()=>Y_e))},{
name:"examples",path:"request/:request/examples/:examples",
component:()=>Promise.resolve().then((()=>Y_e))}],A5=[{path:"/",
redirect:"/workspace/default/request/default"},{path:"/workspace",
redirect:"/workspace/default/request/default"},{path:"/workspace/:workspace",
children:C5}],P5=[{path:"/",redirect:N5},{path:"/workspace",redirect:N5},{
path:"/workspace/:workspace",children:[...C5,{path:"environment",
redirect:e=>`${e.fullPath.replace(/\/$/,"")}/default`},{name:"environment",
path:"environment/:environment",component:()=>Promise.resolve().then((()=>hEe))
},{path:"cookies",redirect:e=>`${e.fullPath.replace(/\/$/,"")}/default`},{
name:"cookies",path:"cookies/:cookies",
component:()=>Promise.resolve().then((()=>TEe))},{path:"servers",
redirect:e=>`${e.fullPath.replace(/\/$/,"")}/default`},{name:"servers",
path:"servers/:servers",component:()=>Promise.resolve().then((()=>$Ee))},{
path:"settings",redirect:e=>`${e.fullPath.replace(/\/$/,"")}/general`},{
name:"settings",path:"settings/:settings",
component:()=>Promise.resolve().then((()=>QEe))}]}],D5=_5({history:function(e){
const t=function(e){const{history:t,location:n}=window,r={value:I2(e,n)},o={
value:t.state};function i(r,i,a){
const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:M2()+e+r
;try{t[a?"replaceState":"pushState"](i,"",l),o.value=i}catch(c){
console.error(c),n[a?"replace":"assign"](l)}}return o.value||i(r.value,{
back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,
scroll:null},!0),{location:r,state:o,push:function(e,n){
const a=W1({},o.value,t.state,{forward:e,scroll:D2()})
;i(a.current,a,!0),i(e,W1({},L2(r.value,e,null),{position:a.position+1
},n),!1),r.value=e},replace:function(e,n){
i(e,W1({},t.state,L2(o.value.back,e,o.value.forward,!0),n,{
position:o.value.position}),!0),r.value=e}}}(e=C2(e)),n=function(e,t,n,r){
let o=[],i=[],a=null;const s=({state:i})=>{
const s=I2(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,
a&&a===l)return void(a=null);u=c?i.position-c.position:0}else r(s)
;o.forEach((e=>{e(n.value,l,{delta:u,type:S2.pop,
direction:u?u>0?E2.forward:E2.back:E2.unknown})}))};function l(){
const{history:e}=window;e.state&&e.replaceState(W1({},e.state,{scroll:D2()}),"")
}
return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{
passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){o.push(e)
;const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},
destroy:function(){for(const e of i)e()
;i=[],window.removeEventListener("popstate",s),
window.removeEventListener("beforeunload",l)}}
}(e,t.state,t.location,t.replace),r=W1({location:"",base:e,go:function(e,t=!0){
t||n.pauseListeners(),history.go(e)},createHref:P2.bind(null,e)},t,n)
;return Object.defineProperty(r,"location",{enumerable:!0,
get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,
get:()=>t.state.value}),r}(),routes:P5}),$5=()=>_5({history:j2(),routes:A5
}),R5="activeWorkspace";function N5(){
return`/workspace/${localStorage.getItem(R5)??"default"}/request/default`}
var M5,I5,L5
;(I5=M5||(M5={})).assertEqual=e=>e,I5.assertIs=function(e){},I5.assertNever=function(e){
throw new Error},I5.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t
},I5.getValidEnumValues=e=>{
const t=I5.objectKeys(e).filter((t=>"number"!=typeof e[e[t]])),n={}
;for(const r of t)n[r]=e[r];return I5.objectValues(n)
},I5.objectValues=e=>I5.objectKeys(e).map((function(t){return e[t]
})),I5.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{
const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n)
;return t},I5.find=(e,t)=>{for(const n of e)if(t(n))return n
},I5.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,
I5.joinValues=function(e,t=" | "){
return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)
},I5.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,
(L5||(L5={})).mergeShapes=(e,t)=>({...e,...t})
;const j5=M5.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),B5=e=>{
switch(typeof e){case"undefined":return j5.undefined;case"string":
return j5.string;case"number":return isNaN(e)?j5.nan:j5.number;case"boolean":
return j5.boolean;case"function":return j5.function;case"bigint":
return j5.bigint;case"symbol":return j5.symbol;case"object":
return Array.isArray(e)?j5.array:null===e?j5.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?j5.promise:"undefined"!=typeof Map&&e instanceof Map?j5.map:"undefined"!=typeof Set&&e instanceof Set?j5.set:"undefined"!=typeof Date&&e instanceof Date?j5.date:j5.object
;default:return j5.unknown}
},Q5=M5.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"])
;class U5 extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{
this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{
this.issues=[...this.issues,...e]};const t=new.target.prototype
;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,
this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){
const t=e||function(e){return e.message},n={_errors:[]},r=e=>{
for(const o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{
let e=n,r=0;for(;r<o.path.length;){const n=o.path[r]
;r===o.path.length-1?(e[n]=e[n]||{_errors:[]
},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),
n}static assert(e){if(!(e instanceof U5))throw new Error(`Not a ZodError: ${e}`)
}toString(){return this.message}get message(){
return JSON.stringify(this.issues,M5.jsonStringifyReplacer,2)}get isEmpty(){
return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[]
;for(const r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],
t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}
get formErrors(){return this.flatten()}}U5.create=e=>new U5(e);const F5=(e,t)=>{
let n;switch(e.code){case Q5.invalid_type:
n=e.received===j5.undefined?"Required":`Expected ${e.expected}, received ${e.received}`
;break;case Q5.invalid_literal:
n=`Invalid literal value, expected ${JSON.stringify(e.expected,M5.jsonStringifyReplacer)}`
;break;case Q5.unrecognized_keys:
n=`Unrecognized key(s) in object: ${M5.joinValues(e.keys,", ")}`;break
;case Q5.invalid_union:n="Invalid input";break
;case Q5.invalid_union_discriminator:
n=`Invalid discriminator value. Expected ${M5.joinValues(e.options)}`;break
;case Q5.invalid_enum_value:
n=`Invalid enum value. Expected ${M5.joinValues(e.options)}, received '${e.received}'`
;break;case Q5.invalid_arguments:n="Invalid function arguments";break
;case Q5.invalid_return_type:n="Invalid function return type";break
;case Q5.invalid_date:n="Invalid date";break;case Q5.invalid_string:
"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,
"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:M5.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid"
;break;case Q5.too_small:
n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input"
;break;case Q5.too_big:
n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input"
;break;case Q5.custom:n="Invalid input";break
;case Q5.invalid_intersection_types:n="Intersection results could not be merged"
;break;case Q5.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`
;break;case Q5.not_finite:n="Number must be finite";break;default:
n=t.defaultError,M5.assertNever(e)}return{message:n}};let z5=F5;function q5(){
return z5}const H5=e=>{
const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,
path:i};if(void 0!==o.message)return{...o,path:i,message:o.message};let s=""
;const l=r.filter((e=>!!e)).slice().reverse();for(const c of l)s=c(a,{data:t,
defaultError:s}).message;return{...o,path:i,message:s}};function V5(e,t){
const n=q5(),r=H5({issueData:t,data:e.data,path:e.path,
errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===F5?void 0:F5].filter((e=>!!e))
});e.common.issues.push(r)}class Z5{constructor(){this.value="valid"}dirty(){
"valid"===this.value&&(this.value="dirty")}abort(){
"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[]
;for(const r of t){if("aborted"===r.status)return W5
;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}
static async mergeObjectAsync(e,t){const n=[];for(const r of t){
const e=await r.key,t=await r.value;n.push({key:e,value:t})}
return Z5.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={}
;for(const r of t){const{key:t,value:o}=r;if("aborted"===t.status)return W5
;if("aborted"===o.status)return W5
;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),
"__proto__"===t.value||void 0===o.value&&!r.alwaysSet||(n[t.value]=o.value)}
return{status:e.value,value:n}}}const W5=Object.freeze({status:"aborted"
}),X5=e=>({status:"dirty",value:e}),G5=e=>({status:"valid",value:e
}),Y5=e=>"aborted"===e.status,K5=e=>"dirty"===e.status,J5=e=>"valid"===e.status,e3=e=>"undefined"!=typeof Promise&&e instanceof Promise
;function t3(e,t,n,r){
if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it")
;return t.get(e)}function n3(e,t,n,r,o){
if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it")
;return t.set(e,n),n}var r3,o3,i3,a3
;"function"==typeof SuppressedError&&SuppressedError,
(o3=r3||(r3={})).errToObj=e=>"string"==typeof e?{message:e
}:e||{},o3.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class s3{
constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,
this._key=r}get path(){
return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),
this._cachedPath}}const l3=(e,t)=>{if(J5(t))return{success:!0,data:t.value}
;if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.")
;return{success:!1,get error(){if(this._error)return this._error
;const t=new U5(e.common.issues);return this._error=t,this._error}}}
;function c3(e){if(!e)return{}
;const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e
;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.')
;if(t)return{errorMap:t,description:o};return{errorMap:(t,o)=>{var i,a
;const{message:s}=e;return"invalid_enum_value"===t.code?{
message:null!=s?s:o.defaultError}:void 0===o.data?{
message:null!==(i=null!=s?s:r)&&void 0!==i?i:o.defaultError
}:"invalid_type"!==t.code?{message:o.defaultError}:{
message:null!==(a=null!=s?s:n)&&void 0!==a?a:o.defaultError}},description:o}}
class u3{constructor(e){
this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),
this.safeParse=this.safeParse.bind(this),
this.parseAsync=this.parseAsync.bind(this),
this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),
this.refine=this.refine.bind(this),
this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),
this.optional=this.optional.bind(this),
this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),
this.array=this.array.bind(this),
this.promise=this.promise.bind(this),this.or=this.or.bind(this),
this.and=this.and.bind(this),
this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),
this.default=this.default.bind(this),
this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),
this.pipe=this.pipe.bind(this),
this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),
this.isOptional=this.isOptional.bind(this)}get description(){
return this._def.description}_getType(e){return B5(e.data)}_getOrReturnCtx(e,t){
return t||{common:e.parent.common,data:e.data,parsedType:B5(e.data),
schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}
_processInputParams(e){return{status:new Z5,ctx:{common:e.parent.common,
data:e.data,parsedType:B5(e.data),schemaErrorMap:this._def.errorMap,path:e.path,
parent:e.parent}}}_parseSync(e){const t=this._parse(e)
;if(e3(t))throw new Error("Synchronous parse encountered promise.");return t}
_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){
const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}
safeParse(e,t){var n;const r={common:{issues:[],
async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,
contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],
schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:B5(e)
},o=this._parseSync({data:e,path:r.path,parent:r});return l3(r,o)}
async parseAsync(e,t){const n=await this.safeParseAsync(e,t)
;if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={
common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},
path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,
data:e,parsedType:B5(e)},r=this._parse({data:e,path:n.path,parent:n
}),o=await(e3(r)?r:Promise.resolve(r));return l3(n,o)}refine(e,t){
const n=e=>"string"==typeof t||void 0===t?{message:t
}:"function"==typeof t?t(e):t;return this._refinement(((t,r)=>{
const o=e(t),i=()=>r.addIssue({code:Q5.custom,...n(t)})
;return"undefined"!=typeof Promise&&o instanceof Promise?o.then((e=>!!e||(i(),
!1))):!!o||(i(),!1)}))}refinement(e,t){
return this._refinement(((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),
!1)))}_refinement(e){return new o4({schema:this,typeName:g4.ZodEffects,effect:{
type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}
optional(){return i4.create(this,this._def)}nullable(){
return a4.create(this,this._def)}nullish(){return this.nullable().optional()}
array(){return B3.create(this,this._def)}promise(){
return r4.create(this,this._def)}or(e){return F3.create([this,e],this._def)}
and(e){return V3.create(this,e,this._def)}transform(e){return new o4({
...c3(this._def),schema:this,typeName:g4.ZodEffects,effect:{type:"transform",
transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new s4({
...c3(this._def),innerType:this,defaultValue:t,typeName:g4.ZodDefault})}brand(){
return new d4({typeName:g4.ZodBranded,type:this,...c3(this._def)})}catch(e){
const t="function"==typeof e?e:()=>e;return new l4({...c3(this._def),
innerType:this,catchValue:t,typeName:g4.ZodCatch})}describe(e){
return new(0,this.constructor)({...this._def,description:e})}pipe(e){
return p4.create(this,e)}readonly(){return h4.create(this)}isOptional(){
return this.safeParse(void 0).success}isNullable(){
return this.safeParse(null).success}}
const d3=/^c[^\s-]{8,}$/i,p3=/^[0-9a-z]+$/,h3=/^[0-9A-HJKMNP-TV-Z]{26}$/,f3=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,m3=/^[a-z0-9_-]{21}$/i,g3=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,v3=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i
;let b3
;const O3=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,y3=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,w3=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,k3="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",x3=new RegExp(`^${k3}$`)
;function S3(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d"
;return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),
t}function _3(e){let t=`${k3}T${S3(e)}`;const n=[]
;return n.push(e.local?"Z?":"Z"),
e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,
new RegExp(`^${t}$`)}class E3 extends u3{_parse(e){
this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==j5.string){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.string,received:t.parsedType}),W5}const t=new Z5;let n
;for(const a of this._def.checks)if("min"===a.kind)e.data.length<a.value&&(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,
message:a.message
}),t.dirty());else if("max"===a.kind)e.data.length>a.value&&(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,
message:a.message}),t.dirty());else if("length"===a.kind){
const r=e.data.length>a.value,o=e.data.length<a.value
;(r||o)&&(n=this._getOrReturnCtx(e,n),r?V5(n,{code:Q5.too_big,maximum:a.value,
type:"string",inclusive:!0,exact:!0,message:a.message}):o&&V5(n,{
code:Q5.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,
message:a.message}),t.dirty())
}else if("email"===a.kind)v3.test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{
validation:"email",code:Q5.invalid_string,message:a.message
}),t.dirty());else if("emoji"===a.kind)b3||(b3=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),
b3.test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{validation:"emoji",
code:Q5.invalid_string,message:a.message
}),t.dirty());else if("uuid"===a.kind)f3.test(e.data)||(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"uuid",code:Q5.invalid_string,message:a.message
}),t.dirty());else if("nanoid"===a.kind)m3.test(e.data)||(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"nanoid",code:Q5.invalid_string,message:a.message
}),t.dirty());else if("cuid"===a.kind)d3.test(e.data)||(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"cuid",code:Q5.invalid_string,message:a.message
}),t.dirty());else if("cuid2"===a.kind)p3.test(e.data)||(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"cuid2",code:Q5.invalid_string,message:a.message
}),t.dirty());else if("ulid"===a.kind)h3.test(e.data)||(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"ulid",code:Q5.invalid_string,message:a.message
}),t.dirty());else if("url"===a.kind)try{new URL(e.data)}catch(i){
n=this._getOrReturnCtx(e,n),V5(n,{validation:"url",code:Q5.invalid_string,
message:a.message}),t.dirty()}else if("regex"===a.kind){a.regex.lastIndex=0
;a.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{validation:"regex",
code:Q5.invalid_string,message:a.message}),t.dirty())
}else if("trim"===a.kind)e.data=e.data.trim();else if("includes"===a.kind)e.data.includes(a.value,a.position)||(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.invalid_string,validation:{includes:a.value,position:a.position},
message:a.message
}),t.dirty());else if("toLowerCase"===a.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===a.kind)e.data=e.data.toUpperCase();else if("startsWith"===a.kind)e.data.startsWith(a.value)||(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.invalid_string,validation:{startsWith:a.value},message:a.message
}),
t.dirty());else if("endsWith"===a.kind)e.data.endsWith(a.value)||(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.invalid_string,validation:{endsWith:a.value},message:a.message
}),t.dirty());else if("datetime"===a.kind){
_3(a).test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{code:Q5.invalid_string,
validation:"datetime",message:a.message}),t.dirty())}else if("date"===a.kind){
x3.test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{code:Q5.invalid_string,
validation:"date",message:a.message}),t.dirty())}else if("time"===a.kind){
new RegExp(`^${S3(a)}$`).test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{
code:Q5.invalid_string,validation:"time",message:a.message}),t.dirty())
}else"duration"===a.kind?g3.test(e.data)||(n=this._getOrReturnCtx(e,n),V5(n,{
validation:"duration",code:Q5.invalid_string,message:a.message
}),t.dirty()):"ip"===a.kind?(r=e.data,
("v4"!==(o=a.version)&&o||!O3.test(r))&&("v6"!==o&&o||!y3.test(r))&&(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"ip",code:Q5.invalid_string,message:a.message
}),t.dirty())):"base64"===a.kind?w3.test(e.data)||(n=this._getOrReturnCtx(e,n),
V5(n,{validation:"base64",code:Q5.invalid_string,message:a.message
}),t.dirty()):M5.assertNever(a);var r,o;return{status:t.value,value:e.data}}
_regex(e,t,n){return this.refinement((t=>e.test(t)),{validation:t,
code:Q5.invalid_string,...r3.errToObj(n)})}_addCheck(e){return new E3({
...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({
kind:"email",...r3.errToObj(e)})}url(e){return this._addCheck({kind:"url",
...r3.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",
...r3.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...r3.errToObj(e)
})}nanoid(e){return this._addCheck({kind:"nanoid",...r3.errToObj(e)})}cuid(e){
return this._addCheck({kind:"cuid",...r3.errToObj(e)})}cuid2(e){
return this._addCheck({kind:"cuid2",...r3.errToObj(e)})}ulid(e){
return this._addCheck({kind:"ulid",...r3.errToObj(e)})}base64(e){
return this._addCheck({kind:"base64",...r3.errToObj(e)})}ip(e){
return this._addCheck({kind:"ip",...r3.errToObj(e)})}datetime(e){var t,n
;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,
offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",
precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,
offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,
local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,
...r3.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({
kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({
kind:"time",precision:null,message:e}):this._addCheck({kind:"time",
precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,
...r3.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({
kind:"duration",...r3.errToObj(e)})}regex(e,t){return this._addCheck({
kind:"regex",regex:e,...r3.errToObj(t)})}includes(e,t){return this._addCheck({
kind:"includes",value:e,position:null==t?void 0:t.position,
...r3.errToObj(null==t?void 0:t.message)})}startsWith(e,t){
return this._addCheck({kind:"startsWith",value:e,...r3.errToObj(t)})}
endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...r3.errToObj(t)})
}min(e,t){return this._addCheck({kind:"min",value:e,...r3.errToObj(t)})}
max(e,t){return this._addCheck({kind:"max",value:e,...r3.errToObj(t)})}
length(e,t){return this._addCheck({kind:"length",value:e,...r3.errToObj(t)})}
nonempty(e){return this.min(1,r3.errToObj(e))}trim(){return new E3({
...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){
return new E3({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}
toUpperCase(){return new E3({...this._def,checks:[...this._def.checks,{
kind:"toUpperCase"}]})}get isDatetime(){
return!!this._def.checks.find((e=>"datetime"===e.kind))}get isDate(){
return!!this._def.checks.find((e=>"date"===e.kind))}get isTime(){
return!!this._def.checks.find((e=>"time"===e.kind))}get isDuration(){
return!!this._def.checks.find((e=>"duration"===e.kind))}get isEmail(){
return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){
return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){
return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){
return!!this._def.checks.find((e=>"uuid"===e.kind))}get isNANOID(){
return!!this._def.checks.find((e=>"nanoid"===e.kind))}get isCUID(){
return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){
return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){
return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){
return!!this._def.checks.find((e=>"ip"===e.kind))}get isBase64(){
return!!this._def.checks.find((e=>"base64"===e.kind))}get minLength(){let e=null
;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value)
;return e}get maxLength(){let e=null
;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value)
;return e}}function T3(e,t){
const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r
;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)
}E3.create=e=>{var t;return new E3({checks:[],typeName:g4.ZodString,
coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...c3(e)})}
;class C3 extends u3{constructor(){
super(...arguments),this.min=this.gte,this.max=this.lte,
this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data))
;if(this._getType(e)!==j5.number){const t=this._getOrReturnCtx(e);return V5(t,{
code:Q5.invalid_type,expected:j5.number,received:t.parsedType}),W5}let t
;const n=new Z5
;for(const r of this._def.checks)if("int"===r.kind)M5.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.invalid_type,expected:"integer",received:"float",message:r.message
}),n.dirty());else if("min"===r.kind){
(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,
exact:!1,message:r.message}),n.dirty())}else if("max"===r.kind){
(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,
exact:!1,message:r.message}),n.dirty())
}else"multipleOf"===r.kind?0!==T3(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.not_multiple_of,multipleOf:r.value,message:r.message
}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.not_finite,message:r.message}),n.dirty()):M5.assertNever(r)
;return{status:n.value,value:e.data}}gte(e,t){
return this.setLimit("min",e,!0,r3.toString(t))}gt(e,t){
return this.setLimit("min",e,!1,r3.toString(t))}lte(e,t){
return this.setLimit("max",e,!0,r3.toString(t))}lt(e,t){
return this.setLimit("max",e,!1,r3.toString(t))}setLimit(e,t,n,r){
return new C3({...this._def,checks:[...this._def.checks,{kind:e,value:t,
inclusive:n,message:r3.toString(r)}]})}_addCheck(e){return new C3({...this._def,
checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",
message:r3.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,
inclusive:!1,message:r3.toString(e)})}negative(e){return this._addCheck({
kind:"max",value:0,inclusive:!1,message:r3.toString(e)})}nonpositive(e){
return this._addCheck({kind:"max",value:0,inclusive:!0,message:r3.toString(e)})}
nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,
message:r3.toString(e)})}multipleOf(e,t){return this._addCheck({
kind:"multipleOf",value:e,message:r3.toString(t)})}finite(e){
return this._addCheck({kind:"finite",message:r3.toString(e)})}safe(e){
return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,
message:r3.toString(e)})._addCheck({kind:"max",inclusive:!0,
value:Number.MAX_SAFE_INTEGER,message:r3.toString(e)})}get minValue(){let e=null
;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value)
;return e}get maxValue(){let e=null
;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value)
;return e}get isInt(){
return!!this._def.checks.find((e=>"int"===e.kind||"multipleOf"===e.kind&&M5.isInteger(e.value)))
}get isFinite(){let e=null,t=null;for(const n of this._def.checks){
if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0
;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)
}return Number.isFinite(t)&&Number.isFinite(e)}}C3.create=e=>new C3({checks:[],
typeName:g4.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...c3(e)})
;class A3 extends u3{constructor(){
super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){
this._def.coerce&&(e.data=BigInt(e.data));if(this._getType(e)!==j5.bigint){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.bigint,received:t.parsedType}),W5}let t;const n=new Z5
;for(const r of this._def.checks)if("min"===r.kind){
(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,
message:r.message}),n.dirty())}else if("max"===r.kind){
(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,
message:r.message}),n.dirty())
}else"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),
V5(t,{code:Q5.not_multiple_of,multipleOf:r.value,message:r.message
}),n.dirty()):M5.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){
return this.setLimit("min",e,!0,r3.toString(t))}gt(e,t){
return this.setLimit("min",e,!1,r3.toString(t))}lte(e,t){
return this.setLimit("max",e,!0,r3.toString(t))}lt(e,t){
return this.setLimit("max",e,!1,r3.toString(t))}setLimit(e,t,n,r){
return new A3({...this._def,checks:[...this._def.checks,{kind:e,value:t,
inclusive:n,message:r3.toString(r)}]})}_addCheck(e){return new A3({...this._def,
checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",
value:BigInt(0),inclusive:!1,message:r3.toString(e)})}negative(e){
return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,
message:r3.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",
value:BigInt(0),inclusive:!0,message:r3.toString(e)})}nonnegative(e){
return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,
message:r3.toString(e)})}multipleOf(e,t){return this._addCheck({
kind:"multipleOf",value:e,message:r3.toString(t)})}get minValue(){let e=null
;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value)
;return e}get maxValue(){let e=null
;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value)
;return e}}A3.create=e=>{var t;return new A3({checks:[],typeName:g4.ZodBigInt,
coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...c3(e)})}
;class P3 extends u3{_parse(e){this._def.coerce&&(e.data=Boolean(e.data))
;if(this._getType(e)!==j5.boolean){const t=this._getOrReturnCtx(e);return V5(t,{
code:Q5.invalid_type,expected:j5.boolean,received:t.parsedType}),W5}
return G5(e.data)}}P3.create=e=>new P3({typeName:g4.ZodBoolean,
coerce:(null==e?void 0:e.coerce)||!1,...c3(e)});class D3 extends u3{_parse(e){
this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==j5.date){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.date,received:t.parsedType}),W5}if(isNaN(e.data.getTime())){
return V5(this._getOrReturnCtx(e),{code:Q5.invalid_date}),W5}const t=new Z5
;let n
;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,
type:"date"
}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),
V5(n,{code:Q5.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,
type:"date"}),t.dirty()):M5.assertNever(r);return{status:t.value,
value:new Date(e.data.getTime())}}_addCheck(e){return new D3({...this._def,
checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",
value:e.getTime(),message:r3.toString(t)})}max(e,t){return this._addCheck({
kind:"max",value:e.getTime(),message:r3.toString(t)})}get minDate(){let e=null
;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value)
;return null!=e?new Date(e):null}get maxDate(){let e=null
;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value)
;return null!=e?new Date(e):null}}D3.create=e=>new D3({checks:[],
coerce:(null==e?void 0:e.coerce)||!1,typeName:g4.ZodDate,...c3(e)})
;class $3 extends u3{_parse(e){if(this._getType(e)!==j5.symbol){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.symbol,received:t.parsedType}),W5}return G5(e.data)}}
$3.create=e=>new $3({typeName:g4.ZodSymbol,...c3(e)});class R3 extends u3{
_parse(e){if(this._getType(e)!==j5.undefined){const t=this._getOrReturnCtx(e)
;return V5(t,{code:Q5.invalid_type,expected:j5.undefined,received:t.parsedType
}),W5}return G5(e.data)}}R3.create=e=>new R3({typeName:g4.ZodUndefined,...c3(e)
});class N3 extends u3{_parse(e){if(this._getType(e)!==j5.null){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.null,received:t.parsedType}),W5}return G5(e.data)}}
N3.create=e=>new N3({typeName:g4.ZodNull,...c3(e)});class M3 extends u3{
constructor(){super(...arguments),this._any=!0}_parse(e){return G5(e.data)}}
M3.create=e=>new M3({typeName:g4.ZodAny,...c3(e)});class I3 extends u3{
constructor(){super(...arguments),this._unknown=!0}_parse(e){return G5(e.data)}}
I3.create=e=>new I3({typeName:g4.ZodUnknown,...c3(e)});class L3 extends u3{
_parse(e){const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.never,received:t.parsedType}),W5}}L3.create=e=>new L3({
typeName:g4.ZodNever,...c3(e)});class j3 extends u3{_parse(e){
if(this._getType(e)!==j5.undefined){const t=this._getOrReturnCtx(e)
;return V5(t,{code:Q5.invalid_type,expected:j5.void,received:t.parsedType}),W5}
return G5(e.data)}}j3.create=e=>new j3({typeName:g4.ZodVoid,...c3(e)})
;class B3 extends u3{_parse(e){
const{ctx:t,status:n}=this._processInputParams(e),r=this._def
;if(t.parsedType!==j5.array)return V5(t,{code:Q5.invalid_type,expected:j5.array,
received:t.parsedType}),W5;if(null!==r.exactLength){
const e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value
;(e||o)&&(V5(t,{code:e?Q5.too_big:Q5.too_small,
minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,
type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}
if(null!==r.minLength&&t.data.length<r.minLength.value&&(V5(t,{
code:Q5.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,
message:r.minLength.message
}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(V5(t,{
code:Q5.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,
message:r.maxLength.message
}),n.dirty()),t.common.async)return Promise.all([...t.data].map(((e,n)=>r.type._parseAsync(new s3(t,e,t.path,n))))).then((e=>Z5.mergeArray(n,e)))
;const o=[...t.data].map(((e,n)=>r.type._parseSync(new s3(t,e,t.path,n))))
;return Z5.mergeArray(n,o)}get element(){return this._def.type}min(e,t){
return new B3({...this._def,minLength:{value:e,message:r3.toString(t)}})}
max(e,t){return new B3({...this._def,maxLength:{value:e,message:r3.toString(t)}
})}length(e,t){return new B3({...this._def,exactLength:{value:e,
message:r3.toString(t)}})}nonempty(e){return this.min(1,e)}}function Q3(e){
if(e instanceof U3){const t={};for(const n in e.shape){const r=e.shape[n]
;t[n]=i4.create(Q3(r))}return new U3({...e._def,shape:()=>t})}
return e instanceof B3?new B3({...e._def,type:Q3(e.element)
}):e instanceof i4?i4.create(Q3(e.unwrap())):e instanceof a4?a4.create(Q3(e.unwrap())):e instanceof Z3?Z3.create(e.items.map((e=>Q3(e)))):e
}B3.create=(e,t)=>new B3({type:e,minLength:null,maxLength:null,exactLength:null,
typeName:g4.ZodArray,...c3(t)});class U3 extends u3{constructor(){
super(...arguments),
this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}
_getCached(){if(null!==this._cached)return this._cached
;const e=this._def.shape(),t=M5.objectKeys(e);return this._cached={shape:e,
keys:t}}_parse(e){if(this._getType(e)!==j5.object){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.object,received:t.parsedType}),W5}
const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),i=[]
;if(!(this._def.catchall instanceof L3&&"strip"===this._def.unknownKeys))for(const s in n.data)o.includes(s)||i.push(s)
;const a=[];for(const s of o){const e=r[s],t=n.data[s];a.push({key:{
status:"valid",value:s},value:e._parse(new s3(n,t,n.path,s)),
alwaysSet:s in n.data})}if(this._def.catchall instanceof L3){
const e=this._def.unknownKeys;if("passthrough"===e)for(const t of i)a.push({
key:{status:"valid",value:t},value:{status:"valid",value:n.data[t]}
});else if("strict"===e)i.length>0&&(V5(n,{code:Q5.unrecognized_keys,keys:i
}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")
}else{const e=this._def.catchall;for(const t of i){const r=n.data[t];a.push({
key:{status:"valid",value:t},value:e._parse(new s3(n,r,n.path,t)),
alwaysSet:t in n.data})}}
return n.common.async?Promise.resolve().then((async()=>{const e=[]
;for(const t of a){const n=await t.key,r=await t.value;e.push({key:n,value:r,
alwaysSet:t.alwaysSet})}return e
})).then((e=>Z5.mergeObjectSync(t,e))):Z5.mergeObjectSync(t,a)}get shape(){
return this._def.shape()}strict(e){return r3.errToObj,new U3({...this._def,
unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,o,i,a
;const s=null!==(i=null===(o=(r=this._def).errorMap)||void 0===o?void 0:o.call(r,t,n).message)&&void 0!==i?i:n.defaultError
;return"unrecognized_keys"===t.code?{
message:null!==(a=r3.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}
strip(){return new U3({...this._def,unknownKeys:"strip"})}passthrough(){
return new U3({...this._def,unknownKeys:"passthrough"})}extend(e){
return new U3({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){
return new U3({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,
shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:g4.ZodObject})}
setKey(e,t){return this.augment({[e]:t})}catchall(e){return new U3({
...this._def,catchall:e})}pick(e){const t={}
;return M5.objectKeys(e).forEach((n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])
})),new U3({...this._def,shape:()=>t})}omit(e){const t={}
;return M5.objectKeys(this.shape).forEach((n=>{e[n]||(t[n]=this.shape[n])
})),new U3({...this._def,shape:()=>t})}deepPartial(){return Q3(this)}partial(e){
const t={};return M5.objectKeys(this.shape).forEach((n=>{const r=this.shape[n]
;e&&!e[n]?t[n]=r:t[n]=r.optional()})),new U3({...this._def,shape:()=>t})}
required(e){const t={};return M5.objectKeys(this.shape).forEach((n=>{
if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n]
;for(;e instanceof i4;)e=e._def.innerType;t[n]=e}})),new U3({...this._def,
shape:()=>t})}keyof(){return e4(M5.objectKeys(this.shape))}}
U3.create=(e,t)=>new U3({shape:()=>e,unknownKeys:"strip",catchall:L3.create(),
typeName:g4.ZodObject,...c3(t)}),U3.strictCreate=(e,t)=>new U3({shape:()=>e,
unknownKeys:"strict",catchall:L3.create(),typeName:g4.ZodObject,...c3(t)
}),U3.lazycreate=(e,t)=>new U3({shape:e,unknownKeys:"strip",
catchall:L3.create(),typeName:g4.ZodObject,...c3(t)});class F3 extends u3{
_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options
;if(t.common.async)return Promise.all(n.map((async e=>{const n={...t,common:{
...t.common,issues:[]},parent:null};return{result:await e._parseAsync({
data:t.data,path:t.path,parent:n}),ctx:n}}))).then((function(e){
for(const t of e)if("valid"===t.result.status)return t.result
;for(const r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),
r.result;const n=e.map((e=>new U5(e.ctx.common.issues)));return V5(t,{
code:Q5.invalid_union,unionErrors:n}),W5}));{let e;const r=[];for(const i of n){
const n={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({
data:t.data,path:t.path,parent:n});if("valid"===o.status)return o
;"dirty"!==o.status||e||(e={result:o,ctx:n
}),n.common.issues.length&&r.push(n.common.issues)}
if(e)return t.common.issues.push(...e.ctx.common.issues),e.result
;const o=r.map((e=>new U5(e)));return V5(t,{code:Q5.invalid_union,unionErrors:o
}),W5}}get options(){return this._def.options}}F3.create=(e,t)=>new F3({
options:e,typeName:g4.ZodUnion,...c3(t)})
;const z3=e=>e instanceof K3?z3(e.schema):e instanceof o4?z3(e.innerType()):e instanceof J3?[e.value]:e instanceof t4?e.options:e instanceof n4?M5.objectValues(e.enum):e instanceof s4?z3(e._def.innerType):e instanceof R3?[void 0]:e instanceof N3?[null]:e instanceof i4?[void 0,...z3(e.unwrap())]:e instanceof a4?[null,...z3(e.unwrap())]:e instanceof d4||e instanceof h4?z3(e.unwrap()):e instanceof l4?z3(e._def.innerType):[]
;class q3 extends u3{_parse(e){const{ctx:t}=this._processInputParams(e)
;if(t.parsedType!==j5.object)return V5(t,{code:Q5.invalid_type,
expected:j5.object,received:t.parsedType}),W5
;const n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r)
;return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t
}):o._parseSync({data:t.data,path:t.path,parent:t}):(V5(t,{
code:Q5.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),
path:[n]}),W5)}get discriminator(){return this._def.discriminator}get options(){
return this._def.options}get optionsMap(){return this._def.optionsMap}
static create(e,t,n){const r=new Map;for(const o of t){const t=z3(o.shape[e])
;if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`)
;for(const n of t){
if(r.has(n))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`)
;r.set(n,o)}}return new q3({typeName:g4.ZodDiscriminatedUnion,discriminator:e,
options:t,optionsMap:r,...c3(n)})}}function H3(e,t){const n=B5(e),r=B5(t)
;if(e===t)return{valid:!0,data:e};if(n===j5.object&&r===j5.object){
const n=M5.objectKeys(t),r=M5.objectKeys(e).filter((e=>-1!==n.indexOf(e))),o={
...e,...t};for(const i of r){const n=H3(e[i],t[i]);if(!n.valid)return{valid:!1}
;o[i]=n.data}return{valid:!0,data:o}}if(n===j5.array&&r===j5.array){
if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){
const o=H3(e[r],t[r]);if(!o.valid)return{valid:!1};n.push(o.data)}return{
valid:!0,data:n}}return n===j5.date&&r===j5.date&&+e==+t?{valid:!0,data:e}:{
valid:!1}}class V3 extends u3{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{
if(Y5(e)||Y5(r))return W5;const o=H3(e.value,r.value)
;return o.valid?((K5(e)||K5(r))&&t.dirty(),{status:t.value,value:o.data
}):(V5(n,{code:Q5.invalid_intersection_types}),W5)}
;return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,
path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,
parent:n})]).then((([e,t])=>r(e,t))):r(this._def.left._parseSync({data:n.data,
path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,
parent:n}))}}V3.create=(e,t,n)=>new V3({left:e,right:t,
typeName:g4.ZodIntersection,...c3(n)});class Z3 extends u3{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==j5.array)return V5(n,{code:Q5.invalid_type,expected:j5.array,
received:n.parsedType}),W5;if(n.data.length<this._def.items.length)return V5(n,{
code:Q5.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,
type:"array"}),W5;!this._def.rest&&n.data.length>this._def.items.length&&(V5(n,{
code:Q5.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,
type:"array"}),t.dirty());const r=[...n.data].map(((e,t)=>{
const r=this._def.items[t]||this._def.rest
;return r?r._parse(new s3(n,e,n.path,t)):null})).filter((e=>!!e))
;return n.common.async?Promise.all(r).then((e=>Z5.mergeArray(t,e))):Z5.mergeArray(t,r)
}get items(){return this._def.items}rest(e){return new Z3({...this._def,rest:e})
}}Z3.create=(e,t)=>{
if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])")
;return new Z3({items:e,typeName:g4.ZodTuple,rest:null,...c3(t)})}
;class W3 extends u3{get keySchema(){return this._def.keyType}get valueSchema(){
return this._def.valueType}_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==j5.object)return V5(n,{code:Q5.invalid_type,
expected:j5.object,received:n.parsedType}),W5
;const r=[],o=this._def.keyType,i=this._def.valueType
;for(const a in n.data)r.push({key:o._parse(new s3(n,a,n.path,a)),
value:i._parse(new s3(n,n.data[a],n.path,a)),alwaysSet:a in n.data})
;return n.common.async?Z5.mergeObjectAsync(t,r):Z5.mergeObjectSync(t,r)}
get element(){return this._def.valueType}static create(e,t,n){
return new W3(t instanceof u3?{keyType:e,valueType:t,typeName:g4.ZodRecord,
...c3(n)}:{keyType:E3.create(),valueType:e,typeName:g4.ZodRecord,...c3(t)})}}
class X3 extends u3{get keySchema(){return this._def.keyType}get valueSchema(){
return this._def.valueType}_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==j5.map)return V5(n,{code:Q5.invalid_type,expected:j5.map,
received:n.parsedType}),W5
;const r=this._def.keyType,o=this._def.valueType,i=[...n.data.entries()].map((([e,t],i)=>({
key:r._parse(new s3(n,e,n.path,[i,"key"])),
value:o._parse(new s3(n,t,n.path,[i,"value"]))})));if(n.common.async){
const e=new Map;return Promise.resolve().then((async()=>{for(const n of i){
const r=await n.key,o=await n.value
;if("aborted"===r.status||"aborted"===o.status)return W5
;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}
return{status:t.value,value:e}}))}{const e=new Map;for(const n of i){
const r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return W5
;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}
return{status:t.value,value:e}}}}X3.create=(e,t,n)=>new X3({valueType:t,
keyType:e,typeName:g4.ZodMap,...c3(n)});class G3 extends u3{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==j5.set)return V5(n,{code:Q5.invalid_type,expected:j5.set,
received:n.parsedType}),W5;const r=this._def
;null!==r.minSize&&n.data.size<r.minSize.value&&(V5(n,{code:Q5.too_small,
minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,
message:r.minSize.message
}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(V5(n,{
code:Q5.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,
message:r.maxSize.message}),t.dirty());const o=this._def.valueType
;function i(e){const n=new Set;for(const r of e){
if("aborted"===r.status)return W5;"dirty"===r.status&&t.dirty(),n.add(r.value)}
return{status:t.value,value:n}}
const a=[...n.data.values()].map(((e,t)=>o._parse(new s3(n,e,n.path,t))))
;return n.common.async?Promise.all(a).then((e=>i(e))):i(a)}min(e,t){
return new G3({...this._def,minSize:{value:e,message:r3.toString(t)}})}max(e,t){
return new G3({...this._def,maxSize:{value:e,message:r3.toString(t)}})}
size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}
G3.create=(e,t)=>new G3({valueType:e,minSize:null,maxSize:null,
typeName:g4.ZodSet,...c3(t)});class Y3 extends u3{constructor(){
super(...arguments),this.validate=this.implement}_parse(e){
const{ctx:t}=this._processInputParams(e)
;if(t.parsedType!==j5.function)return V5(t,{code:Q5.invalid_type,
expected:j5.function,received:t.parsedType}),W5;function n(e,n){return H5({
data:e,path:t.path,
errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,q5(),F5].filter((e=>!!e)),
issueData:{code:Q5.invalid_arguments,argumentsError:n}})}function r(e,n){
return H5({data:e,path:t.path,
errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,q5(),F5].filter((e=>!!e)),
issueData:{code:Q5.invalid_return_type,returnTypeError:n}})}const o={
errorMap:t.common.contextualErrorMap},i=t.data
;if(this._def.returns instanceof r4){const e=this
;return G5((async function(...t){
const a=new U5([]),s=await e._def.args.parseAsync(t,o).catch((e=>{
throw a.addIssue(n(t,e)),a
})),l=await Reflect.apply(i,this,s),c=await e._def.returns._def.type.parseAsync(l,o).catch((e=>{
throw a.addIssue(r(l,e)),a}));return c}))}{const e=this
;return G5((function(...t){const a=e._def.args.safeParse(t,o)
;if(!a.success)throw new U5([n(t,a.error)])
;const s=Reflect.apply(i,this,a.data),l=e._def.returns.safeParse(s,o)
;if(!l.success)throw new U5([r(s,l.error)]);return l.data}))}}parameters(){
return this._def.args}returnType(){return this._def.returns}args(...e){
return new Y3({...this._def,args:Z3.create(e).rest(I3.create())})}returns(e){
return new Y3({...this._def,returns:e})}implement(e){return this.parse(e)}
strictImplement(e){return this.parse(e)}static create(e,t,n){return new Y3({
args:e||Z3.create([]).rest(I3.create()),returns:t||I3.create(),
typeName:g4.ZodFunction,...c3(n)})}}class K3 extends u3{get schema(){
return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e)
;return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}
K3.create=(e,t)=>new K3({getter:e,typeName:g4.ZodLazy,...c3(t)})
;class J3 extends u3{_parse(e){if(e.data!==this._def.value){
const t=this._getOrReturnCtx(e);return V5(t,{received:t.data,
code:Q5.invalid_literal,expected:this._def.value}),W5}return{status:"valid",
value:e.data}}get value(){return this._def.value}}function e4(e,t){
return new t4({values:e,typeName:g4.ZodEnum,...c3(t)})}J3.create=(e,t)=>new J3({
value:e,typeName:g4.ZodLiteral,...c3(t)});class t4 extends u3{constructor(){
super(...arguments),i3.set(this,void 0)}_parse(e){if("string"!=typeof e.data){
const t=this._getOrReturnCtx(e),n=this._def.values;return V5(t,{
expected:M5.joinValues(n),received:t.parsedType,code:Q5.invalid_type}),W5}
if(t3(this,i3)||n3(this,i3,new Set(this._def.values)),!t3(this,i3).has(e.data)){
const t=this._getOrReturnCtx(e),n=this._def.values;return V5(t,{received:t.data,
code:Q5.invalid_enum_value,options:n}),W5}return G5(e.data)}get options(){
return this._def.values}get enum(){const e={}
;for(const t of this._def.values)e[t]=t;return e}get Values(){const e={}
;for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={}
;for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){
return t4.create(e,{...this._def,...t})}exclude(e,t=this._def){
return t4.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}
i3=new WeakMap,t4.create=e4;class n4 extends u3{constructor(){
super(...arguments),a3.set(this,void 0)}_parse(e){
const t=M5.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e)
;if(n.parsedType!==j5.string&&n.parsedType!==j5.number){
const e=M5.objectValues(t);return V5(n,{expected:M5.joinValues(e),
received:n.parsedType,code:Q5.invalid_type}),W5}
if(t3(this,a3)||n3(this,a3,new Set(M5.getValidEnumValues(this._def.values))),
!t3(this,a3).has(e.data)){const e=M5.objectValues(t);return V5(n,{
received:n.data,code:Q5.invalid_enum_value,options:e}),W5}return G5(e.data)}
get enum(){return this._def.values}}a3=new WeakMap,n4.create=(e,t)=>new n4({
values:e,typeName:g4.ZodNativeEnum,...c3(t)});class r4 extends u3{unwrap(){
return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e)
;if(t.parsedType!==j5.promise&&!1===t.common.async)return V5(t,{
code:Q5.invalid_type,expected:j5.promise,received:t.parsedType}),W5
;const n=t.parsedType===j5.promise?t.data:Promise.resolve(t.data)
;return G5(n.then((e=>this._def.type.parseAsync(e,{path:t.path,
errorMap:t.common.contextualErrorMap}))))}}r4.create=(e,t)=>new r4({type:e,
typeName:g4.ZodPromise,...c3(t)});class o4 extends u3{innerType(){
return this._def.schema}sourceType(){
return this._def.schema._def.typeName===g4.ZodEffects?this._def.schema.sourceType():this._def.schema
}_parse(e){
const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,o={
addIssue:e=>{V5(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}}
;if(o.addIssue=o.addIssue.bind(o),"preprocess"===r.type){
const e=r.transform(n.data,o)
;if(n.common.async)return Promise.resolve(e).then((async e=>{
if("aborted"===t.value)return W5;const r=await this._def.schema._parseAsync({
data:e,path:n.path,parent:n})
;return"aborted"===r.status?W5:"dirty"===r.status||"dirty"===t.value?X5(r.value):r
}));{if("aborted"===t.value)return W5;const r=this._def.schema._parseSync({
data:e,path:n.path,parent:n})
;return"aborted"===r.status?W5:"dirty"===r.status||"dirty"===t.value?X5(r.value):r
}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,o)
;if(n.common.async)return Promise.resolve(t)
;if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.")
;return e};if(!1===n.common.async){const r=this._def.schema._parseSync({
data:n.data,path:n.path,parent:n})
;return"aborted"===r.status?W5:("dirty"===r.status&&t.dirty(),e(r.value),{
status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,
path:n.path,parent:n
}).then((n=>"aborted"===n.status?W5:("dirty"===n.status&&t.dirty(),
e(n.value).then((()=>({status:t.value,value:n.value}))))))}
if("transform"===r.type){if(!1===n.common.async){
const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n})
;if(!J5(e))return e;const i=r.transform(e.value,o)
;if(i instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.")
;return{status:t.value,value:i}}return this._def.schema._parseAsync({
data:n.data,path:n.path,parent:n
}).then((e=>J5(e)?Promise.resolve(r.transform(e.value,o)).then((e=>({
status:t.value,value:e}))):e))}M5.assertNever(r)}}o4.create=(e,t,n)=>new o4({
schema:e,typeName:g4.ZodEffects,effect:t,...c3(n)
}),o4.createWithPreprocess=(e,t,n)=>new o4({schema:t,effect:{type:"preprocess",
transform:e},typeName:g4.ZodEffects,...c3(n)});class i4 extends u3{_parse(e){
return this._getType(e)===j5.undefined?G5(void 0):this._def.innerType._parse(e)}
unwrap(){return this._def.innerType}}i4.create=(e,t)=>new i4({innerType:e,
typeName:g4.ZodOptional,...c3(t)});class a4 extends u3{_parse(e){
return this._getType(e)===j5.null?G5(null):this._def.innerType._parse(e)}
unwrap(){return this._def.innerType}}a4.create=(e,t)=>new a4({innerType:e,
typeName:g4.ZodNullable,...c3(t)});class s4 extends u3{_parse(e){
const{ctx:t}=this._processInputParams(e);let n=t.data
;return t.parsedType===j5.undefined&&(n=this._def.defaultValue()),
this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){
return this._def.innerType}}s4.create=(e,t)=>new s4({innerType:e,
typeName:g4.ZodDefault,
defaultValue:"function"==typeof t.default?t.default:()=>t.default,...c3(t)})
;class l4 extends u3{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,
common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,
path:n.path,parent:{...n}});return e3(r)?r.then((e=>({status:"valid",
value:"valid"===e.status?e.value:this._def.catchValue({get error(){
return new U5(n.common.issues)},input:n.data})}))):{status:"valid",
value:"valid"===r.status?r.value:this._def.catchValue({get error(){
return new U5(n.common.issues)},input:n.data})}}removeCatch(){
return this._def.innerType}}l4.create=(e,t)=>new l4({innerType:e,
typeName:g4.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,
...c3(t)});class c4 extends u3{_parse(e){if(this._getType(e)!==j5.nan){
const t=this._getOrReturnCtx(e);return V5(t,{code:Q5.invalid_type,
expected:j5.nan,received:t.parsedType}),W5}return{status:"valid",value:e.data}}}
c4.create=e=>new c4({typeName:g4.ZodNaN,...c3(e)});const u4=Symbol("zod_brand")
;class d4 extends u3{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data
;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){
return this._def.type}}class p4 extends u3{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){
return(async()=>{const e=await this._def.in._parseAsync({data:n.data,
path:n.path,parent:n})
;return"aborted"===e.status?W5:"dirty"===e.status?(t.dirty(),
X5(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})()}
{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n})
;return"aborted"===e.status?W5:"dirty"===e.status?(t.dirty(),{status:"dirty",
value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}
static create(e,t){return new p4({in:e,out:t,typeName:g4.ZodPipeline})}}
class h4 extends u3{_parse(e){
const t=this._def.innerType._parse(e),n=e=>(J5(e)&&(e.value=Object.freeze(e.value)),
e);return e3(t)?t.then((e=>n(e))):n(t)}unwrap(){return this._def.innerType}}
function f4(e,t={},n){return e?M3.create().superRefine(((r,o)=>{var i,a
;if(!e(r)){const e="function"==typeof t?t(r):"string"==typeof t?{message:t
}:t,s=null===(a=null!==(i=e.fatal)&&void 0!==i?i:n)||void 0===a||a,l="string"==typeof e?{
message:e}:e;o.addIssue({code:"custom",...l,fatal:s})}})):M3.create()}
h4.create=(e,t)=>new h4({innerType:e,typeName:g4.ZodReadonly,...c3(t)})
;const m4={object:U3.lazycreate};var g4,v4
;(v4=g4||(g4={})).ZodString="ZodString",
v4.ZodNumber="ZodNumber",v4.ZodNaN="ZodNaN",
v4.ZodBigInt="ZodBigInt",v4.ZodBoolean="ZodBoolean",
v4.ZodDate="ZodDate",v4.ZodSymbol="ZodSymbol",
v4.ZodUndefined="ZodUndefined",v4.ZodNull="ZodNull",
v4.ZodAny="ZodAny",v4.ZodUnknown="ZodUnknown",
v4.ZodNever="ZodNever",v4.ZodVoid="ZodVoid",
v4.ZodArray="ZodArray",v4.ZodObject="ZodObject",
v4.ZodUnion="ZodUnion",v4.ZodDiscriminatedUnion="ZodDiscriminatedUnion",
v4.ZodIntersection="ZodIntersection",
v4.ZodTuple="ZodTuple",v4.ZodRecord="ZodRecord",
v4.ZodMap="ZodMap",v4.ZodSet="ZodSet",
v4.ZodFunction="ZodFunction",v4.ZodLazy="ZodLazy",
v4.ZodLiteral="ZodLiteral",v4.ZodEnum="ZodEnum",
v4.ZodEffects="ZodEffects",v4.ZodNativeEnum="ZodNativeEnum",
v4.ZodOptional="ZodOptional",
v4.ZodNullable="ZodNullable",v4.ZodDefault="ZodDefault",
v4.ZodCatch="ZodCatch",v4.ZodPromise="ZodPromise",
v4.ZodBranded="ZodBranded",v4.ZodPipeline="ZodPipeline",
v4.ZodReadonly="ZodReadonly"
;const b4=E3.create,O4=C3.create,y4=c4.create,w4=A3.create,k4=P3.create,x4=D3.create,S4=$3.create,_4=R3.create,E4=N3.create,T4=M3.create,C4=I3.create,A4=L3.create,P4=j3.create,D4=B3.create,$4=U3.create,R4=U3.strictCreate,N4=F3.create,M4=q3.create,I4=V3.create,L4=Z3.create,j4=W3.create,B4=X3.create,Q4=G3.create,U4=Y3.create,F4=K3.create,z4=J3.create,q4=t4.create,H4=n4.create,V4=r4.create,Z4=o4.create,W4=i4.create,X4=a4.create,G4=o4.createWithPreprocess,Y4=p4.create,K4={
string:e=>E3.create({...e,coerce:!0}),number:e=>C3.create({...e,coerce:!0}),
boolean:e=>P3.create({...e,coerce:!0}),bigint:e=>A3.create({...e,coerce:!0}),
date:e=>D3.create({...e,coerce:!0})},J4=W5;var e7=Object.freeze({__proto__:null,
defaultErrorMap:F5,setErrorMap:function(e){z5=e},getErrorMap:q5,makeIssue:H5,
EMPTY_PATH:[],addIssueToContext:V5,ParseStatus:Z5,INVALID:W5,DIRTY:X5,OK:G5,
isAborted:Y5,isDirty:K5,isValid:J5,isAsync:e3,get util(){return M5},
get objectUtil(){return L5},ZodParsedType:j5,getParsedType:B5,ZodType:u3,
datetimeRegex:_3,ZodString:E3,ZodNumber:C3,ZodBigInt:A3,ZodBoolean:P3,
ZodDate:D3,ZodSymbol:$3,ZodUndefined:R3,ZodNull:N3,ZodAny:M3,ZodUnknown:I3,
ZodNever:L3,ZodVoid:j3,ZodArray:B3,ZodObject:U3,ZodUnion:F3,
ZodDiscriminatedUnion:q3,ZodIntersection:V3,ZodTuple:Z3,ZodRecord:W3,ZodMap:X3,
ZodSet:G3,ZodFunction:Y3,ZodLazy:K3,ZodLiteral:J3,ZodEnum:t4,ZodNativeEnum:n4,
ZodPromise:r4,ZodEffects:o4,ZodTransformer:o4,ZodOptional:i4,ZodNullable:a4,
ZodDefault:s4,ZodCatch:l4,ZodNaN:c4,BRAND:u4,ZodBranded:d4,ZodPipeline:p4,
ZodReadonly:h4,custom:f4,Schema:u3,ZodSchema:u3,late:m4,
get ZodFirstPartyTypeKind(){return g4},coerce:K4,any:T4,array:D4,bigint:w4,
boolean:k4,date:x4,discriminatedUnion:M4,effect:Z4,enum:q4,function:U4,
instanceof:(e,t={message:`Input not instance of ${e.name}`
})=>f4((t=>t instanceof e),t),intersection:I4,lazy:F4,literal:z4,map:B4,nan:y4,
nativeEnum:H4,never:A4,null:E4,nullable:X4,number:O4,object:$4,
oboolean:()=>k4().optional(),onumber:()=>O4().optional(),optional:W4,
ostring:()=>b4().optional(),pipeline:Y4,preprocess:G4,promise:V4,record:j4,
set:Q4,strictObject:R4,string:b4,symbol:S4,transformer:Z4,tuple:L4,undefined:_4,
union:N4,unknown:C4,void:P4,NEVER:J4,ZodIssueCode:Q5,
quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),
ZodError:U5})
;const t7=e7.string().min(7).optional().default((()=>EH())),n7=e7.object({
type:e7.literal("apiKey").default("apiKey"),name:e7.string().default(""),
value:e7.string().default("")}),r7=e7.object({
type:e7.literal("http").default("http"),username:e7.string().default(""),
password:e7.string().default(""),token:e7.string().default("")}),o7=e7.object({
type:e7.literal("oauth-implicit").default("oauth-implicit"),
token:e7.string().default("")}),i7=e7.object({
type:e7.literal("oauth-password").default("oauth-password"),
token:e7.string().default(""),username:e7.string().default(""),
password:e7.string().default(""),clientSecret:e7.string().default("")
}),a7=e7.object({
type:e7.literal("oauth-clientCredentials").default("oauth-clientCredentials"),
token:e7.string().default(""),clientSecret:e7.string().default("")
}),s7=e7.object({
type:e7.literal("oauth-authorizationCode").default("oauth-authorizationCode"),
token:e7.string().default(""),clientSecret:e7.string().default("")
}),l7=e7.union([n7,r7,o7,i7,a7,s7]);function c7(e,t={}){
if("apiKey"===e.type)return n7.parse({name:e.name,...t})
;if("http"===e.type)return r7.parse(t);if("oauth2"===e.type){
if("authorizationCode"===e.flow.type)return s7.parse(t)
;if("clientCredentials"===e.flow.type)return a7.parse(t)
;if("implicit"===e.flow.type)return o7.parse(t)
;if("password"===e.flow.type)return i7.parse(t)}
throw Error("INVALID SCHEMA FOR OAUTH EXAMPLE")}const u7=e7.object({
description:e7.string().optional()}),d7=e7.object({uid:t7,
nameKey:e7.string().optional().default("")}),p7=u7.extend({
type:e7.literal("apiKey"),name:e7.string().optional().default(""),
in:e7.enum(["query","header","cookie"]).optional().default("header")
}),h7=p7.merge(d7),f7=u7.extend({type:e7.literal("http"),
scheme:e7.string().toLowerCase().pipe(e7.enum(["basic","bearer"])).optional().default("basic"),
bearerFormat:e7.union([e7.literal("JWT"),e7.string()]).optional().default("JWT")
}),m7=f7.merge(d7),g7=u7.extend({type:e7.literal("openIdConnect"),
openIdConnectUrl:e7.string().optional().default("")
}),v7=g7.merge(d7),b7=e7.string().default(""),O7=e7.string().default(""),y7=e7.object({
refreshUrl:e7.string().optional().default(""),
scopes:e7.union([e7.map(e7.string(),e7.string().optional()),e7.record(e7.string(),e7.string().optional()),e7.object({})]).optional().default({}),
selectedScopes:e7.array(e7.string()).optional().default([])
}),w7=e7.discriminatedUnion("type",[y7.extend({type:e7.literal("implicit"),
authorizationUrl:b7,"x-scalar-redirect-uri":e7.string().optional().default("")
}),y7.extend({type:e7.literal("password"),tokenUrl:O7}),y7.extend({
type:e7.literal("clientCredentials"),tokenUrl:O7}),y7.extend({
type:e7.literal("authorizationCode"),authorizationUrl:b7,
"x-scalar-redirect-uri":e7.string().optional().default(""),tokenUrl:O7
})]).optional().default({type:"implicit",
authorizationUrl:"http://localhost:8080"}),k7=u7.extend({
type:e7.literal("oauth2"),flow:w7,
"x-scalar-client-id":e7.string().optional().default("")
}),x7=k7.merge(d7),S7=e7.record(e7.string(),e7.array(e7.string()).optional().default([]))
;e7.union([p7,f7,k7,g7]);const _7=e7.union([h7,m7,v7,x7]),E7=e7.object({
name:e7.string().optional().default("name"),identifier:e7.string().optional(),
url:e7.string().url().optional()}),T7=e7.object({name:e7.string().optional(),
url:e7.string().url().optional(),email:e7.string().email().optional()
}),C7=e7.object({title:e7.string().optional().default("OpenAPI Spec"),
summary:e7.string().optional(),description:e7.string().optional(),
termsOfService:e7.string().optional(),contact:T7.optional(),
license:E7.optional(),version:e7.string().optional().default("1.0")
}),A7=e7.object({description:e7.string().optional(),url:e7.string().default("")
}),P7=e7.object({tagName:e7.string()}).array(),D7=e7.object({
type:e7.literal("tag").optional().default("tag"),name:e7.string(),
description:e7.string().optional(),externalDocs:A7.optional(),
"x-scalar-children":P7.default([])}).extend({uid:t7,
children:t7.array().default([])}),$7=e7.object({
type:e7.literal("collection").optional().default("collection"),
openapi:e7.union([e7.string(),e7.literal("3.0.0"),e7.literal("3.1.0"),e7.literal("4.0.0")]).optional().default("3.1.0"),
jsonSchemaDialect:e7.string().optional(),info:C7.optional(),
security:e7.array(S7).optional().default([]),externalDocs:A7.optional(),
components:e7.record(e7.string(),e7.unknown()).optional(),
webhooks:e7.record(e7.string(),e7.unknown()).optional(),
"x-scalar-icon":e7.string().optional().default("interface-content-folder")
}),R7=e7.object({uid:t7,securitySchemes:e7.string().array().default([]),
selectedServerUid:e7.string().default(""),servers:t7.array().default([]),
requests:t7.array().default([]),tags:t7.array().default([]),
children:t7.array().default([]),auth:e7.record(t7,l7).default({})
}),N7=$7.merge(R7),M7=e7.object({enum:e7.string().array().min(1).optional(),
default:e7.string().optional().default("default"),
description:e7.string().optional()}),I7=e7.object({url:e7.string().optional(),
description:e7.string().optional(),
variables:e7.record(e7.string(),M7).optional()}).extend({uid:t7
}),L7=e7.enum(["path","query","header","cookie"]),j7=e7.enum(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]),B7=e7.object({
in:L7,name:e7.string(),description:e7.string().optional(),
required:e7.boolean().optional().default(!1),
deprecated:e7.boolean().optional().default(!1),schema:e7.unknown().optional(),
content:e7.unknown().optional(),style:j7.optional()
}),Q7=["connect","delete","get","head","options","patch","post","put","trace"],U7=e7.any(),F7=e7.object({
tags:e7.string().array().optional(),summary:e7.string().optional(),
description:e7.string().optional(),operationId:e7.string().optional(),
security:e7.array(S7).optional(),requestBody:U7.optional(),
parameters:B7.array().optional(),externalDocs:A7.optional(),
deprecated:e7.boolean().optional(),
responses:e7.record(e7.string(),e7.any()).optional()}),z7=e7.object({
type:e7.literal("request").optional().default("request"),uid:t7,
path:e7.string().optional().default(""),method:e7.enum(Q7).default("get"),
servers:t7.array().default([]),selectedServerUid:e7.string().default(""),
examples:t7.array().default([]),
selectedSecuritySchemeUids:t7.array().default([])
}),q7=F7.merge(z7),H7=e7.object({key:e7.string().default(""),
value:e7.coerce.string().default(""),enabled:e7.boolean().default(!0),
file:e7.any().optional(),description:e7.string().optional(),
refUid:t7.optional(),required:e7.boolean().optional(),
enum:e7.array(e7.string()).optional(),type:e7.string().optional(),
format:e7.string().optional(),minimum:e7.number().optional(),
maximum:e7.number().optional(),default:e7.any().optional(),
nullable:e7.boolean().optional()}),V7=e7.object({raw:e7.object({
encoding:e7.enum(["json","text","html","javascript","xml","yaml","edn"]).default("json"),
value:e7.string().default("")}).optional(),formData:e7.object({
encoding:e7.union([e7.literal("form-data"),e7.literal("urlencoded")]).default("form-data"),
value:H7.array().default([])}).optional(),binary:e7.instanceof(Blob).optional(),
activeBody:e7.union([e7.literal("raw"),e7.literal("formData"),e7.literal("binary")]).default("raw")
}),Z7=e7.object({
type:e7.literal("requestExample").optional().default("requestExample"),uid:t7,
requestUid:t7,name:e7.string().optional().default("Name"),
body:V7.optional().default({}),parameters:e7.object({
path:H7.array().default([]),query:H7.array().default([]),
headers:H7.array().default([]),cookies:H7.array().default([])
}).optional().default({}),
serverVariables:e7.record(e7.string(),e7.array(e7.string())).optional()})
;function W7(e,t,n){var r,o,i,a,s;const l={path:[],query:[],cookie:[],header:[]}
;null==(r=e.parameters)||r.forEach((e=>l[e.in].push(function(e){var t
;const n=e.schema,r=String((null==n?void 0:n.default)??(null==(t=null==n?void 0:n.examples)?void 0:t[0])??""),o=Ud({
...n,key:e.name,value:r,description:e.description,required:e.required,
enabled:!!e.required},H7,!1)
;return o||(console.warn(`Example at ${e.name} is invalid.`),H7.parse({}))
}(e))));const c={activeBody:"raw",raw:{encoding:"json",value:""}}
;if(e.requestBody){const t=_f({path:e.path,information:{
requestBody:e.requestBody}})
;"application/json"===(null==(o=null==t?void 0:t.body)?void 0:o.mimeType)&&(c.activeBody="raw",
c.raw={encoding:"json",value:t.body.text??JSON.stringify({})
}),"application/xml"===(null==(i=null==t?void 0:t.body)?void 0:i.mimeType)&&(c.activeBody="raw",
c.raw={encoding:"xml",value:t.body.text??""
}),"application/octet-stream"===(null==(a=null==t?void 0:t.body)?void 0:a.mimeType)&&(c.activeBody="binary",
c.binary=void 0),
"application/x-www-form-urlencoded"===(null==(s=null==t?void 0:t.body)?void 0:s.mimeType)&&(c.activeBody="formData",
c.formData=void 0)}const u=Ud({requestUid:e.uid,parameters:l,name:t,body:c,
serverVariables:{}},Z7,!1)
;return u||(console.warn(`Example at ${e.uid} is invalid.`),Z7.parse({}))}
function X7(e,t,n){const r=t.split(".")
;return r.reduce(((e,t,o)=>(o===r.length-1&&(e[t]=n),e[t])),e),e}class G7{
constructor(e,t=5e3,n=!1){
r(this,"parentData"),r(this,"maxRecords"),r(this,"records",[]),
r(this,"sideEffects",[]),
r(this,"idx",0),r(this,"debug"),this.maxRecords=t,this.parentData=e,this.debug=n
}_unsavedMutate(e,t){X7(this.parentData,e,t),this.runSideEffects(e)}
addSideEffect(e,t,n,r=!0){this.sideEffects.push({triggers:e,effect:t,name:n
}),r&&(t(this.parentData),
this.debug&&console.info(`Running mutation side effect: ${n}`,"debug"))}
runSideEffects(e){this.sideEffects.forEach((({effect:t,triggers:n,name:r})=>{
(n.some((t=>e.includes(t)))||e.length<1)&&(t(this.parentData),
this.debug&&console.info(`Running mutation side effect: ${r}`,"debug"))}))}
mutate(e,t,n=null){
this.idx<this.records.length-1&&this.records.splice(this.idx+1)
;const r=function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)
}(this.parentData,e)
;r!==t&&(X7(this.parentData,e,t),this.runSideEffects(e),this.records.push({
prev:n??r,value:t,path:e
}),this.idx=this.records.length-1,this.records.length>this.maxRecords&&this.records.shift(),
this.debug&&console.info(`Set object '${this.idx}' '${e}' to ${t}`,"debug"))}
undo(){if(this.idx<0||this.records.length<1)return!1
;this.debug&&console.info("Undoing Mutation","debug")
;const e=this.records[this.idx]
;return this.idx-=1,this._unsavedMutate(e.path,e.prev),!0}redo(){
if(this.idx>this.records.length-2)return!1
;this.debug&&console.info("Redoing Mutation","debug")
;const e=this.records[this.idx+1]
;return this.idx+=1,this._unsavedMutate(e.path,e.value),!0}}const Y7={
DEBOUNCE_MS:328,MAX_WAIT_MS:1e3
},{parse:K7,stringify:J7}=JSON,{keys:e8}=Object,t8=String,n8="string",r8={},o8="object",i8=(e,t)=>t,a8=e=>e instanceof t8?t8(e):e,s8=(e,t)=>typeof t===n8?new t8(t):t,l8=(e,t,n,r)=>{
const o=[];for(let i=e8(n),{length:a}=i,s=0;s<a;s++){const a=i[s],l=n[a]
;if(l instanceof t8){const i=e[l]
;typeof i!==o8||t.has(i)?n[a]=r.call(n,a,i):(t.add(i),n[a]=r8,o.push({k:a,
a:[e,t,i,r]}))}else n[a]!==r8&&(n[a]=r.call(n,a,l))}
for(let{length:i}=o,a=0;a<i;a++){const{k:e,a:t}=o[a]
;n[e]=r.call(n,e,l8.apply(null,t))}return n},c8=(e,t,n)=>{
const r=t8(t.push(n)-1);return e.set(n,r),r},u8=(e,t)=>{
const n=K7(e,s8).map(a8),r=n[0],o=i8,i=typeof r===o8&&r?l8(n,new Set,r,o):r
;return o.call({"":i},"",i)},d8=(e,t,n)=>{const r=i8,o=new Map,i=[],a=[]
;let s=+c8(o,i,r.call({"":e},"",e)),l=!s
;for(;s<i.length;)l=!0,a[s]=J7(i[s++],c,n);return"["+a.join(",")+"]"
;function c(e,t){if(l)return l=!l,t;const n=r.call(this,e,t);switch(typeof n){
case o8:if(null===n)return n;case n8:return o.get(n)||c8(o,i,n)}return n}}
;const p8=500;function h8(e,t,n,r=p8){function o(n){const r=t[n]
;return r||console.warn(`Missing ${e[n]?"mutator":"object"} for uid: ${n}`),
r??null}const i=n?function(e,t,{maxWait:n}={}){let r=null,o=null
;return function(...i){r&&clearTimeout(r),r=setTimeout((()=>{
null!==o&&clearTimeout(o),o=null,e.apply(this,i)
}),t),n&&!o&&(o=setTimeout((()=>{
null!==r&&clearTimeout(r),o=null,e.apply(this,i)}),n))}
}((()=>localStorage.setItem(n,d8(e))),Y7.DEBOUNCE_MS,{maxWait:Y7.MAX_WAIT_MS
}):()=>null;return{add:n=>{e[n.uid]=n,t[n.uid]=new G7(n,r),i()},delete:n=>{
delete e[n],delete t[n],i()},set:n=>{e[n.uid]=n,t[n.uid]=new G7(n,r),i()},
edit:(e,t,n)=>{const r=o(e);null==r||r.mutate(t,n),i()},untrackedEdit:(e,t,n)=>{
const r=o(e);null==r||r._unsavedMutate(t,n),i()},undo:e=>{const t=o(e)
;null==t||t.undo(),i()},redo:e=>{const t=o(e);null==t||t.redo(),i()}}}
const f8=e7.object({uid:t7,name:e7.string().default("Default Cookie"),
value:e7.string().default("Default Value"),domain:e7.string().optional(),
expires:e7.date().optional(),httpOnly:e7.boolean().optional(),
maxAge:e7.number().optional(),partitioned:e7.boolean().optional(),
path:e7.string().optional(),
sameSite:e7.union([e7.literal("Lax"),e7.literal("Strict"),e7.literal("None")]).default("None"),
secure:e7.boolean().optional()});const m8=e7.object({uid:t7,
name:e7.string().optional().default("Default Environment"),
color:e7.string().optional().default("blue"),value:e7.string().default(""),
isDefault:e7.boolean().optional()});function g8(){const e=new Set;function t(t){
return e.add(t),()=>n(t)}function n(t){e.delete(t)}return{on:t,once:function(e){
return t((function t(...r){n(t),e(...r)}))},off:n,emit:function(t){
null==e||e.forEach((e=>e(t)))},reset:function(){e.clear()},
listeners:()=>Array.from(e)}}const v8=(e,t)=>{if("oauth2"===e.type){
const n=Object.entries(e.flows??{});if(n.length){const[[r,o]]=n;return{...e,
nameKey:t,flow:{...o,type:r}}}}return{...e,nameKey:t}};async function b8(e,t){
var n,r,o,i,a;const{filesystem:s}=await dD(e),{specification:l}={
specification:[hD,pD].reduce(((e,t)=>t(e)),tD(sD(s)).specification),
version:"3.1"}
;const{schema:c,errors:u=[]}=await uD(l),d=c,p=[...u.map((e=>e.message))]
;if(!d)return{importWarnings:p,error:!0}
;const h=[],f=I7.array().parse((null==(n=d.servers)?void 0:n.map((e=>e??[{
url:"undefined"!=typeof window?window.location.origin:"http://localhost",
description:"Replace with your API server"
}])))??[]),m=new Set,g=(null==(r=d.components)?void 0:r.securitySchemes)??(null==d?void 0:d.securityDefinitions)??{},v=null==(i=(o=Object.entries(g)).map)?void 0:i.call(o,(([e,t])=>{
const n=Ud("oauth2"===t.type?v8(t,e):{...t,nameKey:e},_7,!1)
;return n||p.push(`Security scheme ${e} is invalid.`),n})).filter((e=>!!e)),b={}
;var O;v.forEach((e=>{b[e.nameKey]=e.uid
})),(O=d.paths??{},O?Object.keys(O).map((e=>String(e))):[]).forEach((e=>{var n
;const r=null==(n=null==d?void 0:d.paths)?void 0:n[e];if(!r)return
;const o=I7.array().parse(r.servers??[]);f.push(...o),Q7.forEach((n=>{var i
;const a=r[n];if(a&&"object"==typeof a){const s=I7.array().parse(a.servers??[])
;f.push(...s),null==(i=a.tags)||i.forEach((e=>m.add(e)))
;const{security:l,...c}=a,u=(l??d.security??[]).flatMap((e=>{
const t=Object.keys(e);return t.length?t[0]:[]}));let g=[];if(u.length){
const e=t&&u.includes(t??"")?t:u[0];g=[b[e]]}const v={...c,method:n,path:e,
selectedSecuritySchemeUids:g,
parameters:[...(null==r?void 0:r.parameters)??[],...a.parameters??[]],
servers:[...o,...s].map((e=>e.uid))}
;(null==l?void 0:l.length)&&(v.security=l.map((e=>{if(Object.keys(e).length){
const[t]=Object.keys(e);return{[t]:e[t]}}return e})));const O=Ud(v,q7,!1)
;O?h.push(O):p.push(`${n} Request at ${r} is invalid.`)}}))}))
;const y=Ud((null==d?void 0:d.tags)??[],D7.array(),!1)??[]
;y.forEach((e=>m.delete(e.name))),m.forEach((e=>y.push(D7.parse({name:e}))))
;const w={};y.forEach((e=>{w[e.name]=e}));const k=new Set(y.map((e=>e.uid)))
;y.forEach((e=>{var t;null==(t=e["x-scalar-children"])||t.forEach((t=>{
const n=w[t.tagName].uid;e.children.push(n),k.delete(n)}))})),h.forEach((e=>{
e.tags?e.tags.forEach((t=>{w[t].children.push(e.uid)})):k.add(e.uid)}))
;const x=[];h.forEach((e=>{const t=W7(e,"Default Example")
;x.push(t),e.examples.push(t.uid)}));const S=null==v?void 0:v.reduce(((e,t)=>{
const n=c7(t);return n&&(e[t.uid]=n),e}),{}),_=N7.parse({...d,auth:S,
requests:h.map((e=>e.uid)),servers:f.map((e=>e.uid)),tags:y.map((e=>e.uid)),
children:[...k],security:d.security??[{}],
selectedServerUid:null==(a=null==f?void 0:f[0])?void 0:a.uid,components:{
...d.components},securitySchemes:v.map((e=>e.uid))});return{error:!1,servers:f,
requests:h,examples:x,collection:_,tags:y,securitySchemes:v}}
function O8({collections:e,tags:t}){return function(n){
const r=Object.values(e).find((e=>{var t
;return null==(t=e.requests)?void 0:t.includes(n.uid)}));if(!r)return[]
;const o=Object.keys(t).reduce(((e,t)=>(e[t]=[],e)),{[null==r?void 0:r.uid]:[]})
;!function e(n,r){
r.forEach((e=>o[e].push(...n.children))),n.children.forEach((n=>{
t[n]&&e(t[n],[...r,n])}))}(r,[r.uid]);const i=new Set
;return Object.entries(o).forEach((([e,t])=>{t.includes(n.uid)&&i.add(e)
})),[...i]}}
const y8=e7.enum(["Meta","Control","Shift","Alt","default"]).optional().default("default"),w8=e7.array(y8).optional().default(["default"]),k8=e7.record(e7.enum(["Space","Backspace","Tab","Enter","Escape","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp","Delete","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","*","+","-",".","/","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12",";","=",",","-",".","/","`","[","\\","]",""]),e7.object({
modifiers:w8.optional(),
event:e7.enum(["closeModal","navigateSearchResultsDown","selectSearchResult","navigateSearchResultsUp","openCommandPalette","openCommandPaletteRequest","toggleSidebar","addTopNav","closeTopNav","navigateTopNavLeft","navigateTopNavRight","focusAddressBar","jumpToTab","jumpToLastTab","focusRequestSearch"])
})),x8=e7.object({modifiers:w8,hotKeys:k8.optional()}).optional(),S8=e7.object({
uid:t7,name:e7.string().default("Default Workspace"),
description:e7.string().default("Basic Scalar Workspace"),
isReadOnly:e7.boolean().default(!1),
collections:e7.array(e7.string()).default([]),
environments:e7.array(e7.string()).default([]),hotKeyConfig:x8,
activeEnvironmentId:e7.string().optional().default("default"),
cookies:e7.array(e7.string()).default([]),proxyUrl:e7.string().optional(),
themeId:e7.enum(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","mars","none"]).optional().default("default")
});const _8=(e,t=!0)=>{const n=$a(function(e){return()=>{const t={
[T5.Collection]:"default",[T5.Environment]:"default",[T5.Request]:"default",
[T5.Examples]:"default",[T5.Schema]:"default",[T5.Cookies]:"default",
[T5.Servers]:"default",[T5.Workspace]:"default",[T5.Settings]:"default"
},n=e.currentRoute.value;return n&&Object.values(T5).forEach((e=>{
n.params[e]&&(t[e]=n.params[e])})),t}
}(e)),{collections:r,collectionMutators:o}=function(e){const t=xn({});return{
collections:t,collectionMutators:h8(t,xn({}),e&&Cd)}
}(t),{tags:i,tagMutators:a}=function(e){const t=xn({});return{tags:t,
tagMutators:h8(t,xn({}),e&&Md)}}(t),{requests:s,requestMutators:l}=function(e){
const t=xn({});return{requests:t,requestMutators:h8(t,xn({}),e&&Dd)}
}(t),{requestExamples:c,requestExampleMutators:u}=function(e){const t=xn({})
;return{requestExamples:t,requestExampleMutators:h8(t,xn({}),e&&$d)}
}(t),{cookies:d,cookieMutators:p}=function(e){
const t=xn({}),n=h8(t,xn({}),e&&Ad);return n.add(f8.parse({uid:"default",
name:"Cookie",value:"",domain:"",path:"/",secure:!1,httpOnly:!1,sameSite:"None"
})),{cookies:t,cookieMutators:n}
}(t),{environments:h,environmentMutators:f}=function(e){
const t=xn({}),n=h8(t,xn({}),e&&Pd);return n.add(m8.parse({uid:"default",
name:"Global Environment",color:"blue",raw:JSON.stringify({
exampleKey:"exampleValue"},null,2),parsed:[],isDefault:!0})),{environments:t,
environmentMutators:n}}(t),{servers:m,serverMutators:g}=function(e){
const t=xn({});return{servers:t,serverMutators:h8(t,xn({}),e&&Nd)}
}(t),{securitySchemes:v,securitySchemeMutators:b}=function(e){const t=xn({})
;return{securitySchemes:t,securitySchemeMutators:h8(t,xn({}),e&&Rd)}
}(t),{workspaces:O,workspaceMutators:y}=function(e){const t=xn({});return{
workspaces:t,workspaceMutators:h8(t,xn({}),e&&Id)}}(t),w={routerParams:n,
collections:r,collectionMutators:o,tags:i,tagMutators:a,requests:s,
requestMutators:l,requestExamples:c,requestExampleMutators:u,cookies:d,
cookieMutators:p,environments:h,environmentMutators:f,servers:m,
serverMutators:g,securitySchemes:v,securitySchemeMutators:b,workspaces:O,
workspaceMutators:y
},{addRequest:k,deleteRequest:x,findRequestParents:S}=function({requestExamples:e,requestExampleMutators:t,requestMutators:n,collectionMutators:r,collections:o,tags:i,tagMutators:a}){
return{addRequest:(s,l)=>{var c;const u=Ud(s,q7,!1)
;if(!u)return console.error("INVALID REQUEST DATA",s)
;const d=o[l],p=W7(u,Td((u.summary??"Example")+" #1",(t=>u.examples.some((n=>t===e[n].name)))))
;return u.examples.push(p.uid),
n.add(u),t.add(p),r.edit(l,"requests",[...d.requests,u.uid]),
null!=(c=u.tags)&&c.length?u.tags.forEach((e=>{
const t=d.tags.find((t=>i[t].name===e))
;t&&a.edit(t,"children",[...i[t].children,u.uid])
})):r.edit(l,"children",[...d.children,u.uid]),u},deleteRequest:(e,s)=>{var l
;const c=o[s]
;e.examples.forEach((e=>t.delete(e))),r.edit(s,"requests",c.requests.filter((t=>t!==e.uid))),
r.edit(s,"children",c.children.filter((t=>t!==e.uid))),
null==(l=e.tags)||l.forEach((t=>{const n=c.tags.find((e=>i[e].name===t))
;n&&a.edit(n,"children",i[n].children.filter((t=>t!==e.uid)))})),n.delete(e.uid)
},findRequestParents:O8({collections:o,tags:i})}
}(w),{deleteEnvironment:_}=function({environmentMutators:e}){return{
deleteEnvironment:t=>{
"default"!==t?e.delete(t):console.warn("Default environment cannot be deleted.")
}}
}(w),{addServer:E,deleteServer:T}=function({serverMutators:e,collections:t,collectionMutators:n,requests:r,requestMutators:o}){
return{addServer:(i,a)=>{const s=I7.parse(i)
;return t[a]?n.edit(a,"servers",[...t[a].servers,s.uid]):r[a]&&o.edit(a,"servers",[...r[a].servers,s.uid]),
e.add(s),s},deleteServer:(r,o)=>{
n.edit(o,"servers",t[o].servers.filter((e=>e!==r))),e.delete(r)}}
}(w),{addCollection:C,deleteCollection:A}=function({requests:e,requestMutators:t,requestExamples:n,requestExampleMutators:r,workspaces:o,workspaceMutators:i,collections:a,collectionMutators:s,tagMutators:l}){
return{addCollection:(e,t)=>{const n=N7.parse(e)
;return i.edit(t,"collections",[...o[t].collections,n.uid]),s.add(n),n},
deleteCollection:(o,c)=>{var u,d;if(c.uid){
if("Drafts"===(null==(d=null==(u=a[o.uid])?void 0:u.info)?void 0:d.title))return void console.warn("The drafts collection cannot be deleted")
;if(1===Object.values(a).length)return void console.warn("You must have at least one collection")
;o.tags.forEach((e=>l.delete(e))),o.requests.forEach((o=>{const i=e[o]
;i&&(t.delete(o),i.examples.forEach((e=>n[e]&&r.delete(e))))
})),i.edit(c.uid,"collections",c.collections.filter((e=>e!==o.uid))),
s.delete(o.uid)}}}
}(w),{addRequestExample:P,deleteRequestExample:D}=function({requestExamples:e,requestExampleMutators:t,requestMutators:n,requests:r}){
return{addRequestExample:(r,o)=>{
const i=o??Td((r.summary??"Example")+" #1",(t=>r.examples.some((n=>t===e[n].name)))),a=W7(r,i)
;return t.add(a),n.edit(r.uid,"examples",[...r.examples,a.uid]),a},
deleteRequestExample:e=>{
n.edit(e.requestUid,"examples",r[e.requestUid].examples.filter((t=>t!==e.uid))),
t.delete(e.uid)}}
}(w),{addWorkspace:$,deleteWorkspace:R}=function({workspaces:e,workspaceMutators:t,collectionMutators:n,requestMutators:r,requestExampleMutators:o}){
return{addWorkspace:(e={})=>{const i=Z7.parse({name:"Example"}),a=q7.parse({
method:"get",parameters:[],path:"",summary:"My First Request",examples:[i.uid]
}),s=N7.parse({info:{title:"Drafts"},children:[a.uid],requests:[a.uid]
}),l=S8.parse({...e,collections:[s.uid]})
;return o.add(i),r.add(a),n.add(s),t.add(l),l},deleteWorkspace:n=>{
Object.keys(e).length<=1?console.warn("The last workspace cannot be deleted."):t.delete(n)
}}
}(w),{addSecurityScheme:N,deleteSecurityScheme:M}=function({securitySchemeMutators:e,collectionMutators:t,collections:n,requests:r,requestMutators:o}){
return{addSecurityScheme:(r,o)=>{const i=_7.parse(r)
;e.add(i),o&&t.edit(o,"securitySchemes",[...n[o].securitySchemes,i.uid])
;const a=c7(i);return t.edit(o,"auth",{...n[o].auth,[i.uid]:a}),i},
deleteSecurityScheme:i=>{Object.values(n).forEach((e=>{
e.securitySchemes.includes(i.uid)&&t.edit(e.uid,"securitySchemes",e.securitySchemes.filter((e=>e!==i.uid)))
})),Object.values(n).forEach((e=>{if(i.uid in e.auth){
const{[i.uid]:n,...r}=e.auth;t.edit(e.uid,"auth",r)}
})),Object.values(r).forEach((e=>{var t,n,a
;null!=(t=e.security)&&t.some((e=>Object.keys(e).includes(i.uid)))&&o.edit(e.uid,"security",null==(n=r[e.uid].security)?void 0:n.filter((e=>!Object.keys(e).includes(i.uid)))),
e.selectedSecuritySchemeUids.includes(i.uid)&&o.edit(e.uid,"selectedSecuritySchemeUids",null==(a=e.selectedSecuritySchemeUids)?void 0:a.filter((e=>e!==i.uid)))
})),e.delete(i.uid)}}
}(w),{addTag:I,deleteTag:L}=function({collectionMutators:e,collections:t,requests:n,requestMutators:r,tagMutators:o}){
return{addTag:(n,r)=>{const i=t[r],a=Ud(n,D7,!1)
;return a?(e.edit(r,"tags",[...i.tags,a.uid]),
e.edit(r,"children",[...i.children,a.uid]),
o.add(a),a):console.error("INVALID TAG DATA",n)},deleteTag:(i,a)=>{const s=t[a]
;e.edit(a,"tags",s.tags.filter((e=>e!==i.uid))),
e.edit(a,"children",s.children.filter((e=>e!==i.uid))),i.children.forEach((t=>{
var o;const l=null==(o=n[t].tags)?void 0:o.filter((e=>e!==i.name))
;r.edit(t,"tags",l),
(null==l||!l.length)&&!s.children.includes(t)&&e.edit(a,"children",[...s.children,t])
})),o.delete(i.uid)}}}(w),j=$a((()=>{
const e=O[n.value[T5.Workspace]]??O[Object.keys(O)[0]]
;return e&&(e.proxyUrl=ne.value),e})),B=$a((()=>{var e
;return null==(e=j.value)?void 0:e.collections.map((e=>r[e])).sort(((e,t)=>{
var n,r
;return"Drafts"===(null==(n=e.info)?void 0:n.title)?1:"Drafts"===(null==(r=t.info)?void 0:r.title)?-1:0
}))})),Q=$a((()=>{var e
;return null==(e=B.value)?void 0:e.flatMap((e=>e.servers.map((e=>m[e]))))
})),U=$a((()=>{var e;return null==(e=B.value)?void 0:e.flatMap((e=>e.requests))
})),F=$a((()=>{var e
;return h[(null==(e=j.value)?void 0:e.activeEnvironmentId)??"default"]
})),z=$a((()=>{
const e=n.value[T5.Request],t=r[n.value.collection]||r[j.value.collections[0]],o=s[e]||s[null==t?void 0:t.requests[0]]
;return function(e,t){var n,r
;D5.currentRoute.value&&!t&&null!=(n=D5.currentRoute.value)&&n.params[e]&&"default"!==(null==(r=D5.currentRoute.value)?void 0:r.params[e])&&D5.currentRoute.value.path.includes(e)&&D5.push({
params:{...D5.currentRoute.value.params,[e]:"default"}})}(T5.Request,o),o
})),q=$a((()=>{var e
;const t="default"===n.value[T5.Examples]?(null==(e=z.value)?void 0:e.examples[0])||"":n.value[T5.Examples]
;return c[t]})),H=$a((()=>{var e,t;const n=null==(e=z.value)?void 0:e.uid
;if(n)return Object.values(r).find((e=>{var t
;return null==(t=e.requests)?void 0:t.includes(n)}))
;const o=j.value.collections[0]??(null==(t=r[0])?void 0:t.uid);return r[o]
})),V=$a((()=>{var e,t
;return m[(null==(e=z.value)?void 0:e.selectedServerUid)||(null==(t=H.value)?void 0:t.selectedServerUid)||""]
})),Z=$a((()=>n.value[T5.Cookies])),W=$a((()=>F.value?function(e){
return function e(t,n){const r=Object.keys(t),o=[];return r.forEach((r=>{
const i=n?`${n}.${r}`:r
;"object"==typeof t[r]?o.push(...e(t[r],i)):o.push([i,String(t[r])])})),o}(e)
}(JSON.parse(F.value.value)).map((([e,t])=>({key:e,value:t
}))):[])),X=xn([]),G=$a((()=>{var e
;return(null==(e=j.value)?void 0:e.isReadOnly)??!1
})),{importSpecFile:Y,importSpecFromUrl:K}=function({requestMutators:e,collectionMutators:t,serverMutators:n,tagMutators:r,securitySchemeMutators:o,requestExampleMutators:i,workspaceMutators:a,workspaces:s}){
const l=async(l,c="default",u,d)=>{var p;const h=$n(l)
;null!=u&&u.length&&"object"==typeof h&&(h.servers=u);const f=await b8(h,d)
;return f.error?(console.group("IMPORT ERRORS"),
f.importWarnings.forEach((e=>console.warn(e))),
void console.groupEnd()):(f.examples.forEach((e=>i.add(e))),
f.requests.forEach((t=>e.add(t))),
f.tags.forEach((e=>r.add(e))),f.servers.forEach((e=>n.add(e))),
f.securitySchemes.forEach((e=>o.add(e))),
t.add(f.collection),a.edit(c,"collections",[...(null==(p=s[c])?void 0:p.collections)??[],f.collection.uid]),
f.collection)};return{importSpecFile:l,
importSpecFromUrl:async function(e,t,n,r,o="default"){const i=await wd(e,t)
;return await l(i,o,n,r)}}
}(w),J=In(localStorage.getItem("sidebarWidth")||"280px"),ee=Vq()
;window.dataDump=()=>({collections:$n(r),cookies:$n(d),environments:$n(h),
requestExamples:$n(c),requests:$n(s),securitySchemes:$n(v),servers:$n(m),
tags:$n(i),workspaces:$n(O)})
;const te="proxyUrl",ne=In(localStorage.getItem(te)||""),re={
executeRequest:g8(),cancelRequest:g8(),requestStatus:g8(),commandPalette:g8(),
hotKeys:g8()};return{workspaces:O,collections:r,tags:i,cookies:d,environments:h,
requestExamples:c,requests:s,servers:m,securitySchemes:v,activeCollection:H,
activeCookieId:Z,activeExample:q,activeRequest:z,activeRouterParams:n,
activeEnvironment:F,activeServer:V,activeWorkspace:j,
activeWorkspaceCollections:B,activeWorkspaceServers:Q,activeEnvVariables:W,
activeWorkspaceRequests:U,modalState:ee,isReadOnly:G,router:e,events:re,
sidebarWidth:J,setSidebarWidth:e=>{
J.value=e,localStorage.setItem("sidebarWidth",e)},proxyUrl:ne,setProxyUrl:e=>{
ne.value=e,localStorage.setItem(te,e),y.edit(j.value.uid,"proxyUrl",e)},
importSpecFile:Y,importSpecFromUrl:K,cookieMutators:p,collectionMutators:{...o,
rawAdd:o.add,add:C,delete:A},environmentMutators:{...f,delete:_},
requestMutators:{...l,rawAdd:l.add,add:k,delete:x},findRequestParents:S,
requestExampleMutators:{...u,rawAdd:u.add,add:P,delete:D},requestHistory:X,
securitySchemeMutators:{...b,rawAdd:b.add,add:N,delete:M},serverMutators:{...g,
rawAdd:g.add,add:E,delete:T},tagMutators:{...a,rawAdd:a.add,add:I,delete:L},
workspaceMutators:{...y,rawAdd:y.add,add:$,delete:R}}
},E8=()=>ti("workspace"),T8=(e,t)=>{const n=e.__vccOpts||e
;for(const[r,o]of t)n[r]=o;return n};const C8=Gr({__name:"ScalarHotkey",props:{
hotkey:{}},emits:["hotkeyPressed"],setup(e,{emit:t}){
const n=e,r=t,o=$a((()=>$X()?"⌘":"⌃")),i=$a((()=>new Map([["↵","enter"],["N","n"]]).get(n.hotkey))),a=$a((()=>`${o.value} ${n.hotkey}`)),s=nh({
passive:!1,onEventFired(e){
!$X()&&e.ctrlKey&&e.key===i.value&&(e.preventDefault(),e.stopPropagation())}})
;return zp(s[`${$X()?"meta":"control"}_${n.hotkey}`],(()=>{
r("hotkeyPressed",i.value||"")})),(e,t)=>(Zi(),Yi("div",ha(e.$attrs,{
class:"bg-b-1 border-b-3 inline-block overflow-hidden rounded border-1/2 text-xxs rounded-b px-1 font-medium uppercase"
}),st(a.value),17))}}),A8=In("dark");const P8={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function D8(e,t){
return Zi(),Yi("svg",P8,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linejoin":"round",
d:"M12.707 22.88a1 1 0 0 1-1.414 0L1.119 12.708a1 1 0 0 1 0-1.414L11.293 1.119a1 1 0 0 1 1.414 0l10.174 10.174a1 1 0 0 1 0 1.414L12.707 22.881Z"
},null,-1)]))}const $8={render:D8},R8=Object.freeze(Object.defineProperty({
__proto__:null,default:$8,render:D8},Symbol.toStringTag,{value:"Module"})),N8={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function M8(e,t){return Zi(),Yi("svg",N8,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21.8 17.583V6.425a1.55 1.55 0 0 0-.854-1.383L12.691.913a1.55 1.55 0 0 0-1.381 0l-8.258 4.12A1.55 1.55 0 0 0 2.2 6.416v11.159a1.55 1.55 0 0 0 .854 1.383l8.258 4.129a1.55 1.55 0 0 0 1.382 0l8.257-4.121a1.55 1.55 0 0 0 .849-1.383"
},null,-1)]))}const I8={render:M8},L8=Object.freeze(Object.defineProperty({
__proto__:null,default:I8,render:M8},Symbol.toStringTag,{value:"Module"})),j8={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function B8(e,t){return Zi(),Yi("svg",j8,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 12a11.25 11.25 0 1 0 22.5 0 11.25 11.25 0 1 0-22.5 0"},null,-1)]))}
const Q8={render:B8},U8=Object.freeze(Object.defineProperty({__proto__:null,
default:Q8,render:B8},Symbol.toStringTag,{value:"Module"})),F8={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function z8(e,t){return Zi(),Yi("svg",F8,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25.75h19.5s1.5 0 1.5 1.5v19.5s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V2.25s0-1.5 1.5-1.5"
},null,-1)]))}const q8={render:z8},H8=Object.freeze(Object.defineProperty({
__proto__:null,default:q8,render:z8},Symbol.toStringTag,{value:"Module"})),V8={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Z8(e,t){return Zi(),Yi("svg",V8,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25 3.923v7.614A11.91 11.91 0 0 0 9.882 22.65l1.041.4a3 3 0 0 0 2.154 0l1.041-.4a11.91 11.91 0 0 0 7.632-11.113V3.923a1.49 1.49 0 0 0-.868-1.362A21.7 21.7 0 0 0 12 .75a21.7 21.7 0 0 0-8.882 1.811 1.49 1.49 0 0 0-.868 1.362"
},null,-1)]))}const W8={render:Z8},X8=Object.freeze(Object.defineProperty({
__proto__:null,default:W8,render:Z8},Symbol.toStringTag,{value:"Module"})),G8={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Y8(e,t){return Zi(),Yi("svg",G8,t[0]||(t[0]=[ra("g",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"
},[ra("path",{d:"M15.75 23.25h-7.5l.75-4.5h6zm-9.75 0h12M.75 14.75h22.5"
}),ra("path",{d:"M3.75.75h16.5s3 0 3 3v12s0 3-3 3H3.75s-3 0-3-3v-12s0-3 3-3"
})],-1)]))}const K8={render:Y8},J8=Object.freeze(Object.defineProperty({
__proto__:null,default:K8,render:Y8},Symbol.toStringTag,{value:"Module"})),e6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function t6(e,t){return Zi(),Yi("svg",e6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25 4.5h12s1.5 0 1.5 1.5v9s0 1.5-1.5 1.5h-12s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m16.5 3h1.5l1.5-1.5a1.5 1.5 0 0 1 1.5 1.5V18a1.5 1.5 0 0 1-1.5 1.5l-1.5-1.5h-1.5m-10.5-1.5v3m-3 0h6m9-9h-1.5m1.5 3h-1.5"
},null,-1)]))}const n6={render:t6},r6=Object.freeze(Object.defineProperty({
__proto__:null,default:n6,render:t6},Symbol.toStringTag,{value:"Module"})),o6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function i6(e,t){return Zi(),Yi("svg",o6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21 14.25V4.5A1.5 1.5 0 0 0 19.5 3h-15A1.5 1.5 0 0 0 3 4.5v9.75Zm2.121 4.641A1.5 1.5 0 0 1 21.75 21H2.25a1.5 1.5 0 0 1-1.371-2.109L3 14.25h18ZM10.5 18h3"
},null,-1)]))}const a6={render:i6},s6=Object.freeze(Object.defineProperty({
__proto__:null,default:a6,render:i6},Symbol.toStringTag,{value:"Module"})),l6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function c6(e,t){return Zi(),Yi("svg",l6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.875.75h8.25s3 0 3 3v16.5s0 3-3 3h-8.25s-3 0-3-3V3.75s0-3 3-3"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M8.834 3.633h1.402s1 0 1 1v4.983s0 1-1 1H8.834s-1 0-1-1V4.633s0-1 1-1"
},null,-1)]))}const u6={render:c6},d6=Object.freeze(Object.defineProperty({
__proto__:null,default:u6,render:c6},Symbol.toStringTag,{value:"Module"})),p6={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function h6(e,t){
return Zi(),Yi("svg",p6,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M16.125.75h-8.25a3 3 0 0 0-3 3v16.5a3 3 0 0 0 3 3h8.25a3 3 0 0 0 3-3V3.75a3 3 0 0 0-3-3"
},null,-1),ra("path",{stroke:"currentColor",
d:"M12 3.775a.25.25 0 1 1 0-.5m0 .5a.25.25 0 1 0 0-.5"},null,-1)]))}const f6={
render:h6},m6=Object.freeze(Object.defineProperty({__proto__:null,default:f6,
render:h6},Symbol.toStringTag,{value:"Module"})),g6={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function v6(e,t){
return Zi(),Yi("svg",g6,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M17.401.75H6.598c-1.08 0-1.957.876-1.957 1.957v18.586c0 1.08.876 1.957 1.957 1.957h10.803c1.08 0 1.957-.876 1.957-1.957V2.707c0-1.08-.876-1.957-1.957-1.957"
},null,-1),ra("path",{stroke:"currentColor",
d:"M8.459 8.695a.5.5 0 0 1 0-1m0 1a.5.5 0 0 0 0-1m0-2.75a.5.5 0 0 1 0-1m0 1a.5.5 0 0 0 0-1m3.5 3a.5.5 0 0 1 0-1m0 1a.5.5 0 0 0 0-1"
},null,-1)]))}const b6={render:v6},O6=Object.freeze(Object.defineProperty({
__proto__:null,default:b6,render:v6},Symbol.toStringTag,{value:"Module"})),y6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function w6(e,t){return Zi(),Yi("svg",y6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.598.75h10.803s1.957 0 1.957 1.957v18.586s0 1.957-1.957 1.957H6.598s-1.957 0-1.957-1.957V2.707S4.641.75 6.598.75"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M15.02 4.052H8.98a1.06 1.06 0 0 1-1.049-.9L7.576.75h8.848l-.355 2.4a1.06 1.06 0 0 1-1.049.902"
},null,-1)]))}const k6={render:w6},x6=Object.freeze(Object.defineProperty({
__proto__:null,default:k6,render:w6},Symbol.toStringTag,{value:"Module"})),S6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function _6(e,t){return Zi(),Yi("svg",S6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m13.5 22.5-2.929-2.344A1.64 1.64 0 0 1 10 18.48h0a1.637 1.637 0 0 1 2.321-1.067L13.5 18v-5.25a1.5 1.5 0 0 1 1.5-1.5h0a1.5 1.5 0 0 1 1.5 1.5v3l1.993.332A3 3 0 0 1 21 19.041V22.5M5.247 6h7.5m-7.5 3h7.5m-7.5 3h3.75"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.5 18H2.247a1.5 1.5 0 0 1-1.5-1.5V3a1.5 1.5 0 0 1 1.5-1.5h19.5a1.5 1.5 0 0 1 1.5 1.5v12m-4.5-13.5v9"
},null,-1)]))}const E6={render:_6},T6=Object.freeze(Object.defineProperty({
__proto__:null,default:E6,render:_6},Symbol.toStringTag,{value:"Module"})),C6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function A6(e,t){return Zi(),Yi("svg",C6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.744 18.75h16.5M5.247.75h13.5s1.5 0 1.5 1.5v19.5s0 1.5-1.5 1.5h-13.5s-1.5 0-1.5-1.5V2.25s0-1.5 1.5-1.5"
},null,-1)]))}const P6={render:A6},D6=Object.freeze(Object.defineProperty({
__proto__:null,default:P6,render:A6},Symbol.toStringTag,{value:"Module"})),$6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function R6(e,t){return Zi(),Yi("svg",$6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.75.75h16.5s3 0 3 3v16.5s0 3-3 3H3.75s-3 0-3-3V3.75s0-3 3-3"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M18 6H6a1.5 1.5 0 0 0-1.5 1.5v6A1.5 1.5 0 0 0 6 15h3v1.5a1.5 1.5 0 0 0 1.5 1.5h3a1.5 1.5 0 0 0 1.5-1.5V15h3a1.5 1.5 0 0 0 1.5-1.5v-6A1.5 1.5 0 0 0 18 6m-6 0v3.75M8.25 6v3.75M15.75 6v3.75"
},null,-1)]))}const N6={render:R6},M6=Object.freeze(Object.defineProperty({
__proto__:null,default:N6,render:R6},Symbol.toStringTag,{value:"Module"})),I6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function L6(e,t){return Zi(),Yi("svg",I6,t[0]||(t[0]=[ra("g",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"
},[ra("path",{d:"M.75 12a11.25 11.25 0 1 0 22.5 0 11.25 11.25 0 1 0-22.5 0"
}),ra("path",{
d:"M9.88 23.05c-1.57-2.2-2.63-6.33-2.63-11S8.31 3.15 9.88 1m4.24 22.05c1.57-2.2 2.63-6.33 2.63-11S15.69 3.15 14.12 1M.75 12h22.5m-21.2 5.25h19.9M2.05 6.75h19.9"
})],-1)]))}const j6={render:L6},B6=Object.freeze(Object.defineProperty({
__proto__:null,default:j6,render:L6},Symbol.toStringTag,{value:"Module"})),Q6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function U6(e,t){return Zi(),Yi("svg",Q6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M9 18.75a3 3 0 1 0 6 0 3 3 0 1 0-6 0m8.3-5.303a7.5 7.5 0 0 0-10.606 0m13.791-3.182a12 12 0 0 0-16.97 0"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M23.25 6.681a16.5 16.5 0 0 0-22.5 0"},null,-1)]))}const F6={render:U6
},z6=Object.freeze(Object.defineProperty({__proto__:null,default:F6,render:U6
},Symbol.toStringTag,{value:"Module"})),q6={xmlns:"http://www.w3.org/2000/svg",
fill:"none","stroke-width":"1.5",viewBox:"0 0 24 24"};function H6(e,t){
return Zi(),Yi("svg",q6,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.125 21.751v1.5m15.75-1.5v1.5M9.75 15.001v6.75m7.5-6.75v-8.25m-2.121-2.122a3 3 0 0 1 4.242 0m-6.364-2.121a6 6 0 0 1 8.486 0m-1.618 19.243a3.375 3.375 0 0 0 0-6.75H4.125a3.375 3.375 0 0 0 0 6.75z"
},null,-1),ra("path",{stroke:"currentColor",
d:"M18.75 18.75a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m-4.5.75a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"
},null,-1)]))}const V6={render:H6},Z6=Object.freeze(Object.defineProperty({
__proto__:null,default:V6,render:H6},Symbol.toStringTag,{value:"Module"})),W6={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function X6(e,t){
return Zi(),Yi("svg",W6,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.726.75h10.5m-1.5 7.5V.75h-7.5v7.5L1.489 18.615A3 3 0 0 0 4 23.25h15.948a3 3 0 0 0 2.515-4.635zm-10.425 4.5h13.35m-4.425 4.5h3m-1.5-1.5v3m0-15h-3m3 3h-3"
},null,-1),ra("path",{stroke:"currentColor",
d:"M6.726 19.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m3-2.25a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"
},null,-1)]))}const G6={render:X6},Y6=Object.freeze(Object.defineProperty({
__proto__:null,default:G6,render:X6},Symbol.toStringTag,{value:"Module"})),K6={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function J6(e,t){return Zi(),Yi("svg",K6,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linejoin":"round",
d:"m5.5 23.247 4.052-9.454a.75.75 0 0 0-.689-1.046H5.9a.75.75 0 0 1-.69-1.047L9.8 1.2a.75.75 0 0 1 .687-.45h7.7a.75.75 0 0 1 .585 1.219l-4.05 5.063a.75.75 0 0 0 .586 1.218h3.382a.75.75 0 0 1 .53 1.281Z"
},null,-1)]))}const e9={render:J6},t9=Object.freeze(Object.defineProperty({
__proto__:null,default:e9,render:J6},Symbol.toStringTag,{value:"Module"})),n9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function r9(e,t){return Zi(),Yi("svg",n9,t[0]||(t[0]=[ra("g",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"
},[ra("path",{
d:"M2.25.75h19.5s1.5 0 1.5 1.5v19.5s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V2.25s0-1.5 1.5-1.5M12 15.72v7.53"
}),ra("path",{
d:"M13.69 13.82a.73.73 0 0 1 .35-.47.74.74 0 0 1 .58-.07 2.22 2.22 0 0 0 2.49-.51c.36-.61 0-1.64-.8-2.41a.78.78 0 0 1-.23-.54.76.76 0 0 1 .23-.54c.8-.77 1.16-1.81.8-2.42a2.22 2.22 0 0 0-2.49-.51.74.74 0 0 1-.62-.07.73.73 0 0 1-.35-.47c-.27-1.08-1-1.9-1.69-1.9s-1.42.82-1.69 1.9a.73.73 0 0 1-.35.47.74.74 0 0 1-.58.07 2.22 2.22 0 0 0-2.49.51c-.36.61 0 1.65.8 2.42a.76.76 0 0 1 .23.54.78.78 0 0 1-.23.54c-.8.77-1.16 1.8-.8 2.41a2.22 2.22 0 0 0 2.49.51.74.74 0 0 1 .58.07.73.73 0 0 1 .35.47c.27 1.08 1 1.9 1.69 1.9s1.46-.82 1.73-1.9"
}),ra("path",{
d:"M10.5 9.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0M8.71 20.62A4.45 4.45 0 0 1 7 19.94c-1.76-1.08-3.17-4-3.17-4a9.2 9.2 0 0 1 5.19 1.2m6.33 3.48a4.3 4.3 0 0 0 1.65-.68c1.77-1.08 3.18-4 3.18-4a9.27 9.27 0 0 0-5.2 1.2"
})],-1)]))}const o9={render:r9},i9=Object.freeze(Object.defineProperty({
__proto__:null,default:o9,render:r9},Symbol.toStringTag,{value:"Module"})),a9={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function s9(e,t){
return Zi(),Yi("svg",a9,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
d:"M12 17.25a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-miterlimit":"10",d:"M12 13.5V6"},null,-1),ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M1.28 13.281a1.81 1.81 0 0 1 0-2.561l9.44-9.439a1.81 1.81 0 0 1 2.56 0l9.44 9.439a1.81 1.81 0 0 1 0 2.561l-9.44 9.439a1.81 1.81 0 0 1-2.56 0z"
},null,-1)]))}const l9={render:s9},c9=Object.freeze(Object.defineProperty({
__proto__:null,default:l9,render:s9},Symbol.toStringTag,{value:"Module"})),u9={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function d9(e,t){
return Zi(),Yi("svg",u9,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
d:"M12 19.5a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-miterlimit":"10",d:"M12 15.75v-7.5"},null,-1),ra("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M13.621 1.76a1.806 1.806 0 0 0-3.242 0L.906 21.058a1.52 1.52 0 0 0 1.366 2.192h19.456a1.52 1.52 0 0 0 1.366-2.192z"
},null,-1)]))}const p9={render:d9},h9=Object.freeze(Object.defineProperty({
__proto__:null,default:p9,render:d9},Symbol.toStringTag,{value:"Module"})),f9={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function m9(e,t){
return Zi(),Yi("svg",f9,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M14.25 16.5h-.75A1.5 1.5 0 0 1 12 15v-3.75a.75.75 0 0 0-.75-.75h-.75"
},null,-1),ra("path",{stroke:"currentColor",
d:"M11.625 7.5a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M12 23.25c6.213 0 11.25-5.037 11.25-11.25S18.213.75 12 .75.75 5.787.75 12 5.787 23.25 12 23.25"
},null,-1)]))}const g9={render:m9},v9=Object.freeze(Object.defineProperty({
__proto__:null,default:g9,render:m9},Symbol.toStringTag,{value:"Module"})),b9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function O9(e,t){return Zi(),Yi("svg",b9,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m21.92 17 1.32-10a.75.75 0 0 0-1.08-.78l-4.28 3.34a.74.74 0 0 1-1.09-.16l-4.23-6.18a.74.74 0 0 0-1.12 0L7.21 9.4a.74.74 0 0 1-1.09.16L1.84 6.3a.75.75 0 0 0-1.08.78L2.08 17ZM2.25 21.03h19.5"
},null,-1)]))}const y9={render:O9},w9=Object.freeze(Object.defineProperty({
__proto__:null,default:y9,render:O9},Symbol.toStringTag,{value:"Module"})),k9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function x9(e,t){return Zi(),Yi("svg",k9,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M1.061 2.56v6.257a3 3 0 0 0 .878 2.121L13.5 22.5a1.5 1.5 0 0 0 2.121 0l6.879-6.88a1.5 1.5 0 0 0 0-2.121L10.939 1.938a3 3 0 0 0-2.121-.878H2.561a1.5 1.5 0 0 0-1.5 1.5"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.811 6.31a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"},null,-1)]))}const S9={
render:x9},_9=Object.freeze(Object.defineProperty({__proto__:null,default:S9,
render:x9},Symbol.toStringTag,{value:"Module"})),E9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function T9(e,t){return Zi(),Yi("svg",E9,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M18.32 22.767 12 18.343l-6.32 4.424a.75.75 0 0 1-1.18-.614V2.593a1.5 1.5 0 0 1 1.5-1.5h12a1.5 1.5 0 0 1 1.5 1.5v19.56a.75.75 0 0 1-1.18.614M9 1.094v19.349m6-19.349v19.349"
},null,-1)]))}const C9={render:T9},A9=Object.freeze(Object.defineProperty({
__proto__:null,default:C9,render:T9},Symbol.toStringTag,{value:"Module"})),P9={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function D9(e,t){
return Zi(),Yi("svg",P9,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10",
d:"M10.05 19.15h4m-4-4.2 1.3-1.3c.1-.1.3-.2.4-.2s.2.1.2.2v5.5"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round","stroke-miterlimit":"10",
d:"M23.25 21.75c0 .8-.7 1.5-1.5 1.5H2.25c-.8 0-1.5-.7-1.5-1.5V5.25c0-.8.7-1.5 1.5-1.5h19.5c.8 0 1.5.7 1.5 1.5zm-22.5-13h22.5m-16.4-2.8V.75m10.4 5.2V.75"
},null,-1)]))}const $9={render:D9},R9=Object.freeze(Object.defineProperty({
__proto__:null,default:$9,render:D9},Symbol.toStringTag,{value:"Module"})),N9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function M9(e,t){return Zi(),Yi("svg",N9,t[0]||(t[0]=[ra("g",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"
},[ra("path",{
d:"M18 4.14a30.5 30.5 0 0 1 4.73-.39.55.55 0 0 1 .37.14.5.5 0 0 1 .15.36V20a.51.51 0 0 1-.5.5C14.46 20.62 12 23.25 12 23.25V6.48S9.55 3.86 1.27 3.75a.55.55 0 0 0-.37.14.5.5 0 0 0-.15.36V20a.51.51 0 0 0 .5.5C9.54 20.62 12 23.25 12 23.25"
}),ra("path",{
d:"M12 22.76a6 6 0 0 1 1.64-3.45A8.18 8.18 0 0 1 18 16.85V1.24a.46.46 0 0 0-.23-.4.6.6 0 0 0-.49-.06 7.8 7.8 0 0 0-3.64 2.27A6.2 6.2 0 0 0 12 6.48"
})],-1)]))}const I9={render:M9},L9=Object.freeze(Object.defineProperty({
__proto__:null,default:I9,render:M9},Symbol.toStringTag,{value:"Module"})),j9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function B9(e,t){return Zi(),Yi("svg",j9,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M16.5 21.513a1.5 1.5 0 0 1-1.9 1.446L4.1 20.042A1.5 1.5 0 0 1 3 18.6V2.487a1.5 1.5 0 0 1 1.9-1.446l10.5 3.391a1.5 1.5 0 0 1 1.1 1.445Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.5.987h15a1.5 1.5 0 0 1 1.5 1.5v15.75a1.5 1.5 0 0 1-1.5 1.5h-3"
},null,-1)]))}const Q9={render:B9},U9=Object.freeze(Object.defineProperty({
__proto__:null,default:Q9,render:B9},Symbol.toStringTag,{value:"Module"})),F9={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function z9(e,t){
return Zi(),Yi("svg",F9,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.75 23.25h16.5a1.5 1.5 0 0 0 1.5-1.5V8.121a1.5 1.5 0 0 0-.439-1.06l-5.872-5.872a1.5 1.5 0 0 0-1.06-.439H3.75c-.817 0-1.5.683-1.5 1.5v19.5c0 .817.683 1.5 1.5 1.5"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M21.75 8.25h-6a1.5 1.5 0 0 1-1.5-1.5v-6"
},null,-1)]))}const q9={render:z9},H9=Object.freeze(Object.defineProperty({
__proto__:null,default:q9,render:z9},Symbol.toStringTag,{value:"Module"})),V9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Z9(e,t){return Zi(),Yi("svg",V9,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21.75 8.25a1.5 1.5 0 0 0-1.5-1.5H10.5l-1.8-2.4a1.5 1.5 0 0 0-1.2-.6H3.75a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5h16.5a1.5 1.5 0 0 0 1.5-1.5Z"
},null,-1)]))}const W9={render:Z9},X9=Object.freeze(Object.defineProperty({
__proto__:null,default:W9,render:Z9},Symbol.toStringTag,{value:"Module"})),G9={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Y9(e,t){return Zi(),Yi("svg",G9,t[0]||(t[0]=[ra("g",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"
},[ra("path",{
d:"M7.75 3.75h-4a1.5 1.5 0 0 0-1.5 1.5v16.5a1.5 1.5 0 0 0 1.5 1.5h16.5a1.5 1.5 0 0 0 1.5-1.5V5.25a1.5 1.5 0 0 0-1.5-1.5h-4"
}),ra("path",{
d:"M15.92 4.74a.75.75 0 0 1-.71.51H8.79a.75.75 0 0 1-.71-.51l-1-3a.75.75 0 0 1 .1-.68.77.77 0 0 1 .61-.31h8.42a.77.77 0 0 1 .61.31.75.75 0 0 1 .1.68Zm2.83 2.01v9.88a1.5 1.5 0 0 1-.44 1.06l-2.12 2.12a1.5 1.5 0 0 1-1.06.44H6a.76.76 0 0 1-.75-.75V6.75"
}),ra("path",{d:"M13.75 20.25v-3.5a1.5 1.5 0 0 1 1.5-1.5h3.5"})],-1)]))}
const K9={render:Y9},J9=Object.freeze(Object.defineProperty({__proto__:null,
default:K9,render:Y9},Symbol.toStringTag,{value:"Module"})),eee={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function tee(e,t){return Zi(),Yi("svg",eee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M23.25 9.9 12.273 20.878a6.75 6.75 0 0 1-9.546-9.546l9.016-9.015a4.5 4.5 0 1 1 6.363 6.363L9.091 17.7a2.25 2.25 0 0 1-3.182-3.181L14.925 5.5"
},null,-1)]))}const nee={render:tee},ree=Object.freeze(Object.defineProperty({
__proto__:null,default:nee,render:tee},Symbol.toStringTag,{value:"Module"
})),oee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function iee(e,t){
return Zi(),Yi("svg",oee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 18a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"},null,-1),ra("path",{
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M9.75 18V4.125a2.625 2.625 0 0 0-5.156-.7L.911 16.805M14.25 18a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M14.25 18V4.125a2.625 2.625 0 0 1 5.156-.7l3.683 13.377"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.75 9h4.5v3h-4.5z"
},null,-1)]))}const aee={render:iee},see=Object.freeze(Object.defineProperty({
__proto__:null,default:aee,render:iee},Symbol.toStringTag,{value:"Module"
})),lee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function cee(e,t){
return Zi(),Yi("svg",lee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m22.151 2.85-1.259 3.439 2.121 2.122a.735.735 0 0 1-.541 1.273l-3.653-.029-1.319 3.363a.785.785 0 0 1-1.485-.1L14.932 9.07 11.08 7.991a.786.786 0 0 1-.1-1.486l3.363-1.323-.029-3.653a.734.734 0 0 1 1.274-.543l2.122 2.121 3.441-1.257a.8.8 0 0 1 1 1m-7.219 6.22L.75 23.25"
},null,-1)]))}const uee={render:cee},dee=Object.freeze(Object.defineProperty({
__proto__:null,default:uee,render:cee},Symbol.toStringTag,{value:"Module"
})),pee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function hee(e,t){
return Zi(),Yi("svg",pee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M5.625.75h13.5s1.5 0 1.5 1.5v4.5s0 1.5-1.5 1.5h-13.5s-1.5 0-1.5-1.5v-4.5s0-1.5 1.5-1.5"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.125 4.5h-1.5a1.5 1.5 0 0 0-1.5 1.5v3.75a1.5 1.5 0 0 0 1.5 1.5h8.25a1.5 1.5 0 0 1 1.5 1.5v1.5m.75 9h-1.5a1.5 1.5 0 0 1-1.5-1.5V16.5a2.25 2.25 0 0 1 2.25-2.25h0a2.25 2.25 0 0 1 2.25 2.25v5.25a1.5 1.5 0 0 1-1.5 1.5m7.5-18.75h2.25"
},null,-1)]))}const fee={render:hee},mee=Object.freeze(Object.defineProperty({
__proto__:null,default:fee,render:hee},Symbol.toStringTag,{value:"Module"
})),gee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function vee(e,t){
return Zi(),Yi("svg",gee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22.192 1.814a3.63 3.63 0 0 0-5.157.035L2.57 16.31.75 23.25l6.942-1.819L22.157 6.97a3.63 3.63 0 0 0 .035-5.156m-5.571.449 5.122 5.12m-7.211-3.032 5.122 5.12"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m2.57 16.31 3.59 1.532 1.536 3.584m9.397-14.515L6.16 17.841"},null,-1)]))}
const bee={render:vee},Oee=Object.freeze(Object.defineProperty({__proto__:null,
default:bee,render:vee},Symbol.toStringTag,{value:"Module"})),yee={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function wee(e,t){return Zi(),Yi("svg",yee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.807 13.042.75 18l3.75.75 1.5 4.5 3.944-6.258m9.249-3.95L23.25 18l-3.75.75-1.5 4.5-3.944-6.258"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.75 9a8.25 8.25 0 1 0 16.5 0 8.25 8.25 0 1 0-16.5 0"},null,-1),ra("path",{
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"m12.531 4.292 1.248 2.458h2.127a.582.582 0 0 1 .419 1l-1.953 1.918 1.082 2.485a.589.589 0 0 1-.839.737L12 11.419 9.385 12.89a.589.589 0 0 1-.839-.737l1.082-2.485-1.953-1.922a.582.582 0 0 1 .419-1h2.127l1.249-2.454a.6.6 0 0 1 1.061 0"
},null,-1)]))}const kee={render:wee},xee=Object.freeze(Object.defineProperty({
__proto__:null,default:kee,render:wee},Symbol.toStringTag,{value:"Module"
})),See={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function _ee(e,t){
return Zi(),Yi("svg",See,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.875.75v22.5m0-7.5 14.25-8.25L4.875.75"},null,-1)]))}const Eee={render:_ee
},Tee=Object.freeze(Object.defineProperty({__proto__:null,default:Eee,render:_ee
},Symbol.toStringTag,{value:"Module"})),Cee={xmlns:"http://www.w3.org/2000/svg",
fill:"none","stroke-width":"1.5",viewBox:"0 0 24 24"};function Aee(e,t){
return Zi(),Yi("svg",Cee,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M1.157 8.889A6.126 6.126 0 0 1 12 4.98a6.126 6.126 0 1 1 8.707 8.556l-8.027 7.435a1 1 0 0 1-1.359 0l-8.017-7.425a6.11 6.11 0 0 1-2.146-4.657Z"
},null,-1)]))}const Pee={render:Aee},Dee=Object.freeze(Object.defineProperty({
__proto__:null,default:Pee,render:Aee},Symbol.toStringTag,{value:"Module"
})),$ee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Ree(e,t){
return Zi(),Yi("svg",$ee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m12.729 1.2 3.346 6.629 6.44.638a.805.805 0 0 1 .5 1.374l-5.3 5.253 1.965 7.138a.813.813 0 0 1-1.151.935L12 19.934l-6.52 3.229a.813.813 0 0 1-1.151-.935l1.965-7.138L.99 9.837a.805.805 0 0 1 .5-1.374l6.44-.638L11.271 1.2a.819.819 0 0 1 1.458 0"
},null,-1)]))}const Nee={render:Ree},Mee=Object.freeze(Object.defineProperty({
__proto__:null,default:Nee,render:Ree},Symbol.toStringTag,{value:"Module"
})),Iee={xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Lee(e,t){
return Zi(),Yi("svg",Iee,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M16.625 13.724c-4.988 1.68-6.632 3.552-7.848 8.213-1.216-4.66-2.86-6.532-7.848-8.213 4.988-1.68 6.632-3.552 7.848-8.214 1.216 4.662 2.86 6.533 7.848 8.214m6.188-7.776c-2.814.944-3.741 1.996-4.427 4.615-.686-2.619-1.614-3.67-4.427-4.615 2.813-.944 3.74-1.996 4.427-4.615.686 2.62 1.613 3.67 4.427 4.615m.365 13.614c-2.082.684-2.769 1.446-3.276 3.344-.508-1.898-1.195-2.66-3.277-3.344 2.082-.684 2.769-1.446 3.277-3.344.507 1.898 1.194 2.66 3.276 3.344"
},null,-1)]))}const jee={render:Lee},Bee=Object.freeze(Object.defineProperty({
__proto__:null,default:jee,render:Lee},Symbol.toStringTag,{value:"Module"
})),Qee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Uee(e,t){
return Zi(),Yi("svg",Qee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M9 3.75a3 3 0 1 0 6 0 3 3 0 1 0-6 0m7 16.5a3 3 0 1 0 6 0 3 3 0 1 0-6 0m-14 0a3 3 0 1 0 6 0 3 3 0 1 0-6 0"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M12 6.75V8.5A3.5 3.5 0 0 1 8.5 12 3.5 3.5 0 0 0 5 15.5v1.75m7-10.5V8.5a3.5 3.5 0 0 0 3.5 3.5 3.5 3.5 0 0 1 3.5 3.5v1.75"
},null,-1)]))}const Fee={render:Uee},zee=Object.freeze(Object.defineProperty({
__proto__:null,default:Fee,render:Uee},Symbol.toStringTag,{value:"Module"
})),qee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Hee(e,t){
return Zi(),Yi("svg",qee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.753 13.944v8.25h6v-6a1.5 1.5 0 0 1 1.5-1.5h1.5a1.5 1.5 0 0 1 1.5 1.5v6h6v-8.25m-19.5-1.5L10.942 2.255a1.5 1.5 0 0 1 2.122 0l10.189 10.189"
},null,-1)]))}const Vee={render:Hee},Zee=Object.freeze(Object.defineProperty({
__proto__:null,default:Vee,render:Hee},Symbol.toStringTag,{value:"Module"
})),Wee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Xee(e,t){
return Zi(),Yi("svg",Wee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m6.75 17.249 10.5-10.5m-9.515 5.272a4.47 4.47 0 0 0-3.417 1.3l-2.25 2.25a4.5 4.5 0 0 0 6.364 6.364l2.25-2.25a4.47 4.47 0 0 0 1.3-3.417m4.283-4.292a4.47 4.47 0 0 0 3.417-1.3l2.25-2.25a4.5 4.5 0 0 0-6.364-6.364l-2.25 2.25a4.47 4.47 0 0 0-1.295 3.417"
},null,-1)]))}const Gee={render:Xee},Yee=Object.freeze(Object.defineProperty({
__proto__:null,default:Gee,render:Xee},Symbol.toStringTag,{value:"Module"
})),Kee={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Jee(e,t){
return Zi(),Yi("svg",Kee,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M9.001 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0m3-10.5v2.25m0 16.5v2.25m10.5-10.5h-2.25m-16.5 0h-2.25m17.924-7.424-1.591 1.591M6.167 17.834l-1.591 1.591m14.849 0-1.591-1.591M6.167 6.167 4.576 4.576"
},null,-1)]))}const ete={render:Jee},tte=Object.freeze(Object.defineProperty({
__proto__:null,default:ete,render:Jee},Symbol.toStringTag,{value:"Module"
})),nte={xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function rte(e,t){
return Zi(),Yi("svg",nte,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M18.75 9.75H5.25a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-10.5a1.5 1.5 0 0 0-1.5-1.5m-12 0V6a5.25 5.25 0 1 1 10.5 0v3.75"
},null,-1),ra("path",{stroke:"currentColor",
d:"M12 16.5a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"},null,-1)]))}
const ote={render:rte},ite=Object.freeze(Object.defineProperty({__proto__:null,
default:ote,render:rte},Symbol.toStringTag,{value:"Module"})),ate={
xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function ste(e,t){
return Zi(),Yi("svg",ate,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 9.75V6a5.25 5.25 0 1 1 10.5 0v3.75m10.5 0H8.25a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-10.5a1.5 1.5 0 0 0-1.5-1.5"
},null,-1),ra("path",{stroke:"currentColor",
d:"M15 16.5a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"},null,-1)]))}
const lte={render:ste},cte=Object.freeze(Object.defineProperty({__proto__:null,
default:lte,render:ste},Symbol.toStringTag,{value:"Module"})),ute={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function dte(e,t){return Zi(),Yi("svg",ute,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M18.494 11.575 16.217 9.3l2.121-2.122 2.277 2.277a1.5 1.5 0 0 0 2.121-2.121L20.46 5.056 21.52 4a1.5 1.5 0 0 0-2.12-2.126L8.638 12.635a5.249 5.249 0 1 0 2.122 2.121l3.34-3.336 2.273 2.28a1.5 1.5 0 1 0 2.121-2.122Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.277 17.243a1.875 1.875 0 1 0 3.75 0 1.875 1.875 0 1 0-3.75 0"},null,-1)]))
}const pte={render:dte},hte=Object.freeze(Object.defineProperty({__proto__:null,
default:pte,render:dte},Symbol.toStringTag,{value:"Module"})),fte={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function mte(e,t){return Zi(),Yi("svg",fte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M1.472 13.357a9.063 9.063 0 1 0 16.682-7.09 9.063 9.063 0 1 0-16.682 7.09m14.749 2.863 7.029 7.03"
},null,-1)]))}const gte={render:mte},vte=Object.freeze(Object.defineProperty({
__proto__:null,default:gte,render:mte},Symbol.toStringTag,{value:"Module"
})),bte={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Ote(e,t){
return Zi(),Yi("svg",bte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"},null,-1)]))}const yte={
render:Ote},wte=Object.freeze(Object.defineProperty({__proto__:null,default:yte,
render:Ote},Symbol.toStringTag,{value:"Module"})),kte={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function xte(e,t){return Zi(),Yi("svg",kte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.75 15.25H4.5a3.75 3.75 0 0 1 0-7.5h2.25Zm0 0a22.3 22.3 0 0 1 12.366 3.744l1.134.756V3.25l-1.134.756A22.3 22.3 0 0 1 6.75 7.75ZM23.25 10v3m-16.5 2.25A7.24 7.24 0 0 0 9 20.5"
},null,-1)]))}const Ste={render:xte},_te=Object.freeze(Object.defineProperty({
__proto__:null,default:Ste,render:xte},Symbol.toStringTag,{value:"Module"
})),Ete={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Tte(e,t){
return Zi(),Yi("svg",Ete,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m22.5 1.567-2.158.24a7.5 7.5 0 0 0-4.475 2.151L6.06 13.765l4.24 4.242L20.109 8.2a7.5 7.5 0 0 0 2.151-4.475ZM6.06 13.765l-3.622-1.208a.75.75 0 0 1-.293-1.241l.232-.232a6 6 0 0 1 6.14-1.45l1.255.418Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m6.06 13.765-3.622-1.208a.75.75 0 0 1-.293-1.241l.232-.232a6 6 0 0 1 6.14-1.45l1.255.418Zm4.24 4.242 1.208 3.622a.75.75 0 0 0 1.241.293l.233-.232a6 6 0 0 0 1.449-6.14l-.416-1.25Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m10.3 18.007 1.208 3.622a.75.75 0 0 0 1.241.293l.233-.232a6 6 0 0 0 1.449-6.14l-.416-1.25Zm-2.521.531a2.24 2.24 0 0 1-.659 1.591c-.878.878-5.3 2.121-5.3 2.121s1.243-4.425 2.121-5.3a2.25 2.25 0 0 1 1.444-.655"
},null,-1)]))}const Cte={render:Tte},Ate=Object.freeze(Object.defineProperty({
__proto__:null,default:Cte,render:Tte},Symbol.toStringTag,{value:"Module"
})),Pte={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Dte(e,t){
return Zi(),Yi("svg",Pte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M20.828 14.357A8.25 8.25 0 0 1 9.161 2.689Zm.531-9.016a2.25 2.25 0 1 1 0-3.182 2.25 2.25 0 0 1 0 3.182m-3.182 0-3.182 3.182M3.25 22.522l4.243-4.242a1.5 1.5 0 0 1 2.121 0l4.243 4.242"
},null,-1)]))}const $te={render:Dte},Rte=Object.freeze(Object.defineProperty({
__proto__:null,default:$te,render:Dte},Symbol.toStringTag,{value:"Module"
})),Nte={xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Mte(e,t){
return Zi(),Yi("svg",Nte,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m6.21 7.185 10.606 10.607-3.36 3.359a2 2 0 0 1-2.827 0L2.85 13.373a2 2 0 0 1 0-2.829z"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M16.816 17.791 6.209 7.184l4.072-2.768a6.8 6.8 0 0 1 8.656.647 6.8 6.8 0 0 1 .647 8.656z"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M15.225 11.025a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5M6.209 7.184l-2.444-.277a3.5 3.5 0 0 0-2.543 1.022l-.216.216a.905.905 0 0 0 .019 1.28l1.517 1.517m14.274 6.849.277 2.444a3.5 3.5 0 0 1-1.022 2.543l-.216.216a.907.907 0 0 1-1.28-.019l-1.517-1.517M2.25 21.75h3m-1.5-1.5v3m-2.25-21h3M3 .75v3m17.25 13.5h3m-1.5-1.5v3"
},null,-1),ra("path",{stroke:"currentColor",
d:"M1.125 17.25a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m8.25-15a.375.375 0 0 1 0-.75m0 .75a.375.375 0 1 0 0-.75m11.25 21.75a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75"
},null,-1)]))}const Ite={render:Mte},Lte=Object.freeze(Object.defineProperty({
__proto__:null,default:Ite,render:Mte},Symbol.toStringTag,{value:"Module"
})),jte={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Bte(e,t){
return Zi(),Yi("svg",jte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M1.5 11.25a3.75 3.75 0 1 0 7.5 0 3.75 3.75 0 1 0-7.5 0M15 6a3.75 3.75 0 1 0 7.5 0A3.75 3.75 0 1 0 15 6m0 12a3.75 3.75 0 1 0 7.5 0 3.75 3.75 0 1 0-7.5 0M8.746 9.891l6.508-2.531m-6.649 5.568 6.79 3.395"
},null,-1)]))}const Qte={render:Bte},Ute=Object.freeze(Object.defineProperty({
__proto__:null,default:Qte,render:Bte},Symbol.toStringTag,{value:"Module"
})),Fte={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function zte(e,t){
return Zi(),Yi("svg",Fte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25.75h19.5s1.5 0 1.5 1.5v19.5s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V2.25s0-1.5 1.5-1.5"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.75 12.75h3L9.01 7.1a.749.749 0 0 1 1.4.029l3.292 9.325a.75.75 0 0 0 1.358.123l2.19-3.827h3"
},null,-1)]))}const qte={render:zte},Hte=Object.freeze(Object.defineProperty({
__proto__:null,default:qte,render:zte},Symbol.toStringTag,{value:"Module"
})),Vte={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Zte(e,t){
return Zi(),Yi("svg",Vte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M1.5 12a10.5 10.5 0 1 0 21 0 10.5 10.5 0 1 0-21 0M12 12V8.25M12 12l4.687 4.688"
},null,-1)]))}const Wte={render:Zte},Xte=Object.freeze(Object.defineProperty({
__proto__:null,default:Wte,render:Zte},Symbol.toStringTag,{value:"Module"
})),Gte={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Yte(e,t){
return Zi(),Yi("svg",Gte,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6 .75a1.5 1.5 0 0 0-1.5 1.5v2.367a7.5 7.5 0 0 0 15 0V2.25A1.5 1.5 0 0 0 18 .75Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M6 23.25a1.5 1.5 0 0 1-1.5-1.5v-2.367a7.5 7.5 0 0 1 15 0v2.367a1.5 1.5 0 0 1-1.5 1.5Zm-.523-15h13.046"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M18.548 23.147C17.264 20.451 14.813 18 12 18s-5.264 2.451-6.548 5.147"
},null,-1)]))}const Kte={render:Yte},Jte=Object.freeze(Object.defineProperty({
__proto__:null,default:Kte,render:Yte},Symbol.toStringTag,{value:"Module"
})),ene={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function tne(e,t){
return Zi(),Yi("svg",ene,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583"
},null,-1)]))}const nne={render:tne},rne=Object.freeze(Object.defineProperty({
__proto__:null,default:nne,render:tne},Symbol.toStringTag,{value:"Module"
})),one={xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function ine(e,t){
return Zi(),Yi("svg",one,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10",
d:"M15.607 16.785c-4.205-.6-7.71-4.005-8.31-8.31-.3-2.303.2-4.405 1.202-6.207.5-.902-.4-1.803-1.302-1.402C3.092 2.968.389 7.374.789 12.28c.4 5.707 5.207 10.512 10.913 10.913 5.007.4 9.412-2.303 11.414-6.408.5-.901-.5-1.802-1.401-1.302-1.703 1.102-3.905 1.602-6.108 1.302"
},null,-1)]))}const ane={render:ine},sne=Object.freeze(Object.defineProperty({
__proto__:null,default:ane,render:ine},Symbol.toStringTag,{value:"Module"
})),lne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function cne(e,t){
return Zi(),Yi("svg",lne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21.75 18.75h-10.5l-6 4.5v-4.5h-3a1.5 1.5 0 0 1-1.5-1.5v-15a1.5 1.5 0 0 1 1.5-1.5h19.5a1.5 1.5 0 0 1 1.5 1.5v15a1.5 1.5 0 0 1-1.5 1.5"
},null,-1)]))}const une={render:cne},dne=Object.freeze(Object.defineProperty({
__proto__:null,default:une,render:cne},Symbol.toStringTag,{value:"Module"
})),pne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function hne(e,t){
return Zi(),Yi("svg",pne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.759 15.629a1.664 1.664 0 0 1-.882-3.075L20.36 1a1.663 1.663 0 0 1 2.516 1.72l-3.6 19.173a1.664 1.664 0 0 1-2.966.691l-5.21-6.955Z"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M11.1 15.629H8.6V20.8a1.663 1.663 0 0 0 2.6 1.374l3.178-2.166Zm-.001 0 11.08-14.59"
},null,-1)]))}const fne={render:hne},mne=Object.freeze(Object.defineProperty({
__proto__:null,default:fne,render:hne},Symbol.toStringTag,{value:"Module"
})),gne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function vne(e,t){
return Zi(),Yi("svg",gne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)]))}
const bne={render:vne},One=Object.freeze(Object.defineProperty({__proto__:null,
default:bne,render:vne},Symbol.toStringTag,{value:"Module"})),yne={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function wne(e,t){return Zi(),Yi("svg",yne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M7.5 4.5h2.25m-1.5 3.75h6m-6 3.75h6m-6 3.75h6m-6 3.75h3M19.5.75H21a1.5 1.5 0 0 1 1.5 1.5V6.5a1 1 0 0 1-1 1H18h0V2.25a1.5 1.5 0 0 1 1.5-1.5"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M20.25.75H7.5a3 3 0 0 0-3 3v15c0 3-1.5 3.876-3 4.5h12a4.5 4.5 0 0 0 4.5-4.5V7.5"
},null,-1)]))}const kne={render:wne},xne=Object.freeze(Object.defineProperty({
__proto__:null,default:kne,render:wne},Symbol.toStringTag,{value:"Module"
})),Sne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function _ne(e,t){
return Zi(),Yi("svg",Sne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M16.5 3.75h-5.7a3.3 3.3 0 0 0-3.3 3.3c0 4.95 9 4.95 9 9.9a3.3 3.3 0 0 1-3.3 3.3H7.5M12 3.75v-3m0 19.5v3"
},null,-1)]))}const Ene={render:_ne},Tne=Object.freeze(Object.defineProperty({
__proto__:null,default:Ene,render:_ne},Symbol.toStringTag,{value:"Module"
})),Cne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Ane(e,t){
return Zi(),Yi("svg",Cne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M23.25 12.75V6H16.5"},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m23.25 6-7.939 7.939a1.5 1.5 0 0 1-2.122 0l-3.128-3.128a1.5 1.5 0 0 0-2.122 0L.75 18"
},null,-1)]))}const Pne={render:Ane},Dne=Object.freeze(Object.defineProperty({
__proto__:null,default:Pne,render:Ane},Symbol.toStringTag,{value:"Module"
})),$ne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Rne(e,t){
return Zi(),Yi("svg",$ne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 21.75h22.5M6 11.25H3a.75.75 0 0 0-.75.75v9.75h4.5V12a.75.75 0 0 0-.75-.75m7.5-9h-3a.75.75 0 0 0-.75.75v18.75h4.5V3a.75.75 0 0 0-.75-.75m7.5 4.5h-3a.75.75 0 0 0-.75.75v14.25h4.5V7.5a.75.75 0 0 0-.75-.75"
},null,-1)]))}const Nne={render:Rne},Mne=Object.freeze(Object.defineProperty({
__proto__:null,default:Nne,render:Rne},Symbol.toStringTag,{value:"Module"
})),Ine={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Lne(e,t){
return Zi(),Yi("svg",Ine,t[0]||(t[0]=[ra("g",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round"},[ra("path",{
d:"M10.25 21.09a7.53 7.53 0 0 1-7.53-7.53C2.72 2.64 15.86 8.25 22.19 3a.46.46 0 0 1 .48 0 .51.51 0 0 1 .3.38c1.93 11.26-6.4 17.71-12.72 17.71"
}),ra("path",{d:"M13.26 11.55a25 25 0 0 0-8.61 4.29l-3.9 3.33"})],-1)]))}
const jne={render:Lne},Bne=Object.freeze(Object.defineProperty({__proto__:null,
default:jne,render:Lne},Symbol.toStringTag,{value:"Module"})),Qne={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Une(e,t){return Zi(),Yi("svg",Qne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m15.04 22.39.012.007a5.53 5.53 0 0 0 6.884-.755l.774-.774a1.846 1.846 0 0 0 0-2.609L19.449 15a1.846 1.846 0 0 0-2.609 0h0a1.843 1.843 0 0 1-2.608 0L9.014 9.781a1.846 1.846 0 0 1 0-2.609h0a1.843 1.843 0 0 0 0-2.608L5.754 1.3a1.846 1.846 0 0 0-2.609 0l-.774.774a5.535 5.535 0 0 0-.756 6.884l.008.012A49.9 49.9 0 0 0 15.04 22.39"
},null,-1)]))}const Fne={render:Une},zne=Object.freeze(Object.defineProperty({
__proto__:null,default:Fne,render:Une},Symbol.toStringTag,{value:"Module"
})),qne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Hne(e,t){
return Zi(),Yi("svg",qne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3.75 14.298a8.25 8.25 0 1 0 16.5 0 8.25 8.25 0 1 0-16.5 0m.908-3.75h14.684m-7.342 0v12"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.292 11.351a5.23 5.23 0 0 0-2.792-.8m0 10.497a5.24 5.24 0 0 0 3.926-1.765M1.5 15.048h2.285m15.923-3.697a5.23 5.23 0 0 1 2.792-.8m0 10.497a5.24 5.24 0 0 1-3.926-1.765m3.926-4.235h-2.285M5.96 1.5c0 2.937.228 4.027 2.687 5.258M17.96 1.5c0 2.937-.228 4.027-2.687 5.258"
},null,-1)]))}const Vne={render:Hne},Zne=Object.freeze(Object.defineProperty({
__proto__:null,default:Vne,render:Hne},Symbol.toStringTag,{value:"Module"
})),Wne={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Xne(e,t){
return Zi(),Yi("svg",Wne,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5Z"
},null,-1)]))}const Gne={render:Xne},Yne=Object.freeze(Object.defineProperty({
__proto__:null,default:Gne,render:Xne},Symbol.toStringTag,{value:"Module"
})),Kne={xmlns:"http://www.w3.org/2000/svg",fill:"none","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Jne(e,t){
return Zi(),Yi("svg",Kne,t[0]||(t[0]=[ra("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M12.001 6h1.5m3 0h1.5m-6 6h1.5m3 0h1.5m-6 3v6m-7.5 0h15M21 6a3 3 0 0 1-3 3H6a3 3 0 1 1 0-6h12a3 3 0 0 1 3 3"
},null,-1),ra("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",
d:"M21 12a3 3 0 0 1-3 3H6a3 3 0 1 1 0-6h12a3 3 0 0 1 3 3"},null,-1),ra("path",{
stroke:"currentColor",
d:"M6.751 6.375a.375.375 0 1 1 0-.75m0 .75a.375.375 0 0 0 0-.75m0 6.75a.375.375 0 1 1 0-.75m0 .75a.375.375 0 1 0 0-.75M1.126 21a.375.375 0 1 1 0-.75m0 .75a.375.375 0 1 0 0-.75m21.75.75a.375.375 0 1 1 0-.75m0 .75a.375.375 0 1 0 0-.75"
},null,-1)]))}const ere={render:Jne},tre=Object.freeze(Object.defineProperty({
__proto__:null,default:ere,render:Jne},Symbol.toStringTag,{value:"Module"
})),nre={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function rre(e,t){
return Zi(),Yi("svg",nre,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 5.251a11.25 4.5 0 1 0 22.5 0 11.25 4.5 0 1 0-22.5 0"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 5.251V12c0 2.485 5.037 4.5 11.25 4.5s11.25-2.014 11.25-4.5V5.251"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M.75 12v6.75c0 2.485 5.037 4.5 11.25 4.5s11.25-2.015 11.25-4.5V12"
},null,-1)]))}const ore={render:rre},ire=Object.freeze(Object.defineProperty({
__proto__:null,default:ore,render:rre},Symbol.toStringTag,{value:"Module"
})),are={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function sre(e,t){
return Zi(),Yi("svg",are,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25.747h6s1.5 0 1.5 1.5v6s0 1.5-1.5 1.5h-6s-1.5 0-1.5-1.5v-6s0-1.5 1.5-1.5m0 13.5h6s1.5 0 1.5 1.5v6s0 1.5-1.5 1.5h-6s-1.5 0-1.5-1.5v-6s0-1.5 1.5-1.5m13.5-13.5h6s1.5 0 1.5 1.5v6s0 1.5-1.5 1.5h-6s-1.5 0-1.5-1.5v-6s0-1.5 1.5-1.5m0 13.5h6s1.5 0 1.5 1.5v6s0 1.5-1.5 1.5h-6s-1.5 0-1.5-1.5v-6s0-1.5 1.5-1.5"
},null,-1)]))}const lre={render:sre},cre=Object.freeze(Object.defineProperty({
__proto__:null,default:lre,render:sre},Symbol.toStringTag,{value:"Module"
})),ure={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function dre(e,t){
return Zi(),Yi("svg",ure,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.25 13.5H9s1.5 0 1.5 1.5v6.75s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V15s0-1.5 1.5-1.5m12.75 0h6.75s1.5 0 1.5 1.5v6.75s0 1.5-1.5 1.5H15s-1.5 0-1.5-1.5V15s0-1.5 1.5-1.5M8.625.75h6.75s1.5 0 1.5 1.5V9s0 1.5-1.5 1.5h-6.75s-1.5 0-1.5-1.5V2.25s0-1.5 1.5-1.5"
},null,-1)]))}const pre={render:dre},hre=Object.freeze(Object.defineProperty({
__proto__:null,default:pre,render:dre},Symbol.toStringTag,{value:"Module"
})),fre={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function mre(e,t){
return Zi(),Yi("svg",fre,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m1.817 4.524 9.1-3.568a2.94 2.94 0 0 1 2.162 0l9.1 3.568a1.76 1.76 0 0 1 1.071 1.662v11.628a1.76 1.76 0 0 1-1.067 1.662l-9.1 3.569a2.96 2.96 0 0 1-2.162 0l-9.1-3.569A1.76 1.76 0 0 1 .75 17.814V6.186a1.76 1.76 0 0 1 1.067-1.662M12 9.353 1.104 5.081M12 9.353l10.896-4.272M12 23.25V9.353"
},null,-1)]))}const gre={render:mre},vre=Object.freeze(Object.defineProperty({
__proto__:null,default:gre,render:mre},Symbol.toStringTag,{value:"Module"
})),bre={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Ore(e,t){
return Zi(),Yi("svg",bre,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m7.629 4.5-6.44 6.439a1.5 1.5 0 0 0 0 2.121l6.44 6.44m8.742-15 6.44 6.439a1.5 1.5 0 0 1 0 2.121l-6.44 6.44"
},null,-1)]))}const yre={render:Ore},wre=Object.freeze(Object.defineProperty({
__proto__:null,default:yre,render:Ore},Symbol.toStringTag,{value:"Module"
})),kre={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}
;function xre(e,t){return Zi(),Yi("svg",kre,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
"stroke-width":"1.5",
d:"M1.5 1.1h1c.7 0 1.4.5 1.5 1.2l2.6 15.5c.1.7.7 1.2 1.5 1.2H18"
},null,-1),ra("path",{fill:"none",stroke:"currentColor","stroke-width":"1.5",
d:"M16.1 21.4c.2 0 .4.2.4.4s-.2.4-.4.4m0-.8c-.2 0-.4.2-.4.4s.2.4.4.4m-7.5-.8c.2 0 .4.2.4.4s-.2.4-.4.4m0-.8c-.2 0-.4.2-.4.4s.2.4.4.4"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",
d:"M4.5 5.6h17.4c.4.1.6.5.5.9L21 12.4c-.3 1.3-1.5 2.3-2.9 2.3H6"},null,-1)]))}
const Sre={render:xre},_re=Object.freeze(Object.defineProperty({__proto__:null,
default:Sre,render:xre},Symbol.toStringTag,{value:"Module"})),Ere={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Tre(e,t){return Zi(),Yi("svg",Ere,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M21.75 11.25H2.25v10.5a1.5 1.5 0 0 0 1.5 1.5h16.5a1.5 1.5 0 0 0 1.5-1.5Zm0-4.5H2.25a1.5 1.5 0 0 0-1.5 1.5v2.25a.75.75 0 0 0 .75.75h21a.75.75 0 0 0 .75-.75V8.25a1.5 1.5 0 0 0-1.5-1.5m-10.5 0c-3.314 0-6.75-2.686-6.75-6"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4.5.75c3.314 0 6.75 2.686 6.75 6m1.5 0c3.314 0 6.75-2.686 6.75-6"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M19.5.75c-3.314 0-6.75 2.686-6.75 6m-3 0h4.5v16.5h-4.5z"},null,-1)]))}
const Cre={render:Tre},Are=Object.freeze(Object.defineProperty({__proto__:null,
default:Cre,render:Tre},Symbol.toStringTag,{value:"Module"})),Pre={
xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",viewBox:"0 0 24 24"}
;function Dre(e,t){return Zi(),Yi("svg",Pre,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M3 6.75h18s1.5 0 1.5 1.5v13.5s0 1.5-1.5 1.5H3s-1.5 0-1.5-1.5V8.25s0-1.5 1.5-1.5"
},null,-1),ra("path",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"m22.3 7.5-2.4-5.859A1.5 1.5 0 0 0 18.526.75H5.475a1.5 1.5 0 0 0-1.375.891L1.7 7.5M12 6.75v-6m2.25 18h4.5"
},null,-1)]))}const $re={render:Dre},Rre=Object.freeze(Object.defineProperty({
__proto__:null,default:$re,render:Dre},Symbol.toStringTag,{value:"Module"
})),Nre={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Mre(e,t){
return Zi(),Yi("svg",Nre,t[0]||(t[0]=[ra("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2.855 4.937a11.252 11.252 0 0 1 17.569.068M3.362 15.75v-7.5l3 7.5v-7.5m6 7.5h-1.5a1.5 1.5 0 0 1-1.5-1.5v-4.5a1.5 1.5 0 0 1 1.5-1.5h1.5m-3 4.5h3m3-4.5v2.017a9 9 0 0 0 .644 3.342l.856 2.141 1.5-5.25 1.5 5.25.857-2.141a9 9 0 0 0 .643-3.342V8.25M2.637 18.75a11.226 11.226 0 0 0 17.959.023"
},null,-1)]))}const Ire={render:Mre},Lre=Object.freeze(Object.defineProperty({
__proto__:null,default:Ire,render:Mre},Symbol.toStringTag,{value:"Module"
})),jre={xmlns:"http://www.w3.org/2000/svg","stroke-width":"1.5",
viewBox:"0 0 24 24"};function Bre(e,t){
return Zi(),Yi("svg",jre,t[0]||(t[0]=[ra("g",{fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round"},[ra("path",{
d:"M.75 12a11.25 11.25 0 1 0 22.5 0 11.25 11.25 0 1 0-22.5 0"}),ra("path",{
d:"m5 20.8 1-5.05h1.08a1.48 1.48 0 0 0 1.18-.58 1.44 1.44 0 0 0 .27-1.28l-.75-3a1.49 1.49 0 0 0-1.45-1.14H1m20-4.5h-4.08a1.49 1.49 0 0 0-1.45 1.14l-.75 3a1.44 1.44 0 0 0 .28 1.28 1.48 1.48 0 0 0 1.18.58h1.58l.78 4.75A1.5 1.5 0 0 0 20 17.25h2"
})],-1)]))}const Qre={render:Bre},Ure=Object.freeze(Object.defineProperty({
__proto__:null,default:Qre,render:Bre},Symbol.toStringTag,{value:"Module"}))
;const Fre=function(e){const t=Object.entries(e).map((([e,t])=>{
const n=e.replace("./icons/","").replace(".svg","");return{icon:{src:n,
title:n.replaceAll("-"," "),tags:[]},rawData:t}
})),n=t.map((e=>e.icon)),r=Object.fromEntries(t.map((e=>[e.icon.src,e.rawData])))
;return{iconDefinitionList:n,iconDataMap:r}}(Object.assign({
"./icons/basic-shape-diamond.svg":R8,"./icons/basic-shape-hexagon.svg":L8,
"./icons/basic-shape-primary-circle-ellipse-round.svg":U8,
"./icons/basic-shape-primary-square-rectangle.svg":H8,
"./icons/basic-shape-shield.svg":X8,
"./icons/computer-device-desktop-monitor.svg":J8,
"./icons/computer-device-desktop.svg":r6,
"./icons/computer-device-laptop.svg":s6,
"./icons/computer-device-mobile-phone-android-samsung-back.svg":d6,
"./icons/computer-device-mobile-phone-android-samsung.svg":m6,
"./icons/computer-device-mobile-phone-iphone-x-back.svg":O6,
"./icons/computer-device-mobile-phone-iphone-x.svg":x6,
"./icons/computer-device-mobile-tablet-touch.svg":T6,
"./icons/computer-device-mobile-tablet.svg":D6,
"./icons/computer-device-network-ethernet-cat6.svg":M6,
"./icons/computer-device-network-lan-www.svg":B6,
"./icons/computer-device-network-wifi-connection.svg":z6,
"./icons/computer-device-network-wifi-router.svg":Z6,
"./icons/ecology-science-erlenmeyer-flask.svg":Y6,
"./icons/image-flash-lightning.svg":t9,"./icons/image-picture-flower.svg":i9,
"./icons/interface-alert-exclamation-diamond.svg":c9,
"./icons/interface-alert-exclamation-triangle-warning.svg":h9,
"./icons/interface-alert-information-circle.svg":v9,
"./icons/interface-award-crown.svg":w9,"./icons/interface-bookmark-tag.svg":_9,
"./icons/interface-bookmark.svg":A9,
"./icons/interface-calendar-date-one.svg":R9,
"./icons/interface-content-book-open-pages.svg":L9,
"./icons/interface-content-book-page.svg":U9,
"./icons/interface-content-file.svg":H9,
"./icons/interface-content-folder.svg":X9,
"./icons/interface-copy-clipboard.svg":J9,
"./icons/interface-edit-attachment.svg":ree,
"./icons/interface-edit-binocular.svg":see,
"./icons/interface-edit-magic-wand.svg":dee,
"./icons/interface-edit-tool-paint-roller.svg":mee,
"./icons/interface-edit-tool-pencil.svg":Oee,
"./icons/interface-favorite-award.svg":xee,
"./icons/interface-favorite-flag.svg":Tee,
"./icons/interface-favorite-heart.svg":Dee,
"./icons/interface-favorite-star.svg":Mee,
"./icons/interface-favorite-stars-sparkles.svg":Bee,
"./icons/interface-hierarchy-flowchart.svg":zee,
"./icons/interface-home-house.svg":Zee,"./icons/interface-hyperlink.svg":Yee,
"./icons/interface-lighting-brightness.svg":tte,
"./icons/interface-lock-closed.svg":ite,
"./icons/interface-lock-open-unlock.svg":cte,
"./icons/interface-login-key.svg":hte,"./icons/interface-search.svg":vte,
"./icons/interface-setting-cog.svg":wte,
"./icons/interface-share-megaphone-bullhorn.svg":_te,
"./icons/interface-share-rocket.svg":Ate,
"./icons/interface-share-satellite.svg":Rte,
"./icons/interface-share-space-ship.svg":Lte,"./icons/interface-share.svg":Ute,
"./icons/interface-signal-square.svg":Hte,
"./icons/interface-time-clock-circle.svg":Xte,
"./icons/interface-time-hour-glass.svg":Jte,
"./icons/interface-users-multiple.svg":rne,
"./icons/interface-weather-moon.svg":sne,
"./icons/mail-chat-bubble-square.svg":dne,
"./icons/mail-send-email-paper-airplane.svg":mne,
"./icons/mail-send-envelope.svg":One,"./icons/money-cashier-receipt.svg":xne,
"./icons/money-currency-dollar-pay.svg":Tne,
"./icons/money-graph-arrow-increase.svg":Dne,
"./icons/money-graph-bar-chart-increase.svg":Mne,
"./icons/nature-ecology-leaf.svg":Bne,"./icons/phone-telephone.svg":zne,
"./icons/programming-bug.svg":Zne,"./icons/programming-cloud.svg":Yne,
"./icons/programming-computer-database-server.svg":tre,
"./icons/programming-computer-database.svg":ire,
"./icons/programming-module-four-layout.svg":cre,
"./icons/programming-module-three.svg":hre,"./icons/programming-module.svg":vre,
"./icons/programming-script-code.svg":wre,"./icons/shopping-cart.svg":_re,
"./icons/shopping-gift-present.svg":Are,
"./icons/shopping-shipping-box-parcel-package.svg":Rre,
"./icons/tag-new-circle.svg":Lre,"./icons/travel-map-earth-globe.svg":Ure
})),zre=Fre.iconDefinitionList,qre=Fre.iconDataMap,Hre=Gr({__name:"LibraryIcon",
props:{src:{}},setup(e){const t=e,n=$a((()=>(e=>qre[e])(t.src)))
;return(e,t)=>n.value?(Zi(),Ki(wo(n.value),{key:0})):ca("",!0)}}),Vre={
class:"flex text-sm"},Zre={
class:"grid grid-cols-[repeat(auto-fill,minmax(32px,1fr))] auto-rows-[32px] justify-between content-between rounded bg-b-1 border p-1 max-w-[420px] w-dvw custom-scroll"
},Wre=Gr({__name:"IconSelector",props:{modelValue:{},placement:{}},
emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=$a({
get:()=>n.modelValue,set:e=>r("update:modelValue",e)})
;return(e,t)=>(Zi(),Ki(Qn(dX),{class:"bg-b-2 rounded",
placement:e.placement??"bottom"},{popover:xr((({close:n})=>[oa(Qn(YN),{
modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),
class:"flex flex-col"},{default:xr((()=>[ra("div",Vre,[oa(Qn(tM),{
class:"text-c-2 py-1 px-1"},{
default:xr((()=>[Eo(e.$slots,"title",{},(()=>[t[1]||(t[1]=sa("Select an icon"))]))])),
_:3})]),ra("ul",Zre,[(Zi(!0),Yi(Ui,null,So(Qn(zre),(e=>(Zi(),Ki(Qn(eM),{
key:e.src,as:"li",
class:"p-2.25 rounded flex items-center justify-center text-c-3 cursor-pointer hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2",
value:e.src,onClick:n},{default:xr((()=>[oa(Qn(tM),{class:"sr-only"},{
default:xr((()=>[sa(st(e.src.replaceAll("-"," "))+" Icon ",1)])),_:2
},1024),oa(Qn(Hre),{class:"stroke-2",src:e.src},null,8,["src"])])),_:2
},1032,["value","onClick"])))),128))])])),_:2},1032,["modelValue"])])),
default:xr((()=>[Eo(e.$slots,"default")])),_:3},8,["placement"]))}}),Xre=Gr({
__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},
isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){
const n=e,r=t,o=$a((()=>_d(n.method))),i=Object.entries(kd).map((([e])=>({id:e,
label:e.charAt(0)+e.toLowerCase().slice(1),color:_d(e).color}))),a=$a({
get:()=>i.find((({id:e})=>e===n.method)),
set:e=>(null==e?void 0:e.id)&&r("change",e.id)}),s=vM({
base:"text-center font-code text-3xs justify-center items-center flex",
variants:{isSquare:{
true:"px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto",
false:"rounded-full"},isEditable:{
true:"px-0 http-bg-gradient rounded-md border-1/2 border-r-1/2",
false:"cusor-pointer"}}}),l=$a((()=>o.value.short))
;return(e,t)=>e.isEditable?(Zi(),Ki(Qn(hZ),{key:0,modelValue:a.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),
class:"mt-1 font-code text-sm uppercase",options:Qn(i)},{
default:xr((()=>[ra("div",{class:et(["h-full",{
"pointer-events-none":!e.isEditable}])},[ra("button",{
class:et(["relative h-full",Qn(bM)(Qn(s)({isSquare:e.isSquare,
isEditable:e.isEditable}),o.value.color)]),type:"button"
},[ra("span",null,st(l.value),1)],2)],2)])),_:1
},8,["modelValue","options"])):(Zi(),Yi("div",{key:1,
class:et(["relative gap-1 whitespace-nowrap",Qn(bM)(Qn(s)({isSquare:e.isSquare,
isEditable:e.isEditable}),o.value.color)]),type:"button"},st(o.value.short),3))}
}),Gre=T8(Xre,[["__scopeId","data-v-a2902675"]])
;function Yre({multiple:e,accept:t,onChange:n,onError:r}={}){const o=In(null)
;let i
;typeof document<"u"&&(i=document.createElement("input"),i.type="file",i.onchange=e=>{
const t=e.target;o.value=t.files,null==n||n(o.value)
},i.onerror=()=>null==r?void 0:r(),i.multiple=e,i.accept=t);return{files:_n(o),
open:()=>{if(!i)return null==r?void 0:r();i.click()}}}
const Kre=["Escape","ArrowDown","ArrowUp","Enter","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"],Jre={
Escape:{event:"closeModal"},b:{event:"toggleSidebar",modifiers:["default"]},k:{
event:"openCommandPalette",modifiers:["default"]}},eoe=e=>{
if(!(e.target instanceof HTMLElement))return!1;const t=e.target
;return"INPUT"===t.tagName?!Kre.includes(e.key):!("TEXTAREA"!==t.tagName&&!t.getAttribute("contenteditable"))
},toe={Alt:"altKey",Control:"ctrlKey",Shift:"shiftKey",Meta:"metaKey"
},noe=e=>e.map((e=>"default"===e?$X()?"metaKey":"ctrlKey":toe[e])),roe={
class:"scalar"},ooe={className:"scalar-container z-overlay"},ioe={
className:"scalar-app scalar-client scalar-app-layout"},aoe=Gr({
__name:"ApiClientModal",setup(e){
const{activeWorkspace:t,modalState:n,events:r}=E8(),o=e=>((e,t,{hotKeys:n=Jre,modifiers:r=["default"]}={})=>{
const o=" "===e.key?"Space":e.key,i=n[o];i&&("Escape"===o?t.emit({[i.event]:e
}):noe(i.modifiers||r).every((t=>!0===e[t]))&&!eoe(e)?t.emit({[i.event]:e
}):!eoe(e)&&void 0===i.modifiers&&t.emit({[i.event]:e}))
})(e,r.hotKeys,t.value.hotKeyConfig);Ci((()=>n.open),(e=>{
e?(window.addEventListener("keydown",o),
document.documentElement.style.overflow="hidden"):(window.removeEventListener("keydown",o),
document.documentElement.style.removeProperty("overflow"))})),so((()=>DX()))
;const i=e=>(null==e?void 0:e.closeModal)&&n.open&&n.hide()
;return lo((()=>r.hotKeys.on(i))),po((()=>{
document.documentElement.style.removeProperty("overflow"),r.hotKeys.off(i)
})),(e,t)=>Sr((Zi(),Yi("div",roe,[ra("div",ooe,[ra("div",ioe,[oa(Qn(S5),{
key:"$route.fullPath"})]),ra("div",{class:"scalar-app-exit -z-1",
onClick:t[0]||(t[0]=e=>Qn(n).hide())})])],512)),[[as,Qn(n).open]])}
}),soe=T8(aoe,[["__scopeId","data-v-900788ee"]]),loe="2.1.0",coe="scalar_api_client_data_version",uoe=e=>{
const t=localStorage.getItem(e)||"[{}]";return"["===t[0]?u8(t):JSON.parse(t)
},doe=()=>{const e=(()=>{
const e=localStorage.getItem("collection"),t=localStorage.getItem(coe)
;if(!(null==e?void 0:e.length)||"{"===(null==e?void 0:e[0]))return"0.0.0";try{
const[n]=Object.values(u8(e)??{})
;return"collection"===(null==n?void 0:n.type)?"2.1.0":t||"0.0.0"}catch(G$){
return console.error(G$),t||"0.0.0"}})();console.info("Data version: "+e)
;let t={collections:uoe("collection"),cookies:uoe("cookie"),
environments:uoe("environment"),requestExamples:uoe("requestExample"),
requests:uoe("request"),securitySchemes:uoe("securityScheme"),
servers:uoe("server"),tags:uoe("tag"),workspaces:uoe("workspace")}
;return t=((e,t)=>{const n=e=>{
const[t,n=0,r=0]=e.split(".").map((e=>parseInt(e,10)));return{major:t,minor:n,
patch:r}},{major:r,minor:o,patch:i}=n(e),{major:a,minor:s,patch:l}=n(t)
;return r<a||!(r>a)&&(o<s||!(o>s)&&i<l)})(e,"2.1.0")?(e=>{
console.info("Performing data migration v-0.0.0 to v-2.1.0");const t={...e,
folders:uoe("folder")},n=e=>e.reduce(((e,r)=>{var o;const i=t.requests[r]
;if(i)e.requestUids.add(r),
null==(o=i.securitySchemeUids)||o.forEach((t=>e.authUids.add(t)));else if(t.folders[r]){
const{requestUids:o,tagUids:i,authUids:a}=n(t.folders[r].childUids??[])
;e.tagUids.add(r),
o.forEach((t=>e.requestUids.add(t))),i.forEach((t=>e.tagUids.add(t))),
a.forEach((t=>e.authUids.add(t)))}return e}),{requestUids:new Set,
tagUids:new Set,authUids:new Set
}),r={},o=Object.values(t.collections??{}).map((e=>{var o,i,a,s,l,c,u
;const{requestUids:d,tagUids:p,authUids:h}=n(e.childUids??[]),f=[...new Set([...h,...Object.values(e.securitySchemeDict??{})])]
;d.forEach((e=>r[e]=f));const m=f.reduce(((e,n)=>{const r=t.securitySchemes[n]
;return r.uid&&(e[n]=(e=>"apiKey"===e.type?{type:"apiKey",name:e.name,
value:e.value??""}:"http"===e.type?{type:"http",username:e.value??"",
password:e.secondValue??"",token:e.value??""
}:"oauth2"===e.type&&"implicit"===e.flow.type?{type:"oauth-implicit",
token:e.flow.token??""}:"oauth2"===e.type&&"password"===e.flow.type?{
type:"oauth-password",token:e.flow.token??"",username:e.flow.value??"",
password:e.flow.secondValue??"",clientSecret:e.flow.clientSecret??""
}:"oauth2"===e.type&&"clientCredentials"===e.flow.type?{
type:"oauth-clientCredentials",token:e.flow.token??"",
clientSecret:e.flow.clientSecret??""
}:"oauth2"===e.type&&"authorizationCode"===e.flow.type?{
type:"oauth-authorizationCode",token:e.flow.token??"",
clientSecret:e.flow.clientSecret??""}:{type:"apiKey",name:"",value:""})(r)),e
}),{});return{type:"collection",
openapi:(null==(o=e.spec)?void 0:o.openapi)||"3.1.0",
info:(null==(i=e.spec)?void 0:i.info)||{title:"OpenAPI Spec",version:"0.0.1"},
security:(null==(a=e.spec)?void 0:a.security)||[],
externalDocs:null==(s=e.spec)?void 0:s.externalDocs,uid:e.uid,securitySchemes:f,
selectedServerUid:e.selectedServerUid||(null==(c=null==(l=e.spec)?void 0:l.serverUids)?void 0:c[0])||"",
servers:(null==(u=e.spec)?void 0:u.serverUids)||[],requests:[...d],tags:[...p],
auth:m,children:e.childUids||[],"x-scalar-icon":"interface-content-folder"}
})),i=Object.values(t.cookies??{}),a=Object.values(t.environments??{}).map((e=>({
...e,value:e.raw??""}))),s=Object.values(t.requests??{}).map((e=>{var t,n,o,i,a
;const s=[...Object.values((null==(t=e.parameters)?void 0:t.path)??{}),...Object.values((null==(n=e.parameters)?void 0:n.query)??{}),...Object.values((null==(o=e.parameters)?void 0:o.headers)??{}),...Object.values((null==(i=e.parameters)?void 0:i.cookies)??{})].filter((e=>e)),l=(e.selectedSecuritySchemeUids||[]).filter((t=>r[e.uid].includes(t)))
;return{...e,parameters:s,type:"request",
method:(null==(a=e.method)?void 0:a.toLowerCase())??"get",
examples:e.childUids||[],selectedSecuritySchemeUids:l,selectedServerUid:"",
servers:[]}})),l=Object.values(t.requestExamples??{}).map((e=>({...e,
type:"requestExample"}))),c=e=>{const t={refreshUrl:e.refreshUrl||"",
selectedScopes:e.selectedScopes||[],scopes:e.scopes||{}}
;return"implicit"===e.type?{...e,...t,type:"implicit",
"x-scalar-redirect-uri":("redirectUri"in e?e.redirectUri:"")||""
}:"password"===e.type||"clientCredentials"===e.type?{...e,...t,
tokenUrl:e.tokenUrl||""}:{...e,...t,
"x-scalar-redirect-uri":("redirectUri"in e?e.redirectUri:"")||"",
authorizationUrl:e.authorizationUrl||"",tokenUrl:e.tokenUrl||""}},u=e=>{
switch(null==e?void 0:e.type){case"apiKey":return`${zd(e.in)}`;case"http":
return`${zd(e.scheme)} Authentication`;case"oauth2":
return e.flow.type.replace(/([A-Z])/g,(e=>` ${e}`)).replace(/^./,(e=>e.toUpperCase())).trim()
;case"openIdConnect":return"Open ID Connect";default:return"None"}
},d=Object.values(t.securitySchemes??{}).map((e=>"oauth2"===e.type?{...e,
nameKey:u(e),"x-scalar-client-id":e.clientId||"",flow:c(e.flow)}:{...e,
nameKey:u(e)})),p=Object.values(t.servers??{}).map((e=>({...e,
variables:e.variables??{}})));return{collections:o,cookies:i,environments:a,
requestExamples:l,requests:s,securitySchemes:d,servers:p,
tags:Object.values(t.folders??{}).map((e=>({type:"tag",uid:e.uid,
name:e.name||"unknownTag",description:e.description,children:e.childUids||[],
"x-scalar-children":[]}))),workspaces:Object.values(t.workspaces??{}).map((e=>({
...e,description:e.description??"Basic Scalar Workspace",
cookies:e.cookieUids||[],collections:e.collectionUids||[],
environments:e.environmentUids||[]})))}})(t):{
collections:Object.values(t.collections),cookies:Object.values(t.cookies),
environments:Object.values(t.environments),
requestExamples:Object.values(t.requestExamples),
requests:Object.values(t.requests),
securitySchemes:Object.values(t.securitySchemes),
servers:Object.values(t.servers),tags:Object.values(t.tags),
workspaces:Object.values(t.workspaces)},t},poe=(e,t,n)=>e.forEach((e=>{
const r=Ud(e,t,!1);r&&n(r)
})),hoe=({el:e,appComponent:t,configuration:n={},isReadOnly:r=!1,persistData:o=!0,mountOnInitialize:i=!0,router:a})=>{
const s=_8(a,o);if(localStorage.getItem(Id)&&!r){const e={};let t=0,n=0,o=""
;for(o in localStorage)Object.prototype.hasOwnProperty.call(localStorage,o)&&(n=2*(localStorage[o].length+o.length),
t+=n,e[o]=(n/1024).toFixed(2)+" KB")
;e.Total=(t/1024).toFixed(2)+" KB",console.table(e),(e=>{
const{collectionMutators:t,cookieMutators:n,environmentMutators:o,tagMutators:i,requestExampleMutators:a,requestMutators:s,serverMutators:l,securitySchemeMutators:c,workspaceMutators:u}=e
;try{
const{collections:e,cookies:r,environments:d,requestExamples:p,requests:h,servers:f,securitySchemes:m,tags:g,workspaces:v}=doe()
;poe(e,N7,t.rawAdd),
poe(r,f8,n.add),poe(d,m8,o.add),poe(p,Z7,a.rawAdd),poe(h,q7,s.rawAdd),
poe(f,I7,l.rawAdd),
poe(m,_7,c.rawAdd),poe(g,D7,i.rawAdd),poe(v,S8,u.rawAdd),localStorage.setItem(coe,loe)
}catch(r){console.error(r)}})(s)}else if(r&&n.spec){const e=S8.parse({
uid:"default",name:"Workspace",isReadOnly:!0,proxyUrl:n.proxyUrl})
;s.workspaceMutators.rawAdd(e)}else s.workspaceMutators.add({uid:"default",
name:"Workspace",isReadOnly:r,proxyUrl:n.proxyUrl
}),localStorage.setItem(coe,loe);const l=Zs(t);l.use(a),l.provide("workspace",s)
;const{activeCollection:c,activeWorkspace:u,collectionMutators:d,importSpecFile:p,importSpecFromUrl:h,modalState:f,requests:m,securitySchemes:g,servers:v,workspaceMutators:b}=s,O=(t=e)=>{
t?l.mount(t):console.error("[@scalar/api-client-modal] Could not create the API client.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")
}
;return u.value&&(i&&O(),null!=n&&n.proxyUrl&&b.edit(u.value.uid,"proxyUrl",null==n?void 0:n.proxyUrl),
null!=n&&n.themeId&&b.edit(u.value.uid,"themeId",null==n?void 0:n.themeId)),{
app:l,updateConfig(e,t=!0){
t?Object.assign(n??{},e):jd(n??{},e),e.spec&&p(e.spec)},updateServer:e=>{var t
;const n=Object.values(v).find((t=>t.url===e))
;n&&c.value&&d.edit(null==(t=c.value)?void 0:t.uid,"selectedServerUid",n.uid)},
onUpdateServer:e=>{Ci((()=>{var e
;return null==(e=c.value)?void 0:e.selectedServerUid}),(t=>{
const n=Object.values(v).find((e=>e.uid===t));null!=n&&n.url&&e(n.url)}))},
updateAuth:({nameKey:e,propertyKey:t,value:n})=>{
const r=Object.values(g).find((t=>t.nameKey===e))
;r&&c.value&&d.edit(c.value.uid,`auth.${r.uid}.${t}`,n)},updateSpec:async e=>{
null!=e&&e.url?await h(e.url,null==n?void 0:n.proxyUrl):null!=e&&e.content?await p(null==e?void 0:e.content):console.error("[@scalar/api-client-modal] Could not create the API client.","Please provide an OpenAPI document: { spec: { url: '…' } }","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")
},route:e=>{
const t=Object.values(m).find((({path:t,method:n})=>t===e.path&&n.toUpperCase()===e.method.toUpperCase()))
;t&&a.push(`/workspace/default/request/${t.uid}`)},open:e=>{if(e){
const t=Object.values(m).find((({path:t,method:n})=>!e||t===e.path&&n.toUpperCase()===e.method.toUpperCase()))
;t&&a.push(`/workspace/default/request/${t.uid}`)}f.open=!0},mount:O,
modalState:f,store:s}},foe=Object.freeze(Object.defineProperty({__proto__:null,
ApiClientModal:soe,createApiClientModal:async(e,t={},n=!0)=>{var r,o,i
;const a=hoe({el:e,appComponent:soe,configuration:t,persistData:!1,
isReadOnly:!0,mountOnInitialize:n,router:$5()
}),{importSpecFile:s,importSpecFromUrl:l}=a.store
;return null!=(r=t.spec)&&r.url?await l(t.spec.url,t.proxyUrl,t.servers,t.preferredSecurityScheme):null!=(o=t.spec)&&o.content&&await s(null==(i=t.spec)?void 0:i.content,void 0,null==t?void 0:t.servers,t.preferredSecurityScheme),
a},createModalRouter:$5,router:D5,useWorkspace:E8},Symbol.toStringTag,{
value:"Module"})),moe={
class:"border flex flex-row gap-2 h-10 items-center my-4 p-[3px] rounded text-sm"
},goe={class:"flex h-full"},voe={class:"scroll-timeline-x whitespace-nowrap"
},boe={class:"flex gap-10 justify-between"},Ooe=Gr({__name:"ImportCurlModal",
props:{parsedCurl:{},state:{}},emits:["importCurl","close"],setup(e,{emit:t}){
const n=e,r=t,{toast:o}=Hh(),i=In(""),a=$a((()=>!i.value.trim()));function s(){
a.value?o("Please enter a name before importing your request.","error"):n.parsedCurl&&r("importCurl",{
parsedCurl:n.parsedCurl,requestName:i.value})}return Ci((()=>n.state.open),(e=>{
e&&(i.value="")})),(e,t)=>(Zi(),Ki(Qn(Wq),{size:"xs",state:e.state,
title:"Import cURL request"},{default:xr((()=>{var e,o,l,c;return[oa(Qn(CX),{
modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),autofocus:"",
placeholder:"Request Name",onKeyup:zs(s,["enter"])
},null,8,["modelValue"]),ra("div",moe,[ra("div",goe,[oa(Gre,{isEditable:!1,
isSquare:"",method:(null==(e=n.parsedCurl)?void 0:e.method)||"get"
},null,8,["method"])]),ra("span",voe,st((null==(l=null==(o=n.parsedCurl)?void 0:o.servers)?void 0:l[0])||"")+st((null==(c=n.parsedCurl)?void 0:c.path)||""),1)]),ra("div",boe,[oa(Qn(tH),{
class:"gap-1.5 px-2.5 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"button",variant:"outlined",onClick:t[1]||(t[1]=e=>r("close"))},{
default:xr((()=>t[2]||(t[2]=[sa(" Cancel ")]))),_:1}),oa(Qn(tH),{
class:"gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none",
disabled:a.value,type:"submit",onClick:s},{
default:xr((()=>t[3]||(t[3]=[sa(" Import Request ")]))),_:1},8,["disabled"])])]
})),_:1},8,["state"]))}}),yoe=T8(Ooe,[["__scopeId","data-v-50c10cc9"]]),woe={
class:"divide-y md:divide-y-0 divide-1 flex flex-col min-h-0 flex-1 xl:overflow-hidden md:flex-row leading-3"
};const koe=T8({},[["render",function(e,t){
return Zi(),Yi("div",woe,[Eo(e.$slots,"default")])}]]),xoe={
class:"border-t-1/2 md:border-t-0 divide divide-y xl:divide-y-0 xl:divide-x-1/2 flex xl:flex-row flex-col custom-scroll pr-0"
};const Soe=T8({},[["render",function(e,t){
return Zi(),Yi("div",xoe,[Eo(e.$slots,"default")])}]])
;for(var _oe="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Eoe=new RegExp("^"+_oe+"$"),Toe="|&;()<> \\t",Coe=/^#$/,Aoe="",Poe=0;Poe<4;Poe++)Aoe+=(4294967296*Math.random()).toString(16)
;var Doe=new RegExp("^"+Aoe);function $oe(e,t,n){n||(n={})
;var r=n.escape||"\\",o=new RegExp(["("+_oe+")","("+("(\\"+r+"['\""+Toe+"]|[^\\s'\""+Toe+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),i=function(e,t){
for(var n,r=t.lastIndex,o=[];n=t.exec(e);)o.push(n),
t.lastIndex===n.index&&(t.lastIndex+=1);return t.lastIndex=r,o}(e,o)
;if(0===i.length)return[];t||(t={});var a=!1;return i.map((function(n){
var o=n[0];if(o&&!a){if(Eoe.test(o))return{op:o};var i,s=!1,l=!1,c="",u=!1
;for(i=0;i<o.length;i++){var d=o.charAt(i)
;if(u=u||!s&&("*"===d||"?"===d),l)c+=d,
l=!1;else if(s)d===s?s=!1:"'"==s?c+=d:d===r?(i+=1,
c+='"'===(d=o.charAt(i))||d===r||"$"===d?d:r+d):c+="$"===d?h():d;else if('"'===d||"'"===d)s=d;else{
if(Eoe.test(d))return{op:o};if(Coe.test(d)){a=!0;var p={
comment:e.slice(n.index+i+1)};return c.length?[c,p]:[p]}
d===r?l=!0:c+="$"===d?h():d}}return u?{op:"glob",pattern:c}:c}function h(){
var e,n;i+=1;var r=o.charAt(i);if("{"===r){
if(i+=1,"}"===o.charAt(i))throw new Error("Bad substitution: "+o.slice(i-2,i+1))
;if((e=o.indexOf("}",i))<0)throw new Error("Bad substitution: "+o.slice(i))
;n=o.slice(i,e),i=e}else if(/[*@#?$!_-]/.test(r))n=r,i+=1;else{var a=o.slice(i)
;(e=a.match(/[^\w\d_]/))?(n=a.slice(0,e.index),i+=e.index-1):(n=a,i=o.length)}
return function(e,t,n){var r="function"==typeof e?e(n):e[n]
;return void 0===r&&""!=n?r="":void 0===r&&(r="$"),
"object"==typeof r?t+Aoe+JSON.stringify(r)+Aoe:t+r}(t,"",n)}
})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}
var Roe=function(e,t,n){var r=$oe(e,t,n)
;return"function"!=typeof t?r:r.reduce((function(e,t){
if("object"==typeof t)return e.concat(t)
;var n=t.split(RegExp("("+Aoe+".*?"+Aoe+")","g"))
;return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){
return Doe.test(e)?JSON.parse(e.split(Aoe)[1]):e})))}),[])};function Noe(e,t){
t.method=e.next().value.toLowerCase()}function Moe(e,t){
const n=new URL(e.next().value.replace(/['"]/g,""))
;t.servers=[n.origin],t.path="/"!==n.pathname?n.pathname:"",
t.url=t.servers[0]+t.path,t.queryParameters=joe(n.search)}function Ioe(e,t){
const n=e.next().value.replace(/['"]/g,"").split(/:(.*)/)
;t.headers=t.headers||{},
void 0!==n[1]?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]=""}
function Loe(e,t){const n=e.next().value.replace(/['"]/g,"").split("=")
;t.pathVariables=t.pathVariables||{},
void 0!==n[1]?t.pathVariables[n[0].trim()]=n[1].trim():t.pathVariables[n[0].trim()]=""
}function joe(e){const t=e.indexOf("?"),n=[]
;return-1!==t&&e.substring(t+1).split("&").forEach((e=>{
const[t,r]=e.split("="),o=decodeURIComponent(t.trim()),i=r?decodeURIComponent(r.trim()):""
;n.push({key:o,value:i})})),n}function Boe(e,t){
const n=e.replace(/['"]/g,"").split(/:(.+)/)
;t.headers=t.headers||{},void 0!==n[1]?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]=""
}function Qoe(e,t){const n=e.next().value.split(":")
;t.headers=t.headers||{},t.headers.Authorization=n[1]}function Uoe(e,t){
const n=e.next().value;t.headers=t.headers||{},t.headers.Cookie=n}
function Foe(e){const t=function(e){
const t=Roe(e).map((e=>"object"==typeof e&&"op"in e&&"glob"===e.op?e.pattern.trim():"string"==typeof e?e.trim():e)).filter((e=>""!==e)),n={
url:""},r=t[Symbol.iterator]();let o=r.next().value
;for(;o;)if("object"==typeof o&&"op"in o){if("&"===o.op){const e=r.next().value
;if("string"==typeof e){
const t=joe(`?${e}`).reduce(((e,{key:t,value:n})=>(e[t]=n,e)),{})
;n.queryParameters={...n.queryParameters,...t}}}o=r.next().value}else{
if("-X"===o||"--request"===o)Noe(r,n);else if("--url"===o)Moe(r,n);else if("-H"===o||"--header"===o)Ioe(r,n);else if("--data"===o||"-d"===o||"--data-raw"===o||"--data-urlencode"===o||"--data-binary"===o||"--data-ascii"===o){
const e=r.next().value;"string"==typeof e&&(n.body=e)
}else"string"!=typeof o||n.url||!o.startsWith("http")&&!o.startsWith("www.")?"-P"===o?Loe(r,n):"string"==typeof o&&o.toLowerCase().includes("content-type")?Boe(o,n):"-u"===o||"--user"===o?Qoe(r,n):("-b"===o||"--cookie"===o)&&Uoe(r,n):Moe([o][Symbol.iterator](),n)
;o=r.next().value}return n
}(e),{method:n="get",url:r,body:o="",headers:i={},servers:a,queryParameters:s=[]}=t,l=new URL(r).pathname,c=null!=o&&o.includes("=")&&!o.startsWith("{")?"application/x-www-form-urlencoded":i["Content-Type"]||"application/json",u=o?function(e){
try{return JSON.parse(e)}catch{const t={};return e.split("&").forEach((e=>{
const[n,r]=e.split("=");t[decodeURIComponent(n)]=decodeURIComponent(r)})),t}
}(o):{},d=[...Array.isArray(s)?s.map((({key:e,value:t})=>({name:e,in:"query",
schema:{type:typeof t,examples:[t]}
}))):[],...Object.entries(i||{}).map((([e,t])=>({name:e,in:"header",schema:{
type:typeof t},example:t})))];return{method:n,url:r,path:l,headers:i,servers:a,
...Object.keys(u).length>0&&{requestBody:{content:{[c]:{schema:{type:"object",
properties:Object.fromEntries(Object.entries(u).map((([e,t])=>[e,{type:typeof t
}])))},example:u}}}},parameters:d}}
const zoe="An unknown error has occurred.",qoe="The URL seems to be invalid. Try adding a valid URL.",Hoe="There is an invalid header present, please double check your params.",Voe="File uploads are not saved in history, you must re-upload the file.",Zoe="The request has been cancelled",Woe="An error occurred while making the request",Xoe="The address bar input seems to be empty. Try adding a URL.",Goe=(e,t=zoe)=>(console.error(e),
e instanceof Error?(e.message=Yoe(e.message),
e):"string"==typeof e?new Error(Yoe(e)):new Error(t)),Yoe=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?Voe:"Failed to construct 'URL': Invalid URL"===e?qoe:"Failed to execute 'fetch' on 'Window': Invalid name"===e?Hoe:e,Koe=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1))).join("-")
/*! js-cookie v3.0.5 | MIT */;function Joe(e){
for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}
return e}var eie=function e(t,n){function r(e,r,o){
if("undefined"!=typeof document){
"number"==typeof(o=Joe({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),
o.expires&&(o.expires=o.expires.toUTCString()),
e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape)
;var i=""
;for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]))
;return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,
get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){
for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){
var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0])
;if(r[s]=t.read(a,s),e===s)break}catch(G$){}}return e?r[e]:r}},
remove:function(e,t){r(e,"",Joe({},t,{expires:-1}))},withAttributes:function(t){
return e(this.converter,Joe({},this.attributes,t))},withConverter:function(t){
return e(Joe({},this.converter,t),this.attributes)}},{attributes:{
value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){
return'"'===e[0]&&(e=e.slice(1,-1)),
e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){
return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)
}},{path:"/"}),tie={
removeLeadingAndTrailingHTTPWhitespace:e=>e.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),
removeTrailingHTTPWhitespace:e=>e.replace(/[ \t\n\r]+$/u,""),
isHTTPWhitespaceChar:e=>" "===e||"\t"===e||"\n"===e||"\r"===e,
solelyContainsHTTPTokenCodePoints:e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),
soleyContainsHTTPQuotedStringTokenCodePoints:e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),
asciiLowercase:e=>e.replace(/[A-Z]/gu,(e=>e.toLowerCase())),
collectAnHTTPQuotedString:(e,t)=>{let n="";for(t++;;){
for(;t<e.length&&'"'!==e[t]&&"\\"!==e[t];)n+=e[t],++t;if(t>=e.length)break
;const r=e[t];if(++t,"\\"!==r)break;if(t>=e.length){n+="\\";break}n+=e[t],++t}
return[n,t]}}
;const{asciiLowercase:nie,solelyContainsHTTPTokenCodePoints:rie,soleyContainsHTTPQuotedStringTokenCodePoints:oie}=tie
;var iie=class{constructor(e){this._map=e}get size(){return this._map.size}
get(e){return e=nie(String(e)),this._map.get(e)}has(e){
return e=nie(String(e)),this._map.has(e)}set(e,t){
if(e=nie(String(e)),t=String(t),
!rie(e))throw new Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`)
;if(!oie(t))throw new Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`)
;return this._map.set(e,t)}clear(){this._map.clear()}delete(e){
return e=nie(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}
keys(){return this._map.keys()}values(){return this._map.values()}entries(){
return this._map.entries()}[Symbol.iterator](){
return this._map[Symbol.iterator]()}}
;const{removeLeadingAndTrailingHTTPWhitespace:aie,removeTrailingHTTPWhitespace:sie,isHTTPWhitespaceChar:lie,solelyContainsHTTPTokenCodePoints:cie,soleyContainsHTTPQuotedStringTokenCodePoints:uie,asciiLowercase:die,collectAnHTTPQuotedString:pie}=tie
;const{solelyContainsHTTPTokenCodePoints:hie}=tie;const fie=iie,mie=e=>{e=aie(e)
;let t=0,n="";for(;t<e.length&&"/"!==e[t];)n+=e[t],++t
;if(0===n.length||!cie(n))return null;if(t>=e.length)return null;++t;let r=""
;for(;t<e.length&&";"!==e[t];)r+=e[t],++t
;if(r=sie(r),0===r.length||!cie(r))return null;const o={type:die(n),
subtype:die(r),parameters:new Map};for(;t<e.length;){for(++t;lie(e[t]);)++t
;let n="";for(;t<e.length&&";"!==e[t]&&"="!==e[t];)n+=e[t],++t
;if(n=die(n),t<e.length){if(";"===e[t])continue;++t}let r=null
;if('"'===e[t])for([r,t]=pie(e,t);t<e.length&&";"!==e[t];)++t;else{
for(r="";t<e.length&&";"!==e[t];)r+=e[t],++t;if(r=sie(r),""===r)continue}
n.length>0&&cie(n)&&uie(r)&&!o.parameters.has(n)&&o.parameters.set(n,r)}return o
},gie=e=>{let t=`${e.type}/${e.subtype}`;if(0===e.parameters.size)return t
;for(let[n,r]of e.parameters)t+=";",
t+=n,t+="=",hie(r)&&0!==r.length||(r=r.replace(/(["\\])/gu,"\\$1"),
r=`"${r}"`),t+=r;return t
},{asciiLowercase:vie,solelyContainsHTTPTokenCodePoints:bie}=tie
;const Oie=gm(class{constructor(e){e=String(e);const t=mie(e)
;if(null===t)throw new Error(`Could not parse MIME type string "${e}"`)
;this._type=t.type,
this._subtype=t.subtype,this._parameters=new fie(t.parameters)}static parse(e){
try{return new this(e)}catch(G$){return null}}get essence(){
return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){
if(0===(e=vie(String(e))).length)throw new Error("Invalid type: must be a non-empty string")
;if(!bie(e))throw new Error(`Invalid type ${e}: must contain only HTTP token code points`)
;this._type=e}get subtype(){return this._subtype}set subtype(e){
if(0===(e=vie(String(e))).length)throw new Error("Invalid subtype: must be a non-empty string")
;if(!bie(e))throw new Error(`Invalid subtype ${e}: must contain only HTTP token code points`)
;this._subtype=e}get parameters(){return this._parameters}toString(){
return gie(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){
case"text":switch(this._subtype){case"ecmascript":case"javascript":
case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":
case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":
case"x-ecmascript":case"x-javascript":return!e||0===this._parameters.size
;default:return!1}case"application":switch(this._subtype){case"ecmascript":
case"javascript":case"x-ecmascript":case"x-javascript":
return!e||0===this._parameters.size;default:return!1}default:return!1}}isXML(){
return"xml"===this._subtype&&("text"===this._type||"application"===this._type)||this._subtype.endsWith("+xml")
}isHTML(){return"html"===this._subtype&&"text"===this._type}}),yie={
"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},
"application/java-archive":{extension:".jar"},"application/javascript":{
extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,
language:"json"},"application/ld+json":{extension:".jsonld",raw:!0,
language:"json"},"application/problem+json":{extension:".json",raw:!0,
language:"json"},"application/msword":{extension:".doc"},
"application/octet-stream":{extension:".bin"},"application/ogg":{
extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},
"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{
extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",
raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",
raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},
"application/vnd.ms-fontobject":{extension:".eot"},
"application/vnd.ms-powerpoint":{extension:".ppt"},
"application/vnd.oasis.opendocument.presentation":{extension:".odp"},
"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},
"application/vnd.oasis.opendocument.text":{extension:".odt"},
"application/vnd.openxmlformats-officedocument.presentationml.presentation":{
extension:".pptx"},
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{
extension:".xlsx"},
"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{
extension:".docx"},"application/vnd.rar":{extension:".rar"},
"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{
extension:".7z"},"application/x-abiword":{extension:".abw"},
"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},
"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},
"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{
extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},
"application/x-tar":{extension:".tar"},"application/xhtml+xml":{
extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",
raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,
language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{
extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{
extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{
extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"
},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{
extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},
"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",
preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},
"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",
preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,
language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},
"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{
extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",
raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{
extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",
preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/plain":{
extension:".txt",raw:!0},"text/xml":{extension:".xml",raw:!0,language:"xml"},
"text/yaml":{extension:".yaml",raw:!0,language:"yaml"},"video/3gpp":{
extension:".3gp"},"audio/3gpp":{extension:".3gp"},"video/3gpp2":{
extension:".3g2"},"audio/3gpp2":{extension:".3g2"},"video/mp2t":{extension:".ts"
},"video/mp4":{extension:".mp4",preview:"video"},"video/mpeg":{extension:".mpeg"
},"video/ogg":{extension:".ogv"},"video/webm":{extension:".webm",preview:"video"
},"video/x-msvideo":{extension:".avi"}
},wie=Object.entries(yie).filter((([,e])=>null==e?void 0:e.raw)).map((([e])=>e))
;const kie=({request:e,auth:t,example:n,server:r,securitySchemes:o,proxy:i,status:a,environment:s,globalCookies:l})=>{
try{
const c=s??{},u=new AbortController,d=n.parameters.path.reduce(((e,t)=>(t.enabled&&(e[t.key]=V1(t.value,c)),
e)),{}),p=V1((null==r?void 0:r.url)??"",c),h=V1(e.path,d);let f=p||h
;if(!f)throw Xoe;const m=function(e,t){const n=new URLSearchParams
;return e.parameters.query.forEach((e=>{
e.enabled&&e.value&&n.append(e.key,V1(e.value,t))})),n}(n,c),g=function(e,t){
const n={};return e.parameters.headers.forEach((e=>{
const r=e.key.trim().toLowerCase()
;e.enabled&&("content-type"!==r||"multipart/form-data"!==e.value)&&(n[r]=V1(e.value,t))
})),n}(n,c),{body:v}=function(e,t,n){var r,o,i;if(!Sd(e))return{body:void 0,
contentType:void 0};if("formData"===t.body.activeBody&&t.body.formData){
const e="form-data"===t.body.formData.encoding?"multipart/form-data":"application/x-www-form-urlencoded",r="form-data"===t.body.formData.encoding?new FormData:new URLSearchParams
;return t.body.formData.value.forEach((e=>{
!e.enabled||!e.key||(e.file&&r instanceof FormData?r.append(e.key,e.file,e.file.name):void 0!==e.value&&r.append(e.key,V1(e.value,n)))
})),{body:r,contentType:e}}return"raw"===t.body.activeBody?{
body:V1((null==(r=t.body.raw)?void 0:r.value)??"",n),
contentType:null==(o=t.body.raw)?void 0:o.encoding
}:"binary"===t.body.activeBody?{body:t.body.binary,
contentType:null==(i=t.body.binary)?void 0:i.type}:{body:void 0,
contentType:void 0}}(e.method,n,c)
;return function({example:e,env:t,globalCookies:n,domain:r,proxy:o}){let i;try{
i=new URL(o||r).host}catch{typeof window<"u"&&(i=window.location.host)}const a={
domain:i,sameSite:"None",secure:!0},s=eie.get()
;Object.keys(s).forEach((e=>eie.remove(e))),e.parameters.cookies.forEach((e=>{
e.enabled&&eie.set(e.key,V1(e.value,t))})),n.forEach((e=>{var t
;const{name:n,value:o,...a}=e
;(a.domain===r||(null==(t=a.domain)?void 0:t.startsWith("."))&&r.endsWith(a.domain??""))&&eie.set(n,o,{
domain:i,path:a.path,expires:a.expires?new Date(a.expires):void 0,
httpOnly:a.httpOnly,secure:a.secure})}))}({example:n,env:c,globalCookies:l,
domain:f,proxy:i}),e.selectedSecuritySchemeUids.forEach((e=>{const n=t[e],r=o[e]
;if(n&&r){if("apiKey"===r.type&&"apiKey"===n.type){const e=V1(n.value,c)
;"header"===r.in&&(g[n.name]=e),
"query"===r.in&&m.append(n.name,e),"cookie"===r.in&&eie.set(n.name,e)}
if("http"===r.type&&"http"===n.type)if("basic"===r.scheme){
const e=`${V1(n.username,c)}:${V1(n.password,c)}`
;g.Authorization=`Basic ${btoa(e)}`}else{const e=V1(n.token,c)
;g.Authorization=`Bearer ${e}`}
"oauth2"===r.type&&n.type.includes("oauth")&&"token"in n&&(n.token||console.error("OAuth token was not created"),
g.Authorization=`Bearer ${n.token}`)}})),[null,{sendRequest:async()=>{
null==a||a.emit("start");const t=Date.now();try{
if(f&&(!cl(f)||typeof window<"u")){
const e=cl(f)?window.location.origin+f:f,t=new URL(e),n=new URL(h,t.origin),o=new URL(t)
;null!=r&&r.url&&("/"===t.pathname?o.pathname=h:o.pathname=t.pathname+h),
o.search=new URLSearchParams([...t.searchParams,...n.searchParams,...m]).toString(),
f=o.toString()}
const o=new URLSearchParams([["scalar_url",f.toString()]]),s=ul(i,f)?`${i}?${o.toString()}`:f,l=await fetch(s,{
signal:u.signal,method:e.method.toUpperCase(),body:v,headers:g})
;null==a||a.emit("stop");const c=((e,t=!1)=>{var n,r
;const o=Object.fromEntries(e)
;t&&["Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers"].map((e=>e.toLowerCase())).forEach((e=>delete o[e]))
;const i=Object.keys(o).find((e=>"x-scalar-modified-headers"===e.toLowerCase())),a=i?(null==(r=null==(n=o[i])?void 0:n.toString().split(", "))?void 0:r.map((e=>e.toLowerCase())))??[]:[]
;return Object.keys(o).forEach((e=>{a.includes(e.toLowerCase())&&delete o[e]})),
i&&delete o[i],Object.keys(o).forEach((e=>{const t=/^x-scalar-original-/i
;if(t.test(e)){const n=e.replace(t,"");o[n]=o[e],delete o[e]}
})),Object.keys(o).forEach((e=>{const t=Koe(e);e!==t&&(o[t]=o[e],delete o[e])
})),Object.fromEntries(Object.entries(o).sort((([e],[t])=>e.localeCompare(t))))
})(l.headers,ul(i,f)),d=l.headers.get("content-type")??"text/plain;charset=UTF-8",p=await l.arrayBuffer(),b=function(e,t){
const n=new Oie(t)
;return wie.includes(n.essence)?new TextDecoder(n.parameters.get("charset")).decode(e):new Blob([e],{
type:n.essence})
}(p,d),O="getSetCookie"in l.headers&&"function"==typeof l.headers.getSetCookie?l.headers.getSetCookie():[]
;return[null,{timestamp:Date.now(),request:n,response:{...l,headers:c,
cookieHeaderKeys:O,data:b,size:p.byteLength,duration:Date.now()-t,
method:e.method,status:l.status,path:h}}]}catch(E$){
return null==a||a.emit("abort"),[Goe(E$,Woe),null]}},controller:u}]}catch(NN){
return null==a||a.emit("abort"),[Goe(NN),null]}},xie={
class:"hidden lg:flex ml-auto filter-hover group lg:w-[120px]"},Sie={
class:"request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2"
},_ie=["isActive","onClick"],Eie={
class:"flex items-center group-hover:text-c-1 absolute -right-6 top-1/2 -translate-y-1/2"
},Tie={class:"mr-4 group-hover:hidden"},Cie=Gr({__name:"ContextBar",props:{
sections:{},activeSection:{}},emits:["setActiveSection"],
setup:e=>(e,t)=>(Zi(),Yi("div",xie,[ra("div",Sie,[(Zi(!0),
Yi(Ui,null,So(e.sections,(t=>(Zi(),Yi("button",{key:t,
class:et(["hover:bg-b-2 rounded p-1 px-2 text-center font-medium w-fit",[e.activeSection===t?"text-c-1 pointer-events-none":""]]),
isActive:e.activeSection===t,type:"button",
onClick:n=>e.$emit("setActiveSection",t)
},st(t),11,_ie)))),128)),ra("div",Eie,[ra("span",Tie,st(e.activeSection),1),oa(Qn(Uq),{
icon:"FilterList",size:"md",thickness:"2"})])])]))
}),Aie=T8(Cie,[["__scopeId","data-v-10366d6c"]]),Pie=["aria-labelledby"],Die=["id"],$ie=Gr({
__name:"ViewLayoutSection",setup(e){const t=EH()
;return(e,n)=>(Zi(),Yi("section",{"aria-labelledby":Qn(t),
class:"flex h-full xl:min-w-0 xl:flex-1 flex-col xl:custom-scroll bg-b-1"
},[ra("div",{id:Qn(t),
class:"min-h-11 xl:min-h-header flex items-center border-b-1/2 px-3.5 py-2 md:px-4 md:py-2.5 xl:px-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none"
},[Eo(e.$slots,"title")],8,Die),Eo(e.$slots,"default")],8,Pie))}});class Rie{
lineAt(e){
if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`)
;return this.lineInner(e,!1,1,0)}line(e){
if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`)
;return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=Fie(this,e,t);let r=[]
;return this.decompose(0,e,r,2),
n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),
Mie.from(r,this.length-(t-e)+n.length)}append(e){
return this.replace(this.length,this.length,e)}slice(e,t=this.length){
[e,t]=Fie(this,e,t);let n=[];return this.decompose(e,t,n,0),Mie.from(n,t-e)}
eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1
;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new jie(this),o=new jie(e)
;for(let i=t,a=t;;){
if(r.next(i),o.next(i),i=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1
;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new jie(this,e)}
iterRange(e,t=this.length){return new Bie(this,e,t)}iterLines(e,t){let n
;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from
;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))
}return new Qie(n)}toString(){return this.sliceString(0)}toJSON(){let e=[]
;return this.flatten(e),e}constructor(){}static of(e){
if(0==e.length)throw new RangeError("A document must have at least one line")
;return 1!=e.length||e[0]?e.length<=32?new Nie(e):Mie.from(Nie.split(e,[])):Rie.empty
}}class Nie extends Rie{constructor(e,t=function(e){let t=-1
;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}
get lines(){return this.text.length}get children(){return null}
lineInner(e,t,n,r){for(let o=0;;o++){let i=this.text[o],a=r+i.length
;if((t?n:a)>=e)return new Uie(r,a,n,i);r=a+1,n++}}decompose(e,t,n,r){
let o=e<=0&&t>=this.length?this:new Nie(Lie(this.text,e,t),Math.min(t,this.length)-Math.max(0,e))
;if(1&r){let e=n.pop(),t=Iie(o.text,e.text.slice(),0,o.length)
;if(t.length<=32)n.push(new Nie(t,e.length+o.length));else{let e=t.length>>1
;n.push(new Nie(t.slice(0,e)),new Nie(t.slice(e)))}}else n.push(o)}
replace(e,t,n){if(!(n instanceof Nie))return super.replace(e,t,n)
;[e,t]=Fie(this,e,t)
;let r=Iie(this.text,Iie(n.text,Lie(this.text,0,e)),t),o=this.length+n.length-(t-e)
;return r.length<=32?new Nie(r,o):Mie.from(Nie.split(r,[]),o)}
sliceString(e,t=this.length,n="\n"){[e,t]=Fie(this,e,t);let r=""
;for(let o=0,i=0;o<=t&&i<this.text.length;i++){let a=this.text[i],s=o+a.length
;o>e&&i&&(r+=n),e<s&&t>o&&(r+=a.slice(Math.max(0,e-o),t-o)),o=s+1}return r}
flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}
static split(e,t){let n=[],r=-1
;for(let o of e)n.push(o),r+=o.length+1,32==n.length&&(t.push(new Nie(n,r)),
n=[],r=-1);return r>-1&&t.push(new Nie(n,r)),t}}class Mie extends Rie{
constructor(e,t){super(),this.children=e,this.length=t,this.lines=0
;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let o=0;;o++){
let i=this.children[o],a=r+i.length,s=n+i.lines-1
;if((t?s:a)>=e)return i.lineInner(e,t,n,r);r=a+1,n=s+1}}decompose(e,t,n,r){
for(let o=0,i=0;i<=t&&o<this.children.length;o++){
let a=this.children[o],s=i+a.length;if(e<=s&&t>=i){
let o=r&((i<=e?1:0)|(s>=t?2:0))
;i>=e&&s<=t&&!o?n.push(a):a.decompose(e-i,t-i,n,o)}i=s+1}}replace(e,t,n){
if([e,t]=Fie(this,e,t),
n.lines<this.lines)for(let r=0,o=0;r<this.children.length;r++){
let i=this.children[r],a=o+i.length;if(e>=o&&t<=a){
let s=i.replace(e-o,t-o,n),l=this.lines-i.lines+s.lines
;if(s.lines<l>>4&&s.lines>l>>6){let o=this.children.slice()
;return o[r]=s,new Mie(o,this.length-(t-e)+n.length)}return super.replace(o,a,s)
}o=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){
[e,t]=Fie(this,e,t);let r="";for(let o=0,i=0;o<this.children.length&&i<=t;o++){
let a=this.children[o],s=i+a.length
;i>e&&o&&(r+=n),e<s&&t>i&&(r+=a.sliceString(e-i,t-i,n)),i=s+1}return r}
flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){
if(!(e instanceof Mie))return 0
;let n=0,[r,o,i,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1]
;for(;;r+=t,o+=t){if(r==i||o==a)return n;let s=this.children[r],l=e.children[o]
;if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}
static from(e,t=e.reduce(((e,t)=>e+t.length+1),-1)){let n=0
;for(let p of e)n+=p.lines;if(n<32){let n=[];for(let t of e)t.flatten(n)
;return new Nie(n,t)}let r=Math.max(32,n>>5),o=r<<1,i=r>>1,a=[],s=0,l=-1,c=[]
;function u(e){let t
;if(e.lines>o&&e instanceof Mie)for(let n of e.children)u(n);else e.lines>i&&(s>i||!s)?(d(),
a.push(e)):e instanceof Nie&&s&&(t=c[c.length-1])instanceof Nie&&e.lines+t.lines<=32?(s+=e.lines,
l+=e.length+1,
c[c.length-1]=new Nie(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>r&&d(),
s+=e.lines,l+=e.length+1,c.push(e))}function d(){
0!=s&&(a.push(1==c.length?c[0]:Mie.from(c,l)),l=-1,s=c.length=0)}
for(let p of e)u(p);return d(),1==a.length?a[0]:new Mie(a,t)}}
function Iie(e,t,n=0,r=1e9){for(let o=0,i=0,a=!0;i<e.length&&o<=r;i++){
let s=e[i],l=o+s.length
;l>=n&&(l>r&&(s=s.slice(0,r-o)),o<n&&(s=s.slice(n-o)),a?(t[t.length-1]+=s,
a=!1):t.push(s)),o=l+1}return t}function Lie(e,t,n){return Iie(e,[""],t,n)}
Rie.empty=new Nie([""],0);class jie{constructor(e,t=1){
this.dir=t,this.done=!1,this.lineBreak=!1,
this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof Nie?e.text.length:e.children.length)<<1]
}nextInner(e,t){for(this.done=this.lineBreak=!1;;){
let n=this.nodes.length-1,r=this.nodes[n],o=this.offsets[n],i=o>>1,a=r instanceof Nie?r.text.length:r.children.length
;if(i==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this
;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()
}else if((1&o)==(t>0?0:1)){
if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--
}else if(r instanceof Nie){let o=r.text[i+(t<0?-1:0)]
;if(this.offsets[n]+=t,o.length>Math.max(0,e))return this.value=0==e?o:t>0?o.slice(e):o.slice(0,o.length-e),
this;e-=o.length}else{let o=r.children[i+(t<0?-1:0)]
;e>o.length?(e-=o.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,
this.nodes.push(o),
this.offsets.push(t>0?1:(o instanceof Nie?o.text.length:o.children.length)<<1))}
}}next(e=0){
return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)
}}class Bie{constructor(e,t,n){
this.value="",this.done=!1,this.cursor=new jie(e,t>n?-1:1),
this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}
nextInner(e,t){
if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",
this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos)
;let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e
;let{value:r}=this.cursor.next(e)
;return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),
this.done=!this.value,this}next(e=0){
return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),
this.nextInner(e,this.cursor.dir)}get lineBreak(){
return this.cursor.lineBreak&&""!=this.value}}class Qie{constructor(e){
this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){
let{done:t,lineBreak:n,value:r}=this.inner.next(e)
;return t&&this.afterBreak?(this.value="",
this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,
this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}
"undefined"!=typeof Symbol&&(Rie.prototype[Symbol.iterator]=function(){
return this.iter()
},jie.prototype[Symbol.iterator]=Bie.prototype[Symbol.iterator]=Qie.prototype[Symbol.iterator]=function(){
return this});class Uie{constructor(e,t,n,r){
this.from=e,this.to=t,this.number=n,this.text=r}get length(){
return this.to-this.from}}function Fie(e,t,n){
return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}
let zie="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((e=>e?parseInt(e,36):1))
;for(let FEe=1;FEe<zie.length;FEe++)zie[FEe]+=zie[FEe-1];function qie(e){
for(let t=1;t<zie.length;t+=2)if(zie[t]>e)return zie[t-1]<=e;return!1}
function Hie(e){return e>=127462&&e<=127487}const Vie=8205
;function Zie(e,t,n=!0,r=!0){return(n?Wie:Xie)(e,t,r)}function Wie(e,t,n){
if(t==e.length)return t;t&&Gie(e.charCodeAt(t))&&Yie(e.charCodeAt(t-1))&&t--
;let r=Kie(e,t);for(t+=eae(r);t<e.length;){let o=Kie(e,t)
;if(r==Vie||o==Vie||n&&qie(o))t+=eae(o),r=o;else{if(!Hie(o))break;{let n=0,r=t-2
;for(;r>=0&&Hie(Kie(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}
function Xie(e,t,n){for(;t>0;){let r=Wie(e,t-2,n);if(r<t)return r;t--}return 0}
function Gie(e){return e>=56320&&e<57344}function Yie(e){
return e>=55296&&e<56320}function Kie(e,t){let n=e.charCodeAt(t)
;if(!Yie(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1)
;return Gie(r)?r-56320+(n-55296<<10)+65536:n}function Jie(e){
return e<=65535?String.fromCharCode(e):(e-=65536,
String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function eae(e){
return e<65536?1:2}const tae=/\r\n?|\n/;var nae=function(e){
return e[e.Simple=0]="Simple",
e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",
e[e.TrackAfter=3]="TrackAfter",e}(nae||(nae={}));class rae{constructor(e){
this.sections=e}get length(){let e=0
;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}
get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){
let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){
return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}
iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){
let o=this.sections[t++],i=this.sections[t++];i<0?(e(n,r,o),r+=o):r+=i,n+=o}}
iterChangedRanges(e,t=!1){sae(this,e,t)}get invertedDesc(){let e=[]
;for(let t=0;t<this.sections.length;){
let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}
return new rae(e)}composeDesc(e){return this.empty?e:e.empty?this:cae(this,e)}
mapDesc(e,t=!1){return e.empty?this:lae(this,e,t)}mapPos(e,t=-1,n=nae.Simple){
let r=0,o=0;for(let i=0;i<this.sections.length;){
let a=this.sections[i++],s=this.sections[i++],l=r+a;if(s<0){
if(l>e)return o+(e-r);o+=a}else{
if(n!=nae.Simple&&l>=e&&(n==nae.TrackDel&&r<e&&l>e||n==nae.TrackBefore&&r<e||n==nae.TrackAfter&&l>e))return null
;if(l>e||l==e&&t<0&&!a)return e==r||t<0?o:o+s;o+=s}r=l}
if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`)
;return o}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){
let o=r+this.sections[n++]
;if(this.sections[n++]>=0&&r<=t&&o>=e)return!(r<e&&o>t)||"cover";r=o}return!1}
toString(){let e="";for(let t=0;t<this.sections.length;){
let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}
return e}toJSON(){return this.sections}static fromJSON(e){
if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc")
;return new rae(e)}static create(e){return new rae(e)}}class oae extends rae{
constructor(e,t){super(e),this.inserted=t}apply(e){
if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length")
;return sae(this,((t,n,r,o,i)=>e=e.replace(r,r+(n-t),i)),!1),e}mapDesc(e,t=!1){
return lae(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[]
;for(let r=0,o=0;r<t.length;r+=2){let i=t[r],a=t[r+1];if(a>=0){t[r]=a,t[r+1]=i
;let s=r>>1;for(;n.length<s;)n.push(Rie.empty)
;n.push(i?e.slice(o,o+i):Rie.empty)}o+=i}return new oae(t,n)}compose(e){
return this.empty?e:e.empty?this:cae(this,e,!0)}map(e,t=!1){
return e.empty?this:lae(this,e,t,!0)}iterChanges(e,t=!1){sae(this,e,t)}
get desc(){return rae.create(this.sections)}filter(e){
let t=[],n=[],r=[],o=new uae(this);e:for(let i=0,a=0;;){
let s=i==e.length?1e9:e[i++];for(;a<s||a==s&&0==o.len;){if(o.done)break e
;let e=Math.min(o.len,s-a);iae(r,e,-1);let i=-1==o.ins?-1:0==o.off?o.ins:0
;iae(t,e,i),i>0&&aae(n,t,o.text),o.forward(e),a+=e}let l=e[i++];for(;a<l;){
if(o.done)break e;let e=Math.min(o.len,l-a)
;iae(t,e,-1),iae(r,e,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(e),a+=e}}return{
changes:new oae(t,n),filtered:rae.create(r)}}toJSON(){let e=[]
;for(let t=0;t<this.sections.length;t+=2){
let n=this.sections[t],r=this.sections[t+1]
;r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))
}return e}static of(e,t,n){let r=[],o=[],i=0,a=null;function s(e=!1){
if(!e&&!r.length)return;i<t&&iae(r,t-i,-1);let n=new oae(r,o)
;a=a?a.compose(n.map(a)):n,r=[],o=[],i=0}return function e(l){
if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof oae){
if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`)
;s(),a=a?a.compose(l.map(a)):l}else{let{from:e,to:a=e,insert:c}=l
;if(e>a||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`)
;let u=c?"string"==typeof c?Rie.of(c.split(n||tae)):c:Rie.empty,d=u.length
;if(e==a&&0==d)return;e<i&&s(),e>i&&iae(r,e-i,-1),iae(r,a-e,d),aae(o,r,u),i=a}
}(e),s(!a),a}static empty(e){return new oae(e?[e,-1]:[],[])}static fromJSON(e){
if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet")
;let t=[],n=[];for(let r=0;r<e.length;r++){let o=e[r]
;if("number"==typeof o)t.push(o,-1);else{
if(!Array.isArray(o)||"number"!=typeof o[0]||o.some(((e,t)=>t&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet")
;if(1==o.length)t.push(o[0],0);else{for(;n.length<r;)n.push(Rie.empty)
;n[r]=Rie.of(o.slice(1)),t.push(o[0],n[r].length)}}}return new oae(t,n)}
static createSet(e,t){return new oae(e,t)}}function iae(e,t,n,r=!1){
if(0==t&&n<=0)return;let o=e.length-2
;o>=0&&n<=0&&n==e[o+1]?e[o]+=t:0==t&&0==e[o]?e[o+1]+=n:r?(e[o]+=t,
e[o+1]+=n):e.push(t,n)}function aae(e,t,n){if(0==n.length)return
;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{
for(;e.length<r;)e.push(Rie.empty);e.push(n)}}function sae(e,t,n){
let r=e.inserted;for(let o=0,i=0,a=0;a<e.sections.length;){
let s=e.sections[a++],l=e.sections[a++];if(l<0)o+=s,i+=s;else{
let c=o,u=i,d=Rie.empty
;for(;c+=s,u+=l,l&&r&&(d=d.append(r[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],
l=e.sections[a++];t(o,c,i,u,d),o=c,i=u}}}function lae(e,t,n,r=!1){
let o=[],i=r?[]:null,a=new uae(e),s=new uae(t)
;for(let l=-1;;)if(-1==a.ins&&-1==s.ins){let e=Math.min(a.len,s.len)
;iae(o,e,-1),a.forward(e),s.forward(e)
}else if(s.ins>=0&&(a.ins<0||l==a.i||0==a.off&&(s.len<a.len||s.len==a.len&&!n))){
let e=s.len;for(iae(o,s.ins,-1);e;){let t=Math.min(a.len,e)
;a.ins>=0&&l<a.i&&a.len<=t&&(iae(o,0,a.ins),
i&&aae(i,o,a.text),l=a.i),a.forward(t),e-=t}s.next()}else{if(!(a.ins>=0)){
if(a.done&&s.done)return i?oae.createSet(o,i):rae.create(o)
;throw new Error("Mismatched change set lengths")}{let e=0,t=a.len
;for(;t;)if(-1==s.ins){let n=Math.min(t,s.len);e+=n,t-=n,s.forward(n)}else{
if(!(0==s.ins&&s.len<t))break;t-=s.len,s.next()}
iae(o,e,l<a.i?a.ins:0),i&&l<a.i&&aae(i,o,a.text),l=a.i,a.forward(a.len-t)}}}
function cae(e,t,n=!1){let r=[],o=n?[]:null,i=new uae(e),a=new uae(t)
;for(let s=!1;;){if(i.done&&a.done)return o?oae.createSet(r,o):rae.create(r)
;if(0==i.ins)iae(r,i.len,0,s),i.next();else if(0!=a.len||a.done){
if(i.done||a.done)throw new Error("Mismatched change set lengths");{
let e=Math.min(i.len2,a.len),t=r.length;if(-1==i.ins){
let t=-1==a.ins?-1:a.off?0:a.ins;iae(r,e,t,s),o&&t&&aae(o,r,a.text)
}else-1==a.ins?(iae(r,i.off?0:i.len,e,s),
o&&aae(o,r,i.textBit(e))):(iae(r,i.off?0:i.len,a.off?0:a.ins,s),
o&&!a.off&&aae(o,r,a.text))
;s=(i.ins>e||a.ins>=0&&a.len>e)&&(s||r.length>t),i.forward2(e),a.forward(e)}
}else iae(r,0,a.ins,s),o&&aae(o,r,a.text),a.next()}}class uae{constructor(e){
this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set
;this.i<e.length?(this.len=e[this.i++],
this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){
return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){
let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?Rie.empty:e[t]}
textBit(e){let{inserted:t}=this.set,n=this.i-2>>1
;return n>=t.length&&!e?Rie.empty:t[n].slice(this.off,null==e?void 0:this.off+e)
}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){
-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}
class dae{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){
return 32&this.flags?this.to:this.from}get head(){
return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}
get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){
let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6
;return 16777215==e?void 0:e}map(e,t=-1){let n,r
;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),
r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new dae(n,r,this.flags)}
extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return pae.range(e,t)
;let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t
;return pae.range(this.anchor,n)}eq(e,t=!1){
return!(this.anchor!=e.anchor||this.head!=e.head||t&&this.empty&&this.assoc!=e.assoc)
}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){
if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange")
;return pae.range(e.anchor,e.head)}static create(e,t,n){return new dae(e,t,n)}}
class pae{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){
return e.empty?this:pae.create(this.ranges.map((n=>n.map(e,t))),this.mainIndex)}
eq(e,t=!1){
if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1
;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1
;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){
return 1==this.ranges.length?this:new pae([this.main],0)}addRange(e,t=!0){
return pae.create([e].concat(this.ranges),t?0:this.mainIndex+1)}
replaceRange(e,t=this.mainIndex){let n=this.ranges.slice()
;return n[t]=e,pae.create(n,this.mainIndex)}toJSON(){return{
ranges:this.ranges.map((e=>e.toJSON())),main:this.mainIndex}}static fromJSON(e){
if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection")
;return new pae(e.ranges.map((e=>dae.fromJSON(e))),e.main)}static single(e,t=e){
return new pae([pae.range(e,t)],0)}static create(e,t=0){
if(0==e.length)throw new RangeError("A selection needs at least one range")
;for(let n=0,r=0;r<e.length;r++){let o=e[r]
;if(o.empty?o.from<=n:o.from<n)return pae.normalized(e.slice(),t);n=o.to}
return new pae(e,t)}static cursor(e,t=0,n,r){
return dae.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)
}static range(e,t,n,r){let o=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r))
;return t<e?dae.create(t,e,48|o):dae.create(e,t,(t>e?8:0)|o)}
static normalized(e,t=0){let n=e[t]
;e.sort(((e,t)=>e.from-t.from)),t=e.indexOf(n);for(let r=1;r<e.length;r++){
let n=e[r],o=e[r-1];if(n.empty?n.from<=o.to:n.from<o.to){
let i=o.from,a=Math.max(n.to,o.to)
;r<=t&&t--,e.splice(--r,2,n.anchor>n.head?pae.range(a,i):pae.range(i,a))}}
return new pae(e,t)}}function hae(e,t){
for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")
}let fae=0;class mae{constructor(e,t,n,r,o){
this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=fae++,
this.default=e([]),this.extensions="function"==typeof o?o(this):o}get reader(){
return this}static define(e={}){
return new mae(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:gae),!!e.static,e.enables)
}of(e){return new vae([],this,0,e)}compute(e,t){
if(this.isStatic)throw new Error("Can't compute a static facet")
;return new vae(e,this,1,t)}computeN(e,t){
if(this.isStatic)throw new Error("Can't compute a static facet")
;return new vae(e,this,2,t)}from(e,t){
return t||(t=e=>e),this.compute([e],(n=>t(n.field(e))))}}function gae(e,t){
return e==t||e.length==t.length&&e.every(((e,n)=>e===t[n]))}class vae{
constructor(e,t,n,r){
this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=fae++}
dynamicSlot(e){var t
;let n=this.value,r=this.facet.compareInput,o=this.id,i=e[o]>>1,a=2==this.type,s=!1,l=!1,c=[]
;for(let u of this.dependencies)"doc"==u?s=!0:"selection"==u?l=!0:1&(null!==(t=e[u.id])&&void 0!==t?t:1)||c.push(e[u.id])
;return{create:e=>(e.values[i]=n(e),1),update(e,t){
if(s&&t.docChanged||l&&(t.docChanged||t.selection)||Oae(e,c)){let t=n(e)
;if(a?!bae(t,e.values[i],r):!r(t,e.values[i]))return e.values[i]=t,1}return 0},
reconfigure:(e,t)=>{let s,l=t.config.address[o];if(null!=l){let o=Nae(t,l)
;if(this.dependencies.every((n=>n instanceof mae?t.facet(n)===e.facet(n):!(n instanceof kae)||t.field(n,!1)==e.field(n,!1)))||(a?bae(s=n(e),o,r):r(s=n(e),o)))return e.values[i]=o,
0}else s=n(e);return e.values[i]=s,1}}}}function bae(e,t,n){
if(e.length!=t.length)return!1
;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}
function Oae(e,t){let n=!1;for(let r of t)1&Rae(e,r)&&(n=!0);return n}
function yae(e,t,n){
let r=n.map((t=>e[t.id])),o=n.map((e=>e.type)),i=r.filter((e=>!(1&e))),a=e[t.id]>>1
;function s(e){let n=[];for(let t=0;t<r.length;t++){let i=Nae(e,r[t])
;if(2==o[t])for(let e of i)n.push(e);else n.push(i)}return t.combine(n)}return{
create(e){for(let t of r)Rae(e,t);return e.values[a]=s(e),1},update(e,n){
if(!Oae(e,i))return 0;let r=s(e)
;return t.compare(r,e.values[a])?0:(e.values[a]=r,1)},reconfigure(e,o){
let i=Oae(e,r),l=o.config.facets[t.id],c=o.facet(t)
;if(l&&!i&&gae(n,l))return e.values[a]=c,0;let u=s(e)
;return t.compare(u,c)?(e.values[a]=c,0):(e.values[a]=u,1)}}}
const wae=mae.define({static:!0});class kae{constructor(e,t,n,r,o){
this.id=e,this.createF=t,
this.updateF=n,this.compareF=r,this.spec=o,this.provides=void 0}
static define(e){
let t=new kae(fae++,e.create,e.update,e.compare||((e,t)=>e===t),e)
;return e.provide&&(t.provides=e.provide(t)),t}create(e){
let t=e.facet(wae).find((e=>e.field==this))
;return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1
;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{
let r=e.values[t],o=this.updateF(r,n)
;return this.compareF(r,o)?0:(e.values[t]=o,1)},
reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),
0):(e.values[t]=this.create(e),1)}}init(e){return[this,wae.of({field:this,
create:e})]}get extension(){return this}}const xae=4,Sae=3,_ae=2,Eae=1
;function Tae(e){return t=>new Aae(t,e)}const Cae={highest:Tae(0),high:Tae(Eae),
default:Tae(_ae),low:Tae(Sae),lowest:Tae(xae)};class Aae{constructor(e,t){
this.inner=e,this.prec=t}}class Pae{of(e){return new Dae(this,e)}reconfigure(e){
return Pae.reconfigure.of({compartment:this,extension:e})}get(e){
return e.config.compartments.get(this)}}class Dae{constructor(e,t){
this.compartment=e,this.inner=t}}class $ae{constructor(e,t,n,r,o,i){
for(this.base=e,
this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=o,
this.facets=i,
this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)
}staticFacet(e){let t=this.address[e.id]
;return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){
let r=[],o=Object.create(null),i=new Map;for(let d of function(e,t,n){
let r=[[],[],[],[],[]],o=new Map;function i(e,a){let s=o.get(e);if(null!=s){
if(s<=a)return;let t=r[s].indexOf(e)
;t>-1&&r[s].splice(t,1),e instanceof Dae&&n.delete(e.compartment)}if(o.set(e,a),
Array.isArray(e))for(let t of e)i(t,a);else if(e instanceof Dae){
if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions")
;let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),i(r,a)
}else if(e instanceof Aae)i(e.inner,e.prec);else if(e instanceof kae)r[a].push(e),
e.provides&&i(e.provides,a);else if(e instanceof vae)r[a].push(e),
e.facet.extensions&&i(e.facet.extensions,_ae);else{let t=e.extension
;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`)
;i(t,a)}}return i(e,_ae),r.reduce(((e,t)=>e.concat(t)))
}(e,t,i))d instanceof kae?r.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d)
;let a=Object.create(null),s=[],l=[]
;for(let d of r)a[d.id]=l.length<<1,l.push((e=>d.slot(e)))
;let c=null==n?void 0:n.config.facets;for(let d in o){
let e=o[d],t=e[0].facet,r=c&&c[d]||[]
;if(e.every((e=>0==e.type)))if(a[t.id]=s.length<<1|1,
gae(r,e))s.push(n.facet(t));else{let r=t.combine(e.map((e=>e.value)))
;s.push(n&&t.compare(r,n.facet(t))?n.facet(t):r)}else{
for(let t of e)0==t.type?(a[t.id]=s.length<<1|1,
s.push(t.value)):(a[t.id]=l.length<<1,l.push((e=>t.dynamicSlot(e))))
;a[t.id]=l.length<<1,l.push((n=>yae(n,t,e)))}}let u=l.map((e=>e(a)))
;return new $ae(e,i,u,a,s,o)}}function Rae(e,t){if(1&t)return 2
;let n=t>>1,r=e.status[n]
;if(4==r)throw new Error("Cyclic dependency between fields and/or facets")
;if(2&r)return r;e.status[n]=4;let o=e.computeSlot(e,e.config.dynamicSlots[n])
;return e.status[n]=2|o}function Nae(e,t){
return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}
const Mae=mae.define(),Iae=mae.define({combine:e=>e.some((e=>e)),static:!0
}),Lae=mae.define({combine:e=>e.length?e[0]:void 0,static:!0
}),jae=mae.define(),Bae=mae.define(),Qae=mae.define(),Uae=mae.define({
combine:e=>!!e.length&&e[0]});class Fae{constructor(e,t){
this.type=e,this.value=t}static define(){return new zae}}class zae{of(e){
return new Fae(this,e)}}class qae{constructor(e){this.map=e}of(e){
return new Hae(this,e)}}class Hae{constructor(e,t){this.type=e,this.value=t}
map(e){let t=this.type.map(this.value,e)
;return void 0===t?void 0:t==this.value?this:new Hae(this.type,t)}is(e){
return this.type==e}static define(e={}){return new qae(e.map||(e=>e))}
static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){
let e=r.map(t);e&&n.push(e)}return n}}
Hae.reconfigure=Hae.define(),Hae.appendConfig=Hae.define();class Vae{
constructor(e,t,n,r,o,i){
this.startState=e,this.changes=t,this.selection=n,this.effects=r,
this.annotations=o,
this.scrollIntoView=i,this._doc=null,this._state=null,n&&hae(n,t.newLength),
o.some((e=>e.type==Vae.time))||(this.annotations=o.concat(Vae.time.of(Date.now())))
}static create(e,t,n,r,o,i){return new Vae(e,t,n,r,o,i)}get newDoc(){
return this._doc||(this._doc=this.changes.apply(this.startState.doc))}
get newSelection(){
return this.selection||this.startState.selection.map(this.changes)}get state(){
return this._state||this.startState.applyTransaction(this),this._state}
annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}
get docChanged(){return!this.changes.empty}get reconfigured(){
return this.startState.config!=this.state.config}isUserEvent(e){
let t=this.annotation(Vae.userEvent)
;return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))
}}function Zae(e,t){let n=[];for(let r=0,o=0;;){let i,a
;if(r<e.length&&(o==t.length||t[o]>=e[r]))i=e[r++],a=e[r++];else{
if(!(o<t.length))return n;i=t[o++],a=t[o++]}
!n.length||n[n.length-1]<i?n.push(i,a):n[n.length-1]<a&&(n[n.length-1]=a)}}
function Wae(e,t,n){var r;let o,i,a
;return n?(o=t.changes,i=oae.empty(t.changes.length),
a=e.changes.compose(t.changes)):(o=t.changes.map(e.changes),
i=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(o)),{changes:a,
selection:t.selection?t.selection.map(i):null===(r=e.selection)||void 0===r?void 0:r.map(o),
effects:Hae.mapEffects(e.effects,o).concat(Hae.mapEffects(t.effects,i)),
annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,
scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function Xae(e,t,n){
let r=t.selection,o=Kae(t.annotations)
;return t.userEvent&&(o=o.concat(Vae.userEvent.of(t.userEvent))),{
changes:t.changes instanceof oae?t.changes:oae.of(t.changes||[],n,e.facet(Lae)),
selection:r&&(r instanceof pae?r:pae.single(r.anchor,r.head)),
effects:Kae(t.effects),annotations:o,scrollIntoView:!!t.scrollIntoView}}
function Gae(e,t,n){let r=Xae(e,t.length?t[0]:{},e.doc.length)
;t.length&&!1===t[0].filter&&(n=!1);for(let i=1;i<t.length;i++){
!1===t[i].filter&&(n=!1);let o=!!t[i].sequential
;r=Wae(r,Xae(e,t[i],o?r.changes.newLength:e.doc.length),o)}
let o=Vae.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView)
;return function(e){let t=e.startState,n=t.facet(Qae),r=e
;for(let o=n.length-1;o>=0;o--){let i=n[o](e)
;i&&Object.keys(i).length&&(r=Wae(r,Xae(t,i,e.changes.newLength),!0))}
return r==e?e:Vae.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)
}(n?function(e){let t=e.startState,n=!0;for(let o of t.facet(jae)){let t=o(e)
;if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:Zae(n,t))}if(!0!==n){
let r,o;if(!1===n)o=e.changes.invertedDesc,r=oae.empty(t.doc.length);else{
let t=e.changes.filter(n)
;r=t.changes,o=t.filtered.mapDesc(t.changes).invertedDesc}
e=Vae.create(t,r,e.selection&&e.selection.map(o),Hae.mapEffects(e.effects,o),e.annotations,e.scrollIntoView)
}let r=t.facet(Bae);for(let o=r.length-1;o>=0;o--){let n=r[o](e)
;e=n instanceof Vae?n:Array.isArray(n)&&1==n.length&&n[0]instanceof Vae?n[0]:Gae(t,Kae(n),!1)
}return e}(o):o)}
Vae.time=Fae.define(),Vae.userEvent=Fae.define(),Vae.addToHistory=Fae.define(),
Vae.remote=Fae.define();const Yae=[];function Kae(e){
return null==e?Yae:Array.isArray(e)?e:[e]}var Jae=function(e){
return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e
}(Jae||(Jae={}))
;const ese=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
;let tse;try{tse=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(UEe){}
function nse(e){return t=>{if(!/\S/.test(t))return Jae.Space;if(function(e){
if(tse)return tse.test(e);for(let t=0;t<e.length;t++){let n=e[t]
;if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||ese.test(n)))return!0
}return!1}(t))return Jae.Word
;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return Jae.Word
;return Jae.Other}}class rse{constructor(e,t,n,r,o,i){
this.config=e,this.doc=t,this.selection=n,
this.values=r,this.status=e.statusTemplate.slice(),
this.computeSlot=o,i&&(i._state=this)
;for(let a=0;a<this.config.dynamicSlots.length;a++)Rae(this,a<<1)
;this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id]
;if(null!=n)return Rae(this,n),Nae(this,n)
;if(t)throw new RangeError("Field is not present in this state")}update(...e){
return Gae(this,e,!0)}applyTransaction(e){
let t,n=this.config,{base:r,compartments:o}=n
;for(let a of e.effects)a.is(Pae.reconfigure)?(n&&(o=new Map,
n.compartments.forEach(((e,t)=>o.set(t,e))),
n=null),o.set(a.value.compartment,a.value.extension)):a.is(Hae.reconfigure)?(n=null,
r=a.value):a.is(Hae.appendConfig)&&(n=null,r=Kae(r).concat(a.value))
;if(n)t=e.startState.values.slice();else{
n=$ae.resolve(r,o,this),t=new rse(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values
}let i=e.startState.facet(Iae)?e.newSelection:e.newSelection.asSingle()
;new rse(n,e.newDoc,i,t,((t,n)=>n.update(t,e)),e)}replaceSelection(e){
return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((t=>({changes:{
from:t.from,to:t.to,insert:e},range:pae.cursor(t.from+e.length)})))}
changeByRange(e){
let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),o=[n.range],i=Kae(n.effects)
;for(let a=1;a<t.ranges.length;a++){
let n=e(t.ranges[a]),s=this.changes(n.changes),l=s.map(r)
;for(let e=0;e<a;e++)o[e]=o[e].map(l);let c=r.mapDesc(s,!0)
;o.push(n.range.map(c)),
r=r.compose(l),i=Hae.mapEffects(i,l).concat(Hae.mapEffects(Kae(n.effects),c))}
return{changes:r,selection:pae.create(o,t.mainIndex),effects:i}}changes(e=[]){
return e instanceof oae?e:oae.of(e,this.doc.length,this.facet(rse.lineSeparator))
}toText(e){return Rie.of(e.split(this.facet(rse.lineSeparator)||tae))}
sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}
facet(e){let t=this.config.address[e.id]
;return null==t?e.default:(Rae(this,t),Nae(this,t))}toJSON(e){let t={
doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){
let r=e[n]
;r instanceof kae&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))
}return t}static fromJSON(e,t={},n){
if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState")
;let r=[];if(n)for(let o in n)if(Object.prototype.hasOwnProperty.call(e,o)){
let t=n[o],i=e[o];r.push(t.init((e=>t.spec.fromJSON(i,e))))}return rse.create({
doc:e.doc,selection:pae.fromJSON(e.selection),
extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){
let t=$ae.resolve(e.extensions||[],new Map),n=e.doc instanceof Rie?e.doc:Rie.of((e.doc||"").split(t.staticFacet(rse.lineSeparator)||tae)),r=e.selection?e.selection instanceof pae?e.selection:pae.single(e.selection.anchor,e.selection.head):pae.single(0)
;return hae(r,n.length),
t.staticFacet(Iae)||(r=r.asSingle()),new rse(t,n,r,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)
}get tabSize(){return this.facet(rse.tabSize)}get lineBreak(){
return this.facet(rse.lineSeparator)||"\n"}get readOnly(){return this.facet(Uae)
}phrase(e,...t){
for(let n of this.facet(rse.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){
e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,((e,n)=>{
if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]}))),e}
languageDataAt(e,t,n=-1){let r=[]
;for(let o of this.facet(Mae))for(let i of o(this,t,n))Object.prototype.hasOwnProperty.call(i,e)&&r.push(i[e])
;return r}charCategorizer(e){
return nse(this.languageDataAt("wordChars",e).join(""))}wordAt(e){
let{text:t,from:n,length:r}=this.doc.lineAt(e),o=this.charCategorizer(e),i=e-n,a=e-n
;for(;i>0;){let e=Zie(t,i,!1);if(o(t.slice(e,i))!=Jae.Word)break;i=e}for(;a<r;){
let e=Zie(t,a);if(o(t.slice(a,e))!=Jae.Word)break;a=e}
return i==a?null:pae.range(i+n,a+n)}}function ose(e,t,n={}){let r={}
;for(let o of e)for(let e of Object.keys(o)){let t=o[e],i=r[e]
;if(void 0===i)r[e]=t;else if(i===t||void 0===t);else{
if(!Object.hasOwnProperty.call(n,e))throw new Error("Config merge conflict for field "+e)
;r[e]=n[e](i,t)}}for(let o in t)void 0===r[o]&&(r[o]=t[o]);return r}
rse.allowMultipleSelections=Iae,rse.tabSize=mae.define({
combine:e=>e.length?e[0]:4
}),rse.lineSeparator=Lae,rse.readOnly=Uae,rse.phrases=mae.define({compare(e,t){
let n=Object.keys(e),r=Object.keys(t)
;return n.length==r.length&&n.every((n=>e[n]==t[n]))}
}),rse.languageData=Mae,rse.changeFilter=jae,
rse.transactionFilter=Bae,rse.transactionExtender=Qae,
Pae.reconfigure=Hae.define();class ise{eq(e){return this==e}range(e,t=e){
return ase.create(e,t,this)}}
ise.prototype.startSide=ise.prototype.endSide=0,ise.prototype.point=!1,
ise.prototype.mapMode=nae.TrackDel;let ase=class e{constructor(e,t,n){
this.from=e,this.to=t,this.value=n}static create(t,n,r){return new e(t,n,r)}}
;function sse(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}
class lse{constructor(e,t,n,r){
this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){
return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let o=n?this.to:this.from
;for(let i=r,a=o.length;;){if(i==a)return i
;let r=i+a>>1,s=o[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t
;if(r==i)return s>=0?i:a;s>=0?a=r:i=r+1}}between(e,t,n,r){
for(let o=this.findIndex(t,-1e9,!0),i=this.findIndex(n,1e9,!1,o);o<i;o++)if(!1===r(this.from[o]+e,this.to[o]+e,this.value[o]))return!1
}map(e,t){let n=[],r=[],o=[],i=-1,a=-1;for(let s=0;s<this.value.length;s++){
let l,c,u=this.value[s],d=this.from[s]+e,p=this.to[s]+e;if(d==p){
let e=t.mapPos(d,u.startSide,u.mapMode);if(null==e)continue
;if(l=c=e,u.startSide!=u.endSide&&(c=t.mapPos(d,u.endSide),c<l))continue
}else if(l=t.mapPos(d,u.startSide),
c=t.mapPos(p,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue
;(c-l||u.endSide-u.startSide)<0||(i<0&&(i=l),
u.point&&(a=Math.max(a,c-l)),n.push(u),r.push(l-i),o.push(c-i))}return{
mapped:n.length?new lse(r,o,n,a):null,pos:i}}}class cse{constructor(e,t,n,r){
this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}
static create(e,t,n,r){return new cse(e,t,n,r)}get length(){
let e=this.chunk.length-1
;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){
if(this.isEmpty)return 0;let e=this.nextLayer.size
;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){
return this.chunkPos[e]+this.chunk[e].length}update(e){
let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:o=this.length}=e,i=e.filter
;if(0==t.length&&!i)return this
;if(n&&(t=t.slice().sort(sse)),this.isEmpty)return t.length?cse.of(t):this
;let a=new pse(this,null,-1).goto(0),s=0,l=[],c=new use
;for(;a.value||s<t.length;)if(s<t.length&&(a.from-t[s].from||a.startSide-t[s].value.startSide)>=0){
let e=t[s++];c.addInner(e.from,e.to,e.value)||l.push(e)
}else 1==a.rangeIndex&&a.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(a.chunkIndex)<t[s].from)&&(!i||r>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&c.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!i||r>a.to||o<a.from||i(a.from,a.to,a.value))&&(c.addInner(a.from,a.to,a.value)||l.push(ase.create(a.from,a.to,a.value))),
a.next())
;return c.finishInner(this.nextLayer.isEmpty&&!l.length?cse.empty:this.nextLayer.update({
add:l,filter:i,filterFrom:r,filterTo:o}))}map(e){
if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1
;for(let i=0;i<this.chunk.length;i++){
let o=this.chunkPos[i],a=this.chunk[i],s=e.touchesRange(o,o+a.length)
;if(!1===s)r=Math.max(r,a.maxPoint),
t.push(a),n.push(e.mapPos(o));else if(!0===s){let{mapped:i,pos:s}=a.map(o,e)
;i&&(r=Math.max(r,i.maxPoint),t.push(i),n.push(s))}}let o=this.nextLayer.map(e)
;return 0==t.length?o:new cse(n,t,o||cse.empty,r)}between(e,t,n){
if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){
let o=this.chunkPos[r],i=this.chunk[r]
;if(t>=o&&e<=o+i.length&&!1===i.between(o,e-o,t-o,n))return}
this.nextLayer.between(e,t,n)}}iter(e=0){return hse.from([this]).goto(e)}
get isEmpty(){return this.nextLayer==this}static iter(e,t=0){
return hse.from(e).goto(t)}static compare(e,t,n,r,o=-1){
let i=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o)),a=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o)),s=dse(i,a,n),l=new mse(i,s,o),c=new mse(a,s,o)
;n.iterGaps(((e,t,n)=>gse(l,e,c,t,n,r))),n.empty&&0==n.length&&gse(l,0,c,0,0,r)}
static eq(e,t,n=0,r){null==r&&(r=999999999)
;let o=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),i=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0))
;if(o.length!=i.length)return!1;if(!o.length)return!0
;let a=dse(o,i),s=new mse(o,a,0).goto(n),l=new mse(i,a,0).goto(n);for(;;){
if(s.to!=l.to||!vse(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1
;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,n,r,o=-1){
let i=new mse(e,null,o).goto(t),a=t,s=i.openStart;for(;;){let e=Math.min(i.to,n)
;if(i.point){
let n=i.activeForPoint(i.to),o=i.pointFrom<t?n.length+1:i.point.startSide<0?n.length:Math.min(n.length,s)
;r.point(a,e,i.point,n,o,i.pointRank),s=Math.min(i.openEnd(e),n.length)
}else e>a&&(r.span(a,e,i.active,s),s=i.openEnd(e))
;if(i.to>n)return s+(i.point&&i.to>n?1:0);a=i.to,i.next()}}static of(e,t=!1){
let n=new use;for(let r of e instanceof ase?[e]:t?function(e){
if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n]
;if(sse(t,r)>0)return e.slice().sort(sse);t=r}return e
}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){
if(!e.length)return cse.empty;let t=e[e.length-1]
;for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=cse.empty;r=r.nextLayer)t=new cse(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint))
;return t}}cse.empty=new cse([],[],null,-1),cse.empty.nextLayer=cse.empty
;class use{finishChunk(e){
this.chunks.push(new lse(this.from,this.to,this.value,this.maxPoint)),
this.chunkPos.push(this.chunkStart),
this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),
this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){
this.chunks=[],
this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,
this.lastTo=-1e9,
this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,
this.nextLayer=null}add(e,t,n){
this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new use)).add(e,t,n)}
addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide
;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`")
;return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),
this.chunkStart<0&&(this.chunkStart=e),
this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),
this.last=n,this.lastFrom=e,
this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),
!0)}addChunk(e,t){
if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1
;this.from.length&&this.finishChunk(!0),
this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),
this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1
;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}
finish(){return this.finishInner(cse.empty)}finishInner(e){
if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e
;let t=cse.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint)
;return this.from=null,t}}function dse(e,t,n){let r=new Map
;for(let i of e)for(let e=0;e<i.chunk.length;e++)i.chunk[e].maxPoint<=0&&r.set(i.chunk[e],i.chunkPos[e])
;let o=new Set;for(let i of t)for(let e=0;e<i.chunk.length;e++){
let t=r.get(i.chunk[e])
;null==t||(n?n.mapPos(t):t)!=i.chunkPos[e]||(null==n?void 0:n.touchesRange(t,t+i.chunk[e].length))||o.add(i.chunk[e])
}return o}class pse{constructor(e,t,n,r=0){
this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){
return this.value?this.value.startSide:0}get endSide(){
return this.value?this.value.endSide:0}goto(e,t=-1e9){
return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}
gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){
let t=this.layer.chunk[this.chunkIndex]
;if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break
;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){
let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0)
;(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){
(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){
if(this.chunkIndex==this.layer.chunk.length){
this.from=this.to=1e9,this.value=null;break}{
let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex]
;if(this.from=n,
this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],
this.setRangeIndex(this.rangeIndex+1),
this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}
setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){
if(this.chunkIndex++,
this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++
;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){
this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){
return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide
}}class hse{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[]
;for(let o=0;o<e.length;o++)for(let i=e[o];!i.isEmpty;i=i.nextLayer)i.maxPoint>=n&&r.push(new pse(i,t,n,o))
;return 1==r.length?r[0]:new hse(r)}get startSide(){
return this.value?this.value.startSide:0}goto(e,t=-1e9){
for(let n of this.heap)n.goto(e,t)
;for(let n=this.heap.length>>1;n>=0;n--)fse(this.heap,n);return this.next(),this
}forward(e,t){for(let n of this.heap)n.forward(e,t)
;for(let n=this.heap.length>>1;n>=0;n--)fse(this.heap,n)
;(this.to-e||this.value.endSide-t)<0&&this.next()}next(){
if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{
let e=this.heap[0]
;this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,
e.value&&e.next(),fse(this.heap,0)}}}function fse(e,t){for(let n=e[t];;){
let r=1+(t<<1);if(r>=e.length)break;let o=e[r]
;if(r+1<e.length&&o.compare(e[r+1])>=0&&(o=e[r+1],r++),n.compare(o)<0)break
;e[r]=n,e[t]=o,t=r}}class mse{constructor(e,t,n){this.minPoint=n,this.active=[],
this.activeTo=[],
this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,
this.pointRank=0,
this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=hse.from(e,t,n)}
goto(e,t=-1e9){
return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,
this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}
forward(e,t){
for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive)
;this.cursor.forward(e,t)}removeActive(e){
bse(this.active,e),bse(this.activeTo,e),
bse(this.activeRank,e),this.minActive=yse(this.active,this.activeTo)}
addActive(e){let t=0,{value:n,to:r,rank:o}=this.cursor
;for(;t<this.activeRank.length&&(o-this.activeRank[t]||r-this.activeTo[t])>0;)t++
;Ose(this.active,t,n),
Ose(this.activeTo,t,r),Ose(this.activeRank,t,o),e&&Ose(e,t,this.cursor.from),
this.minActive=yse(this.active,this.activeTo)}next(){let e=this.to,t=this.point
;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive
;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){
if(this.activeTo[r]>e){
this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}
this.removeActive(r),n&&bse(n,r)}else{if(!this.cursor.value){
this.to=this.endSide=1e9;break}if(this.cursor.from>e){
this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{
let e=this.cursor.value;if(e.point){
if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,
this.pointFrom=this.cursor.from,
this.pointRank=this.cursor.rank,this.to=this.cursor.to,
this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide)
;break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}if(n){
this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}
activeForPoint(e){if(!this.active.length)return this.active;let t=[]
;for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n])
;return t.reverse()}openEnd(e){let t=0
;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}
function gse(e,t,n,r,o,i){e.goto(t),n.goto(r);let a=r+o,s=r,l=r-t;for(;;){
let t=e.to+l-n.to||e.endSide-n.endSide,r=t<0?e.to+l:n.to,o=Math.min(r,a)
;if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&vse(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(s,o,e.point,n.point):o>s&&!vse(e.active,n.active)&&i.compareRange(s,o,e.active,n.active),
r>a)break;s=r,t<=0&&e.next(),t>=0&&n.next()}}function vse(e,t){
if(e.length!=t.length)return!1
;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}
function bse(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}
function Ose(e,t,n){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}
function yse(e,t){let n=-1,r=1e9
;for(let o=0;o<t.length;o++)(t[o]-r||e[o].endSide-e[n].endSide)<0&&(n=o,r=t[o])
;return n}function wse(e,t,n=e.length){let r=0
;for(let o=0;o<n;)9==e.charCodeAt(o)?(r+=t-r%t,o++):(r++,o=Zie(e,o));return r}
const kse="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),xse="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),Sse="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{}
;class _se{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){
return/^@/.test(e)?[e]:e.split(/,\s*/)}function o(e,t,i,a){
let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1]
;if(l&&null==t)return i.push(e[0]+";");for(let n in t){let a=t[n]
;if(/&/.test(n))o(n.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),a,i);else if(a&&"object"==typeof a){
if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.")
;o(r(n),a,s,c)
}else null!=a&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+a+";")
}(s.length||c)&&i.push((!n||l||a?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}
for(let i in e)o(r(i),e[i],this.rules)}getRules(){return this.rules.join("\n")}
static newName(){let e=Sse[kse]||1;return Sse[kse]=e+1,"ͼ"+e.toString(36)}
static mount(e,t,n){let r=e[xse],o=n&&n.nonce;r?o&&r.setNonce(o):r=new Tse(e,o),
r.mount(Array.isArray(t)?t:[t],e)}}let Ese=new Map;class Tse{constructor(e,t){
let n=e.ownerDocument||e,r=n.defaultView
;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=Ese.get(n)
;if(t)return e[xse]=t;this.sheet=new r.CSSStyleSheet,Ese.set(n,this)
}else this.styleTag=n.createElement("style"),
t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[xse]=this}mount(e,t){
let n=this.sheet,r=0,o=0;for(let i=0;i<e.length;i++){
let t=e[i],a=this.modules.indexOf(t)
;if(a<o&&a>-1&&(this.modules.splice(a,1),o--,a=-1),-1==a){
if(this.modules.splice(o++,0,t),
n)for(let e=0;e<t.rules.length;e++)n.insertRule(t.rules[e],r++)}else{
for(;o<a;)r+=this.modules[o++].rules.length;r+=t.rules.length,o++}}
if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{
let e=""
;for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n"
;this.styleTag.textContent=e;let n=t.head||t
;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}
setNonce(e){
this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)
}}for(var Cse={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",
16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",
34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",
40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",
92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",
145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",
165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",
219:"[",220:"\\",221:"]",222:"'"},Ase={48:")",49:"!",50:"@",51:"#",52:"$",
53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",
188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'
},Pse="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Dse="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),$se=0;$se<10;$se++)Cse[48+$se]=Cse[96+$se]=String($se)
;for($se=1;$se<=24;$se++)Cse[$se+111]="F"+$se
;for($se=65;$se<=90;$se++)Cse[$se]=String.fromCharCode($se+32),
Ase[$se]=String.fromCharCode($se)
;for(var Rse in Cse)Ase.hasOwnProperty(Rse)||(Ase[Rse]=Cse[Rse])
;function Nse(e){let t
;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}
function Mse(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}
function Ise(e,t){if(!t.anchorNode)return!1;try{return Mse(e,t.anchorNode)
}catch(UEe){return!1}}function Lse(e){
return 3==e.nodeType?Gse(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]
}function jse(e,t,n,r){return!!n&&(Use(e,t,n,r,-1)||Use(e,t,n,r,1))}
function Bse(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}
function Qse(e){
return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)
}function Use(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:Fse(e))){
if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1
;t=Bse(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1
;if(1==(e=e.childNodes[t+(o<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1
;t=o<0?Fse(e):0}}}function Fse(e){
return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function zse(e,t){
let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}
function qse(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,
bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}
function Hse(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight
;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),
(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{
scaleX:n,scaleY:r}}class Vse{constructor(){
this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}
eq(e){
return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset
}setRange(e){let{anchorNode:t,focusNode:n}=e
;this.set(t,Math.min(e.anchorOffset,t?Fse(t):0),n,Math.min(e.focusOffset,n?Fse(n):0))
}set(e,t,n,r){
this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}
let Zse,Wse=null;function Xse(e){if(e.setActive)return e.setActive()
;if(Wse)return e.focus(Wse);let t=[]
;for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),
n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==Wse?{get preventScroll(){
return Wse={preventScroll:!0},!0}}:void 0),!Wse){Wse=!1
;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],o=t[e++]
;n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=o&&(n.scrollLeft=o)}}}
function Gse(e,t,n=t){let r=Zse||(Zse=document.createRange())
;return r.setEnd(e,n),r.setStart(e,t),r}function Yse(e,t,n,r){let o={key:t,
code:t,keyCode:n,which:n,cancelable:!0}
;r&&({altKey:o.altKey,ctrlKey:o.ctrlKey,shiftKey:o.shiftKey,metaKey:o.metaKey}=r)
;let i=new KeyboardEvent("keydown",o);i.synthetic=!0,e.dispatchEvent(i)
;let a=new KeyboardEvent("keyup",o)
;return a.synthetic=!0,e.dispatchEvent(a),i.defaultPrevented||a.defaultPrevented
}function Kse(e){
for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}
function Jse(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}
function ele(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r>0)return{node:n,
offset:r};if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null
;n=n.childNodes[r-1],r=Fse(n)}else{if(!n.parentNode||Qse(n))return null
;r=Bse(n),n=n.parentNode}}}function tle(e,t){for(let n=e,r=t;;){
if(3==n.nodeType&&r<n.nodeValue.length)return{node:n,offset:r}
;if(1==n.nodeType&&r<n.childNodes.length){
if("false"==n.contentEditable)return null;n=n.childNodes[r],r=0}else{
if(!n.parentNode||Qse(n))return null;r=Bse(n)+1,n=n.parentNode}}}class nle{
constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}
static before(e,t){return new nle(e.parentNode,Bse(e),t)}static after(e,t){
return new nle(e.parentNode,Bse(e)+1,t)}}const rle=[];class ole{constructor(){
this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}
get posAtStart(){return this.parent?this.parent.posBefore(this):0}
get posAtEnd(){return this.posAtStart+this.length}posBefore(e){
let t=this.posAtStart;for(let n of this.children){if(n==e)return t
;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}
posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){
let n,r=this.dom,o=null;for(let i of this.children){if(7&i.flags){
if(!i.dom&&(n=o?o.nextSibling:r.firstChild)){let e=ole.get(n)
;(!e||!e.parent&&e.canReuseDOM(i))&&i.reuseDOM(n)}i.sync(e,t),i.flags&=-8}
if(n=o?o.nextSibling:r.firstChild,
t&&!t.written&&t.node==r&&n!=i.dom&&(t.written=!0),
i.dom.parentNode==r)for(;n&&n!=i.dom;)n=ile(n);else r.insertBefore(i.dom,n)
;o=i.dom}
for(n=o?o.nextSibling:r.firstChild,n&&t&&t.node==r&&(t.written=!0);n;)n=ile(n)
}else if(1&this.flags)for(let n of this.children)7&n.flags&&(n.sync(e,t),
n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n
;if(e==this.dom)n=this.dom.childNodes[t];else{let r=0==Fse(e)?0:0==t?-1:1
;for(;;){let t=e.parentNode;if(t==this.dom)break
;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}
n=r<0?e:e.nextSibling}if(n==this.dom.firstChild)return 0
;for(;n&&!ole.get(n);)n=n.nextSibling;if(!n)return this.length
;for(let r=0,o=0;;r++){let e=this.children[r];if(e.dom==n)return o
;o+=e.length+e.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,o=-1,i=-1,a=-1
;for(let s=0,l=n,c=n;s<this.children.length;s++){
let n=this.children[s],u=l+n.length;if(l<e&&u>t)return n.domBoundsAround(e,t,l)
;if(u>=e&&-1==r&&(r=s,o=l),l>t&&n.dom.parentNode==this.dom){i=s,a=c;break}
c=u,l=u+n.breakAfter}return{from:o,to:a<0?n+this.length:a,
startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,
endDOM:i<this.children.length&&i>=0?this.children[i].dom:null}}markDirty(e=!1){
this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){
for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return
;t.flags|=1,e=!1}}setParent(e){
this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}
setDOM(e){
this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}
get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}
replaceChildren(e,t,n=rle){this.markDirty();for(let r=e;r<t;r++){
let e=this.children[r];e.parent==this&&n.indexOf(e)<0&&e.destroy()}
this.children.splice(e,t-e,...n);for(let r=0;r<n.length;r++)n[r].setParent(this)
}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){
return new ale(this.children,e,this.children.length)}childPos(e,t=1){
return this.childCursor().findPos(e,t)}toString(){
let e=this.constructor.name.replace("View","")
;return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")
}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1
}get isHidden(){return!1}merge(e,t,n,r,o,i){return!1}become(e){return!1}
canReuseDOM(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))
}getSide(){return 0}destroy(){
for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}
function ile(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}
ole.prototype.breakAfter=0;class ale{constructor(e,t,n){
this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){
if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,
this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}
function sle(e,t,n,r,o,i,a,s,l){
let{children:c}=e,u=c.length?c[t]:null,d=i.length?i[i.length-1]:null,p=d?d.breakAfter:a
;if(!(t==r&&u&&!a&&!p&&i.length<2&&u.merge(n,o,i.length?d:null,0==n,s,l))){
if(r<c.length){let e=c[r]
;e&&(o<e.length||e.breakAfter&&(null==d?void 0:d.breakAfter))?(t==r&&(e=e.split(o),
o=0),
!p&&d&&e.merge(0,o,d,!0,0,l)?i[i.length-1]=e:((o||e.children.length&&!e.children[0].length)&&e.merge(0,o,null,!1,0,l),
i.push(e))):(null==e?void 0:e.breakAfter)&&(d?d.breakAfter=1:a=1),r++}
for(u&&(u.breakAfter=a,
n>0&&(!a&&i.length&&u.merge(n,u.length,i[0],!1,s,0)?u.breakAfter=i.shift().breakAfter:(n<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(n,u.length,null,!1,s,0),
t++));t<r&&i.length;)if(c[r-1].become(i[i.length-1]))r--,
i.pop(),l=i.length?0:s;else{if(!c[t].become(i[0]))break
;t++,i.shift(),s=i.length?0:l}
!i.length&&t&&r<c.length&&!c[t-1].breakAfter&&c[r].merge(0,0,c[t-1],!1,s,l)&&t--,
(t<r||i.length)&&e.replaceChildren(t,r,i)}}function lle(e,t,n,r,o,i){
let a=e.childCursor(),{i:s,off:l}=a.findPos(n,1),{i:c,off:u}=a.findPos(t,-1),d=t-n
;for(let p of r)d+=p.length;e.length+=d,sle(e,c,u,s,l,r,0,o,i)}
let cle="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",
platform:""},ule="undefined"!=typeof document?document:{documentElement:{
style:{}}}
;const dle=/Edge\/(\d+)/.exec(cle.userAgent),ple=/MSIE \d/.test(cle.userAgent),hle=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(cle.userAgent),fle=!!(ple||hle||dle),mle=!fle&&/gecko\/(\d+)/i.test(cle.userAgent),gle=!fle&&/Chrome\/(\d+)/.exec(cle.userAgent),vle="webkitFontSmoothing"in ule.documentElement.style,ble=!fle&&/Apple Computer/.test(cle.vendor),Ole=ble&&(/Mobile\/\w+/.test(cle.userAgent)||cle.maxTouchPoints>2)
;var yle={mac:Ole||/Mac/.test(cle.platform),windows:/Win/.test(cle.platform),
linux:/Linux|X11/.test(cle.platform),ie:fle,
ie_version:ple?ule.documentMode||6:hle?+hle[1]:dle?+dle[1]:0,gecko:mle,
gecko_version:mle?+(/Firefox\/(\d+)/.exec(cle.userAgent)||[0,0])[1]:0,
chrome:!!gle,chrome_version:gle?+gle[1]:0,ios:Ole,
android:/Android\b/.test(cle.userAgent),webkit:vle,safari:ble,
webkit_version:vle?+(/\bAppleWebKit\/(\d+)/.exec(cle.userAgent)||[0,0])[1]:0,
tabSize:null!=ule.documentElement.style.tabSize?"tab-size":"-moz-tab-size"}
;class wle extends ole{constructor(e){super(),this.text=e}get length(){
return this.text.length}createDOM(e){
this.setDOM(e||document.createTextNode(this.text))}sync(e,t){
this.dom||this.createDOM(),
this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),
this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}
merge(e,t,n){
return!(8&this.flags||n&&(!(n instanceof wle)||this.length-(t-e)+n.length>256||8&n.flags))&&(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),
this.markDirty(),!0)}split(e){let t=new wle(this.text.slice(e))
;return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}
localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){
return new nle(this.dom,e)}domBoundsAround(e,t,n){return{from:n,
to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){
return function(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let o=t,i=t,a=0
;0==t&&n<0||t==r&&n>=0?yle.chrome||yle.gecko||(t?(o--,
a=1):i<r&&(i++,a=-1)):n<0?o--:i<r&&i++;let s=Gse(e,o,i).getClientRects()
;if(!s.length)return null;let l=s[(a?a<0:n>=0)?0:s.length-1]
;yle.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,(e=>e.width))||l)
;return a?zse(l,a<0):l||null}(this.dom,e,t)}}class kle extends ole{
constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n
;for(let r of t)r.setParent(this)}setAttrs(e){
if(Kse(e),this.mark.class&&(e.className=this.mark.class),
this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t])
;return e}canReuseDOM(e){return super.canReuseDOM(e)&&!(8&(this.flags|e.flags))}
reuseDOM(e){
e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}
sync(e,t){
this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),
super.sync(e,t)}merge(e,t,n,r,o,i){
return(!n||!(!(n instanceof kle&&n.mark.eq(this.mark))||e&&o<=0||t<this.length&&i<=0))&&(lle(this,e,t,n?n.children.slice():[],o-1,i-1),
this.markDirty(),!0)}split(e){let t=[],n=0,r=-1,o=0;for(let a of this.children){
let i=n+a.length;i>e&&t.push(n<e?a.split(e-n):a),r<0&&n>=e&&(r=o),n=i,o++}
let i=this.length-e
;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),
new kle(this.mark,t,i)}domAtPos(e){return _le(this,e)}coordsAt(e,t){
return Tle(this,e,t)}}class xle extends ole{static create(e,t,n){
return new xle(e,t,n)}constructor(e,t,n){
super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){
let t=xle.create(this.widget,this.length-e,this.side);return this.length-=e,t}
sync(e){
this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),
this.prevWidget=null,
this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))
}getSide(){return this.side}merge(e,t,n,r,o,i){
return!(n&&(!(n instanceof xle&&this.widget.compare(n.widget))||e>0&&o<=0||t<this.length&&i<=0))&&(this.length=e+(n?n.length:0)+(this.length-t),
!0)}become(e){
return e instanceof xle&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.compare(e.widget)||this.markDirty(!0),
this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),
this.widget=e.widget,this.length=e.length,!0)}ignoreMutation(){return!0}
ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){
if(0==this.length)return Rie.empty;let e=this;for(;e.parent;)e=e.parent
;let{view:t}=e,n=t&&t.state.doc,r=this.posAtStart
;return n?n.slice(r,r+this.length):Rie.empty}domAtPos(e){
return(this.length?0==e:this.side>0)?nle.before(this.dom):nle.after(this.dom,e==this.length)
}domBoundsAround(){return null}coordsAt(e,t){
let n=this.widget.coordsAt(this.dom,e,t);if(n)return n
;let r=this.dom.getClientRects(),o=null;if(!r.length)return null
;let i=this.side?this.side<0:e>0
;for(let a=i?r.length-1:0;o=r[a],!(e>0?0==a:a==r.length-1||o.top<o.bottom);a+=i?-1:1);
return zse(o,!i)}get isEditable(){return!1}get isWidget(){return!0}
get isHidden(){return this.widget.isHidden}destroy(){
super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Sle extends ole{
constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}
become(e){return e instanceof Sle&&e.side==this.side}split(){
return new Sle(this.side)}sync(){if(!this.dom){
let e=document.createElement("img")
;e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),
this.setDOM(e)}}getSide(){return this.side}domAtPos(e){
return this.side>0?nle.before(this.dom):nle.after(this.dom)}localPosFromDOM(){
return 0}domBoundsAround(){return null}coordsAt(e){
return this.dom.getBoundingClientRect()}get overrideDOMText(){return Rie.empty}
get isHidden(){return!0}}function _le(e,t){let n=e.dom,{children:r}=e,o=0
;for(let i=0;o<r.length;o++){let e=r[o],a=i+e.length
;if(!(a==i&&e.getSide()<=0)){
if(t>i&&t<a&&e.dom.parentNode==n)return e.domAtPos(t-i);if(t<=i)break;i=a}}
for(let i=o;i>0;i--){let e=r[i-1]
;if(e.dom.parentNode==n)return e.domAtPos(e.length)}for(let i=o;i<r.length;i++){
let e=r[i];if(e.dom.parentNode==n)return e.domAtPos(0)}return new nle(n,0)}
function Ele(e,t,n){let r,{children:o}=e
;n>0&&t instanceof kle&&o.length&&(r=o[o.length-1])instanceof kle&&r.mark.eq(t.mark)?Ele(r,t.children[0],n-1):(o.push(t),
t.setParent(e)),e.length+=t.length}function Tle(e,t,n){
let r=null,o=-1,i=null,a=-1;!function e(t,s){
for(let l=0,c=0;l<t.children.length&&c<=s;l++){let u=t.children[l],d=c+u.length
;d>=s&&(u.children.length?e(u,s-c):(!i||i.isHidden&&n>0)&&(d>s||c==d&&u.getSide()>0)?(i=u,
a=s-c):(c<s||c==d&&u.getSide()<0&&!u.isHidden)&&(r=u,o=s-c)),c=d}}(e,t)
;let s=(n<0?r:i)||r||i;return s?s.coordsAt(Math.max(0,s==r?o:a),n):function(e){
let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=Lse(t)
;return n[n.length-1]||null}(e)}function Cle(e,t){
for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n]
;return t}
wle.prototype.children=xle.prototype.children=Sle.prototype.children=rle
;const Ale=Object.create(null);function Ple(e,t,n){if(e==t)return!0
;e||(e=Ale),t||(t=Ale);let r=Object.keys(e),o=Object.keys(t)
;if(r.length-(n&&r.indexOf(n)>-1?1:0)!=o.length-(n&&o.indexOf(n)>-1?1:0))return!1
;for(let i of r)if(i!=n&&(-1==o.indexOf(i)||e[i]!==t[i]))return!1;return!0}
function Dle(e,t,n){let r=!1
;if(t)for(let o in t)n&&o in n||(r=!0,"style"==o?e.style.cssText="":e.removeAttribute(o))
;if(n)for(let o in n)t&&t[o]==n[o]||(r=!0,
"style"==o?e.style.cssText=n[o]:e.setAttribute(o,n[o]));return r}
function $le(e){let t=Object.create(null)
;for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}
return t}class Rle extends ole{constructor(){
super(...arguments),this.children=[],
this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}
merge(e,t,n,r,o,i){if(n){if(!(n instanceof Rle))return!1
;this.dom||n.transferDOM(this)}
return r&&this.setDeco(n?n.attrs:null),lle(this,e,t,n?n.children.slice():[],o,i),
!0}split(e){let t=new Rle
;if(t.breakAfter=this.breakAfter,0==this.length)return t
;let{i:n,off:r}=this.childPos(e)
;r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),
n++);for(let o=n;o<this.children.length;o++)t.append(this.children[o],0)
;for(;n>0&&0==this.children[n-1].length;)this.children[--n].destroy()
;return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){
this.dom&&(this.markDirty(),
e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,
this.prevAttrs=void 0,this.dom=null)}setDeco(e){
Ple(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,
this.markDirty()),this.attrs=e)}append(e,t){Ele(this,e,t)}addLineDeco(e){
let t=e.spec.attributes,n=e.spec.class
;t&&(this.attrs=Cle(t,this.attrs||{})),n&&(this.attrs=Cle({class:n
},this.attrs||{}))}domAtPos(e){return _le(this,e)}reuseDOM(e){
"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n
;this.dom?4&this.flags&&(Kse(this.dom),
this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),
this.dom.className="cm-line",
this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(Dle(this.dom,this.prevAttrs,this.attrs),
this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t)
;let r=this.dom.lastChild;for(;r&&ole.get(r)instanceof kle;)r=r.lastChild
;if(!(r&&this.length&&("BR"==r.nodeName||0!=(null===(n=ole.get(r))||void 0===n?void 0:n.isEditable)||yle.ios&&this.children.some((e=>e instanceof wle))))){
let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}
measureTextSize(){if(0==this.children.length||this.length>20)return null
;let e,t=0;for(let n of this.children){
if(!(n instanceof wle)||/[^ -~]/.test(n.text))return null;let r=Lse(n.dom)
;if(1!=r.length)return null;t+=r[0].width,e=r[0].height}return t?{
lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,
textHeight:e}:null}coordsAt(e,t){let n=Tle(this,e,t)
;if(!this.children.length&&n&&this.parent){
let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top
;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let r=(t-e.textHeight)/2;return{
top:n.top+r,bottom:n.bottom-r,left:n.left,right:n.left}}}return n}become(e){
return!1}covers(){return!0}static find(e,t){
for(let n=0,r=0;n<e.children.length;n++){let o=e.children[n],i=r+o.length
;if(i>=t){if(o instanceof Rle)return o;if(i>t)break}r=i+o.breakAfter}return null
}}class Nle extends ole{constructor(e,t,n){
super(),this.widget=e,this.length=t,this.deco=n,
this.breakAfter=0,this.prevWidget=null}merge(e,t,n,r,o,i){
return!(n&&(!(n instanceof Nle&&this.widget.compare(n.widget))||e>0&&o<=0||t<this.length&&i<=0))&&(this.length=e+(n?n.length:0)+(this.length-t),
!0)}domAtPos(e){
return 0==e?nle.before(this.dom):nle.after(this.dom,e==this.length)}split(e){
let t=this.length-e;this.length=e;let n=new Nle(this.widget,t,this.deco)
;return n.breakAfter=this.breakAfter,n}get children(){return rle}sync(e){
this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),
this.prevWidget=null,
this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))
}get overrideDOMText(){
return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):Rie.empty
}domBoundsAround(){return null}become(e){
return e instanceof Nle&&e.widget.constructor==this.widget.constructor&&(e.widget.compare(this.widget)||this.markDirty(!0),
this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),
this.widget=e.widget,this.length=e.length,
this.deco=e.deco,this.breakAfter=e.breakAfter,!0)}ignoreMutation(){return!0}
ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}
get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)}
destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){
let{startSide:t,endSide:n}=this.deco;return t!=n&&(e<0?t<0:n>0)}}class Mle{
eq(e){return!1}updateDOM(e,t){return!1}compare(e){
return this==e||this.constructor==e.constructor&&this.eq(e)}
get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0
}coordsAt(e,t,n){return null}get isHidden(){return!1}get editable(){return!1}
destroy(e){}}var Ile=function(e){
return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",
e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e
}(Ile||(Ile={}));class Lle extends ise{constructor(e,t,n,r){
super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}
get heightRelevant(){return!1}static mark(e){return new jle(e)}static widget(e){
let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block
;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,
new Qle(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,r=!!e.block
;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:o,end:i}=Ule(e,r)
;t=(o?r?-3e8:-1:5e8)-1,n=1+(i?r?2e8:1:-6e8)}
return new Qle(e,t,n,r,e.widget||null,!0)}static line(e){return new Ble(e)}
static set(e,t=!1){return cse.of(e,t)}hasHeight(){
return!!this.widget&&this.widget.estimatedHeight>-1}}Lle.none=cse.empty
;class jle extends Lle{constructor(e){let{start:t,end:n}=Ule(e)
;super(t?-1:5e8,n?1:-6e8,null,e),
this.tagName=e.tagName||"span",this.class=e.class||"",
this.attrs=e.attributes||null}eq(e){var t,n
;return this==e||e instanceof jle&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(n=e.attrs)||void 0===n?void 0:n.class))&&Ple(this.attrs,e.attrs,"class")
}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty")
;return super.range(e,t)}}jle.prototype.point=!1;class Ble extends Lle{
constructor(e){super(-2e8,-2e8,null,e)}eq(e){
return e instanceof Ble&&this.spec.class==e.spec.class&&Ple(this.spec.attributes,e.spec.attributes)
}range(e,t=e){
if(t!=e)throw new RangeError("Line decoration ranges must be zero-length")
;return super.range(e,t)}}
Ble.prototype.mapMode=nae.TrackBefore,Ble.prototype.point=!0
;class Qle extends Lle{constructor(e,t,n,r,o,i){
super(t,n,o,e),this.block=r,this.isReplace=i,
this.mapMode=r?t<=0?nae.TrackBefore:nae.TrackAfter:nae.TrackDel}get type(){
return this.startSide!=this.endSide?Ile.WidgetRange:this.startSide<=0?Ile.WidgetBefore:Ile.WidgetAfter
}get heightRelevant(){
return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)
}eq(e){
return e instanceof Qle&&(t=this.widget,n=e.widget,t==n||!!(t&&n&&t.compare(n)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide
;var t,n}range(e,t=e){
if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration")
;if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges")
;return super.range(e,t)}}function Ule(e,t=!1){
let{inclusiveStart:n,inclusiveEnd:r}=e
;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,
end:null!=r?r:t}}function Fle(e,t,n,r=0){let o=n.length-1
;o>=0&&n[o]+r>=e?n[o]=Math.max(n[o],t):n.push(e,t)}Qle.prototype.point=!0
;class zle{constructor(e,t,n,r){
this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],
this.curLine=null,
this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,
this.openStart=-1,
this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}
posCovered(){
if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos
;let e=this.content[this.content.length-1]
;return!(e.breakAfter||e instanceof Nle&&e.deco.endSide<0)}getLine(){
return this.curLine||(this.content.push(this.curLine=new Rle),
this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){
this.pendingBuffer&&(this.curLine.append(qle(new Sle(-1),e),e.length),
this.pendingBuffer=0)}addBlockWidget(e){
this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){
this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,
this.posCovered()||e&&this.content.length&&this.content[this.content.length-1]instanceof Nle||this.getLine()
}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){
let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip)
;if(this.skip=0,r)throw new Error("Ran out of text content when drawing inline views")
;if(n){
this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,
this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}
this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512)
;this.flushBuffer(t.slice(t.length-n)),
this.getLine().append(qle(new wle(this.text.slice(this.textOff,this.textOff+r)),t),n),
this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){
this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}
point(e,t,n,r,o,i){if(this.disallowBlockEffectsFor[i]&&n instanceof Qle){
if(n.block)throw new RangeError("Block decorations may not be specified via plugins")
;if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")
}let a=t-e
;if(n instanceof Qle)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),
this.addBlockWidget(new Nle(n.widget||Hle.block,a,n));else{
let i=xle.create(n.widget||Hle.inline,a,a?0:n.startSide),s=this.atCursorPos&&!i.isEditable&&o<=r.length&&(e<t||n.startSide>0),l=!i.isEditable&&(e<t||o>r.length||n.startSide<=0),c=this.getLine()
;2!=this.pendingBuffer||s||i.isEditable||(this.pendingBuffer=0),
this.flushBuffer(r),
s&&(c.append(qle(new Sle(1),r),o),o=r.length+Math.max(0,o-r.length)),
c.append(qle(i,r),o),
this.atCursorPos=l,this.pendingBuffer=l?e<t||o>r.length?1:2:0,
this.pendingBuffer&&(this.bufferMarks=r.slice())
}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n)
;a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),
this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=o)}
static build(e,t,n,r,o){let i=new zle(e,t,n,o)
;return i.openEnd=cse.spans(r,t,n,i),
i.openStart<0&&(i.openStart=i.openEnd),i.finish(i.openEnd),i}}function qle(e,t){
for(let n of t)e=new kle(n,[e],e.length);return e}class Hle extends Mle{
constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){
return document.createElement(this.tag)}updateDOM(e){
return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}
Hle.inline=new Hle("span"),Hle.block=new Hle("div");var Vle=function(e){
return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Vle||(Vle={}))
;const Zle=Vle.LTR,Wle=Vle.RTL;function Xle(e){let t=[]
;for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}
const Gle=Xle("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Yle=Xle("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Kle=Object.create(null),Jle=[]
;for(let FEe of["()","[]","{}"]){let e=FEe.charCodeAt(0),t=FEe.charCodeAt(1)
;Kle[e]=t,Kle[t]=-e}function ece(e){
return e<=247?Gle[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?Yle[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1
}const tce=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class nce{
get dir(){return this.level%2?Wle:Zle}constructor(e,t,n){
this.from=e,this.to=t,this.level=n}side(e,t){
return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}
static find(e,t,n,r){let o=-1;for(let i=0;i<e.length;i++){let a=e[i]
;if(a.from<=t&&a.to>=t){if(a.level==n)return i
;(o<0||(0!=r?r<0?a.from<t:a.to>t:e[o].level>a.level))&&(o=i)}}
if(o<0)throw new RangeError("Index out of range");return o}}function rce(e,t){
if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],o=t[n]
;if(r.from!=o.from||r.to!=o.to||r.direction!=o.direction||!rce(r.inner,o.inner))return!1
}return!0}const oce=[];function ice(e,t,n,r,o,i,a){let s=r%2?2:1
;if(r%2==o%2)for(let l=t,c=0;l<n;){let t=!0,u=!1;if(c==i.length||l<i[c].from){
let e=oce[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],p=t?r:r+1,h=l
;e:for(;;)if(c<i.length&&h==i[c].from){if(u)break e;let f=i[c]
;if(!t)for(let e=f.to,t=c+1;;){if(e==n)break e;if(!(t<i.length&&i[t].from==e)){
if(oce[e]==s)break e;break}e=i[t++].to}if(c++,d)d.push(f);else{
f.from>l&&a.push(new nce(l,f.from,p)),
ace(e,f.direction==Zle!=!(p%2)?r+1:r,o,f.inner,f.from,f.to,a),l=f.to}h=f.to
}else{if(h==n||(t?oce[h]!=s:oce[h]==s))break;h++}
d?ice(e,l,h,r+1,o,d,a):l<h&&a.push(new nce(l,h,p)),l=h
}else for(let l=n,c=i.length;l>t;){let n=!0,u=!1;if(!c||l>i[c-1].to){
let e=oce[l-1];e!=s&&(n=!1,u=16==e)}let d=n||1!=s?null:[],p=n?r:r+1,h=l
;e:for(;;)if(c&&h==i[c-1].to){if(u)break e;let f=i[--c]
;if(!n)for(let e=f.from,n=c;;){if(e==t)break e;if(!n||i[n-1].to!=e){
if(oce[e-1]==s)break e;break}e=i[--n].from}if(d)d.push(f);else{
f.to<l&&a.push(new nce(f.to,l,p)),
ace(e,f.direction==Zle!=!(p%2)?r+1:r,o,f.inner,f.from,f.to,a),l=f.from}h=f.from
}else{if(h==t||(n?oce[h-1]!=s:oce[h-1]==s))break;h--}
d?ice(e,h,l,r+1,o,d,a):h<l&&a.push(new nce(h,l,p)),l=h}}
function ace(e,t,n,r,o,i,a){let s=t%2?2:1;!function(e,t,n,r,o){
for(let i=0;i<=r.length;i++){
let a=i?r[i-1].to:t,s=i<r.length?r[i].from:n,l=i?256:o
;for(let t=a,n=l,r=l;t<s;t++){let o=ece(e.charCodeAt(t))
;512==o?o=n:8==o&&4==r&&(o=16),oce[t]=4==o?2:o,7&o&&(r=o),n=o}
for(let e=a,t=l,r=l;e<s;e++){let o=oce[e]
;if(128==o)e<s-1&&t==oce[e+1]&&24&t?o=oce[e]=t:oce[e]=256;else if(64==o){
let o=e+1;for(;o<s&&64==oce[o];)o++;let i=e&&8==t||o<n&&8==oce[o]?1==r?1:8:256
;for(let t=e;t<o;t++)oce[t]=i;e=o-1}else 8==o&&1==r&&(oce[e]=1);t=o,7&o&&(r=o)}}
}(e,o,i,r,s),function(e,t,n,r,o){let i=1==o?2:1
;for(let a=0,s=0,l=0;a<=r.length;a++){
let c=a?r[a-1].to:t,u=a<r.length?r[a].from:n
;for(let t,n,r,a=c;a<u;a++)if(n=Kle[t=e.charCodeAt(a)])if(n<0){
for(let e=s-3;e>=0;e-=3)if(Jle[e+1]==-n){let t=Jle[e+2],n=2&t?o:4&t?1&t?i:o:0
;n&&(oce[a]=oce[Jle[e]]=n),s=e;break}}else{if(189==Jle.length)break
;Jle[s++]=a,Jle[s++]=t,Jle[s++]=l}else if(2==(r=oce[a])||1==r){let e=r==o
;l=e?0:1;for(let t=s-3;t>=0;t-=3){let n=Jle[t+2];if(2&n)break
;if(e)Jle[t+2]|=2;else{if(4&n)break;Jle[t+2]|=4}}}}
}(e,o,i,r,s),function(e,t,n,r){for(let o=0,i=r;o<=n.length;o++){
let a=o?n[o-1].to:e,s=o<n.length?n[o].from:t;for(let l=a;l<s;){let a=oce[l]
;if(256==a){let a=l+1;for(;;)if(a==s){if(o==n.length)break
;a=n[o++].to,s=o<n.length?n[o].from:t}else{if(256!=oce[a])break;a++}
let c=1==i,u=c==(1==(a<t?oce[a]:r))?c?1:2:r
;for(let t=a,r=o,i=r?n[r-1].to:e;t>l;)t==i&&(t=n[--r].from,
i=r?n[r-1].to:e),oce[--t]=u;l=a}else i=a,l++}}}(o,i,r,s),ice(e,o,i,t,n,r,a)}
function sce(e){return[new nce(0,e,0)]}let lce="";function cce(e,t,n,r,o){var i
;let a=r.head-e.from,s=nce.find(t,a,null!==(i=r.bidiLevel)&&void 0!==i?i:-1,r.assoc),l=t[s],c=l.side(o,n)
;if(a==c){let e=s+=o?1:-1;if(e<0||e>=t.length)return null
;l=t[s=e],a=l.side(!o,n),c=l.side(o,n)}let u=Zie(e.text,a,l.forward(o,n))
;(u<l.from||u>l.to)&&(u=c),lce=e.text.slice(Math.min(a,u),Math.max(a,u))
;let d=s==(o?t.length-1:0)?null:t[s+(o?1:-1)]
;return d&&u==c&&d.level+(o?0:1)<l.level?pae.cursor(d.side(!o,n)+e.from,d.forward(o,n)?1:-1,d.level):pae.cursor(u+e.from,l.forward(o,n)?-1:1,l.level)
}function uce(e,t,n){for(let r=t;r<n;r++){let t=ece(e.charCodeAt(r))
;if(1==t)return Zle;if(2==t||4==t)return Wle}return Zle}
const dce=mae.define(),pce=mae.define(),hce=mae.define(),fce=mae.define(),mce=mae.define(),gce=mae.define(),vce=mae.define(),bce=mae.define({
combine:e=>e.some((e=>e))}),Oce=mae.define({combine:e=>e.some((e=>e))
}),yce=mae.define();class wce{
constructor(e,t="nearest",n="nearest",r=5,o=5,i=!1){
this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=o,this.isSnapshot=i}
map(e){
return e.empty?this:new wce(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)
}clip(e){
return this.range.to<=e.doc.length?this:new wce(pae.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)
}}const kce=Hae.define({map:(e,t)=>e.map(t)}),xce=Hae.define()
;function Sce(e,t,n){let r=e.facet(fce)
;r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)
}const _ce=mae.define({combine:e=>!e.length||e[0]});let Ece=0
;const Tce=mae.define();class Cce{constructor(e,t,n,r,o){
this.id=e,this.create=t,
this.domEventHandlers=n,this.domEventObservers=r,this.extension=o(this)}
static define(e,t){
const{eventHandlers:n,eventObservers:r,provide:o,decorations:i}=t||{}
;return new Cce(Ece++,e,n,r,(e=>{let t=[Tce.of(e)];return i&&t.push($ce.of((t=>{
let n=t.plugin(e);return n?i(n):Lle.none}))),o&&t.push(o(e)),t}))}
static fromClass(e,t){return Cce.define((t=>new e(t)),t)}}class Ace{
constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){
if(this.value){if(this.mustUpdate){let e=this.mustUpdate
;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(G$){
if(Sce(e.state,G$,"CodeMirror plugin crashed"),this.value.destroy)try{
this.value.destroy()}catch(UEe){}this.deactivate()}}}else if(this.spec)try{
this.value=this.spec.create(e)}catch(G$){
Sce(e.state,G$,"CodeMirror plugin crashed"),this.deactivate()}return this}
destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{
this.value.destroy()}catch(G$){Sce(e.state,G$,"CodeMirror plugin crashed")}}
deactivate(){this.spec=this.value=null}}
const Pce=mae.define(),Dce=mae.define(),$ce=mae.define(),Rce=mae.define(),Nce=mae.define(),Mce=mae.define()
;function Ice(e,t){let n=e.state.facet(Mce);if(!n.length)return n
;let r=n.map((t=>t instanceof Function?t(e):t)),o=[]
;return cse.spans(r,t.from,t.to,{point(){},span(e,n,r,i){
let a=e-t.from,s=n-t.from,l=o;for(let o=r.length-1;o>=0;o--,i--){
let e,n=r[o].spec.bidiIsolate
;if(null==n&&(n=uce(t.text,a,s)),i>0&&l.length&&(e=l[l.length-1]).to==a&&e.direction==n)e.to=s,
l=e.inner;else{let e={from:a,to:s,direction:n,inner:[]};l.push(e),l=e.inner}}}
}),o}const Lce=mae.define();function jce(e){let t=0,n=0,r=0,o=0
;for(let i of e.state.facet(Lce)){let a=i(e)
;a&&(null!=a.left&&(t=Math.max(t,a.left)),
null!=a.right&&(n=Math.max(n,a.right)),
null!=a.top&&(r=Math.max(r,a.top)),null!=a.bottom&&(o=Math.max(o,a.bottom)))}
return{left:t,right:n,top:r,bottom:o}}const Bce=mae.define();class Qce{
constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){
return new Qce(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))
}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1]
;if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}
return e.splice(t,0,n),e}static extendWithRanges(e,t){if(0==t.length)return e
;let n=[];for(let r=0,o=0,i=0,a=0;;r++){
let s=r==e.length?null:e[r],l=i-a,c=s?s.fromB:1e9;for(;o<t.length&&t[o]<c;){
let e=t[o],r=t[o+1],i=Math.max(a,e),s=Math.min(c,r)
;if(i<=s&&new Qce(i+l,s+l,i,s).addToSet(n),r>c)break;o+=2}if(!s)return n
;new Qce(s.fromA,s.toA,s.fromB,s.toB).addToSet(n),i=s.toA,a=s.toB}}}class Uce{
constructor(e,t,n){
this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,
this.changes=oae.empty(this.startState.doc.length)
;for(let o of n)this.changes=this.changes.compose(o.changes);let r=[]
;this.changes.iterChangedRanges(((e,t,n,o)=>r.push(new Qce(e,t,n,o)))),
this.changedRanges=r}static create(e,t,n){return new Uce(e,t,n)}
get viewportChanged(){return(4&this.flags)>0}get heightChanged(){
return(2&this.flags)>0}get geometryChanged(){
return this.docChanged||(10&this.flags)>0}get focusChanged(){
return(1&this.flags)>0}get docChanged(){return!this.changes.empty}
get selectionSet(){return this.transactions.some((e=>e.selection))}get empty(){
return 0==this.flags&&0==this.transactions.length}}class Fce extends ole{
get length(){return this.view.state.doc.length}constructor(e){
super(),this.view=e,
this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,
this.hasComposition=null,
this.markedForComposition=new Set,this.editContextFormatting=Lle.none,
this.lastCompositionAfterCursor=!1,
this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,
this.impreciseHead=null,
this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),
this.children=[new Rle],
this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Qce(0,0,0,e.state.doc.length)],0,null)
}update(e){var t;let n=e.changedRanges
;this.minWidth>0&&n.length&&(n.every((({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo))?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),
this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),
this.updateEditContextFormatting(e);let r=-1
;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?r=this.domChanged.newSel.head:function(e,t){
let n=!1;t&&e.iterChangedRanges(((e,r)=>{e<t.to&&r>t.from&&(n=!0)}));return n
}(e.changes,this.hasComposition)||e.selectionSet||(r=e.state.selection.main.head))
;let o=r>-1?function(e,t,n){let r=qce(e,n);if(!r)return null
;let{node:o,from:i,to:a}=r,s=o.nodeValue;if(/[\n\r]/.test(s))return null
;if(e.state.doc.sliceString(r.from,r.to)!=s)return null
;let l=t.invertedDesc,c=new Qce(l.mapPos(i),l.mapPos(a),i,a),u=[]
;for(let d=o.parentNode;;d=d.parentNode){let t=ole.get(d)
;if(t instanceof kle)u.push({node:d,deco:t.mark});else{
if(t instanceof Rle||"DIV"==d.nodeName&&d.parentNode==e.contentDOM)return{
range:c,text:o,marks:u,line:d};if(d==e.contentDOM)return null;u.push({node:d,
deco:new jle({inclusive:!0,attributes:$le(d),tagName:d.tagName.toLowerCase()})})
}}}(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){
this.markedForComposition.clear();let{from:t,to:r}=this.hasComposition
;n=new Qce(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())
}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB
}:null,(yle.ie||yle.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0)
;let i=function(e,t,n){let r=new Hce;return cse.compare(e,t,n,r),r.changes
}(this.decorations,this.updateDeco(),e.changes)
;return n=Qce.extendWithRanges(n,i),
!!(7&this.flags||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,o),
e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){
this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n)
;let{observer:r}=this.view;r.ignore((()=>{
this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",
this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":""
;let e=yle.chrome||yle.ios?{node:r.selectionRange.focusNode,written:!1}:void 0
;this.sync(this.view,e),
this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),
this.dom.style.height=""})),this.markedForComposition.forEach((e=>e.flags&=-9))
;let o=[]
;if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let i of this.children)i instanceof Nle&&i.widget instanceof zce&&o.push(i.dom)
;r.updateGaps(o)}updateChildren(e,t,n){
let r=n?n.range.addToSet(e.slice()):e,o=this.childCursor(t)
;for(let i=r.length-1;;i--){let e=i>=0?r[i]:null;if(!e)break
;let t,a,s,l,{fromA:c,toA:u,fromB:d,toB:p}=e
;if(n&&n.range.fromB<p&&n.range.toB>d){
let e=zle.build(this.view.state.doc,d,n.range.fromB,this.decorations,this.dynamicDecorationMap),r=zle.build(this.view.state.doc,n.range.toB,p,this.decorations,this.dynamicDecorationMap)
;a=e.breakAtStart,s=e.openStart,l=r.openEnd;let o=this.compositionView(n)
;r.breakAtStart?o.breakAfter=1:r.content.length&&o.merge(o.length,o.length,r.content[0],!1,r.openStart,0)&&(o.breakAfter=r.content[0].breakAfter,
r.content.shift()),
e.content.length&&o.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),
t=e.content.concat(o).concat(r.content)
}else({content:t,breakAtStart:a,openStart:s,openEnd:l}=zle.build(this.view.state.doc,d,p,this.decorations,this.dynamicDecorationMap))
;let{i:h,off:f}=o.findPos(u,1),{i:m,off:g}=o.findPos(c,-1)
;sle(this,m,g,h,f,t,a,s,l)}n&&this.fixCompositionDOM(n)}
updateEditContextFormatting(e){
this.editContextFormatting=this.editContextFormatting.map(e.changes)
;for(let t of e.transactions)for(let e of t.effects)e.is(xce)&&(this.editContextFormatting=e.value)
}compositionView(e){let t=new wle(e.text.nodeValue);t.flags|=8
;for(let{deco:r}of e.marks)t=new kle(r,[t],t.length);let n=new Rle
;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{
t.flags|=8|(t.children.some((e=>7&e.flags))?1:0),
this.markedForComposition.add(t);let n=ole.get(e)
;n&&n!=t&&(n.dom=null),t.setDOM(e)
},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r)
;for(let o=e.marks.length-1;o>=-1;o--)n=r.childPos(n.off,1),
r=r.children[n.i],t(o>=0?e.marks[o].node:e.text,r)}updateSelection(e=!1,t=!1){
!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange()
;let n=this.view.root.activeElement,r=n==this.dom,o=!r&&Ise(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n))
;if(!(r||t||o))return;let i=this.forceSelection;this.forceSelection=!1
;let a=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(a.anchor)),l=a.empty?s:this.moveToLine(this.domAtPos(a.head))
;if(yle.gecko&&a.empty&&!this.hasComposition&&(1==(c=s).node.nodeType&&c.node.firstChild&&(0==c.offset||"false"==c.node.childNodes[c.offset-1].contentEditable)&&(c.offset==c.node.childNodes.length||"false"==c.node.childNodes[c.offset].contentEditable))){
let e=document.createTextNode("")
;this.view.observer.ignore((()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null))),
s=l=new nle(e,0),i=!0}var c;let u=this.view.observer.selectionRange
;!i&&u.focusNode&&(jse(s.node,s.offset,u.anchorNode,u.anchorOffset)&&jse(l.node,l.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,a))||(this.view.observer.ignore((()=>{
yle.android&&yle.chrome&&this.dom.contains(u.focusNode)&&function(e,t){
for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0
;return!1}(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({
preventScroll:!0}));let e=Nse(this.view.root);if(e)if(a.empty){if(yle.gecko){
let e=(t=s.node,
r=s.offset,1!=t.nodeType?0:(r&&"false"==t.childNodes[r-1].contentEditable?1:0)|(r<t.childNodes.length&&"false"==t.childNodes[r].contentEditable?2:0))
;if(e&&3!=e){let t=(1==e?ele:tle)(s.node,s.offset)
;t&&(s=new nle(t.node,t.offset))}}
e.collapse(s.node,s.offset),null!=a.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=a.bidiLevel)
}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)
}catch(UEe){}}else{let t=document.createRange()
;a.anchor>a.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),
t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}else;var t,r
;o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())
})),this.view.observer.setSelectionRange(s,l)),
this.impreciseAnchor=s.precise?null:new nle(u.anchorNode,u.anchorOffset),
this.impreciseHead=l.precise?null:new nle(u.focusNode,u.focusOffset)}
suppressWidgetCursorChange(e,t){
return this.hasComposition&&t.empty&&jse(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head
}enforceCursorAssoc(){if(this.hasComposition)return
;let{view:e}=this,t=e.state.selection.main,n=Nse(e.root),{anchorNode:r,anchorOffset:o}=e.observer.selectionRange
;if(!(n&&t.empty&&t.assoc&&n.modify))return;let i=Rle.find(this,t.head)
;if(!i)return;let a=i.posAtStart;if(t.head==a||t.head==a+i.length)return
;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1)
;if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc)
;n.collapse(c.node,c.offset),
n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),
e.observer.readSelectionRange();let u=e.observer.selectionRange
;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,o)}
moveToLine(e){let t,n=this.dom;if(e.node!=n)return e
;for(let r=e.offset;!t&&r<n.childNodes.length;r++){
let e=ole.get(n.childNodes[r]);e instanceof Rle&&(t=e.domAtPos(0))}
for(let r=e.offset-1;!t&&r>=0;r--){let e=ole.get(n.childNodes[r])
;e instanceof Rle&&(t=e.domAtPos(e.length))}
return t?new nle(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){
let e=ole.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}
posFromDOM(e,t){let n=this.nearest(e)
;if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document")
;return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){
let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){
let e=this.children[t];if(n<e.length||e instanceof Rle)break;t++,n=0}
return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,r=0
;for(let o=this.length,i=this.children.length-1;i>=0;i--){
let a=this.children[i],s=o-a.breakAfter,l=s-a.length;if(s<e)break
;if(l<=e&&(l<e||a.covers(-1))&&(s>e||a.covers(1))&&(!n||a instanceof Rle&&!(n instanceof Rle&&t>=0)))n=a,
r=l;else if(n&&l==e&&s==e&&a instanceof Nle&&Math.abs(t)<2){
if(a.deco.startSide<0)break;i&&(n=null)}o=l}return n?n.coordsAt(e-r,t):null}
coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),r=this.children[t]
;if(!(r instanceof Rle))return null;for(;r.children.length;){
let{i:e,off:t}=r.childPos(n,1);for(;;e++){if(e==r.children.length)return null
;if((r=r.children[e]).length)break}n=t}if(!(r instanceof wle))return null
;let o=Zie(r.text,n);if(o==n)return null;let i=Gse(r.dom,n,o).getClientRects()
;for(let a=0;a<i.length;a++){let e=i[a]
;if(a==i.length-1||e.top<e.bottom&&e.left<e.right)return e}return null}
measureVisibleLineHeights(e){
let t=[],{from:n,to:r}=e,o=this.view.contentDOM.clientWidth,i=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==Vle.LTR
;for(let l=0,c=0;c<this.children.length;c++){let e=this.children[c],u=l+e.length
;if(u>r)break;if(l>=n){let n=e.dom.getBoundingClientRect()
;if(t.push(n.height),i){let t=e.dom.lastChild,r=t?Lse(t):[];if(r.length){
let e=r[r.length-1],t=s?e.right-n.left:n.right-e.left;t>a&&(a=t,this.minWidth=o,
this.minWidthFrom=l,this.minWidthTo=u)}}}l=u+e.breakAfter}return t}
textDirectionAt(e){let{i:t}=this.childPos(e,1)
;return"rtl"==getComputedStyle(this.children[t].dom).direction?Vle.RTL:Vle.LTR}
measureTextSize(){for(let o of this.children)if(o instanceof Rle){
let e=o.measureTextSize();if(e)return e}
let e,t,n,r=document.createElement("div")
;return r.className="cm-line",r.style.width="99999px",
r.style.position="absolute",
r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{
this.dom.appendChild(r);let o=Lse(r.firstChild)[0]
;e=r.getBoundingClientRect().height,t=o?o.width/27:7,n=o?o.height:e,r.remove()
})),{lineHeight:e,charWidth:t,textHeight:n}}childCursor(e=this.length){
let t=this.children.length
;return t&&(e-=this.children[--t].length),new ale(this.children,e,t)}
computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){
let o=r==t.viewports.length?null:t.viewports[r],i=o?o.from-1:this.length
;if(i>n){let r=(t.lineBlockAt(i).bottom-t.lineBlockAt(n).top)/this.view.scaleY
;e.push(Lle.replace({widget:new zce(r),block:!0,inclusive:!0,isBlockGap:!0
}).range(n,i))}if(!o)break;n=o.to+1}return Lle.set(e)}updateDeco(){
let e=1,t=this.view.state.facet($ce).map((t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t)),n=!1,r=this.view.state.facet(Rce).map(((e,t)=>{
let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e}))
;for(r.length&&(this.dynamicDecorationMap[e++]=n,
t.push(cse.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1
;return this.decorations}scrollIntoView(e){if(e.isSnapshot){
let t=this.view.viewState.lineBlockAt(e.range.head)
;return this.view.scrollDOM.scrollTop=t.top-e.yMargin,
void(this.view.scrollDOM.scrollLeft=e.xMargin)}
for(let l of this.view.state.facet(yce))try{if(l(this.view,e.range,e))return!0
}catch(G$){Sce(this.view.state,G$,"scroll handler")}
let t,{range:n}=e,r=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1)
;if(!r)return;!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={
left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),
right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)})
;let o=jce(this.view),i={left:r.left-o.left,top:r.top-o.top,
right:r.right+o.right,bottom:r.bottom+o.bottom
},{offsetWidth:a,offsetHeight:s}=this.view.scrollDOM;!function(e,t,n,r,o,i,a,s){
let l=e.ownerDocument,c=l.defaultView||window
;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,p=u==l.body,h=1,f=1
;if(p)e=qse(c);else{
if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),
u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){
u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect()
;({scaleX:h,scaleY:f}=Hse(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,
top:t.top,bottom:t.top+u.clientHeight*f}}let m=0,g=0
;if("nearest"==o)t.top<e.top?(g=-(e.top-t.top+a),
n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+a)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+a,
n<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+a)));else{
let r=t.bottom-t.top,i=e.bottom-e.top
;g=("center"==o&&r<=i?t.top+r/2-i/2:"start"==o||"center"==o&&n<0?t.top-a:t.bottom-i+a)-e.top
}
if("nearest"==r?t.left<e.left?(m=-(e.left-t.left+i),n>0&&t.right>e.right+m&&(m=t.right-e.right+m+i)):t.right>e.right&&(m=t.right-e.right+i,
n<0&&t.left<e.left+m&&(m=-(e.left+m-t.left+i))):m=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-i:t.right-(e.right-e.left)+i)-e.left,
m||g)if(p)c.scrollBy(m,g);else{let e=0,n=0;if(g){let e=u.scrollTop
;u.scrollTop+=g/f,n=(u.scrollTop-e)*f}if(m){let t=u.scrollLeft
;u.scrollLeft+=m/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-n,
right:t.right-e,bottom:t.bottom-n
},e&&Math.abs(e-m)<1&&(r="nearest"),n&&Math.abs(n-g)<1&&(o="nearest")}if(p)break
;u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}
}(this.view.scrollDOM,i,n.head<n.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==Vle.LTR)
}}class zce extends Mle{constructor(e){super(),this.height=e}toDOM(){
let e=document.createElement("div")
;return e.className="cm-gap",this.updateDOM(e),e}eq(e){
return e.height==this.height}updateDOM(e){
return e.style.height=this.height+"px",!0}get editable(){return!0}
get estimatedHeight(){return this.height}ignoreEvent(){return!1}}
function qce(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null
;let r=ele(n.focusNode,n.focusOffset),o=tle(n.focusNode,n.focusOffset),i=r||o
;if(o&&r&&o.node!=r.node){let t=ole.get(o.node)
;if(!t||t instanceof wle&&t.text!=o.node.nodeValue)i=o;else if(e.docView.lastCompositionAfterCursor){
let e=ole.get(r.node);!e||e instanceof wle&&e.text!=r.node.nodeValue||(i=o)}}
if(e.docView.lastCompositionAfterCursor=i!=r,!i)return null;let a=t-i.offset
;return{from:a,to:a+i.node.nodeValue.length,node:i.node}}let Hce=class{
constructor(){this.changes=[]}compareRange(e,t){Fle(e,t,this.changes)}
comparePoint(e,t){Fle(e,t,this.changes)}};function Vce(e,t){
return t.left>e?t.left-e:Math.max(0,e-t.right)}function Zce(e,t){
return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Wce(e,t){
return e.top<t.bottom-1&&e.bottom>t.top+1}function Xce(e,t){return t<e.top?{
top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function Gce(e,t){
return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}
function Yce(e,t,n){let r,o,i,a,s,l,c,u,d=!1
;for(let h=e.firstChild;h;h=h.nextSibling){let e=Lse(h)
;for(let p=0;p<e.length;p++){let f=e[p]
;o&&Wce(o,f)&&(f=Xce(Gce(f,o.bottom),o.top));let m=Vce(t,f),g=Zce(n,f)
;if(0==m&&0==g)return 3==h.nodeType?Kce(h,t,n):Yce(h,t,n)
;if(!r||a>g||a==g&&i>m){r=h,o=f,i=m,a=g;let s=g?n<f.top?-1:1:m?t<f.left?-1:1:0
;d=!s||(s>0?p<e.length-1:p>0)}
0==m?n>f.bottom&&(!c||c.bottom<f.bottom)?(s=h,c=f):n<f.top&&(!u||u.top>f.top)&&(l=h,
u=f):c&&Wce(c,f)?c=Gce(c,f.bottom):u&&Wce(u,f)&&(u=Xce(u,f.top))}}
if(c&&c.bottom>=n?(r=s,o=c):u&&u.top<=n&&(r=l,o=u),!r)return{node:e,offset:0}
;let p=Math.max(o.left,Math.min(o.right,t))
;return 3==r.nodeType?Kce(r,p,n):d&&"false"!=r.contentEditable?Yce(r,p,n):{
node:e,
offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(o.left+o.right)/2?1:0)}
}function Kce(e,t,n){let r=e.nodeValue.length,o=-1,i=1e9,a=0
;for(let s=0;s<r;s++){let r=Gse(e,s,s+1).getClientRects()
;for(let l=0;l<r.length;l++){let c=r[l];if(c.top==c.bottom)continue
;a||(a=t-c.left);let u=(c.top>n?c.top-n:n-c.bottom)-1
;if(c.left-1<=t&&c.right+1>=t&&u<i){let n=t>=(c.left+c.right)/2,r=n
;if(yle.chrome||yle.gecko){
Gse(e,s).getBoundingClientRect().left==c.right&&(r=!n)}if(u<=0)return{node:e,
offset:s+(r?1:0)};o=s+(r?1:0),i=u}}}return{node:e,
offset:o>-1?o:a>0?e.nodeValue.length:0}}function Jce(e,t,n,r=-1){var o,i
;let a,s=e.contentDOM.getBoundingClientRect(),l=s.top+e.viewState.paddingTop,{docHeight:c}=e.viewState,{x:u,y:d}=t,p=d-l
;if(p<0)return 0;if(p>c)return e.state.doc.length
;for(let y=e.viewState.heightOracle.textHeight/2,w=!1;a=e.elementAtHeight(p),
a.type!=Ile.Text;)for(;p=r>0?a.bottom+y:a.top-y,!(p>=0&&p<=c);){
if(w)return n?null:0;w=!0,r=-r}d=l+p;let h=a.from
;if(h<e.viewport.from)return 0==e.viewport.from?0:n?null:eue(e,s,a,u,d)
;if(h>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:eue(e,s,a,u,d)
;let f=e.dom.ownerDocument,m=e.root.elementFromPoint?e.root:f,g=m.elementFromPoint(u,d)
;g&&!e.contentDOM.contains(g)&&(g=null),
g||(u=Math.max(s.left+1,Math.min(s.right-1,u)),
g=m.elementFromPoint(u,d),g&&!e.contentDOM.contains(g)&&(g=null));let v,b=-1
;if(g&&0!=(null===(o=e.docView.nearest(g))||void 0===o?void 0:o.isEditable))if(f.caretPositionFromPoint){
let e=f.caretPositionFromPoint(u,d);e&&({offsetNode:v,offset:b}=e)
}else if(f.caretRangeFromPoint){let t=f.caretRangeFromPoint(u,d)
;t&&(({startContainer:v,startOffset:b}=t),
(!e.contentDOM.contains(v)||yle.safari&&function(e,t,n){let r
;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1
;for(let o=e.nextSibling;o;o=o.nextSibling)if(1!=o.nodeType||"BR"!=o.nodeName)return!1
;return Gse(e,r-1,r).getBoundingClientRect().left>n
}(v,b,u)||yle.chrome&&function(e,t,n){if(0!=t)return!1;for(let o=e;;){
let e=o.parentNode;if(!e||1!=e.nodeType||e.firstChild!=o)return!1
;if(e.classList.contains("cm-line"))break;o=e}
let r=1==e.nodeType?e.getBoundingClientRect():Gse(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()
;return n-r.left>5}(v,b,u))&&(v=void 0))}if(!v||!e.docView.dom.contains(v)){
let t=Rle.find(e.docView,h);if(!t)return p>a.top+a.height/2?a.to:a.from
;({node:v,offset:b}=Yce(t.dom,u,d))}let O=e.docView.nearest(v);if(!O)return null
;if(O.isWidget&&1==(null===(i=O.dom)||void 0===i?void 0:i.nodeType)){
let e=O.dom.getBoundingClientRect()
;return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?O.posAtStart:O.posAtEnd
}return O.localPosFromDOM(v,b)+O.posAtStart}function eue(e,t,n,r,o){
let i=Math.round((r-t.left)*e.defaultCharacterWidth)
;if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){
let t=e.viewState.heightOracle.textHeight
;i+=Math.floor((o-n.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength
}let a=e.state.sliceDoc(n.from,n.to);return n.from+function(e,t,n,r){
for(let o=0,i=0;;){if(i>=t)return o;if(o==e.length)break
;i+=9==e.charCodeAt(o)?n-i%n:1,o=Zie(e,o)}return!0===r?-1:e.length
}(a,i,e.state.tabSize)}function tue(e,t,n,r){let o=function(e,t){
let n=e.lineBlockAt(t)
;if(Array.isArray(n.type))for(let r of n.type)if(r.to>t||r.to==t&&(r.to==n.to||r.type==Ile.Text))return r
;return n
}(e,t.head),i=r&&o.type==Ile.Text&&(e.lineWrapping||o.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>o.from?t.head-1:t.head):null
;if(i){
let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(o.from),a=e.posAtCoords({
x:n==(r==Vle.LTR)?t.right-1:t.left+1,y:(i.top+i.bottom)/2})
;if(null!=a)return pae.cursor(a,n?-1:1)}return pae.cursor(n?o.to:o.from,n?-1:1)}
function nue(e,t,n,r){
let o=e.state.doc.lineAt(t.head),i=e.bidiSpans(o),a=e.textDirectionAt(o.from)
;for(let s=t,l=null;;){let t=cce(o,i,a,s,n),c=lce;if(!t){
if(o.number==(n?e.state.doc.lines:1))return s
;c="\n",o=e.state.doc.line(o.number+(n?1:-1)),
i=e.bidiSpans(o),t=e.visualLineSide(o,!n)}if(l){if(!l(c))return s}else{
if(!r)return t;l=r(c)}s=t}}function rue(e,t,n){for(;;){let r=0
;for(let o of e)o.between(t-1,t+1,((e,o,i)=>{if(t>e&&t<o){
let i=r||n||(t-e<o-t?-1:1);t=i<0?e:o,r=i}}));if(!r)return t}}
function oue(e,t,n){
let r=rue(e.state.facet(Nce).map((t=>t(e))),n.from,t.head>n.from?-1:1)
;return r==n.from?n:pae.cursor(r,r<n.from?1:-1)}class iue{setSelectionOrigin(e){
this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){
var t
;this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,
this.lastScrollTop=0,
this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,
this.lastSelectionOrigin=null,
this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],
this.handlers=Object.create(null),
this.composing=-1,this.compositionFirstChange=null,
this.compositionEndedAt=0,this.compositionPendingKey=!1,
this.compositionPendingChange=!1,
this.mouseSelection=null,this.draggedContent=null,
this.handleEvent=this.handleEvent.bind(this),
this.notifiedFocused=e.hasFocus,yle.safari&&e.contentDOM.addEventListener("input",(()=>null)),
yle.gecko&&(t=e.contentDOM.ownerDocument,
Due.has(t)||(Due.add(t),t.addEventListener("copy",(()=>{})),
t.addEventListener("cut",(()=>{}))))}handleEvent(e){(function(e,t){
if(!t.bubbles)return!0;if(t.defaultPrevented)return!1
;for(let n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=ole.get(r))&&n.ignoreEvent(t))return!1
;return!0
})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||this.runHandlers(e.type,e))
}runHandlers(e,t){let n=this.handlers[e];if(n){
for(let e of n.observers)e(this.view,t);for(let e of n.handlers){
if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}
ensureHandlers(e){let t=function(e){let t=Object.create(null);function n(e){
return t[e]||(t[e]={observers:[],handlers:[]})}for(let r of e){let e=r.spec
;if(e&&e.domEventHandlers)for(let t in e.domEventHandlers){
let o=e.domEventHandlers[t];o&&n(t).handlers.push(aue(r.value,o))}
if(e&&e.domEventObservers)for(let t in e.domEventObservers){
let o=e.domEventObservers[t];o&&n(t).observers.push(aue(r.value,o))}}
for(let r in pue)n(r).handlers.push(pue[r])
;for(let r in hue)n(r).observers.push(hue[r]);return t
}(e),n=this.handlers,r=this.view.contentDOM;for(let o in t)if("scroll"!=o){
let e=!t[o].handlers.length,i=n[o]
;i&&e!=!i.handlers.length&&(r.removeEventListener(o,this.handleEvent),
i=null),i||r.addEventListener(o,this.handleEvent,{passive:e})}
for(let o in n)"scroll"==o||t[o]||r.removeEventListener(o,this.handleEvent)
;this.handlers=t}keydown(e){
if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),
9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0
;if(this.tabFocusMode>0&&27!=e.keyCode&&cue.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),
yle.android&&yle.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),
!0;let t
;return!yle.ios||e.synthetic||e.altKey||e.metaKey||!((t=sue.find((t=>t.keyCode==e.keyCode)))&&!e.ctrlKey||lue.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),
!1):(this.pendingIOSKey=t||e,setTimeout((()=>this.flushIOSKey()),250),!0)}
flushIOSKey(e){let t=this.pendingIOSKey
;return!!t&&(!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,
Yse(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0)))}
ignoreDuringComposition(e){
return!!/^key/.test(e.type)&&(this.composing>0||!!(yle.safari&&!yle.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,
!0))}startMouseSelection(e){
this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}
update(e){
this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),
this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),
e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){
this.mouseSelection&&this.mouseSelection.destroy()}}function aue(e,t){
return(n,r)=>{try{return t.call(e,r,n)}catch(G$){Sce(n.state,G$)}}}const sue=[{
key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",
keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,
inputType:"insertLineBreak"},{key:"Delete",keyCode:46,
inputType:"deleteContentForward"}],lue="dthko",cue=[16,17,18,20,91,92,224,225]
;function uue(e){return.7*Math.max(0,e)+8}class due{constructor(e,t,n,r){
this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={
x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=function(e){
let t=e.ownerDocument;for(let n=e.parentNode;n&&n!=t.body;)if(1==n.nodeType){
if(n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)return n
;n=n.assignedSlot||n.parentNode}else{if(11!=n.nodeType)break;n=n.host}
return null}(e.contentDOM),this.atoms=e.state.facet(Nce).map((t=>t(e)))
;let o=e.contentDOM.ownerDocument
;o.addEventListener("mousemove",this.move=this.move.bind(this)),
o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,
this.multiple=e.state.facet(rse.allowMultipleSelections)&&function(e,t){
let n=e.state.facet(dce);return n.length?n[0](t):yle.mac?t.metaKey:t.ctrlKey
}(e,t),this.dragging=!(!function(e,t){let{main:n}=e.state.selection
;if(n.empty)return!1;let r=Nse(e.root);if(!r||0==r.rangeCount)return!0
;let o=r.getRangeAt(0).getClientRects();for(let i=0;i<o.length;i++){let e=o[i]
;if(e.left<=t.clientX&&e.right>=t.clientX&&e.top<=t.clientY&&e.bottom>=t.clientY)return!0
}return!1}(e,t)||1!=_ue(t))&&null}start(e){!1===this.dragging&&this.select(e)}
move(e){var t,n,r;if(0==e.buttons)return this.destroy()
;if(this.dragging||null==this.dragging&&(n=this.startEvent,
r=e,Math.max(Math.abs(n.clientX-r.clientX),Math.abs(n.clientY-r.clientY))<10))return
;this.select(this.lastEvent=e)
;let o=0,i=0,a=(null===(t=this.scrollParent)||void 0===t?void 0:t.getBoundingClientRect())||{
left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight
},s=jce(this.view)
;e.clientX-s.left<=a.left+6?o=-uue(a.left-e.clientX):e.clientX+s.right>=a.right-6&&(o=uue(e.clientX-a.right)),
e.clientY-s.top<=a.top+6?i=-uue(a.top-e.clientY):e.clientY+s.bottom>=a.bottom-6&&(i=uue(e.clientY-a.bottom)),
this.setScrollSpeed(o,i)}up(e){null==this.dragging&&this.select(this.lastEvent),
this.dragging||e.preventDefault(),this.destroy()}destroy(){
this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument
;e.removeEventListener("mousemove",this.move),
e.removeEventListener("mouseup",this.up),
this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}
setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t
},e||t?this.scrolling<0&&(this.scrolling=setInterval((()=>this.scroll()),50)):this.scrolling>-1&&(clearInterval(this.scrolling),
this.scrolling=-1)}scroll(){
this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,
this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),
!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null
;for(let n=0;n<e.ranges.length;n++){let r=e.ranges[n],o=null;if(r.empty){
let e=rue(this.atoms,r.from,0);e!=r.from&&(o=pae.cursor(e,-1))}else{
let e=rue(this.atoms,r.from,-1),t=rue(this.atoms,r.to,1)
;e==r.from&&t==r.to||(o=pae.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}
o&&(t||(t=e.ranges.slice()),t[n]=o)}return t?pae.create(t,e.mainIndex):e}
select(e){
let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple))
;!this.mustSelect&&n.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({
selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){
e.transactions.some((e=>e.isUserEvent("input.type")))?this.destroy():this.style.update(e)&&setTimeout((()=>this.select(this.lastEvent)),20)
}}
const pue=Object.create(null),hue=Object.create(null),fue=yle.ie&&yle.ie_version<15||yle.ios&&yle.webkit_version<604
;function mue(e,t){
let n,{state:r}=e,o=1,i=r.toText(t),a=i.lines==r.selection.ranges.length,s=null!=Tue&&r.selection.ranges.every((e=>e.empty))&&Tue==i.toString()
;if(s){let e=-1;n=r.changeByRange((n=>{let s=r.doc.lineAt(n.from)
;if(s.from==e)return{range:n};e=s.from
;let l=r.toText((a?i.line(o++).text:t)+r.lineBreak);return{changes:{from:s.from,
insert:l},range:pae.cursor(n.from+l.length)}}))}else n=a?r.changeByRange((e=>{
let t=i.line(o++);return{changes:{from:e.from,to:e.to,insert:t.text},
range:pae.cursor(e.from+t.length)}})):r.replaceSelection(i);e.dispatch(n,{
userEvent:"input.paste",scrollIntoView:!0})}function gue(e,t,n,r){
if(1==r)return pae.cursor(t,n);if(2==r)return function(e,t,n=1){
let r=e.charCategorizer(t),o=e.doc.lineAt(t),i=t-o.from
;if(0==o.length)return pae.cursor(t);0==i?n=1:i==o.length&&(n=-1);let a=i,s=i
;n<0?a=Zie(o.text,i,!1):s=Zie(o.text,i);let l=r(o.text.slice(a,s));for(;a>0;){
let e=Zie(o.text,a,!1);if(r(o.text.slice(e,a))!=l)break;a=e}for(;s<o.length;){
let e=Zie(o.text,s);if(r(o.text.slice(s,e))!=l)break;s=e}
return pae.range(a+o.from,s+o.from)}(e.state,t,n);{
let n=Rle.find(e.docView,t),r=e.state.doc.lineAt(n?n.posAtEnd:t),o=n?n.posAtStart:r.from,i=n?n.posAtEnd:r.to
;return i<e.state.doc.length&&i==r.to&&i++,pae.range(o,i)}}hue.scroll=e=>{
e.inputState.lastScrollTop=e.scrollDOM.scrollTop,
e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft
},pue.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),
27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),
!1),hue.touchstart=(e,t)=>{
e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")
},hue.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")
},pue.mousedown=(e,t)=>{
if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1
;let n=null;for(let r of e.state.facet(hce))if(n=r(e,t),n)break
;if(n||0!=t.button||(n=function(e,t){let n=yue(e,t),r=_ue(t),o=e.state.selection
;return{update(e){
e.docChanged&&(n.pos=e.changes.mapPos(n.pos),o=o.map(e.changes))},get(t,i,a){
let s,l=yue(e,t),c=gue(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!i){
let t=gue(e,n.pos,n.bias,r),o=Math.min(t.from,c.from),i=Math.max(t.to,c.to)
;c=o<c.from?pae.range(o,i):pae.range(i,o)}
return i?o.replaceRange(o.main.extend(c.from,c.to)):a&&1==r&&o.ranges.length>1&&(s=function(e,t){
for(let n=0;n<e.ranges.length;n++){let{from:r,to:o}=e.ranges[n]
;if(r<=t&&o>=t)return pae.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))
}return null}(o,l.pos))?s:a?o.addRange(c):pae.create([c])}}}(e,t)),n){
let r=!e.hasFocus
;e.inputState.startMouseSelection(new due(e,t,n,r)),r&&e.observer.ignore((()=>{
Xse(e.contentDOM);let t=e.root.activeElement
;t&&!t.contains(e.contentDOM)&&t.blur()}));let o=e.inputState.mouseSelection
;if(o)return o.start(t),!1===o.dragging}return!1}
;let vue=(e,t)=>e>=t.top&&e<=t.bottom,bue=(e,t,n)=>vue(t,n)&&e>=n.left&&e<=n.right
;function Oue(e,t,n,r){let o=Rle.find(e.docView,t);if(!o)return 1
;let i=t-o.posAtStart;if(0==i)return 1;if(i==o.length)return-1
;let a=o.coordsAt(i,-1);if(a&&bue(n,r,a))return-1;let s=o.coordsAt(i,1)
;return s&&bue(n,r,s)?1:a&&vue(r,a)?-1:1}function yue(e,t){let n=e.posAtCoords({
x:t.clientX,y:t.clientY},!1);return{pos:n,bias:Oue(e,n,t.clientX,t.clientY)}}
const wue=yle.ie&&yle.ie_version<=11;let kue=null,xue=0,Sue=0;function _ue(e){
if(!wue)return e.detail;let t=kue,n=Sue
;return kue=e,Sue=Date.now(),xue=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(xue+1)%3:1
}function Eue(e,t,n,r){if(!n)return;let o=e.posAtCoords({x:t.clientX,y:t.clientY
},!1),{draggedContent:i}=e.inputState,a=r&&i&&function(e,t){
let n=e.state.facet(pce);return n.length?n[0](t):yle.mac?!t.altKey:!t.ctrlKey
}(e,t)?{from:i.from,to:i.to}:null,s={from:o,insert:n
},l=e.state.changes(a?[a,s]:s);e.focus(),e.dispatch({changes:l,selection:{
anchor:l.mapPos(o,-1),head:l.mapPos(o,1)},userEvent:a?"move.drop":"input.drop"
}),e.inputState.draggedContent=null}pue.dragstart=(e,t)=>{
let{selection:{main:n}}=e.state;if(t.target.draggable){
let r=e.docView.nearest(t.target);if(r&&r.isWidget){
let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=pae.range(e,t))}}
let{inputState:r}=e
;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,
t.dataTransfer&&(t.dataTransfer.setData("Text",e.state.sliceDoc(n.from,n.to)),
t.dataTransfer.effectAllowed="copyMove"),!1
},pue.dragend=e=>(e.inputState.draggedContent=null,!1),pue.drop=(e,t)=>{
if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0
;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),o=0,i=()=>{
++o==n.length&&Eue(e,t,r.filter((e=>null!=e)).join(e.state.lineBreak),!1)}
;for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=i,t.onload=()=>{
/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),i()
},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text")
;if(n)return Eue(e,t,n,!0),!0}return!1},pue.paste=(e,t)=>{
if(e.state.readOnly)return!0;e.observer.flush();let n=fue?null:t.clipboardData
;return n?(mue(e,n.getData("text/plain")||n.getData("text/uri-list")),
!0):(function(e){let t=e.dom.parentNode;if(!t)return
;let n=t.appendChild(document.createElement("textarea"))
;n.style.cssText="position: fixed; left: -10000px; top: 10px",
n.focus(),setTimeout((()=>{e.focus(),n.remove(),mue(e,n.value)}),50)}(e),!1)}
;let Tue=null;pue.copy=pue.cut=(e,t)=>{
let{text:n,ranges:r,linewise:o}=function(e){let t=[],n=[],r=!1
;for(let o of e.selection.ranges)o.empty||(t.push(e.sliceDoc(o.from,o.to)),
n.push(o));if(!t.length){let o=-1;for(let{from:r}of e.selection.ranges){
let i=e.doc.lineAt(r);i.number>o&&(t.push(i.text),n.push({from:i.from,
to:Math.min(e.doc.length,i.to+1)})),o=i.number}r=!0}return{
text:t.join(e.lineBreak),ranges:n,linewise:r}}(e.state);if(!n&&!o)return!1
;Tue=o?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:r,
scrollIntoView:!0,userEvent:"delete.cut"});let i=fue?null:t.clipboardData
;return i?(i.clearData(),i.setData("text/plain",n),!0):(function(e,t){
let n=e.dom.parentNode;if(!n)return
;let r=n.appendChild(document.createElement("textarea"))
;r.style.cssText="position: fixed; left: -10000px; top: 10px",
r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout((()=>{
r.remove(),e.focus()}),50)}(e,n),!1)};const Cue=Fae.define();function Aue(e,t){
let n=[];for(let r of e.facet(vce)){let o=r(e,t);o&&n.push(o)}
return n?e.update({effects:n,annotations:Cue.of(!0)}):null}function Pue(e){
setTimeout((()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){
let n=Aue(e.state,t);n?e.dispatch(n):e.update([])}}),10)}hue.focus=e=>{
e.inputState.lastFocusTime=Date.now(),
e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,
e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),Pue(e)},hue.blur=e=>{
e.observer.clearSelectionRange(),Pue(e)
},hue.compositionstart=hue.compositionupdate=e=>{
e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),
e.inputState.composing<0&&(e.inputState.composing=0))},hue.compositionend=e=>{
e.observer.editContext||(e.inputState.composing=-1,
e.inputState.compositionEndedAt=Date.now(),
e.inputState.compositionPendingKey=!0,
e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,
e.inputState.compositionFirstChange=null,
yle.chrome&&yle.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then((()=>e.observer.flush())):setTimeout((()=>{
e.inputState.composing<0&&e.docView.hasComposition&&e.update([])}),50))
},hue.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()
},pue.beforeinput=(e,t)=>{var n;let r
;if(yle.chrome&&yle.android&&(r=sue.find((e=>e.inputType==t.inputType)))&&(e.observer.delayAndroidKey(r.key,r.keyCode),
"Backspace"==r.key||"Delete"==r.key)){
let t=(null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0
;setTimeout((()=>{var n
;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),
e.focus())}),100)}
return yle.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),
yle.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout((()=>hue.compositionend(e,t)),20),
!1};const Due=new Set;const $ue=["pre-wrap","normal","pre-line","break-spaces"]
;class Rue{constructor(e){
this.lineWrapping=e,this.doc=Rie.empty,this.heightSamples={},this.lineHeight=14,
this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}
heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1
;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),
this.lineHeight*n}heightForLine(e){if(!this.lineWrapping)return this.lineHeight
;return(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight
}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){
return $ue.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1
;for(let n=0;n<e.length;n++){let r=e[n]
;r<0?n++:this.heightSamples[Math.floor(10*r)]||(t=!0,
this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,n,r,o,i){
let a=$ue.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a
;if(this.lineWrapping=a,
this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=o,s){
this.heightSamples={};for(let e=0;e<i.length;e++){let t=i[e]
;t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class Nue{
constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){
return this.index<this.heights.length}}class Mue{constructor(e,t,n,r,o){
this.from=e,this.length=t,this.top=n,this.height=r,this._content=o}get type(){
return"number"==typeof this._content?Ile.Text:Array.isArray(this._content)?this._content:this._content.type
}get to(){return this.from+this.length}get bottom(){return this.top+this.height}
get widget(){return this._content instanceof Qle?this._content.widget:null}
get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}
join(e){
let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e])
;return new Mue(this.from,this.length+e.length,this.top,this.height+e.height,t)}
}var Iue=function(e){
return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",
e}(Iue||(Iue={}));const Lue=.001;class jue{constructor(e,t,n=2){
this.length=e,this.height=t,this.flags=n}get outdated(){return(2&this.flags)>0}
set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e,t){
this.height!=t&&(Math.abs(this.height-t)>Lue&&(e.heightChanged=!0),
this.height=t)}replace(e,t,n){return jue.of(n)}decomposeLeft(e,t){t.push(this)}
decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let o=this,i=n.doc
;for(let a=r.length-1;a>=0;a--){
let{fromA:s,toA:l,fromB:c,toB:u}=r[a],d=o.lineAt(s,Iue.ByPosNoHeight,n.setDoc(t),0,0),p=d.to>=l?d:o.lineAt(l,Iue.ByPosNoHeight,n,0,0)
;for(u+=p.to-l,
l=p.to;a>0&&d.from<=r[a-1].toA;)s=r[a-1].fromA,c=r[a-1].fromB,a--,
s<d.from&&(d=o.lineAt(s,Iue.ByPosNoHeight,n,0,0));c+=d.from-s,s=d.from
;let h=que.build(n.setDoc(i),e,c,u);o=o.replace(s,l,h)}
return o.updateHeight(n,0)}static empty(){return new Que(0,0)}static of(e){
if(1==e.length)return e[0];let t=0,n=e.length,r=0,o=0;for(;;)if(t==n)if(r>2*o){
let o=e[t-1]
;o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),
n+=1+o.break,r-=o.size}else{if(!(o>2*r))break;{let t=e[n]
;t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),
n+=2+t.break,o-=t.size}}else if(r<o){let n=e[t++];n&&(r+=n.size)}else{
let t=e[--n];t&&(o+=t.size)}let i=0
;return null==e[t-1]?(i=1,t--):null==e[t]&&(i=1,
n++),new Fue(jue.of(e.slice(0,t)),i,jue.of(e.slice(n)))}}jue.prototype.size=1
;class Bue extends jue{constructor(e,t,n){super(e,t),this.deco=n}
blockAt(e,t,n,r){return new Mue(r,this.length,n,this.height,this.deco||0)}
lineAt(e,t,n,r,o){return this.blockAt(0,n,r,o)}forEachLine(e,t,n,r,o,i){
e<=o+this.length&&t>=o&&i(this.blockAt(0,n,r,o))}updateHeight(e,t=0,n=!1,r){
return r&&r.from<=t&&r.more&&this.setHeight(e,r.heights[r.index++]),
this.outdated=!1,this}toString(){return`block(${this.length})`}}
class Que extends Bue{constructor(e,t){
super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}
blockAt(e,t,n,r){return new Mue(r,this.length,n,this.height,this.breaks)}
replace(e,t,n){let r=n[0]
;return 1==n.length&&(r instanceof Que||r instanceof Uue&&4&r.flags)&&Math.abs(this.length-r.length)<10?(r instanceof Uue?r=new Que(r.length,this.height):r.height=this.height,
this.outdated||(r.outdated=!1),r):jue.of(n)}updateHeight(e,t=0,n=!1,r){
return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),
this.outdated=!1,this}toString(){
return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`
}}class Uue extends jue{constructor(e){super(e,0)}heightMetrics(e,t){
let n,r=e.doc.lineAt(t).number,o=e.doc.lineAt(t+this.length).number,i=o-r+1,a=0
;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*i)
;n=t/i,this.length>i+1&&(a=(this.height-t)/(this.length-i-1))
}else n=this.height/i;return{firstLine:r,lastLine:o,perLine:n,perChar:a}}
blockAt(e,t,n,r){
let{firstLine:o,lastLine:i,perLine:a,perChar:s}=this.heightMetrics(t,r)
;if(t.lineWrapping){
let o=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),i=t.doc.lineAt(o),l=a+i.length*s,c=Math.max(n,e-l/2)
;return new Mue(i.from,i.length,c,l,0)}{
let r=Math.max(0,Math.min(i-o,Math.floor((e-n)/a))),{from:s,length:l}=t.doc.line(o+r)
;return new Mue(s,l,n+a*r,a,0)}}lineAt(e,t,n,r,o){
if(t==Iue.ByHeight)return this.blockAt(e,n,r,o);if(t==Iue.ByPosNoHeight){
let{from:t,to:r}=n.doc.lineAt(e);return new Mue(t,r-t,0,0,0)}
let{firstLine:i,perLine:a,perChar:s}=this.heightMetrics(n,o),l=n.doc.lineAt(e),c=a+l.length*s,u=l.number-i,d=r+a*u+s*(l.from-o-u)
;return new Mue(l.from,l.length,Math.max(r,Math.min(d,r+this.height-c)),c,0)}
forEachLine(e,t,n,r,o,i){e=Math.max(e,o),t=Math.min(t,o+this.length)
;let{firstLine:a,perLine:s,perChar:l}=this.heightMetrics(n,o)
;for(let c=e,u=r;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-a
;u+=s*n+l*(e-o-n)}let r=s+l*t.length
;i(new Mue(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(e,t,n){
let r=this.length-t;if(r>0){let e=n[n.length-1]
;e instanceof Uue?n[n.length-1]=new Uue(e.length+r):n.push(null,new Uue(r-1))}
if(e>0){let t=n[0]
;t instanceof Uue?n[0]=new Uue(e+t.length):n.unshift(new Uue(e-1),null)}
return jue.of(n)}decomposeLeft(e,t){t.push(new Uue(e-1),null)}
decomposeRight(e,t){t.push(null,new Uue(this.length-e-1))}
updateHeight(e,t=0,n=!1,r){let o=t+this.length
;if(r&&r.from<=t+this.length&&r.more){let n=[],i=Math.max(t,r.from),a=-1
;for(r.from>t&&n.push(new Uue(r.from-t-1).updateHeight(e,t));i<=o&&r.more;){
let t=e.doc.lineAt(i).length;n.length&&n.push(null);let o=r.heights[r.index++]
;-1==a?a=o:Math.abs(o-a)>=Lue&&(a=-2);let s=new Que(t,o)
;s.outdated=!1,n.push(s),i+=t+1}
i<=o&&n.push(null,new Uue(o-i).updateHeight(e,i));let s=jue.of(n)
;return(a<0||Math.abs(s.height-this.height)>=Lue||Math.abs(a-this.heightMetrics(e,t).perLine)>=Lue)&&(e.heightChanged=!0),
s}
return(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1),
this}toString(){return`gap(${this.length})`}}class Fue extends jue{
constructor(e,t,n){
super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),
this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags
}blockAt(e,t,n,r){let o=n+this.left.height
;return e<o?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,o,r+this.left.length+this.break)
}lineAt(e,t,n,r,o){
let i=r+this.left.height,a=o+this.left.length+this.break,s=t==Iue.ByHeight?e<i:e<a,l=s?this.left.lineAt(e,t,n,r,o):this.right.lineAt(e,t,n,i,a)
;if(this.break||(s?l.to<a:l.from>a))return l
;let c=t==Iue.ByPosNoHeight?Iue.ByPosNoHeight:Iue.ByPos
;return s?l.join(this.right.lineAt(a,c,n,i,a)):this.left.lineAt(a,c,n,r,o).join(l)
}forEachLine(e,t,n,r,o,i){
let a=r+this.left.height,s=o+this.left.length+this.break
;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,o,i),
t>=s&&this.right.forEachLine(e,t,n,a,s,i);else{
let l=this.lineAt(s,Iue.ByPos,n,r,o)
;e<l.from&&this.left.forEachLine(e,l.from-1,n,r,o,i),
l.to>=e&&l.from<=t&&i(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,a,s,i)}}
replace(e,t,n){let r=this.left.length+this.break
;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right)
;if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n))
;let o=[];e>0&&this.decomposeLeft(e,o);let i=o.length;for(let a of n)o.push(a)
;if(e>0&&zue(o,i-1),t<this.length){let e=o.length
;this.decomposeRight(t,o),zue(o,e)}return jue.of(o)}decomposeLeft(e,t){
let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t)
;t.push(this.left),
this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}
decomposeRight(e,t){let n=this.left.length,r=n+this.break
;if(e>=r)return this.right.decomposeRight(e-r,t)
;e<n&&this.left.decomposeRight(e,t),
this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){
return e.size>2*t.size||t.size>2*e.size?jue.of(this.break?[e,null,t]:[e,t]):(this.left=e,
this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,
this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}
updateHeight(e,t=0,n=!1,r){
let{left:o,right:i}=this,a=t+o.length+this.break,s=null
;return r&&r.from<=t+o.length&&r.more?s=o=o.updateHeight(e,t,n,r):o.updateHeight(e,t,n),
r&&r.from<=a+i.length&&r.more?s=i=i.updateHeight(e,a,n,r):i.updateHeight(e,a,n),
s?this.balanced(o,i):(this.height=this.left.height+this.right.height,
this.outdated=!1,this)}toString(){
return this.left+(this.break?" ":"-")+this.right}}function zue(e,t){let n,r
;null==e[t]&&(n=e[t-1])instanceof Uue&&(r=e[t+1])instanceof Uue&&e.splice(t-1,3,new Uue(n.length+1+r.length))
}class que{constructor(e,t){
this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,
this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){
return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){
if(this.lineStart>-1){
let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1]
;n instanceof Que?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new Que(e-this.pos,-1)),
this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)
}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){
let r=n.widget?n.widget.estimatedHeight:0,o=n.widget?n.widget.lineBreaks:0
;r<0&&(r=this.oracle.lineHeight);let i=t-e
;n.block?this.addBlock(new Bue(i,r,n)):(i||o||r>=5)&&this.addLineDeco(r,o,i)
}else t>e&&this.span(e,t)
;this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)
}enterLine(){if(this.lineStart>-1)return
;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos)
;this.lineStart=e,this.lineEnd=t,
this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),
this.nodes.push(null)),
this.pos>e&&this.nodes.push(new Que(this.pos-e,-1)),this.writtenTo=this.pos}
blankContent(e,t){let n=new Uue(t-e)
;return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){
this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null
;if(e instanceof Que)return e;let t=new Que(0,-1);return this.nodes.push(t),t}
addBlock(e){this.enterLine();let t=e.deco
;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),
this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,
t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine()
;r.length+=n,
r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,
this.writtenTo=this.pos=this.pos+n}finish(e){
let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1]
;!(this.lineStart>-1)||t instanceof Que||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new Que(0,-1))
;let n=e
;for(let r of this.nodes)r instanceof Que&&r.updateHeight(this.oracle,n),
n+=r?r.length:1;return this.nodes}static build(e,t,n,r){let o=new que(n,e)
;return cse.spans(t,n,r,o,0),o.finish(n)}}class Hue{constructor(){
this.changes=[]}compareRange(){}comparePoint(e,t,n,r){
(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&Fle(e,t,this.changes,5)}}
function Vue(e,t){
let n=e.getBoundingClientRect(),r=e.ownerDocument,o=r.defaultView||window,i=Math.max(0,n.left),a=Math.min(o.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(o.innerHeight,n.bottom)
;for(let c=e.parentNode;c&&c!=r.body;)if(1==c.nodeType){
let t=c,n=window.getComputedStyle(t)
;if((t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&"visible"!=n.overflow){
let n=t.getBoundingClientRect()
;i=Math.max(i,n.left),a=Math.min(a,n.right),s=Math.max(s,n.top),
l=c==e.parentNode?n.bottom:Math.min(l,n.bottom)}
c="absolute"==n.position||"fixed"==n.position?t.offsetParent:t.parentNode}else{
if(11!=c.nodeType)break;c=c.host}return{left:i-n.left,
right:Math.max(i,a)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}
function Zue(e,t){let n=e.getBoundingClientRect();return{left:0,
right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class Wue{
constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){
if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],o=t[n]
;if(r.from!=o.from||r.to!=o.to||r.size!=o.size)return!1}return!0}draw(e,t){
return Lle.replace({widget:new Xue(this.size*(t?e.scaleY:e.scaleX),t)
}).range(this.from,this.to)}}class Xue extends Mle{constructor(e,t){
super(),this.size=e,this.vertical=t}eq(e){
return e.size==this.size&&e.vertical==this.vertical}toDOM(){
let e=document.createElement("div")
;return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",
e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){
return this.vertical?this.size:-1}}class Gue{constructor(e){
this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},
this.inView=!0,
this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,
this.editorHeight=0,
this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,
this.scaleX=1,this.scaleY=1,
this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=ede,
this.scrollTarget=null,
this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Vle.LTR,
this.visibleRanges=[],this.mustEnforceCursorAssoc=!1
;let t=e.facet(Dce).some((e=>"function"!=typeof e&&"cm-lineWrapping"==e.class))
;this.heightOracle=new Rue(t),
this.stateDeco=e.facet($ce).filter((e=>"function"!=typeof e)),
this.heightMap=jue.empty().applyChanges(this.stateDeco,Rie.empty,this.heightOracle.setDoc(e.doc),[new Qce(0,0,0,e.doc.length)])
;for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),
this.updateForViewport());n++);
this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),
this.lineGapDeco=Lle.set(this.lineGaps.map((e=>e.draw(this,!1)))),
this.computeVisibleRanges()}updateForViewport(){
let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){
let r=n?t.head:t.anchor;if(!e.some((({from:e,to:t})=>r>=e&&r<=t))){
let{from:t,to:n}=this.lineBlockAt(r);e.push(new Yue(t,n))}}
return this.viewports=e.sort(((e,t)=>e.from-t.from)),this.updateScaler()}
updateScaler(){let e=this.scaler
;return this.scaler=this.heightMap.height<=7e6?ede:new tde(this.heightOracle,this.heightMap,this.viewports),
e.eq(this.scaler)?0:2}updateViewportLines(){
this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,(e=>{
this.viewportLines.push(nde(e,this.scaler))}))}update(e,t=null){
this.state=e.state;let n=this.stateDeco
;this.stateDeco=this.state.facet($ce).filter((e=>"function"!=typeof e))
;let r=e.changedRanges,o=Qce.extendWithRanges(r,function(e,t,n){let r=new Hue
;return cse.compare(e,t,n,r,0),r.changes
}(n,this.stateDeco,e?e.changes:oae.empty(this.state.doc.length))),i=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop)
;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),
this.heightMap.height!=i&&(e.flags|=2),
a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),
this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,
this.scrollAnchorHeight=this.heightMap.height)
;let s=o.length?this.mapViewport(this.viewport,e.changes):this.viewport
;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t))
;let l=s.from!=this.viewport.from||s.to!=this.viewport.to
;this.viewport=s,e.flags|=this.updateForViewport(),
(l||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),
(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),
e.flags|=this.computeVisibleRanges(),
t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Oce)&&(this.mustEnforceCursorAssoc=!0)
}measure(e){
let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,o=n.whiteSpace
;this.defaultTextDirection="rtl"==n.direction?Vle.RTL:Vle.LTR
;let i=this.heightOracle.mustRefreshForWrapping(o),a=t.getBoundingClientRect(),s=i||this.mustMeasureContent||this.contentDOMHeight!=a.height
;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let l=0,c=0
;if(a.width&&a.height){let{scaleX:e,scaleY:n}=Hse(t,a)
;(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,
this.scaleY=n,l|=8,i=s=!0)}
let u=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY
;this.paddingTop==u&&this.paddingBottom==d||(this.paddingTop=u,
this.paddingBottom=d,
l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),
this.editorWidth=e.scrollDOM.clientWidth,l|=8)
;let p=e.scrollDOM.scrollTop*this.scaleY
;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,
this.scrollTop=p),this.scrolledToBottom=Jse(e.scrollDOM)
;let h=(this.printing?Zue:Vue)(t,this.paddingTop),f=h.top-this.pixelViewport.top,m=h.bottom-this.pixelViewport.bottom
;this.pixelViewport=h
;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left
;if(g!=this.inView&&(this.inView=g,
g&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let v=a.width
;if(this.contentDOMWidth==v&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=a.width,
this.editorHeight=e.scrollDOM.clientHeight,l|=8),s){
let t=e.docView.measureVisibleLineHeights(this.viewport)
;if(r.mustRefreshForHeights(t)&&(i=!0),
i||r.lineWrapping&&Math.abs(v-this.contentDOMWidth)>r.charWidth){
let{lineHeight:n,charWidth:a,textHeight:s}=e.docView.measureTextSize()
;i=n>0&&r.refresh(o,n,a,s,v/a,t),i&&(e.docView.minWidth=0,l|=8)}
f>0&&m>0?c=Math.max(f,m):f<0&&m<0&&(c=Math.min(f,m)),r.heightChanged=!1
;for(let n of this.viewports){
let o=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n)
;this.heightMap=(i?jue.empty().applyChanges(this.stateDeco,Rie.empty,this.heightOracle,[new Qce(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,i,new Nue(n.from,o))
}r.heightChanged&&(l|=2)}
let b=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to)
;return b&&(2&l&&(l|=this.updateScaler()),
this.viewport=this.getViewport(c,this.scrollTarget),
l|=this.updateForViewport()),
(2&l||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(i?[]:this.lineGaps,e)),
l|=this.computeVisibleRanges(),
this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,
e.docView.enforceCursorAssoc()),l}get visibleTop(){
return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){
return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){
let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,o=this.heightOracle,{visibleTop:i,visibleBottom:a}=this,s=new Yue(r.lineAt(i-1e3*n,Iue.ByHeight,o,0,0).from,r.lineAt(a+1e3*(1-n),Iue.ByHeight,o,0,0).to)
;if(t){let{head:e}=t.range;if(e<s.from||e>s.to){
let n,i=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,Iue.ByPos,o,0,0)
;n="center"==t.y?(a.top+a.bottom)/2-i/2:"start"==t.y||"nearest"==t.y&&e<s.from?a.top:a.bottom-i,
s=new Yue(r.lineAt(n-500,Iue.ByHeight,o,0,0).from,r.lineAt(n+i+500,Iue.ByHeight,o,0,0).to)
}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1)
;return new Yue(this.heightMap.lineAt(n,Iue.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,Iue.ByPos,this.heightOracle,0,0).to)
}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0
;let{top:r}=this.heightMap.lineAt(e,Iue.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(t,Iue.ByPos,this.heightOracle,0,0),{visibleTop:i,visibleBottom:a}=this
;return(0==e||r<=i-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||o>=a+Math.max(10,Math.min(n,250)))&&r>i-2e3&&o<a+2e3
}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[]
;for(let r of e)t.touchesRange(r.from,r.to)||n.push(new Wue(t.mapPos(r.from),t.mapPos(r.to),r.size))
;return n}ensureLineGaps(e,t){
let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,o=r>>1,i=r<<1
;if(this.defaultTextDirection!=Vle.LTR&&!n)return[];let a=[],s=(r,i,l,c)=>{
if(i-r<o)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to)
;for(let e of d)if(e>r&&e<i)return s(r,e-10,l,c),void s(e+10,i,l,c)
;let p=function(e,t){for(let n of e)if(t(n))return n;return
}(e,(e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-r)<o&&Math.abs(e.to-i)<o&&!d.some((t=>e.from<t&&e.to>t))))
;if(!p){if(i<l.to&&t&&n&&t.visibleRanges.some((e=>e.from<=i&&e.to>=i))){
let e=t.moveToLineBoundary(pae.cursor(i),!1,!0).head;e>r&&(i=e)}
p=new Wue(r,i,this.gapSize(l,r,i,c))}a.push(p)},l=e=>{
if(e.length<i||e.type!=Ile.Text)return;let t=function(e,t,n){let r=[],o=e,i=0
;cse.spans(n,e,t,{span(){},point(e,t){e>o&&(r.push({from:o,to:e}),i+=e-o),o=t}
},20),o<t&&(r.push({from:o,to:t}),i+=t-o);return{total:i,ranges:r}
}(e.from,e.to,this.stateDeco);if(t.total<i)return
;let o,a,l=this.scrollTarget?this.scrollTarget.range.head:null;if(n){
let n,i,s=r/this.heightOracle.lineLength*this.heightOracle.lineHeight
;if(null!=l){
let r=Jue(t,l),o=((this.visibleBottom-this.visibleTop)/2+s)/e.height;n=r-o,i=r+o
}else n=(this.visibleTop-e.top-s)/e.height,
i=(this.visibleBottom-e.top+s)/e.height;o=Kue(t,n),a=Kue(t,i)}else{
let e,n,i=t.total*this.heightOracle.charWidth,s=r*this.heightOracle.charWidth
;if(null!=l){
let r=Jue(t,l),o=((this.pixelViewport.right-this.pixelViewport.left)/2+s)/i
;e=r-o,n=r+o
}else e=(this.pixelViewport.left-s)/i,n=(this.pixelViewport.right+s)/i
;o=Kue(t,e),a=Kue(t,n)}o>e.from&&s(e.from,o,e,t),a<e.to&&s(a,e.to,e,t)}
;for(let c of this.viewportLines)Array.isArray(c.type)?c.type.forEach(l):l(c)
;return a}gapSize(e,t,n,r){let o=Jue(r,n)-Jue(r,t)
;return this.heightOracle.lineWrapping?e.height*o:r.total*this.heightOracle.charWidth*o
}updateLineGaps(e){
Wue.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Lle.set(e.map((e=>e.draw(this,this.heightOracle.lineWrapping)))))
}computeVisibleRanges(){let e=this.stateDeco
;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[]
;cse.spans(e,this.viewport.from,this.viewport.to,{span(e,n){t.push({from:e,to:n
})},point(){}},20)
;let n=t.length!=this.visibleRanges.length||this.visibleRanges.some(((e,n)=>e.from!=t[n].from||e.to!=t[n].to))
;return this.visibleRanges=t,n?4:0}lineBlockAt(e){
return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find((t=>t.from<=e&&t.to>=e))||nde(this.heightMap.lineAt(e,Iue.ByPos,this.heightOracle,0,0),this.scaler)
}lineBlockAtHeight(e){
return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find((t=>t.top<=e&&t.bottom>=e))||nde(this.heightMap.lineAt(this.scaler.fromDOM(e),Iue.ByHeight,this.heightOracle,0,0),this.scaler)
}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8)
;return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]
}elementAtHeight(e){
return nde(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)
}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}
get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}
class Yue{constructor(e,t){this.from=e,this.to=t}}
function Kue({total:e,ranges:t},n){if(n<=0)return t[0].from
;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let o=0;;o++){
let{from:e,to:n}=t[o],i=n-e;if(r<=i)return e+r;r-=i}}function Jue(e,t){let n=0
;for(let{from:r,to:o}of e.ranges){if(t<=o){n+=t-r;break}n+=o-r}return n/e.total}
const ede={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class tde{
constructor(e,t,n){let r=0,o=0,i=0;this.viewports=n.map((({from:n,to:o})=>{
let i=t.lineAt(n,Iue.ByPos,e,0,0).top,a=t.lineAt(o,Iue.ByPos,e,0,0).bottom
;return r+=a-i,{from:n,to:o,top:i,bottom:a,domTop:0,domBottom:0}
})),this.scale=(7e6-r)/(t.height-r)
;for(let a of this.viewports)a.domTop=i+(a.top-o)*this.scale,
i=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){
for(let t=0,n=0,r=0;;t++){let o=t<this.viewports.length?this.viewports[t]:null
;if(!o||e<o.top)return r+(e-n)*this.scale
;if(e<=o.bottom)return o.domTop+(e-o.top);n=o.bottom,r=o.domBottom}}fromDOM(e){
for(let t=0,n=0,r=0;;t++){let o=t<this.viewports.length?this.viewports[t]:null
;if(!o||e<o.domTop)return n+(e-r)/this.scale
;if(e<=o.domBottom)return o.top+(e-o.domTop);n=o.bottom,r=o.domBottom}}eq(e){
return e instanceof tde&&(this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every(((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to)))
}}function nde(e,t){if(1==t.scale)return e
;let n=t.toDOM(e.top),r=t.toDOM(e.bottom)
;return new Mue(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map((e=>nde(e,t))):e._content)
}const rde=mae.define({combine:e=>e.join(" ")}),ode=mae.define({
combine:e=>e.indexOf(!0)>-1
}),ide=_se.newName(),ade=_se.newName(),sde=_se.newName(),lde={"&light":"."+ade,
"&dark":"."+sde};function cde(e,t,n){return new _se(t,{
finish:t=>/&/.test(t)?t.replace(/&\w*/,(t=>{if("&"==t)return e
;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]
})):e+" "+t})}const ude=cde("."+ide,{"&":{position:"relative !important",
boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},
display:"flex !important",flexDirection:"column"},".cm-scroller":{
display:"flex !important",alignItems:"flex-start !important",
fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",
position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,
display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",
minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{
WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{
whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",
overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},
"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",
padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,
contain:"size style","& > *":{position:"absolute"}},
"&light .cm-selectionBackground":{background:"#d9d9d9"},
"&dark .cm-selectionBackground":{background:"#222"},
"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{
background:"#d7d4f0"},
"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{
background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},
"&.cm-focused > .cm-scroller > .cm-cursorLayer":{
animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},
"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},
"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",
marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},
"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{
position:"absolute"},
"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},
".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",
top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},
"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{
backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},
"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,
display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,
zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",
borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",
color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",
flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},
".cm-gutterElement":{boxSizing:"border-box"},
".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",
textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{
backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{
backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",
position:"sticky",left:0,right:0},"&light .cm-panels":{
backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{
borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{
borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",
color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",
verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",
height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",
display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{
content:"attr(data-display)",position:"absolute",pointerEvents:"none",
color:"#888"},".cm-highlightTab":{
backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',
backgroundSize:"auto 100%",backgroundPosition:"right 90%",
backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},
".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",
padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{
backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888",
"&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},
"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",
border:"1px solid #888","&:active":{
backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{
verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",
padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},
"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}
},lde),dde="￿";class pde{constructor(e,t){
this.points=e,this.text="",this.lineSeparator=t.facet(rse.lineSeparator)}
append(e){this.text+=e}lineBreak(){this.text+=dde}readRange(e,t){
if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r)
;let e=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==t)break
;let i=ole.get(r),a=ole.get(o)
;(i&&a?i.breakAfter:(i?i.breakAfter:Qse(r))||Qse(o)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),
r=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue
;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length))
;for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let o,i=-1,a=1
;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),
a=this.lineSeparator.length):(o=r.exec(t))&&(i=o.index,
a=o[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break
;if(this.lineBreak(),
a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1)
;n=i+a}}readNode(e){if(e.cmIgnore)return;let t=ole.get(e),n=t&&t.overrideDOMText
;if(null!=n){this.findPointInside(e,n.length)
;for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)
}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)
}findPointBefore(e,t){
for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)
}findPointInside(e,t){
for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(hde(e,n.node,n.offset)?t:0))
}}function hde(e,t,n){for(;;){if(!t||n<Fse(t))return!1;if(t==e)return!0
;n=Bse(t)+1,t=t.parentNode}}class fde{constructor(e,t){
this.node=e,this.offset=t,this.pos=-1}}class mde{constructor(e,t,n,r){
this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1
;let{impreciseHead:o,impreciseAnchor:i}=e.docView
;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){
let t=o||i?[]:function(e){let t=[]
;if(e.root.activeElement!=e.contentDOM)return t
;let{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}=e.observer.selectionRange
;n&&(t.push(new fde(n,r)),o==n&&i==r||t.push(new fde(o,i)));return t
}(e),n=new pde(t,e.state)
;n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,
this.newSel=function(e,t){if(0==e.length)return null
;let n=e[0].pos,r=2==e.length?e[1].pos:n
;return n>-1&&r>-1?pae.single(n+t,r+t):null}(t,this.bounds.from)}else{
let t=e.observer.selectionRange,n=o&&o.node==t.focusNode&&o.offset==t.focusOffset||!Mse(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=i&&i.node==t.anchorNode&&i.offset==t.anchorOffset||!Mse(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),a=e.viewport
;if((yle.ios||yle.chrome)&&e.state.selection.main.empty&&n!=r&&(a.from>0||a.to<e.state.doc.length)){
let t=Math.min(n,r),o=Math.max(n,r),i=a.from-t,s=a.to-o
;0!=i&&1!=i&&0!=t||0!=s&&-1!=s&&o!=e.state.doc.length||(n=0,
r=e.state.doc.length)}this.newSel=pae.single(r,n)}}}function gde(e,t){
let n,{newSel:r}=t,o=e.state.selection.main,i=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1
;if(t.bounds){let{from:r,to:a}=t.bounds,s=o.from,l=null
;(8===i||yle.android&&t.text.length<a-r)&&(s=o.to,l="end")
;let c=function(e,t,n,r){let o=Math.min(e.length,t.length),i=0
;for(;i<o&&e.charCodeAt(i)==t.charCodeAt(i);)i++
;if(i==o&&e.length==t.length)return null;let a=e.length,s=t.length
;for(;a>0&&s>0&&e.charCodeAt(a-1)==t.charCodeAt(s-1);)a--,s--;if("end"==r){
n-=a+Math.max(0,i-Math.min(a,s))-i}if(a<i&&e.length<t.length){
i-=n<=i&&n>=a?i-n:0,s=i+(s-a),a=i}else if(s<i){i-=n<=i&&n>=s?i-n:0,a=i+(a-s),s=i
}return{from:i,toA:a,toB:s}}(e.state.doc.sliceString(r,a,dde),t.text,s-r,l)
;c&&(yle.chrome&&13==i&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==dde+dde&&c.toB--,
n={from:r+c.from,to:r+c.toA,insert:Rie.of(t.text.slice(c.from,c.toB).split(dde))
})}else r&&(!e.hasFocus&&e.state.facet(_ce)||r.main.eq(o))&&(r=null)
;if(!n&&!r)return!1;if(!n&&t.typeOver&&!o.empty&&r&&r.main.empty?n={from:o.from,
to:o.to,insert:e.state.doc.slice(o.from,o.to)
}:n&&n.from>=o.from&&n.to<=o.to&&(n.from!=o.from||n.to!=o.to)&&o.to-o.from-(n.to-n.from)<=4?n={
from:o.from,to:o.to,
insert:e.state.doc.slice(o.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,o.to))
}:(yle.mac||yle.android)&&n&&n.from==n.to&&n.from==o.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=pae.single(r.main.anchor-1,r.main.head-1)),
n={from:o.from,to:o.to,insert:Rie.of([" "])
}):yle.chrome&&n&&n.from==n.to&&n.from==o.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=pae.single(r.main.anchor-1,r.main.head-1)),
n={from:o.from,to:o.to,insert:Rie.of([" "])}),n)return vde(e,n,r,i)
;if(r&&!r.main.eq(o)){let t=!1,n="select"
;return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),
n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,
userEvent:n}),!0}return!1}function vde(e,t,n,r=-1){
if(yle.ios&&e.inputState.flushIOSKey(t))return!0;let o=e.state.selection.main
;if(yle.android&&(t.to==o.to&&(t.from==o.from||t.from==o.from-1&&" "==e.state.sliceDoc(t.from,o.from))&&1==t.insert.length&&2==t.insert.lines&&Yse(e.contentDOM,"Enter",13)||(t.from==o.from-1&&t.to==o.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>o.head)&&Yse(e.contentDOM,"Backspace",8)||t.from==o.from&&t.to==o.to+1&&0==t.insert.length&&Yse(e.contentDOM,"Delete",46)))return!0
;let i,a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++
;let s=()=>i||(i=function(e,t,n){let r,o=e.state,i=o.selection.main
;if(t.from>=i.from&&t.to<=i.to&&t.to-t.from>=(i.to-i.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){
let n=i.from<t.from?o.sliceDoc(i.from,t.from):"",a=i.to>t.to?o.sliceDoc(t.to,i.to):""
;r=o.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+a))
}else{let a=o.changes(t),s=n&&n.main.to<=a.newLength?n.main:void 0
;if(o.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=i.to&&t.to>=i.to-10){
let l,c=e.state.sliceDoc(t.from,t.to),u=n&&qce(e,n.main.head);if(u){
let e=t.insert.length-(t.to-t.from);l={from:u.from,to:u.to-e}
}else l=e.state.doc.lineAt(i.head);let d=i.to-t.to,p=i.to-i.from
;r=o.changeByRange((n=>{if(n.from==i.from&&n.to==i.to)return{changes:a,
range:s||n.map(a)};let r=n.to-d,u=r-c.length
;if(n.to-n.from!=p||e.state.sliceDoc(u,r)!=c||n.to>=l.from&&n.from<=l.to)return{
range:n};let h=o.changes({from:u,to:r,insert:t.insert}),f=n.to-i.to;return{
changes:h,
range:s?pae.range(Math.max(0,s.anchor+f),Math.max(0,s.head+f)):n.map(h)}}))
}else r={changes:a,selection:s&&o.selection.replaceRange(s)}}let a="input.type"
;(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,
a+=".compose",
e.inputState.compositionFirstChange&&(a+=".start",e.inputState.compositionFirstChange=!1))
;return o.update(r,{userEvent:a,scrollIntoView:!0})}(e,t,n))
;return e.state.facet(gce).some((n=>n(e,t.from,t.to,a,s)))||e.dispatch(s()),!0}
const bde={childList:!0,characterData:!0,subtree:!0,attributes:!0,
characterDataOldValue:!0},Ode=yle.ie&&yle.ie_version<=11;class yde{
constructor(e){
this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Vse,
this.selectionChanged=!1,
this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],
this.delayedAndroidKey=null,
this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],
this.intersection=null,
this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,
this.gaps=[],
this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver((t=>{
for(let e of t)this.queue.push(e)
;(yle.ie&&yle.ie_version<=11||yle.ios&&e.composing)&&t.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()
})),
window.EditContext&&!0===e.constructor.EDIT_CONTEXT&&(this.editContext=new xde(e),
e.state.facet(_ce)&&(e.contentDOM.editContext=this.editContext.editContext)),
Ode&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",
oldValue:e.prevValue}),this.flushSoon()
}),this.onSelectionChange=this.onSelectionChange.bind(this),
this.onResize=this.onResize.bind(this),
this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),
window.matchMedia&&(this.printQuery=window.matchMedia("print")),
"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver((()=>{
var e
;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()
})),
this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),
this.start(),
"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((e=>{
this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),
e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,
this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))
}),{threshold:[0,.001]
}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((e=>{
e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))
}),{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){
this.view.inputState.runHandlers("scroll",e),
this.intersecting&&this.view.measure()}onScroll(e){
this.intersecting&&this.flush(!1),
this.editContext&&this.view.requestMeasure(this.editContext.measureReq),
this.onScrollChanged(e)}onResize(){
this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((()=>{
this.resizeTimeout=-1,this.view.requestMeasure()}),50))}onPrint(e){
("change"!=e.type||e.matches)&&(this.view.viewState.printing=!0,
this.view.measure(),setTimeout((()=>{
this.view.viewState.printing=!1,this.view.requestMeasure()}),500))}
updateGaps(e){
if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some(((t,n)=>t!=e[n])))){
this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t)
;this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged
;if(!this.readSelectionRange()||this.delayedAndroidKey)return
;let{view:n}=this,r=this.selectionRange
;if(n.state.facet(_ce)?n.root.activeElement!=this.dom:!Ise(n.dom,r))return
;let o=r.anchorNode&&n.docView.nearest(r.anchorNode)
;o&&o.ignoreEvent(e)?t||(this.selectionChanged=!1):(yle.ie&&yle.ie_version<=11||yle.android&&yle.chrome)&&!n.state.selection.main.empty&&r.focusNode&&jse(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)
}readSelectionRange(){let{view:e}=this,t=Nse(e.root);if(!t)return!1
;let n=yle.safari&&11==e.root.nodeType&&function(e){let t=e.activeElement
;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t
}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){
let n=t.getComposedRanges(e.root)[0];if(n)return kde(e,n)}let n=null
;function r(e){
e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}
return e.contentDOM.addEventListener("beforeinput",r,!0),
e.dom.ownerDocument.execCommand("indent"),
e.contentDOM.removeEventListener("beforeinput",r,!0),n?kde(e,n):null
}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1
;let r=Ise(this.dom,n)
;return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){
let n=t.focusNode,r=t.focusOffset
;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1
;for(r=Math.min(r,Fse(n));;)if(r){if(1!=n.nodeType)return!1
;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:(n=e,r=Fse(n))}else{
if(n==e)return!0;r=Bse(n),n=n.parentNode}
}(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),
!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}
setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),
this.selectionChanged=!1}clearSelectionRange(){
this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1
;let e=0,t=null
;for(let n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),
t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break
;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),
t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll)
;for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}
ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{
this.start(),this.clear()}}start(){
this.active||(this.observer.observe(this.dom,bde),
Ode&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),
this.active=!0)}stop(){
this.active&&(this.active=!1,this.observer.disconnect(),Ode&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))
}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}
delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{
let e=this.delayedAndroidKey;if(e){
this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,
this.view.inputState.lastKeyTime=Date.now(),
!this.flush()&&e.force&&Yse(this.dom,e.key,e.keyCode)}}
;this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}
this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,
force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)
})}clearDelayedAndroidKey(){
this.win.cancelAnimationFrame(this.flushingAndroidKey),
this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){
this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame((()=>{
this.delayedFlush=-1,this.flush()})))}forceFlush(){
this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),
this.delayedFlush=-1),this.flush()}pendingRecords(){
for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}
processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[])
;let t=-1,n=-1,r=!1;for(let o of e){let e=this.readMutation(o)
;e&&(e.typeOver&&(r=!0),
-1==t?({from:t,to:n}=e):(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{
from:t,to:n,typeOver:r}}readChange(){
let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&Ise(this.dom,this.selectionRange)
;if(e<0&&!r)return null
;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,
this.selectionChanged=!1;let o=new mde(this.view,e,t,n)
;return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}
flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1
;e&&this.readSelectionRange();let t=this.readChange()
;if(!t)return this.view.requestMeasure(),!1
;let n=this.view.state,r=gde(this.view,t)
;return this.view.state==n&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),
r}readMutation(e){let t=this.view.docView.nearest(e.target)
;if(!t||t.ignoreMutation(e))return null
;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),
"childList"==e.type){
let n=wde(t,e.previousSibling||e.target.previousSibling,-1),r=wde(t,e.nextSibling||e.target.nextSibling,1)
;return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,
typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,
typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){
e!=this.win&&(this.removeWindowListeners(this.win),
this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){
e.addEventListener("resize",this.onResize),
this.printQuery?this.printQuery.addEventListener("change",this.onPrint):e.addEventListener("beforeprint",this.onPrint),
e.addEventListener("scroll",this.onScroll),
e.document.addEventListener("selectionchange",this.onSelectionChange)}
removeWindowListeners(e){
e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),
this.printQuery?this.printQuery.removeEventListener("change",this.onPrint):e.removeEventListener("beforeprint",this.onPrint),
e.document.removeEventListener("selectionchange",this.onSelectionChange)}
update(e){
this.editContext&&(this.editContext.update(e),e.startState.facet(_ce)!=e.state.facet(_ce)&&(e.view.contentDOM.editContext=e.state.facet(_ce)?this.editContext.editContext:null))
}destroy(){var e,t,n
;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),
null===(t=this.gapIntersection)||void 0===t||t.disconnect(),
null===(n=this.resizeScroll)||void 0===n||n.disconnect()
;for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll)
;this.removeWindowListeners(this.win),
clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),
this.win.cancelAnimationFrame(this.delayedFlush),
this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function wde(e,t,n){
for(;t;){let r=ole.get(t);if(r&&r.parent==e)return r;let o=t.parentNode
;t=o!=e.dom?o:n>0?t.nextSibling:t.previousSibling}return null}function kde(e,t){
let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=e.docView.domAtPos(e.state.selection.main.anchor)
;return jse(a.node,a.offset,o,i)&&([n,r,o,i]=[o,i,n,r]),{anchorNode:n,
anchorOffset:r,focusNode:o,focusOffset:i}}class xde{constructor(e){
this.from=0,this.to=0,this.pendingContextChange=null,this.resetRange(e.state)
;let t=this.editContext=new window.EditContext({
text:e.state.doc.sliceString(this.from,this.to),
selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),
selectionEnd:this.toContextPos(e.state.selection.main.head)})
;t.addEventListener("textupdate",(t=>{let{anchor:n}=e.state.selection.main,r={
from:this.toEditorPos(t.updateRangeStart),to:this.toEditorPos(t.updateRangeEnd),
insert:Rie.of(t.text.split("\n"))}
;r.from==this.from&&n<this.from?r.from=n:r.to==this.to&&n>this.to&&(r.to=n),
(r.from!=r.to||r.insert.length)&&(this.pendingContextChange=r,
vde(e,r,pae.single(this.toEditorPos(t.selectionStart),this.toEditorPos(t.selectionEnd))),
this.pendingContextChange&&this.revertPending(e.state))
})),t.addEventListener("characterboundsupdate",(n=>{let r=[],o=null
;for(let t=this.toEditorPos(n.rangeStart),i=this.toEditorPos(n.rangeEnd);t<i;t++){
let n=e.coordsForChar(t)
;o=n&&new DOMRect(n.left,n.right,n.right-n.left,n.bottom-n.top)||o||new DOMRect,
r.push(o)}t.updateCharacterBounds(n.rangeStart,r)
})),t.addEventListener("textformatupdate",(t=>{let n=[]
;for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness
;if("None"!=t&&"None"!=r){
let o=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==r?1:2}px`
;n.push(Lle.mark({attributes:{style:o}
}).range(this.toEditorPos(e.rangeStart),this.toEditorPos(e.rangeEnd)))}}
e.dispatch({effects:xce.of(Lle.set(n))})
})),t.addEventListener("compositionstart",(()=>{
e.inputState.composing<0&&(e.inputState.composing=0,
e.inputState.compositionFirstChange=!0)
})),t.addEventListener("compositionend",(()=>{
e.inputState.composing=-1,e.inputState.compositionFirstChange=null
})),this.measureReq={read:e=>{
this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect())
;let t=Nse(e.root)
;t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())
}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange
;return e.changes.iterChanges(((o,i,a,s,l)=>{if(n)return;let c=l.length-(i-o)
;if(r&&i>=r.to){
if(r.from==o&&r.to==i&&r.insert.eq(l))return r=this.pendingContextChange=null,
void(t+=c);r=null,this.revertPending(e.state)}
if(o+=t,(i+=t)<=this.from)this.from+=c,this.to+=c;else if(o<this.to){
if(o<this.from||i>this.to||this.to-this.from+l.length>3e4)return void(n=!0)
;this.editContext.updateText(this.toContextPos(o),this.toContextPos(i),l.toString()),
this.to+=c}t+=c})),r&&!n&&this.revertPending(e.state),!n}update(e){
this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet)&&this.setSelection(e.state):(this.pendingContextChange=null,
this.resetRange(e.state),
this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),
this.setSelection(e.state)),
(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)
}resetRange(e){let{head:t}=e.selection.main
;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}
revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,
this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.to+t.insert.length),e.doc.sliceString(t.from,t.to))
}setSelection(e){
let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head)
;this.editContext.selectionStart==n&&this.editContext.selectionEnd==r||this.editContext.updateSelection(n,r)
}rangeIsValid(e){let{head:t}=e.selection.main
;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)
}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}}
class Sde{get state(){return this.viewState.state}get viewport(){
return this.viewState.viewport}get visibleRanges(){
return this.viewState.visibleRanges}get inView(){return this.viewState.inView}
get composing(){return this.inputState.composing>0}get compositionStarted(){
return this.inputState.composing>=0}get root(){return this._root}get win(){
return this.dom.ownerDocument.defaultView||window}constructor(e={}){
this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},
this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,
this.measureRequests=[],
this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),
this.scrollDOM.tabIndex=-1,
this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),
this.announceDOM=document.createElement("div"),
this.announceDOM.className="cm-announced",
this.announceDOM.setAttribute("aria-live","polite"),
this.dom=document.createElement("div"),
this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),
e.parent&&e.parent.appendChild(this.dom);let{dispatch:t}=e
;this.dispatchTransactions=e.dispatchTransactions||t&&(e=>e.forEach((e=>t(e,this))))||(e=>this.update(e)),
this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){
if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e
;e=e.assignedSlot||e.parentNode}return null
}(e.parent)||document,this.viewState=new Gue(e.state||rse.create(e)),
e.scrollTo&&e.scrollTo.is(kce)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),
this.plugins=this.state.facet(Tce).map((e=>new Ace(e)))
;for(let n of this.plugins)n.update(this)
;this.observer=new yde(this),this.inputState=new iue(this),
this.inputState.ensureHandlers(this.plugins),
this.docView=new Fce(this),this.mountStyles(),
this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){
let t=1==e.length&&e[0]instanceof Vae?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)]
;this.dispatchTransactions(t,this)}update(e){
if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress")
;let t,n=!1,r=!1,o=this.state;for(let d of e){
if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.")
;o=d.state}if(this.destroyed)return void(this.viewState.state=o)
;let i=this.hasFocus,a=0,s=null
;e.some((e=>e.annotation(Cue)))?(this.inputState.notifiedFocused=i,
a=1):i!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=i,
s=Aue(o,i),s||(a=1));let l=this.observer.delayedAndroidKey,c=null
;if(l?(this.observer.clearDelayedAndroidKey(),
c=this.observer.readChange(),(c&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(c=null)):this.observer.clear(),
o.facet(rse.phrases)!=this.state.facet(rse.phrases))return this.setState(o)
;t=Uce.create(this,o,e),t.flags|=a;let u=this.viewState.scrollTarget;try{
this.updateState=2;for(let t of e){if(u&&(u=u.map(t.changes)),t.scrollIntoView){
let{main:e}=t.state.selection
;u=new wce(e.empty?e:pae.cursor(e.head,e.head>e.anchor?-1:1))}
for(let e of t.effects)e.is(kce)&&(u=e.value.clip(this.state))}
this.viewState.update(t,u),
this.bidiCache=Tde.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),
this.inputState.update(t)),
n=this.docView.update(t),this.state.facet(Bce)!=this.styleModules&&this.mountStyles(),
r=this.updateAttrs(),
this.showAnnouncements(e),this.docView.updateSelection(n,e.some((e=>e.isUserEvent("select.pointer"))))
}finally{this.updateState=0}
if(t.startState.facet(rde)!=t.state.facet(rde)&&(this.viewState.mustMeasureContent=!0),
(n||r||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),
n&&this.docViewUpdate(),!t.empty)for(let d of this.state.facet(mce))try{d(t)
}catch(G$){Sce(this.state,G$,"update listener")}
(s||c)&&Promise.resolve().then((()=>{
s&&this.state==s.startState&&this.dispatch(s),
c&&!gde(this,c)&&l.force&&Yse(this.contentDOM,l.key,l.keyCode)}))}setState(e){
if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress")
;if(this.destroyed)return void(this.viewState.state=e);this.updateState=2
;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this)
;this.viewState=new Gue(e),
this.plugins=e.facet(Tce).map((e=>new Ace(e))),this.pluginMap.clear()
;for(let e of this.plugins)e.update(this)
;this.docView.destroy(),this.docView=new Fce(this),
this.inputState.ensureHandlers(this.plugins),
this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{
this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){
let t=e.startState.facet(Tce),n=e.state.facet(Tce);if(t!=n){let r=[]
;for(let o of n){let n=t.indexOf(o);if(n<0)r.push(new Ace(o));else{
let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}
for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this)
;this.plugins=r,this.pluginMap.clear()
}else for(let r of this.plugins)r.mustUpdate=e
;for(let r=0;r<this.plugins.length;r++)this.plugins[r].update(this)
;t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){
for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{
t.docViewUpdate(this)}catch(G$){Sce(this.state,G$,"doc view update listener")}}}
measure(e=!0){if(this.destroyed)return
;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),
this.observer.delayedAndroidKey)return this.measureScheduled=-1,
void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush()
;let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:i}=this.viewState
;Math.abs(r-this.viewState.scrollTop)>1&&(i=-1),
this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){
if(i<0)if(Jse(n))o=-1,i=this.viewState.heightMap.height;else{
let e=this.viewState.scrollAnchorAt(r);o=e.from,i=e.top}this.updateState=1
;let a=this.viewState.measure(this)
;if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break
;if(e>5){
console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize")
;break}let s=[];4&a||([this.measureRequests,s]=[s,this.measureRequests])
;let l=s.map((e=>{try{return e.read(this)}catch(G$){
return Sce(this.state,G$),Ede}})),c=Uce.create(this,this.state,[]),u=!1
;c.flags|=a,t?t.flags|=a:t=c,this.updateState=2,c.empty||(this.updatePlugins(c),
this.inputState.update(c),
this.updateAttrs(),u=this.docView.update(c),u&&this.docViewUpdate())
;for(let e=0;e<s.length;e++)if(l[e]!=Ede)try{let t=s[e]
;t.write&&t.write(l[e],this)}catch(G$){Sce(this.state,G$)}
if(u&&this.docView.updateSelection(!0),
!c.viewportChanged&&0==this.measureRequests.length){
if(this.viewState.editorHeight){if(this.viewState.scrollTarget){
this.docView.scrollIntoView(this.viewState.scrollTarget),
this.viewState.scrollTarget=null,i=-1;continue}{
let e=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-i
;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,i=-1;continue}}}break}}}finally{
this.updateState=0,this.measureScheduled=-1}
if(t&&!t.empty)for(let a of this.state.facet(mce))a(t)}get themeClasses(){
return ide+" "+(this.state.facet(ode)?sde:ade)+" "+this.state.facet(rde)}
updateAttrs(){let e=Cde(this,Pce,{
class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={
spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",
contenteditable:this.state.facet(_ce)?"true":"false",class:"cm-content",
style:`${yle.tabSize}: ${this.state.tabSize}`,role:"textbox",
"aria-multiline":"true"}
;this.state.readOnly&&(t["aria-readonly"]="true"),Cde(this,Dce,t)
;let n=this.observer.ignore((()=>{
let n=Dle(this.contentDOM,this.contentAttrs,t),r=Dle(this.dom,this.editorAttrs,e)
;return n||r}));return this.editorAttrs=e,this.contentAttrs=t,n}
showAnnouncements(e){let t=!0
;for(let n of e)for(let e of n.effects)if(e.is(Sde.announce)){
t&&(this.announceDOM.textContent=""),
t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value
}}mountStyles(){this.styleModules=this.state.facet(Bce)
;let e=this.state.facet(Sde.cspNonce)
;_se.mount(this.root,this.styleModules.concat(ude).reverse(),e?{nonce:e}:void 0)
}readMeasured(){
if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update")
;0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}
requestMeasure(e){
if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((()=>this.measure()))),
e){if(this.measureRequests.indexOf(e)>-1)return
;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e)
;this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e)
;return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find((t=>t.spec==e))||null),
t&&t.update(this).value}get documentTop(){
return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}
get documentPadding(){return{top:this.viewState.paddingTop,
bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}
get scaleY(){return this.viewState.scaleY}elementAtHeight(e){
return this.readMeasured(),this.viewState.elementAtHeight(e)}
lineBlockAtHeight(e){
return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}
get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){
return this.viewState.lineBlockAt(e)}get contentHeight(){
return this.viewState.contentHeight}moveByChar(e,t,n){
return oue(this,e,nue(this,e,t,n))}moveByGroup(e,t){
return oue(this,e,nue(this,e,t,(t=>function(e,t,n){
let r=e.state.charCategorizer(t),o=r(n);return e=>{let t=r(e)
;return o==Jae.Space&&(o=t),o==t}}(this,e.head,t))))}visualLineSide(e,t){
let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),o=n[t?n.length-1:0]
;return pae.cursor(o.side(t,r)+e.from,o.forward(!t,r)?1:-1)}
moveToLineBoundary(e,t,n=!0){return tue(this,e,t,n)}moveVertically(e,t,n){
return oue(this,e,function(e,t,n,r){let o=t.head,i=n?1:-1
;if(o==(n?e.state.doc.length:0))return pae.cursor(o,t.assoc)
;let a,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(o,t.assoc||-1),u=e.documentTop
;if(c)null==s&&(s=c.left-l.left),a=i<0?c.top:c.bottom;else{
let t=e.viewState.lineBlockAt(o)
;null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(o-t.from))),
a=(i<0?t.top:t.bottom)+u}
let d=l.left+s,p=null!=r?r:e.viewState.heightOracle.textHeight>>1
;for(let h=0;;h+=10){let t=a+(p+h)*i,n=Jce(e,{x:d,y:t},!1,i)
;if(t<l.top||t>l.bottom||(i<0?n<o:n>o)){
let r=e.docView.coordsForChar(n),o=!r||t<r.top?-1:1
;return pae.cursor(n,o,void 0,s)}}}(this,e,t,n))}domAtPos(e){
return this.docView.domAtPos(e)}posAtDOM(e,t=0){
return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){
return this.readMeasured(),Jce(this,e,t)}coordsAtPos(e,t=1){this.readMeasured()
;let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n
;let r=this.state.doc.lineAt(e),o=this.bidiSpans(r)
;return zse(n,o[nce.find(o,e-r.from,-1,t)].dir==Vle.LTR==t>0)}coordsForChar(e){
return this.readMeasured(),this.docView.coordsForChar(e)}
get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}
get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}
get textDirection(){return this.viewState.defaultTextDirection}
textDirectionAt(e){
return!this.state.facet(bce)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),
this.docView.textDirectionAt(e))}get lineWrapping(){
return this.viewState.heightOracle.lineWrapping}bidiSpans(e){
if(e.length>_de)return sce(e.length);let t,n=this.textDirectionAt(e.from)
;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==n&&(o.fresh||rce(o.isolates,t=Ice(this,e))))return o.order
;t||(t=Ice(this,e));let r=function(e,t,n){if(!e)return[new nce(0,0,t==Wle?1:0)]
;if(t==Zle&&!n.length&&!tce.test(e))return sce(e.length)
;if(n.length)for(;e.length>oce.length;)oce[oce.length]=256;let r=[],o=t==Zle?0:1
;return ace(e,o,o,n,0,e.length,r),r}(e.text,n,t)
;return this.bidiCache.push(new Tde(e.from,e.to,n,t,!0,r)),r}get hasFocus(){
var e
;return(this.dom.ownerDocument.hasFocus()||yle.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM
}focus(){this.observer.ignore((()=>{
Xse(this.contentDOM),this.docView.updateSelection()}))}setRoot(e){
this._root!=e&&(this._root=e,
this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),
this.mountStyles())}destroy(){
this.root.activeElement==this.contentDOM&&this.contentDOM.blur()
;for(let e of this.plugins)e.destroy(this)
;this.plugins=[],this.inputState.destroy(),
this.docView.destroy(),this.dom.remove(),
this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),
this.destroyed=!0}static scrollIntoView(e,t={}){
return kce.of(new wce("number"==typeof e?pae.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))
}scrollSnapshot(){
let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e)
;return kce.of(new wce(pae.cursor(n.from),"start","start",n.top-e,t,!0))}
setTabFocusMode(e){
null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)
}static domEventHandlers(e){return Cce.define((()=>({})),{eventHandlers:e})}
static domEventObservers(e){return Cce.define((()=>({})),{eventObservers:e})}
static theme(e,t){let n=_se.newName(),r=[rde.of(n),Bce.of(cde(`.${n}`,e))]
;return t&&t.dark&&r.push(ode.of(!0)),r}static baseTheme(e){
return Cae.lowest(Bce.of(cde("."+ide,e,lde)))}static findFromDOM(e){var t
;let n=e.querySelector(".cm-content"),r=n&&ole.get(n)||ole.get(e)
;return(null===(t=null==r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}
Sde.styleModule=Bce,
Sde.inputHandler=gce,Sde.scrollHandler=yce,Sde.focusChangeEffect=vce,
Sde.perLineTextDirection=bce,
Sde.exceptionSink=fce,Sde.updateListener=mce,Sde.editable=_ce,
Sde.mouseSelectionStyle=hce,
Sde.dragMovesSelection=pce,Sde.clickAddsSelectionRange=dce,
Sde.decorations=$ce,Sde.outerDecorations=Rce,
Sde.atomicRanges=Nce,Sde.bidiIsolatedRanges=Mce,
Sde.scrollMargins=Lce,Sde.darkTheme=ode,Sde.cspNonce=mae.define({
combine:e=>e.length?e[0]:""
}),Sde.contentAttributes=Dce,Sde.editorAttributes=Pce,
Sde.lineWrapping=Sde.contentAttributes.of({class:"cm-lineWrapping"
}),Sde.announce=Hae.define();const _de=4096,Ede={};class Tde{
constructor(e,t,n,r,o,i){
this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=o,this.order=i}
static update(e,t){if(t.empty&&!e.some((e=>e.fresh)))return e
;let n=[],r=e.length?e[e.length-1].dir:Vle.LTR
;for(let o=Math.max(0,e.length-10);o<e.length;o++){let i=e[o]
;i.dir!=r||t.touchesRange(i.from,i.to)||n.push(new Tde(t.mapPos(i.from,1),t.mapPos(i.to,-1),i.dir,i.isolates,!1,i.order))
}return n}}function Cde(e,t,n){
for(let r=e.state.facet(t),o=r.length-1;o>=0;o--){
let t=r[o],i="function"==typeof t?t(e):t;i&&Cle(i,n)}return n}
const Ade=yle.mac?"mac":yle.windows?"win":yle.linux?"linux":"key"
;function Pde(e,t,n){
return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),
!1!==n&&t.shiftKey&&(e="Shift-"+e),e}
const Dde=Cae.default(Sde.domEventHandlers({keydown:(e,t)=>function(e,t,n,r){
Ide=t;let o=function(e){
var t=!(Pse&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Dse&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Ase:Cse)[e.keyCode]||e.key||"Unidentified"
;return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),
"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t
}(t),i=eae(Kie(o,0))==o.length&&" "!=o,a="",s=!1,l=!1,c=!1
;Nde&&Nde.view==n&&Nde.scope==r&&(a=Nde.prefix+" ",
cue.indexOf(t.keyCode)<0&&(l=!0,Nde=null));let u,d,p=new Set,h=e=>{if(e){
for(let t of e.run)if(!p.has(t)&&(p.add(t),
t(n)))return e.stopPropagation&&(c=!0),!0
;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},f=e[r]
;f&&(h(f[a+Pde(o,t,!i)])?s=!0:i&&(t.altKey||t.metaKey||t.ctrlKey)&&!(yle.windows&&t.ctrlKey&&t.altKey)&&(u=Cse[t.keyCode])&&u!=o?(h(f[a+Pde(u,t,!0)])||t.shiftKey&&(d=Ase[t.keyCode])!=o&&d!=u&&h(f[a+Pde(d,t,!1)]))&&(s=!0):i&&t.shiftKey&&h(f[a+Pde(o,t,!0)])&&(s=!0),
!s&&h(f._any)&&(s=!0));l&&(s=!0);s&&c&&t.stopPropagation();return Ide=null,s
}(function(e){let t=e.facet($de),n=Rde.get(t);n||Rde.set(t,n=function(e,t=Ade){
let n=Object.create(null),r=Object.create(null),o=(e,t)=>{let n=r[e]
;if(null==n)r[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")
},i=(e,r,i,a,s)=>{var l,c
;let u=n[e]||(n[e]=Object.create(null)),d=r.split(/ (?!$)/).map((e=>function(e,t){
const n=e.split(/-(?!$)/);let r,o,i,a,s=n[n.length-1];"Space"==s&&(s=" ")
;for(let l=0;l<n.length-1;++l){const e=n[l]
;if(/^(cmd|meta|m)$/i.test(e))a=!0;else if(/^a(lt)?$/i.test(e))r=!0;else if(/^(c|ctrl|control)$/i.test(e))o=!0;else if(/^s(hift)?$/i.test(e))i=!0;else{
if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e)
;"mac"==t?a=!0:o=!0}}
return r&&(s="Alt-"+s),o&&(s="Ctrl-"+s),a&&(s="Meta-"+s),i&&(s="Shift-"+s),s
}(e,t)));for(let t=1;t<d.length;t++){let n=d.slice(0,t).join(" ")
;o(n,!0),u[n]||(u[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=Nde={
view:t,prefix:n,scope:e};return setTimeout((()=>{Nde==r&&(Nde=null)}),Mde),!0}]
})}let p=d.join(" ");o(p,!1);let h=u[p]||(u[p]={preventDefault:!1,
stopPropagation:!1,
run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]
});i&&h.run.push(i),a&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)}
;for(let a of e){let e=a.scope?a.scope.split(" "):["editor"]
;if(a.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null))
;e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:r}=a
;for(let t in e)e[t].run.push((e=>r(e,Ide)))}let r=a[t]||a.key
;if(r)for(let t of e)i(t,r,a.run,a.preventDefault,a.stopPropagation),
a.shift&&i(t,"Shift-"+r,a.shift,a.preventDefault,a.stopPropagation)}return n
}(t.reduce(((e,t)=>e.concat(t)),[])));return n}(t.state),e,t,"editor")
})),$de=mae.define({enables:Dde}),Rde=new WeakMap;let Nde=null;const Mde=4e3
;let Ide=null;const Lde={".cm-line":{"& ::selection, &::selection":{
backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{
caretColor:"initial !important","&::selection, & ::selection":{
backgroundColor:"Highlight !important"}}}};function jde(e,t,n,r,o){t.lastIndex=0
;for(let i,a=e.iterRange(n,r),s=n;!a.next().done;s+=a.value.length)if(!a.lineBreak)for(;i=t.exec(a.value);)o(s+i.index,i)
}
!yle.ios&&(Lde[".cm-line"].caretColor=Lde[".cm-content"].caretColor="transparent !important")
;class Bde{constructor(e){
const{regexp:t,decoration:n,decorate:r,boundary:o,maxLength:i=1e3}=e
;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set")
;if(this.regexp=t,
r)this.addMatch=(e,t,n,o)=>r(o,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,o)=>{
let i=n(e,t,r);i&&o(r,r+e[0].length,i)};else{
if(!n)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator")
;this.addMatch=(e,t,r,o)=>o(r,r+e[0].length,n)}this.boundary=o,this.maxLength=i}
createDeco(e){let t=new use,n=t.add.bind(t)
;for(let{from:r,to:o}of function(e,t){let n=e.visibleRanges
;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n
;let r=[]
;for(let{from:o,to:i}of n)o=Math.max(e.state.doc.lineAt(o).from,o-t),i=Math.min(e.state.doc.lineAt(i).to,i+t),
r.length&&r[r.length-1].to>=o?r[r.length-1].to=i:r.push({from:o,to:i});return r
}(e,this.maxLength))jde(e.state.doc,this.regexp,r,o,((t,r)=>this.addMatch(r,e,t,n)))
;return t.finish()}updateDeco(e,t){let n=1e9,r=-1
;return e.docChanged&&e.changes.iterChanges(((t,o,i,a)=>{
a>e.view.viewport.from&&i<e.view.viewport.to&&(n=Math.min(i,n),r=Math.max(a,r))
})),
e.viewportChanged||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t
}updateRange(e,t,n,r){for(let o of e.visibleRanges){
let i=Math.max(o.from,n),a=Math.min(o.to,r);if(a>i){
let n=e.state.doc.lineAt(i),r=n.to<a?e.state.doc.lineAt(a):n,s=Math.max(o.from,n.from),l=Math.min(o.to,r.to)
;if(this.boundary){for(;i>n.from;i--)if(this.boundary.test(n.text[i-1-n.from])){
s=i;break}for(;a<r.to;a++)if(this.boundary.test(r.text[a-r.from])){l=a;break}}
let c,u=[],d=(e,t,n)=>u.push(n.range(e,t))
;if(n==r)for(this.regexp.lastIndex=s-n.from;(c=this.regexp.exec(n.text))&&c.index<l-n.from;)this.addMatch(c,e,c.index+n.from,d);else jde(e.state.doc,this.regexp,s,l,((t,n)=>this.addMatch(n,e,t,d)))
;t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}}
const Qde=null!=/x/.unicode?"gu":"g",Ude=new RegExp("[\0-\b\n--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff-]",Qde),Fde={
0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",
13:"carriage return",27:"escape",8203:"zero width space",
8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",
8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",
8238:"right-to-left override",8294:"left-to-right isolate",
8295:"right-to-left isolate",8297:"pop directional isolate",
8233:"paragraph separator",65279:"zero width no-break space",
65532:"object replacement"};let zde=null;const qde=mae.define({combine(e){
let t=ose(e,{render:null,specialChars:Ude,addSpecialChars:null})
;return(t.replaceTabs=!function(){var e
;if(null==zde&&"undefined"!=typeof document&&document.body){
let t=document.body.style
;zde=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return zde||!1
}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,Qde)),
t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Qde)),
t}});function Hde(e={}){return[qde.of(e),Vde||(Vde=Cce.fromClass(class{
constructor(e){
this.view=e,this.decorations=Lle.none,this.decorationCache=Object.create(null),
this.decorator=this.makeDecorator(e.state.facet(qde)),
this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new Bde({
regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:o}=n.state,i=Kie(t[0],0)
;if(9==i){let e=o.lineAt(r),t=n.state.tabSize,i=wse(e.text,t,r-e.from)
;return Lle.replace({
widget:new Wde((t-i%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}
return this.decorationCache[i]||(this.decorationCache[i]=Lle.replace({
widget:new Zde(e,i)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){
let t=e.state.facet(qde)
;e.startState.facet(qde)!=t?(this.decorator=this.makeDecorator(t),
this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)
}},{decorations:e=>e.decorations}))]}let Vde=null;class Zde extends Mle{
constructor(e,t){super(),this.options=e,this.code=t}eq(e){
return e.code==this.code}toDOM(e){
let t=(n=this.code)>=32?"•":10==n?"␤":String.fromCharCode(9216+n);var n
;let r=e.state.phrase("Control character")+" "+(Fde[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,r,t)
;if(o)return o;let i=document.createElement("span")
;return i.textContent=t,i.title=r,
i.setAttribute("aria-label",r),i.className="cm-specialChar",i}ignoreEvent(){
return!1}}class Wde extends Mle{constructor(e){super(),this.width=e}eq(e){
return e.width==this.width}toDOM(){let e=document.createElement("span")
;return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}
ignoreEvent(){return!1}}class Xde extends Mle{constructor(e){
super(),this.content=e}toDOM(){let e=document.createElement("span")
;return e.className="cm-placeholder",
e.style.pointerEvents="none",e.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content),
"string"==typeof this.content?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),
e}coordsAt(e){let t=e.firstChild?Lse(e.firstChild):[];if(!t.length)return null
;let n=window.getComputedStyle(e.parentNode),r=zse(t[0],"rtl"!=n.direction),o=parseInt(n.lineHeight)
;return r.bottom-r.top>1.5*o?{left:r.left,right:r.right,top:r.top,bottom:r.top+o
}:r}ignoreEvent(){return!1}}const Gde="-10000px";class Yde{constructor(e,t,n,r){
this.facet=t,
this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),
this.tooltips=this.input.filter((e=>e));let o=null
;this.tooltipViews=this.tooltips.map((e=>o=n(e,o)))}update(e,t){var n
;let r=e.state.facet(this.facet),o=r.filter((e=>e));if(r===this.input){
for(let t of this.tooltipViews)t.update&&t.update(e);return!1}
let i=[],a=t?[]:null;for(let s=0;s<o.length;s++){let n=o[s],r=-1;if(n){
for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e]
;t&&t.create==n.create&&(r=e)}
if(r<0)i[s]=this.createTooltipView(n,s?i[s-1]:null),a&&(a[s]=!!n.above);else{
let n=i[s]=this.tooltipViews[r];a&&(a[s]=t[r]),n.update&&n.update(e)}}}
for(let s of this.tooltipViews)i.indexOf(s)<0&&(this.removeTooltipView(s),
null===(n=s.destroy)||void 0===n||n.call(s))
;return t&&(a.forEach(((e,n)=>t[n]=e)),
t.length=a.length),this.input=r,this.tooltips=o,this.tooltipViews=i,!0}}
function Kde(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,
right:t.innerWidth}}const Jde=mae.define({combine:e=>{var t,n,r;return{
position:yle.ios?"absolute":(null===(t=e.find((e=>e.position)))||void 0===t?void 0:t.position)||"fixed",
parent:(null===(n=e.find((e=>e.parent)))||void 0===n?void 0:n.parent)||null,
tooltipSpace:(null===(r=e.find((e=>e.tooltipSpace)))||void 0===r?void 0:r.tooltipSpace)||Kde
}}}),epe=new WeakMap,tpe=Cce.fromClass(class{constructor(e){
this.view=e,this.above=[],
this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,
this.measureTimeout=-1;let t=e.state.facet(Jde)
;this.position=t.position,this.parent=t.parent,
this.classes=e.themeClasses,this.createContainer(),this.measureReq={
read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this
},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver((()=>this.measureSoon())):null,
this.manager=new Yde(e,ope,((e,t)=>this.createTooltip(e,t)),(e=>{
this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()
})),this.above=this.manager.tooltips.map((e=>!!e.above)),
this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((e=>{
Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()
}),{threshold:[1]
}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),
this.maybeMeasure()}createContainer(){
this.parent?(this.container=document.createElement("div"),
this.container.style.position="relative",
this.container.className=this.view.themeClasses,
this.parent.appendChild(this.container)):this.container=this.view.dom}
observeIntersection(){if(this.intersectionObserver){
this.intersectionObserver.disconnect()
;for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)
}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{
this.measureTimeout=-1,this.maybeMeasure()}),50))}update(e){
e.transactions.length&&(this.lastTransaction=Date.now())
;let t=this.manager.update(e,this.above);t&&this.observeIntersection()
;let n=t||e.geometryChanged,r=e.state.facet(Jde)
;if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position
;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}
if(r.parent!=this.parent){
this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer()
;for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0
}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses)
;n&&this.maybeMeasure()}createTooltip(e,t){
let n=e.create(this.view),r=t?t.dom:null
;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){
let e=document.createElement("div")
;e.className="cm-tooltip-arrow",n.dom.appendChild(e)}
return n.dom.style.position=this.position,
n.dom.style.top=Gde,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),
n.mount&&n.mount(this.view),
this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n
;this.view.win.removeEventListener("resize",this.measureSoon)
;for(let r of this.manager.tooltipViews)r.dom.remove(),
null===(e=r.destroy)||void 0===e||e.call(r)
;this.parent&&this.container.remove(),
null===(t=this.resizeObserver)||void 0===t||t.disconnect(),
null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),
clearTimeout(this.measureTimeout)}readMeasure(){
let e=this.view.dom.getBoundingClientRect(),t=1,n=1,r=!1
;if("fixed"==this.position&&this.manager.tooltipViews.length){
let{dom:e}=this.manager.tooltipViews[0]
;if(yle.gecko)r=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==Gde&&"0px"==e.style.left){
let t=e.getBoundingClientRect();r=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}
if(r||"absolute"==this.position)if(this.parent){
let e=this.parent.getBoundingClientRect()
;e.width&&e.height&&(t=e.width/this.parent.offsetWidth,
n=e.height/this.parent.offsetHeight)
}else({scaleX:t,scaleY:n}=this.view.viewState);return{editor:e,
parent:this.parent?this.container.getBoundingClientRect():e,
pos:this.manager.tooltips.map(((e,t)=>{let n=this.manager.tooltipViews[t]
;return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)})),
size:this.manager.tooltipViews.map((({dom:e})=>e.getBoundingClientRect())),
space:this.view.state.facet(Jde).tooltipSpace(this.view),scaleX:t,scaleY:n,
makeAbsolute:r}}writeMeasure(e){var t;if(e.makeAbsolute){
this.madeAbsolute=!0,this.position="absolute"
;for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}
let{editor:n,space:r,scaleX:o,scaleY:i}=e,a=[]
;for(let s=0;s<this.manager.tooltips.length;s++){
let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],p=e.size[s]
;if(!d||d.bottom<=Math.max(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1){
u.style.top=Gde;continue}
let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,m=p.right-p.left,g=null!==(t=epe.get(c))&&void 0!==t?t:p.bottom-p.top,v=c.offset||rpe,b=this.view.textDirection==Vle.LTR,O=p.width>r.right-r.left?b?r.left:r.right-p.width:b?Math.min(d.left-(h?14:0)+v.x,r.right-m):Math.max(r.left,d.left-m+(h?14:0)-v.x),y=this.above[s]
;!l.strictSide&&(y?d.top-(p.bottom-p.top)-v.y<r.top:d.bottom+(p.bottom-p.top)+v.y>r.bottom)&&y==r.bottom-d.bottom>d.top-r.top&&(y=this.above[s]=!y)
;let w=(y?d.top-r.top:r.bottom-d.bottom)-f;if(w<g&&!1!==c.resize){
if(w<this.view.defaultLineHeight){u.style.top=Gde;continue}
epe.set(c,g),u.style.height=(g=w)/i+"px"
}else u.style.height&&(u.style.height="")
;let k=y?d.top-g-f-v.y:d.bottom+f+v.y,x=O+m
;if(!0!==c.overlap)for(let e of a)e.left<x&&e.right>O&&e.top<k+g&&e.bottom>k&&(k=y?e.top-g-2-f:e.bottom+f+2)
;if("absolute"==this.position?(u.style.top=(k-e.parent.top)/i+"px",
u.style.left=(O-e.parent.left)/o+"px"):(u.style.top=k/i+"px",
u.style.left=O/o+"px"),h){let e=d.left+(b?v.x:-v.x)-(O+14-7)
;h.style.left=e/o+"px"}!0!==c.overlap&&a.push({left:O,top:k,right:x,bottom:k+g
}),
u.classList.toggle("cm-tooltip-above",y),u.classList.toggle("cm-tooltip-below",!y),
c.positioned&&c.positioned(e.space)}}maybeMeasure(){
if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),
this.inView!=this.view.inView&&(this.inView=this.view.inView,
!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=Gde}},{
eventObservers:{scroll(){this.maybeMeasure()}}}),npe=Sde.baseTheme({
".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{
border:"1px solid #bbb",backgroundColor:"#f5f5f5"},
"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},
"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},
".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,
overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,
height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"
},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},
"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{
top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{
borderBottom:"7px solid #f5f5f5",top:"1px"}}},
"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",
borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",
borderBottomColor:"transparent"}}}),rpe={x:0,y:0},ope=mae.define({
enables:[tpe,npe]}),ipe=mae.define({combine:e=>e.reduce(((e,t)=>e.concat(t)),[])
});class ape{static create(e){return new ape(e)}constructor(e){
this.view=e,this.mounted=!1,
this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),
this.manager=new Yde(e,ipe,((e,t)=>this.createHostedView(e,t)),(e=>e.dom.remove()))
}createHostedView(e,t){let n=e.create(this.view)
;return n.dom.classList.add("cm-tooltip-section"),
this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),
this.mounted&&n.mount&&n.mount(this.view),n}mount(e){
for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}
positioned(e){
for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){
this.manager.update(e)}destroy(){var e
;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)
}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e]
;if(void 0!==r)if(void 0===t)t=r;else if(t!==r)return}return t}get offset(){
return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")
}get overlap(){return this.passProp("overlap")}get resize(){
return this.passProp("resize")}}const spe=ope.compute([ipe],(e=>{
let t=e.facet(ipe);return 0===t.length?null:{pos:Math.min(...t.map((e=>e.pos))),
end:Math.max(...t.map((e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos
}))),create:ape.create,above:t[0].above,arrow:t.some((e=>e.arrow))}}))
;class lpe{constructor(e,t,n,r,o){
this.view=e,this.source=t,this.field=n,this.setHover=r,
this.hoverTime=o,this.hoverTimeout=-1,
this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,
time:0
},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),
e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}
update(){
this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((()=>this.startHover()),20))
}get active(){return this.view.state.field(this.field)}checkHover(){
if(this.hoverTimeout=-1,this.active.length)return
;let e=Date.now()-this.lastMove.time
;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()
}startHover(){clearTimeout(this.restartTimeout)
;let{view:e,lastMove:t}=this,n=e.docView.nearest(t.target);if(!n)return
;let r,o=1;if(n instanceof xle)r=n.posAtStart;else{
if(r=e.posAtCoords(t),null==r)return;let n=e.coordsAtPos(r)
;if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return
;let i=e.bidiSpans(e.state.doc.lineAt(r)).find((e=>e.from<=r&&e.to>=r)),a=i&&i.dir==Vle.RTL?-1:1
;o=t.x<n.left?-a:a}let i=this.source(e,r,o);if(null==i?void 0:i.then){
let t=this.pending={pos:r};i.then((n=>{
this.pending==t&&(this.pending=null,!n||Array.isArray(n)&&!n.length||e.dispatch({
effects:this.setHover.of(Array.isArray(n)?n:[n])}))
}),(t=>Sce(e.state,t,"hover tooltip")))
}else!i||Array.isArray(i)&&!i.length||e.dispatch({
effects:this.setHover.of(Array.isArray(i)?i:[i])})}get tooltip(){
let e=this.view.plugin(tpe),t=e?e.manager.tooltips.findIndex((e=>e.create==ape.create)):-1
;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;this.lastMove={
x:e.clientX,y:e.clientY,target:e.target,time:Date.now()
},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime))
;let{active:r,tooltip:o}=this;if(r.length&&o&&!function(e,t){
let n=e.getBoundingClientRect()
;return t.clientX>=n.left-cpe&&t.clientX<=n.right+cpe&&t.clientY>=n.top-cpe&&t.clientY<=n.bottom+cpe
}(o.dom,e)||this.pending){
let{pos:o}=r[0]||this.pending,i=null!==(n=null===(t=r[0])||void 0===t?void 0:t.end)&&void 0!==n?n:o
;(o==i?this.view.posAtCoords(this.lastMove)==o:function(e,t,n,r,o,i){
let a=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight
;if(a.left>r||a.right<r||a.top>o||Math.min(a.bottom,s)<o)return!1
;let l=e.posAtCoords({x:r,y:o},!1);return l>=t&&l<=n
}(this.view,o,i,e.clientX,e.clientY))||(this.view.dispatch({
effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){
clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this
;if(t.length){let{tooltip:t}=this
;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({
effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{
e.removeEventListener("mouseleave",t),
this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({
effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){
clearTimeout(this.hoverTimeout),
this.view.dom.removeEventListener("mouseleave",this.mouseleave),
this.view.dom.removeEventListener("mousemove",this.mousemove)}}const cpe=4
;function upe(e,t={}){let n=Hae.define(),r=kae.define({create:()=>[],
update(e,r){
if(e.length&&(t.hideOnChange&&(r.docChanged||r.selection)?e=[]:t.hideOn&&(e=e.filter((e=>!t.hideOn(r,e)))),
r.docChanged)){let t=[];for(let n of e){
let e=r.changes.mapPos(n.pos,-1,nae.TrackDel);if(null!=e){
let o=Object.assign(Object.create(null),n)
;o.pos=e,null!=o.end&&(o.end=r.changes.mapPos(o.end)),t.push(o)}}e=t}
for(let t of r.effects)t.is(n)&&(e=t.value),t.is(ppe)&&(e=[]);return e},
provide:e=>ipe.from(e)})
;return[r,Cce.define((o=>new lpe(o,e,r,n,t.hoverTime||300))),spe]}
function dpe(e,t){let n=e.plugin(tpe);if(!n)return null
;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}
const ppe=Hae.define(),hpe=mae.define({combine(e){let t,n
;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{
topContainer:t,bottomContainer:n}}}),fpe=Cce.fromClass(class{constructor(e){
this.input=e.state.facet(vpe),
this.specs=this.input.filter((e=>e)),this.panels=this.specs.map((t=>t(e)))
;let t=e.state.facet(hpe)
;this.top=new mpe(e,!0,t.topContainer),this.bottom=new mpe(e,!1,t.bottomContainer),
this.top.sync(this.panels.filter((e=>e.top))),
this.bottom.sync(this.panels.filter((e=>!e.top)))
;for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}
update(e){let t=e.state.facet(hpe)
;this.top.container!=t.topContainer&&(this.top.sync([]),
this.top=new mpe(e.view,!0,t.topContainer)),
this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),
this.bottom=new mpe(e.view,!1,t.bottomContainer)),
this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(vpe)
;if(n!=this.input){let t=n.filter((e=>e)),r=[],o=[],i=[],a=[];for(let n of t){
let t,s=this.specs.indexOf(n)
;s<0?(t=n(e.view),a.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),
(t.top?o:i).push(t)}
this.specs=t,this.panels=r,this.top.sync(o),this.bottom.sync(i)
;for(let e of a)e.dom.classList.add("cm-panel"),e.mount&&e.mount()
}else for(let r of this.panels)r.update&&r.update(e)}destroy(){
this.top.sync([]),this.bottom.sync([])}},{provide:e=>Sde.scrollMargins.of((t=>{
let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),
bottom:n.bottom.scrollMargin()}}))});class mpe{constructor(e,t,n){
this.view=e,this.top=t,
this.container=n,this.dom=void 0,this.classes="",this.panels=[],
this.syncClasses()}sync(e){
for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy()
;this.panels=e,this.syncDOM()}syncDOM(){
if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),
this.dom=void 0));if(!this.dom){
this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",
this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom
;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild
;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=gpe(e)
;e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=gpe(e)}
scrollMargin(){
return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)
}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){
for(let e of this.classes.split(" "))e&&this.container.classList.remove(e)
;for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)
}}}function gpe(e){let t=e.nextSibling;return e.remove(),t}
const vpe=mae.define({enables:fpe});class bpe extends ise{compare(e){
return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}
destroy(e){}}
bpe.prototype.elementClass="",bpe.prototype.toDOM=void 0,bpe.prototype.mapMode=nae.TrackBefore,
bpe.prototype.startSide=bpe.prototype.endSide=-1,bpe.prototype.point=!0
;const Ope=mae.define(),ype={class:"",renderEmptyElements:!1,elementStyle:"",
markers:()=>cse.empty,lineMarker:()=>null,widgetMarker:()=>null,
lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}
},wpe=mae.define();function kpe(e){
return[Spe(),wpe.of(Object.assign(Object.assign({},ype),e))]}
const xpe=mae.define({combine:e=>e.some((e=>e))});function Spe(e){return[_pe]}
const _pe=Cce.fromClass(class{constructor(e){
this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),
this.dom.className="cm-gutters",
this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",
this.gutters=e.state.facet(wpe).map((t=>new Ape(e,t)))
;for(let t of this.gutters)this.dom.appendChild(t.dom)
;this.fixed=!e.state.facet(xpe),
this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),
e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){
if(this.updateGutters(e)){
let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from)
;this.syncGutters(r<.8*(n.to-n.from))}
e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),
this.view.state.facet(xpe)!=!this.fixed&&(this.fixed=!this.fixed,
this.dom.style.position=this.fixed?"sticky":""),
this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling
;e&&this.dom.remove()
;let n=cse.iter(this.view.state.facet(Ope),this.view.viewport.from),r=[],o=this.gutters.map((e=>new Cpe(e,this.view.viewport,-this.view.documentPadding.top)))
;for(let i of this.view.viewportLineBlocks)if(r.length&&(r=[]),
Array.isArray(i.type)){let e=!0;for(let t of i.type)if(t.type==Ile.Text&&e){
Tpe(n,r,t.from);for(let e of o)e.line(this.view,t,r);e=!1
}else if(t.widget)for(let e of o)e.widget(this.view,t)
}else if(i.type==Ile.Text){Tpe(n,r,i.from);for(let e of o)e.line(this.view,i,r)
}else if(i.widget)for(let e of o)e.widget(this.view,i);for(let i of o)i.finish()
;e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){
let t=e.startState.facet(wpe),n=e.state.facet(wpe),r=e.docChanged||e.heightChanged||e.viewportChanged||!cse.eq(e.startState.facet(Ope),e.state.facet(Ope),e.view.viewport.from,e.view.viewport.to)
;if(t==n)for(let o of this.gutters)o.update(e)&&(r=!0);else{r=!0;let o=[]
;for(let r of n){let n=t.indexOf(r)
;n<0?o.push(new Ape(this.view,r)):(this.gutters[n].update(e),
o.push(this.gutters[n]))}
for(let e of this.gutters)e.dom.remove(),o.indexOf(e)<0&&e.destroy()
;for(let e of o)this.dom.appendChild(e.dom);this.gutters=o}return r}destroy(){
for(let e of this.gutters)e.destroy();this.dom.remove()}},{
provide:e=>Sde.scrollMargins.of((t=>{let n=t.plugin(e)
;return n&&0!=n.gutters.length&&n.fixed?t.textDirection==Vle.LTR?{
left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}:null}))})
;function Epe(e){return Array.isArray(e)?e:[e]}function Tpe(e,t,n){
for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class Cpe{
constructor(e,t,n){
this.gutter=e,this.height=n,this.i=0,this.cursor=cse.iter(e.markers,t.from)}
addElement(e,t,n){
let{gutter:r}=this,o=(t.top-this.height)/e.scaleY,i=t.height/e.scaleY
;if(this.i==r.elements.length){let t=new Ppe(e,i,o,n)
;r.elements.push(t),r.dom.appendChild(t.dom)
}else r.elements[this.i].update(e,i,o,n);this.height=t.bottom,this.i++}
line(e,t,n){let r=[];Tpe(this.cursor,r,t.from),n.length&&(r=r.concat(n))
;let o=this.gutter.config.lineMarker(e,t,r);o&&r.unshift(o);let i=this.gutter
;(0!=r.length||i.config.renderEmptyElements)&&this.addElement(e,t,r)}
widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t)
;n&&this.addElement(e,t,[n])}finish(){let e=this.gutter
;for(;e.elements.length>this.i;){let t=e.elements.pop()
;e.dom.removeChild(t.dom),t.destroy()}}}class Ape{constructor(e,t){
this.view=e,this.config=t,
this.elements=[],this.spacer=null,this.dom=document.createElement("div"),
this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"")
;for(let n in t.domEventHandlers)this.dom.addEventListener(n,(r=>{
let o,i=r.target;if(i!=this.dom&&this.dom.contains(i)){
for(;i.parentNode!=this.dom;)i=i.parentNode;let e=i.getBoundingClientRect()
;o=(e.top+e.bottom)/2}else o=r.clientY
;let a=e.lineBlockAtHeight(o-e.documentTop)
;t.domEventHandlers[n](e,a,r)&&r.preventDefault()}))
;this.markers=Epe(t.markers(e)),
t.initialSpacer&&(this.spacer=new Ppe(e,0,0,[t.initialSpacer(e)]),
this.dom.appendChild(this.spacer.dom),
this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}
update(e){let t=this.markers
;if(this.markers=Epe(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){
let t=this.config.updateSpacer(this.spacer.markers[0],e)
;t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}
let n=e.view.viewport
;return!cse.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)
}destroy(){for(let e of this.elements)e.destroy()}}class Ppe{
constructor(e,t,n,r){
this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),
this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){
this.height!=t&&(this.height=t,
this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),
function(e,t){if(e.length!=t.length)return!1
;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0
}(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){
let n="cm-gutterElement",r=this.dom.firstChild;for(let o=0,i=0;;){
let a=i,s=o<t.length?t[o++]:null,l=!1;if(s){let e=s.elementClass;e&&(n+=" "+e)
;for(let t=i;t<this.markers.length;t++)if(this.markers[t].compare(s)){a=t,l=!0
;break}}else a=this.markers.length;for(;i<a;){let e=this.markers[i++]
;if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break
;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&i++}
this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}
const Dpe=mae.define(),$pe=mae.define({combine:e=>ose(e,{formatNumber:String,
domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e)
;for(let r in t){let e=n[r],o=t[r];n[r]=e?(t,n,r)=>e(t,n,r)||o(t,n,r):o}return n
}})});class Rpe extends bpe{constructor(e){super(),this.number=e}eq(e){
return this.number==e.number}toDOM(){return document.createTextNode(this.number)
}}function Npe(e,t){return e.state.facet($pe).formatNumber(t,e.state)}
const Mpe=wpe.compute([$pe],(e=>({class:"cm-lineNumbers",renderEmptyElements:!1,
markers:e=>e.state.facet(Dpe),
lineMarker:(e,t,n)=>n.some((e=>e.toDOM))?null:new Rpe(Npe(e,e.state.doc.lineAt(t.from).number)),
widgetMarker:()=>null,
lineMarkerChange:e=>e.startState.facet($pe)!=e.state.facet($pe),
initialSpacer:e=>new Rpe(Npe(e,Ipe(e.state.doc.lines))),updateSpacer(e,t){
let n=Npe(t.view,Ipe(t.view.state.doc.lines));return n==e.number?e:new Rpe(n)},
domEventHandlers:e.facet($pe).domEventHandlers})));function Ipe(e){let t=9
;for(;t<e;)t=10*t+9;return t}const Lpe=1024;let jpe=0;class Bpe{
constructor(e,t){this.from=e,this.to=t}}class Qpe{constructor(e={}){
this.id=jpe++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{
throw new Error("This node type doesn't define a deserialize function")})}
add(e){
if(this.perNode)throw new RangeError("Can't add per-node props to node types")
;return"function"!=typeof e&&(e=zpe.match(e)),t=>{let n=e(t)
;return void 0===n?null:[this,n]}}}Qpe.closedBy=new Qpe({
deserialize:e=>e.split(" ")}),Qpe.openedBy=new Qpe({deserialize:e=>e.split(" ")
}),Qpe.group=new Qpe({deserialize:e=>e.split(" ")}),Qpe.isolate=new Qpe({
deserialize:e=>{
if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e)
;return e||"auto"}}),Qpe.contextHash=new Qpe({perNode:!0
}),Qpe.lookAhead=new Qpe({perNode:!0}),Qpe.mounted=new Qpe({perNode:!0})
;class Upe{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}
static get(e){return e&&e.props&&e.props[Qpe.mounted.id]}}
const Fpe=Object.create(null);class zpe{constructor(e,t,n,r=0){
this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){
let t=e.props&&e.props.length?Object.create(null):Fpe,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new zpe(e.name||"",t,e.id,n)
;if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){
if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type")
;t[o[0].id]=o[1]}return r}prop(e){return this.props[e.id]}get isTop(){
return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){
return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){
if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(Qpe.group)
;return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){
let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n]
;return e=>{for(let n=e.prop(Qpe.group),r=-1;r<(n?n.length:0);r++){
let o=t[r<0?e.name:n[r]];if(o)return o}}}}
zpe.none=new zpe("",Object.create(null),0,8);class qpe{constructor(e){
this.types=e
;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")
}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){
let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}
t.push(r?new zpe(n.name,r,n.id,n.flags):n)}return new qpe(t)}}
const Hpe=new WeakMap,Vpe=new WeakMap;var Zpe,Wpe
;(Wpe=Zpe||(Zpe={}))[Wpe.ExcludeBuffers=1]="ExcludeBuffers",
Wpe[Wpe.IncludeAnonymous=2]="IncludeAnonymous",
Wpe[Wpe.IgnoreMounts=4]="IgnoreMounts",
Wpe[Wpe.IgnoreOverlays=8]="IgnoreOverlays";class Xpe{constructor(e,t,n,r,o){
if(this.type=e,
this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){
this.props=Object.create(null)
;for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){
let e=Upe.get(this);if(e&&!e.overlay)return e.tree.toString();let t=""
;for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}
return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t
}cursor(e=0){return new lhe(this.topNode,e)}cursorAt(e,t=0,n=0){
let r=Hpe.get(this)||this.topNode,o=new lhe(r)
;return o.moveTo(e,t),Hpe.set(this,o._tree),o}get topNode(){
return new the(this,0,0,null)}resolve(e,t=0){
let n=Jpe(Hpe.get(this)||this.topNode,e,t,!1);return Hpe.set(this,n),n}
resolveInner(e,t=0){let n=Jpe(Vpe.get(this)||this.topNode,e,t,!0)
;return Vpe.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){
let r=e.resolveInner(t,n),o=null
;for(let i=r instanceof the?r:r.context.parent;i;i=i.parent)if(i.index<0){
let e=i.parent;(o||(o=[r])).push(e.resolve(t,n)),i=e}else{let e=Upe.get(i.tree)
;if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){
let a=new the(e.tree,e.overlay[0].from+i.from,-1,i)
;(o||(o=[r])).push(Jpe(a,t,n,!1))}}return o?ahe(o):r}(this,e,t)}iterate(e){
let{enter:t,leave:n,from:r=0,to:o=this.length}=e,i=e.mode||0,a=(i&Zpe.IncludeAnonymous)>0
;for(let s=this.cursor(i|Zpe.IncludeAnonymous);;){let e=!1
;if(s.from<=o&&s.to>=r&&(!a&&s.type.isAnonymous||!1!==t(s))){
if(s.firstChild())continue;e=!0}
for(;e&&n&&(a||!s.type.isAnonymous)&&n(s),!s.nextSibling();){
if(!s.parent())return;e=!0}}}prop(e){
return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}
get propValues(){let e=[]
;if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}
balance(e={}){
return this.children.length<=8?this:phe(zpe.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new Xpe(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new Xpe(zpe.none,e,t,n)))
}static build(e){return function(e){var t
;let{buffer:n,nodeSet:r,maxBufferLength:o=Lpe,reused:i=[],minRepeatType:a=r.types.length}=e,s=Array.isArray(n)?new Gpe(n,n.length):n,l=r.types,c=0,u=0
;function d(e,t,n,b,O,y){let{id:w,start:k,end:x,size:S}=s,_=u;for(;S<0;){
if(s.next(),-1==S){let t=i[w];return n.push(t),void b.push(k-e)}
if(-3==S)return void(c=w);if(-4==S)return void(u=w)
;throw new RangeError(`Unrecognized record size: ${S}`)}let E,T,C=l[w],A=k-e
;if(x-k<=o&&(T=g(s.pos-t,O))){
let t=new Uint16Array(T.size-T.skip),n=s.pos-T.size,o=t.length
;for(;s.pos>n;)o=v(T.start,t,o);E=new Ype(t,x-T.start,r),A=T.start-e}else{
let e=s.pos-S;s.next();let t=[],n=[],r=w>=a?w:-1,i=0,l=x
;for(;s.pos>e;)r>=0&&s.id==r&&s.size>=0?(s.end<=l-o&&(f(t,n,k,i,s.end,l,r,_),
i=t.length,l=s.end),s.next()):y>2500?p(k,e,t,n):d(k,e,t,n,r,y+1)
;if(r>=0&&i>0&&i<t.length&&f(t,n,k,i,k,l,r,_),
t.reverse(),n.reverse(),r>-1&&i>0){let e=h(C);E=phe(C,t,n,0,t.length,0,x-k,e,e)
}else E=m(C,t,n,x-k,_-x)}n.push(E),b.push(A)}function p(e,t,n,i){
let a=[],l=0,c=-1;for(;s.pos>t;){let{id:e,start:t,end:n,size:r}=s
;if(r>4)s.next();else{if(c>-1&&t<c)break;c<0&&(c=n-o),a.push(e,t,n),l++,s.next()
}}if(l){let t=new Uint16Array(4*l),o=a[a.length-2]
;for(let e=a.length-3,n=0;e>=0;e-=3)t[n++]=a[e],t[n++]=a[e+1]-o,t[n++]=a[e+2]-o,
t[n++]=n;n.push(new Ype(t,a[2]-o,r)),i.push(o-e)}}function h(e){return(t,n,r)=>{
let o,i,a=0,s=t.length-1;if(s>=0&&(o=t[s])instanceof Xpe){
if(!s&&o.type==e&&o.length==r)return o
;(i=o.prop(Qpe.lookAhead))&&(a=n[s]+o.length+i)}return m(e,t,n,r,a)}}
function f(e,t,n,o,i,a,s,l){let c=[],u=[]
;for(;e.length>o;)c.push(e.pop()),u.push(t.pop()+n-i)
;e.push(m(r.types[s],c,u,a-i,l-a)),t.push(i-n)}function m(e,t,n,r,o=0,i){if(c){
let e=[Qpe.contextHash,c];i=i?[e].concat(i):[e]}if(o>25){let e=[Qpe.lookAhead,o]
;i=i?[e].concat(i):[e]}return new Xpe(e,t,n,r,i)}function g(e,t){
let n=s.fork(),r=0,i=0,l=0,c=n.end-o,u={size:0,start:0,skip:0}
;e:for(let o=n.pos-e;n.pos>o;){let e=n.size;if(n.id==t&&e>=0){
u.size=r,u.start=i,u.skip=l,l+=4,r+=4,n.next();continue}let s=n.pos-e
;if(e<0||s<o||n.start<c)break;let d=n.id>=a?4:0,p=n.start
;for(n.next();n.pos>s;){if(n.size<0){if(-3!=n.size)break e;d+=4
}else n.id>=a&&(d+=4);n.next()}i=p,r+=e,l+=d}
return(t<0||r==e)&&(u.size=r,u.start=i,u.skip=l),u.size>4?u:void 0}
function v(e,t,n){let{id:r,start:o,end:i,size:l}=s;if(s.next(),l>=0&&r<a){
let a=n;if(l>4){let r=s.pos-(l-4);for(;s.pos>r;)n=v(e,t,n)}
t[--n]=a,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==l?c=r:-4==l&&(u=r);return n}
let b=[],O=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,b,O,-1,0)
;let y=null!==(t=e.length)&&void 0!==t?t:b.length?O[0]+b[0].length:0
;return new Xpe(l[e.topID],b.reverse(),O.reverse(),y)}(e)}}
Xpe.empty=new Xpe(zpe.none,[],[],0);class Gpe{constructor(e,t){
this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}
get start(){return this.buffer[this.index-3]}get end(){
return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}
get pos(){return this.index}next(){this.index-=4}fork(){
return new Gpe(this.buffer,this.index)}}class Ype{constructor(e,t,n){
this.buffer=e,this.length=t,this.set=n}get type(){return zpe.none}toString(){
let e=[]
;for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3]
;return e.join(",")}childString(e){
let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name
;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let i=[]
;for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3]
;return o+"("+i.join(",")+")"}findChild(e,t,n,r,o){let{buffer:i}=this,a=-1
;for(let s=e;s!=t&&!(Kpe(o,r,i[s+1],i[s+2])&&(a=s,n>0));s=i[s+3]);return a}
slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let a=e,s=0;a<t;){
o[s++]=r[a++],o[s++]=r[a++]-n;let t=o[s++]=r[a++]-n
;o[s++]=r[a++]-e,i=Math.max(i,t)}return new Ype(o,i,this.set)}}
function Kpe(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t
;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:
return!0}}function Jpe(e,t,n,r){
for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){
let t=!r&&e instanceof the&&e.index<0?null:e.parent;if(!t)return e;e=t}
let i=r?0:Zpe.IgnoreOverlays
;if(r)for(let a=e,s=a.parent;s;a=s,s=a.parent)a instanceof the&&a.index<0&&(null===(o=s.enter(t,n,i))||void 0===o?void 0:o.from)!=a.from&&(e=s)
;for(;;){let r=e.enter(t,n,i);if(!r)return e;e=r}}class ehe{cursor(e=0){
return new lhe(this,e)}getChild(e,t=null,n=null){let r=nhe(this,e,t,n)
;return r.length?r[0]:null}getChildren(e,t=null,n=null){return nhe(this,e,t,n)}
resolve(e,t=0){return Jpe(this,e,t,!1)}resolveInner(e,t=0){
return Jpe(this,e,t,!0)}matchContext(e){return rhe(this,e)}
enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){
let e=t.lastChild;if(!e||e.to!=t.to)break
;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){
return this}get next(){return this.parent}}class the extends ehe{
constructor(e,t,n,r){
super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){
return this._tree.type}get name(){return this._tree.type.name}get to(){
return this.from+this._tree.length}nextChild(e,t,n,r,o=0){for(let i=this;;){
for(let{children:a,positions:s}=i._tree,l=t>0?a.length:-1;e!=l;e+=t){
let l=a[e],c=s[e]+i.from;if(Kpe(r,n,c,c+l.length))if(l instanceof Ype){
if(o&Zpe.ExcludeBuffers)continue;let a=l.findChild(0,l.buffer.length,t,n-c,r)
;if(a>-1)return new ihe(new ohe(i,l,e,c),null,a)
}else if(o&Zpe.IncludeAnonymous||!l.type.isAnonymous||che(l)){let a
;if(!(o&Zpe.IgnoreMounts)&&(a=Upe.get(l))&&!a.overlay)return new the(a.tree,c,e,i)
;let s=new the(l,c,e,i)
;return o&Zpe.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?l.children.length-1:0,t,n,r)
}}if(o&Zpe.IncludeAnonymous||!i.type.isAnonymous)return null
;if(e=i.index>=0?i.index+t:t<0?-1:i._parent._tree.children.length,
i=i._parent,!i)return null}}get firstChild(){return this.nextChild(0,1,0,4)}
get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}
childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){
return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r
;if(!(n&Zpe.IgnoreOverlays)&&(r=Upe.get(this._tree))&&r.overlay){
let n=e-this.from
;for(let{from:e,to:o}of r.overlay)if((t>0?e<=n:e<n)&&(t<0?o>=n:o>n))return new the(r.tree,r.overlay[0].from+this.from,-1,this)
}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this
;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){
return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){
return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null
}get prevSibling(){
return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null
}get tree(){return this._tree}toTree(){return this._tree}toString(){
return this._tree.toString()}}function nhe(e,t,n,r){let o=e.cursor(),i=[]
;if(!o.firstChild())return i
;if(null!=n)for(let a=!1;!a;)if(a=o.type.is(n),!o.nextSibling())return i
;for(;;){if(null!=r&&o.type.is(r))return i
;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}
function rhe(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){
if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}
return!0}class ohe{constructor(e,t,n,r){
this.parent=e,this.buffer=t,this.index=n,this.start=r}}class ihe extends ehe{
get name(){return this.type.name}get from(){
return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){
return this.context.start+this.context.buffer.buffer[this.index+2]}
constructor(e,t,n){
super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]
}child(e,t,n){
let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n)
;return o<0?null:new ihe(this.context,this,o)}get firstChild(){
return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}
childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)
}enter(e,t,n=0){if(n&Zpe.ExcludeBuffers)return null
;let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t)
;return o<0?null:new ihe(this.context,this,o)}get parent(){
return this._parent||this.context.parent.nextSignificantParent()}
externalSibling(e){
return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)
}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3]
;return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new ihe(this.context,this._parent,t):this.externalSibling(1)
}get prevSibling(){
let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0
;return this.index==t?this.externalSibling(-1):new ihe(this.context,this._parent,e.findChild(t,this.index,-1,0,4))
}get tree(){return null}toTree(){
let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3]
;if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}
return new Xpe(this.type,e,t,this.to-this.from)}toString(){
return this.context.buffer.childString(this.index)}}function ahe(e){
if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i]
;(r.from>n.from||r.to<n.to)&&(n=r,t=i)}
let r=n instanceof the&&n.index<0?null:n.parent,o=e.slice()
;return r?o[t]=r:o.splice(t,1),new she(o,n)}class she{constructor(e,t){
this.heads=e,this.node=t}get next(){return ahe(this.heads)}}class lhe{
get name(){return this.type.name}constructor(e,t=0){
if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,
e instanceof the)this.yieldNode(e);else{
this._tree=e.context.parent,this.buffer=e.context
;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index)
;this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){
return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}
yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer
;return this.type=t||r.set.types[r.buffer[e]],
this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){
return!!e&&(e instanceof the?(this.buffer=null,
this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}
toString(){
return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()
}enterChild(e,t,n){
if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode))
;let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n)
;return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){
return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}
childAfter(e){return this.enterChild(1,e,2)}childBefore(e){
return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){
return this.buffer?!(n&Zpe.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))
}parent(){
if(!this.buffer)return this.yieldNode(this.mode&Zpe.IncludeAnonymous?this._tree._parent:this._tree.parent)
;if(this.stack.length)return this.yieldBuf(this.stack.pop())
;let e=this.mode&Zpe.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent()
;return this.buffer=null,this.yieldNode(e)}sibling(e){
if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode))
;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){
let e=n<0?0:this.stack[n]+4
;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{
let e=t.buffer[this.index+3]
;if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}
return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))
}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}
atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){
if(this.index<r.buffer.buffer.length)return!1
}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1
;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree)
;for(;n;({index:t,_parent:n}=n))if(t>-1)for(let r=t+e,o=e<0?-1:n._tree.children.length;r!=o;r+=e){
let e=n._tree.children[r]
;if(this.mode&Zpe.IncludeAnonymous||e instanceof Ype||!e.type.isAnonymous||che(e))return!1
}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){
if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}
next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}
moveTo(e,t=0){
for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););
for(;this.enterChild(1,e,t););return this}get node(){
if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0
;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){
for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1
;break e}r=this.stack[--o]}
for(let r=n;r<this.stack.length;r++)t=new ihe(this.buffer,t,this.stack[r])
;return this.bufferNode=new ihe(this.buffer,t,this.index)}get tree(){
return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1
;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}
this.type.isAnonymous||(r=!0)}
for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return
;this.parent(),n--,r=!0}}}matchContext(e){
if(!this.buffer)return rhe(this.node,e)
;let{buffer:t}=this.buffer,{types:n}=t.set
;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){
if(o<0)return rhe(this.node,e,r);let i=n[t.buffer[this.stack[o]]]
;if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}
function che(e){
return e.children.some((e=>e instanceof Ype||!e.type.isAnonymous||che(e)))}
const uhe=new WeakMap;function dhe(e,t){
if(!e.isAnonymous||t instanceof Ype||t.type!=e)return 1;let n=uhe.get(t)
;if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof Xpe)){n=1
;break}n+=dhe(e,r)}uhe.set(t,n)}return n}function phe(e,t,n,r,o,i,a,s,l){let c=0
;for(let h=r;h<o;h++)c+=dhe(e,t[h]);let u=Math.ceil(1.5*c/8),d=[],p=[]
;return function t(n,r,o,a,s){for(let c=o;c<a;){let o=c,h=r[c],f=dhe(e,n[c])
;for(c++;c<a;c++){let t=dhe(e,n[c]);if(f+t>=u)break;f+=t}if(c==o+1){if(f>u){
let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+s);continue}
d.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;d.push(phe(e,n,r,o,c,h,t,null,l))
}p.push(h+s-i)}}(t,n,r,o,0),(s||l)(d,p,a)}class hhe{constructor(){
this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e)
;r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e)
;return n&&n.get(t)}set(e,t){
e instanceof ihe?this.setBuffer(e.context.buffer,e.index,t):e instanceof the&&this.map.set(e.tree,t)
}get(e){
return e instanceof ihe?this.getBuffer(e.context.buffer,e.index):e instanceof the?this.map.get(e.tree):void 0
}cursorSet(e,t){
e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}
cursorGet(e){
return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}
class fhe{constructor(e,t,n,r,o=!1,i=!1){
this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}
get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}
static addTree(e,t=[],n=!1){let r=[new fhe(0,e.length,e,0,!1,n)]
;for(let o of t)o.to>e.length&&r.push(o);return r}
static applyChanges(e,t,n=128){if(!t.length)return e
;let r=[],o=1,i=e.length?e[0]:null;for(let a=0,s=0,l=0;;a++){
let c=a<t.length?t[a]:null,u=c?c.fromA:1e9;if(u-s>=n)for(;i&&i.from<u;){let t=i
;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,n=Math.min(t.to,u)-l
;t=e>=n?null:new fhe(e,n,t.tree,t.offset+l,a>0,!!c)}if(t&&r.push(t),i.to>u)break
;i=o<e.length?e[o++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return r}}class mhe{
startParse(e,t,n){
return"string"==typeof e&&(e=new ghe(e)),n=n?n.length?n.map((e=>new Bpe(e.from,e.to))):[new Bpe(0,0)]:[new Bpe(0,e.length)],
this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){
let e=r.advance();if(e)return e}}}class ghe{constructor(e){this.string=e}
get length(){return this.string.length}chunk(e){return this.string.slice(e)}
get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class vhe{
constructor(e,t,n,r,o){
this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}
function bhe(e){
if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))
}class Ohe{constructor(e,t,n,r,o,i,a){
this.parser=e,this.predicate=t,this.mounts=n,
this.index=r,this.start=o,this.target=i,this.prev=a,this.depth=0,this.ranges=[]}
}const yhe=new Qpe({perNode:!0});class whe{constructor(e,t,n,r,o){
this.nest=t,this.input=n,
this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,
this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){
if(this.baseParse){let e=this.baseParse.advance();if(!e)return null
;if(this.baseParse=null,
this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)
}if(this.innerDone==this.inner.length){let e=this.baseTree
;return null!=this.stoppedAt&&(e=new Xpe(e.type,e.children,e.positions,e.length,e.propValues.concat([[yhe,this.stoppedAt]]))),
e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++
;let n=Object.assign(Object.create(null),e.target.props)
;n[Qpe.mounted.id]=new Upe(t,e.overlay,e.parser),e.target.props=n}return null}
get parsedPos(){if(this.baseParse)return 0;let e=this.input.length
;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos))
;return e}stopAt(e){
if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)
}startInner(){
let e=new Ehe(this.fragments),t=null,n=null,r=new lhe(new the(this.baseTree,this.ranges[0].from,0,null),Zpe.IncludeAnonymous|Zpe.IgnoreMounts)
;e:for(let o,i;;){let a,s=!0
;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)s=!1;else if(e.hasNode(r)){
if(t){
let e=t.mounts.find((e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay))
;if(e)for(let n of e.mount.overlay){let o=n.from+e.pos,i=n.to+e.pos
;o>=r.from&&i<=r.to&&!t.ranges.some((e=>e.from<i&&e.to>o))&&t.ranges.push({
from:o,to:i})}}s=!1
}else if(n&&(i=khe(n.ranges,r.from,r.to)))s=2!=i;else if(!r.type.isAnonymous&&(o=this.nest(r,this.input))&&(r.from<r.to||!o.overlay)){
r.tree||She(r);let i=e.findMounts(r.from,o.parser)
;if("function"==typeof o.overlay)t=new Ohe(o.parser,o.overlay,i,this.inner.length,r.from,r.tree,t);else{
let e=The(this.ranges,o.overlay||(r.from<r.to?[new Bpe(r.from,r.to)]:[]))
;e.length&&bhe(e),
!e.length&&o.overlay||this.inner.push(new vhe(o.parser,e.length?o.parser.startParse(this.input,Ahe(i,e),e):o.parser.startParse(""),o.overlay?o.overlay.map((e=>new Bpe(e.from-r.from,e.to-r.from))):null,r.tree,e.length?e[0].from:r.from)),
o.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):s=!1}
}else t&&(a=t.predicate(r))&&(!0===a&&(a=new Bpe(r.from,r.to)),
a.from<a.to&&t.ranges.push(a))
;if(s&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){
if(!r.parent())break e;if(t&&! --t.depth){let e=The(this.ranges,t.ranges)
;e.length&&(bhe(e),
this.inner.splice(t.index,0,new vhe(t.parser,t.parser.startParse(this.input,Ahe(t.mounts,e),e),t.ranges.map((e=>new Bpe(e.from-t.start,e.to-t.start))),t.target,e[0].from))),
t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}function khe(e,t,n){for(let r of e){
if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}
function xhe(e,t,n,r,o,i){if(t<n){let a=e.buffer[t+1]
;r.push(e.slice(t,n,a)),o.push(a-i)}}function She(e){
let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()
}while(!e.tree)
;let o=e.tree,i=o.children.indexOf(r),a=o.children[i],s=a.buffer,l=[i]
;o.children[i]=function e(r,o,i,c,u,d){let p=n[d],h=[],f=[];xhe(a,r,p,h,f,c)
;let m=s[p+1],g=s[p+2];l.push(h.length)
;let v=d?e(p+4,s[p+3],a.set.types[s[p]],m,g-m,d-1):t.toTree()
;return h.push(v),f.push(m-c),xhe(a,s[p+3],o,h,f,c),new Xpe(i,h,f,u)
}(0,s.length,zpe.none,0,a.length,n.length-1);for(let c of l){
let t=e.tree.children[c],n=e.tree.positions[c]
;e.yield(new the(t,n+e.from,c,e._tree))}}class _he{constructor(e,t){
this.offset=t,
this.done=!1,this.cursor=e.cursor(Zpe.IncludeAnonymous|Zpe.IgnoreMounts)}
moveTo(e){let{cursor:t}=this,n=e-this.offset
;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,Zpe.IgnoreOverlays|Zpe.ExcludeBuffers)||t.next(!1)||(this.done=!0)
}hasNode(e){
if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){
if(t==e.tree)return!0
;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof Xpe))break
;t=t.children[0]}return!1}}let Ehe=class{constructor(e){var t
;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0]
;this.curTo=null!==(t=n.tree.prop(yhe))&&void 0!==t?t:n.to,
this.inner=new _he(n.tree,-n.offset)}else this.curFrag=this.inner=null}
hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag()
;return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)
}nextFrag(){var e
;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{
let t=this.curFrag=this.fragments[this.fragI]
;this.curTo=null!==(e=t.tree.prop(yhe))&&void 0!==e?e:t.to,
this.inner=new _he(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[]
;if(this.inner){this.inner.cursor.moveTo(e,1)
;for(let e=this.inner.cursor.node;e;e=e.parent){
let o=null===(n=e.tree)||void 0===n?void 0:n.prop(Qpe.mounted)
;if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){
let n=this.fragments[t];if(n.from>=e.to)break
;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}
return r}};function The(e,t){let n=null,r=t;for(let o=1,i=0;o<e.length;o++){
let a=e[o-1].to,s=e[o].from;for(;i<r.length;i++){let e=r[i];if(e.from>=s)break
;e.to<=a||(n||(r=n=t.slice()),
e.from<a?(n[i]=new Bpe(e.from,a),e.to>s&&n.splice(i+1,0,new Bpe(s,e.to))):e.to>s?n[i--]=new Bpe(s,e.to):n.splice(i--,1))
}}return r}function Che(e,t,n,r){let o=0,i=0,a=!1,s=!1,l=-1e9,c=[];for(;;){
let u=o==e.length?1e9:a?e[o].to:e[o].from,d=i==t.length?1e9:s?t[i].to:t[i].from
;if(a!=s){let e=Math.max(l,n),t=Math.min(u,d,r);e<t&&c.push(new Bpe(e,t))}
if(l=Math.min(u,d),1e9==l)break
;u==l&&(a?(a=!1,o++):a=!0),d==l&&(s?(s=!1,i++):s=!0)}return c}function Ahe(e,t){
let n=[];for(let{pos:r,mount:o,frag:i}of e){
let e=r+(o.overlay?o.overlay[0].from:0),a=e+o.tree.length,s=Math.max(i.from,e),l=Math.min(i.to,a)
;if(o.overlay){let a=o.overlay.map((e=>new Bpe(e.from+r,e.to+r))),c=Che(t,a,s,l)
;for(let t=0,r=s;;t++){let a=t==c.length,s=a?l:c[t].from
;if(s>r&&n.push(new fhe(r,s,o.tree,-e,i.from>=r||i.openStart,i.to<=s||i.openEnd)),
a)break;r=c[t].to}
}else n.push(new fhe(s,l,o.tree,-e,i.from>=e||i.openStart,i.to<=a||i.openEnd))}
return n}let Phe=0,Dhe=class e{constructor(e,t,n){
this.set=e,this.base=t,this.modified=n,this.id=Phe++}static define(t){
if(null==t?void 0:t.base)throw new Error("Can not derive from a modified tag")
;let n=new e([],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e)
;return n}static defineModifier(){let e=new Rhe
;return t=>t.modified.indexOf(e)>-1?t:Rhe.get(t.base||t,t.modified.concat(e).sort(((e,t)=>e.id-t.id)))
}},$he=0;class Rhe{constructor(){this.instances=[],this.id=$he++}
static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{
return n.base==e&&(r=t,
o=n.modified,r.length==o.length&&r.every(((e,t)=>e==o[t])));var r,o}))
;if(n)return n;let r=[],o=new Dhe(r,e,t);for(let a of t)a.instances.push(o)
;let i=function(e){let t=[[]]
;for(let n=0;n<e.length;n++)for(let r=0,o=t.length;r<o;r++)t.push(t[r].concat(e[n]))
;return t.sort(((e,t)=>t.length-e.length))}(t)
;for(let a of e.set)if(!a.modified.length)for(let e of i)r.push(Rhe.get(a,e))
;return o}}function Nhe(e){let t=Object.create(null);for(let n in e){let r=e[n]
;Array.isArray(r)||(r=[r]);for(let e of n.split(" "))if(e){let n=[],o=2,i=e
;for(let t=0;;){if("..."==i&&t>0&&t+3==e.length){o=1;break}
let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(i)
;if(!r)throw new RangeError("Invalid path: "+e)
;if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),
t+=r[0].length,t==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){o=0;break}
if("/"!=a)throw new RangeError("Invalid path: "+e);i=e.slice(t)}
let a=n.length-1,s=n[a];if(!s)throw new RangeError("Invalid path: "+e)
;let l=new Ihe(r,o,a>0?n.slice(0,a):null);t[s]=l.sort(t[s])}}return Mhe.add(t)}
const Mhe=new Qpe;class Ihe{constructor(e,t,n,r){
this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){
return 0==this.mode}get inherit(){return 1==this.mode}sort(e){
return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}
get depth(){return this.context?this.context.length:0}}function Lhe(e,t){
let n=Object.create(null)
;for(let i of e)if(Array.isArray(i.tag))for(let e of i.tag)n[e.id]=i.class;else n[i.tag.id]=i.class
;let{scope:r,all:o=null}=t||{};return{style:e=>{let t=o
;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}
return t},scope:r}}function jhe(e,t,n,r=0,o=e.length){
let i=new Bhe(r,Array.isArray(t)?t:[t],n)
;i.highlightRange(e.cursor(),r,o,"",i.highlighters),i.flush(o)}
Ihe.empty=new Ihe([],2,null);class Bhe{constructor(e,t,n){
this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){
t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){
e>this.at&&this.class&&this.span(this.at,e,this.class)}
highlightRange(e,t,n,r,o){let{type:i,from:a,to:s}=e;if(a>=n||s<=t)return
;i.isTop&&(o=this.highlighters.filter((e=>!e.scope||e.scope(i))))
;let l=r,c=function(e){let t=e.type.prop(Mhe)
;for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null
}(e)||Ihe.empty,u=function(e,t){let n=null;for(let r of e){let e=r.style(t)
;e&&(n=n?n+" "+e:e)}return n}(o,c.tags)
;if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(r+=(r?" ":"")+u)),
this.startSpan(Math.max(t,a),l),c.opaque)return
;let d=e.tree&&e.tree.prop(Qpe.mounted);if(d&&d.overlay){
let i=e.node.enter(d.overlay[0].from+a,1),c=this.highlighters.filter((e=>!e.scope||e.scope(d.tree.type))),u=e.firstChild()
;for(let p=0,h=a;;p++){
let f=p<d.overlay.length?d.overlay[p]:null,m=f?f.from+a:s,g=Math.max(t,h),v=Math.min(n,m)
;if(g<v&&u)for(;e.from<v&&(this.highlightRange(e,g,v,r,o),
this.startSpan(Math.min(v,e.to),l),!(e.to>=m)&&e.nextSibling()););
if(!f||m>n)break
;h=f.to+a,h>t&&(this.highlightRange(i.cursor(),Math.max(t,f.from+a),Math.min(n,h),"",c),
this.startSpan(Math.min(n,h),l))}u&&e.parent()}else if(e.firstChild()){d&&(r="")
;do{if(!(e.to<=t)){if(e.from>=n)break
;this.highlightRange(e,t,n,r,o),this.startSpan(Math.min(n,e.to),l)}
}while(e.nextSibling());e.parent()}}}
const Qhe=Dhe.define,Uhe=Qhe(),Fhe=Qhe(),zhe=Qhe(Fhe),qhe=Qhe(Fhe),Hhe=Qhe(),Vhe=Qhe(Hhe),Zhe=Qhe(Hhe),Whe=Qhe(),Xhe=Qhe(Whe),Ghe=Qhe(),Yhe=Qhe(),Khe=Qhe(),Jhe=Qhe(Khe),efe=Qhe(),tfe={
comment:Uhe,lineComment:Qhe(Uhe),blockComment:Qhe(Uhe),docComment:Qhe(Uhe),
name:Fhe,variableName:Qhe(Fhe),typeName:zhe,tagName:Qhe(zhe),propertyName:qhe,
attributeName:Qhe(qhe),className:Qhe(Fhe),labelName:Qhe(Fhe),namespace:Qhe(Fhe),
macroName:Qhe(Fhe),literal:Hhe,string:Vhe,docString:Qhe(Vhe),character:Qhe(Vhe),
attributeValue:Qhe(Vhe),number:Zhe,integer:Qhe(Zhe),float:Qhe(Zhe),
bool:Qhe(Hhe),regexp:Qhe(Hhe),escape:Qhe(Hhe),color:Qhe(Hhe),url:Qhe(Hhe),
keyword:Ghe,self:Qhe(Ghe),null:Qhe(Ghe),atom:Qhe(Ghe),unit:Qhe(Ghe),
modifier:Qhe(Ghe),operatorKeyword:Qhe(Ghe),controlKeyword:Qhe(Ghe),
definitionKeyword:Qhe(Ghe),moduleKeyword:Qhe(Ghe),operator:Yhe,
derefOperator:Qhe(Yhe),arithmeticOperator:Qhe(Yhe),logicOperator:Qhe(Yhe),
bitwiseOperator:Qhe(Yhe),compareOperator:Qhe(Yhe),updateOperator:Qhe(Yhe),
definitionOperator:Qhe(Yhe),typeOperator:Qhe(Yhe),controlOperator:Qhe(Yhe),
punctuation:Khe,separator:Qhe(Khe),bracket:Jhe,angleBracket:Qhe(Jhe),
squareBracket:Qhe(Jhe),paren:Qhe(Jhe),brace:Qhe(Jhe),content:Whe,heading:Xhe,
heading1:Qhe(Xhe),heading2:Qhe(Xhe),heading3:Qhe(Xhe),heading4:Qhe(Xhe),
heading5:Qhe(Xhe),heading6:Qhe(Xhe),contentSeparator:Qhe(Whe),list:Qhe(Whe),
quote:Qhe(Whe),emphasis:Qhe(Whe),strong:Qhe(Whe),link:Qhe(Whe),
monospace:Qhe(Whe),strikethrough:Qhe(Whe),inserted:Qhe(),deleted:Qhe(),
changed:Qhe(),invalid:Qhe(),meta:efe,documentMeta:Qhe(efe),annotation:Qhe(efe),
processingInstruction:Qhe(efe),definition:Dhe.defineModifier(),
constant:Dhe.defineModifier(),function:Dhe.defineModifier(),
standard:Dhe.defineModifier(),local:Dhe.defineModifier(),
special:Dhe.defineModifier()};var nfe;Lhe([{tag:tfe.link,class:"tok-link"},{
tag:tfe.heading,class:"tok-heading"},{tag:tfe.emphasis,class:"tok-emphasis"},{
tag:tfe.strong,class:"tok-strong"},{tag:tfe.keyword,class:"tok-keyword"},{
tag:tfe.atom,class:"tok-atom"},{tag:tfe.bool,class:"tok-bool"},{tag:tfe.url,
class:"tok-url"},{tag:tfe.labelName,class:"tok-labelName"},{tag:tfe.inserted,
class:"tok-inserted"},{tag:tfe.deleted,class:"tok-deleted"},{tag:tfe.literal,
class:"tok-literal"},{tag:tfe.string,class:"tok-string"},{tag:tfe.number,
class:"tok-number"},{tag:[tfe.regexp,tfe.escape,tfe.special(tfe.string)],
class:"tok-string2"},{tag:tfe.variableName,class:"tok-variableName"},{
tag:tfe.local(tfe.variableName),class:"tok-variableName tok-local"},{
tag:tfe.definition(tfe.variableName),class:"tok-variableName tok-definition"},{
tag:tfe.special(tfe.variableName),class:"tok-variableName2"},{
tag:tfe.definition(tfe.propertyName),class:"tok-propertyName tok-definition"},{
tag:tfe.typeName,class:"tok-typeName"},{tag:tfe.namespace,class:"tok-namespace"
},{tag:tfe.className,class:"tok-className"},{tag:tfe.macroName,
class:"tok-macroName"},{tag:tfe.propertyName,class:"tok-propertyName"},{
tag:tfe.operator,class:"tok-operator"},{tag:tfe.comment,class:"tok-comment"},{
tag:tfe.meta,class:"tok-meta"},{tag:tfe.invalid,class:"tok-invalid"},{
tag:tfe.punctuation,class:"tok-punctuation"}]);const rfe=new Qpe
;function ofe(e){return mae.define({combine:e?t=>t.concat(e):void 0})}
const ife=new Qpe;class afe{constructor(e,t,n=[],r=""){
this.data=e,this.name=r,rse.prototype.hasOwnProperty("tree")||Object.defineProperty(rse.prototype,"tree",{
get(){return cfe(this)}
}),this.parser=t,this.extension=[bfe.of(this),rse.languageData.of(((e,t,n)=>{
let r=sfe(e,t,n),o=r.type.prop(rfe);if(!o)return[]
;let i=e.facet(o),a=r.type.prop(ife);if(a){let o=r.resolve(t-r.from,n)
;for(let t of a)if(t.test(o,e)){let n=e.facet(t.facet)
;return"replace"==t.type?n:n.concat(i)}}return i}))].concat(n)}
isActiveAt(e,t,n=-1){return sfe(e,t,n).type.prop(rfe)==this.data}findRegions(e){
let t=e.facet(bfe);if((null==t?void 0:t.data)==this.data)return[{from:0,
to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{
if(e.prop(rfe)==this.data)return void n.push({from:t,to:t+e.length})
;let o=e.prop(Qpe.mounted);if(o){if(o.tree.prop(rfe)==this.data){
if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t
});else n.push({from:t,to:t+e.length});return}if(o.overlay){let e=n.length
;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}
for(let n=0;n<e.children.length;n++){let o=e.children[n]
;o instanceof Xpe&&r(o,e.positions[n]+t)}};return r(cfe(e),0),n}
get allowsNesting(){return!0}}function sfe(e,t,n){
let r=e.facet(bfe),o=cfe(e).topNode
;if(!r||r.allowsNesting)for(let i=o;i;i=i.enter(t,n,Zpe.ExcludeBuffers))i.type.isTop&&(o=i)
;return o}afe.setState=Hae.define();class lfe extends afe{constructor(e,t,n){
super(e,t,[],n),this.parser=t}static define(e){let t=ofe(e.languageData)
;return new lfe(t,e.parser.configure({props:[rfe.add((e=>e.isTop?t:void 0))]
}),e.name)}configure(e,t){
return new lfe(this.data,this.parser.configure(e),t||this.name)}
get allowsNesting(){return this.parser.hasWrappers()}}function cfe(e){
let t=e.field(afe.state,!1);return t?t.tree:Xpe.empty}class ufe{constructor(e){
this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){
return this.doc.length}syncTo(e){
return this.string=this.cursor.next(e-this.cursorPos).value,
this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){
return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){
let n=this.cursorPos-this.string.length
;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)
}}let dfe=null;class pfe{constructor(e,t,n=[],r,o,i,a,s){
this.parser=e,this.state=t,
this.fragments=n,this.tree=r,this.treeLen=o,this.viewport=i,
this.skipped=a,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}
static create(e,t,n){return new pfe(e,t,[],Xpe.empty,0,n,[],null)}startParse(){
return this.parser.startParse(new ufe(this.state.doc),this.fragments)}work(e,t){
return null!=t&&t>=this.state.doc.length&&(t=void 0),
this.tree!=Xpe.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),
!0):this.withContext((()=>{var n;if("number"==typeof e){let t=Date.now()+e
;e=()=>Date.now()>t}
for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){
let r=this.parse.advance();if(r){
if(this.fragments=this.withoutTempSkipped(fhe.addTree(r,this.fragments,null!=this.parse.stoppedAt)),
this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,
this.tree=r,
this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0
;this.parse=this.startParse()}if(e())return!1}}))}takeTree(){let e,t
;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),
this.withContext((()=>{for(;!(t=this.parse.advance()););
})),this.treeLen=e,this.tree=t,
this.fragments=this.withoutTempSkipped(fhe.addTree(this.tree,this.fragments,!0)),
this.parse=null)}withContext(e){let t=dfe;dfe=this;try{return e()}finally{dfe=t}
}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=hfe(e,t.from,t.to)
;return e}changes(e,t){
let{fragments:n,tree:r,treeLen:o,viewport:i,skipped:a}=this
;if(this.takeTree(),!e.empty){let t=[]
;if(e.iterChangedRanges(((e,n,r,o)=>t.push({fromA:e,toA:n,fromB:r,toB:o
}))),n=fhe.applyChanges(n,t),r=Xpe.empty,o=0,i={from:e.mapPos(i.from,-1),
to:e.mapPos(i.to,1)},this.skipped.length){a=[];for(let t of this.skipped){
let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&a.push({from:n,to:r})}}}
return new pfe(this.parser,t,n,r,o,i,a,this.scheduleOn)}updateViewport(e){
if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e
;let t=this.skipped.length;for(let n=0;n<this.skipped.length;n++){
let{from:t,to:r}=this.skipped[n]
;t<e.to&&r>e.from&&(this.fragments=hfe(this.fragments,t,r),
this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}
reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){
this.skipped.push({from:e,to:t})}static getSkippingParser(e){
return new class extends mhe{createParse(t,n,r){
let o=r[0].from,i=r[r.length-1].to,a={parsedPos:o,advance(){let t=dfe;if(t){
for(let e of r)t.tempSkipped.push(e)
;e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}
return this.parsedPos=i,new Xpe(zpe.none,[],[],i-o)},stoppedAt:null,stopAt(){}}
;return a}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments
;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){
return dfe}}function hfe(e,t,n){return fhe.applyChanges(e,[{fromA:t,toA:n,
fromB:t,toB:n}])}class ffe{constructor(e){this.context=e,this.tree=e.tree}
apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this
;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to)
;return t.work(20,n)||t.takeTree(),new ffe(t)}static init(e){
let t=Math.min(3e3,e.doc.length),n=pfe.create(e.facet(bfe).parser,e,{from:0,to:t
});return n.work(20,t)||n.takeTree(),new ffe(n)}}afe.state=kae.define({
create:ffe.init,update(e,t){
for(let n of t.effects)if(n.is(afe.setState))return n.value
;return t.startState.facet(bfe)!=t.state.facet(bfe)?ffe.init(t.state):e.apply(t)
}});let mfe=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)}
;"undefined"!=typeof requestIdleCallback&&(mfe=e=>{let t=-1,n=setTimeout((()=>{
t=requestIdleCallback(e,{timeout:400})}),100)
;return()=>t<0?clearTimeout(n):cancelIdleCallback(t)})
;const gfe="undefined"!=typeof navigator&&(null===(nfe=navigator.scheduling)||void 0===nfe?void 0:nfe.isInputPending)?()=>navigator.scheduling.isInputPending():null,vfe=Cce.fromClass(class{
constructor(e){
this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,
this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}
update(e){let t=this.view.state.field(afe.state).context
;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),
(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),
this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){
if(this.working)return;let{state:e}=this.view,t=e.field(afe.state)
;t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=mfe(this.work))
}work(e){this.working=null;let t=Date.now()
;if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,
this.chunkBudget=3e3),this.chunkBudget<=0)return
;let{state:n,viewport:{to:r}}=this.view,o=n.field(afe.state)
;if(o.tree==o.context.tree&&o.context.isDone(r+1e5))return
;let i=Date.now()+Math.min(this.chunkBudget,100,e&&!gfe?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<r&&n.doc.length>r+1e3,s=o.context.work((()=>gfe&&gfe()||Date.now()>i),r+(a?0:1e5))
;this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(o.context.takeTree(),
this.view.dispatch({effects:afe.setState.of(new ffe(o.context))
})),this.chunkBudget>0&&(!s||a)&&this.scheduleWork(),
this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){
e.scheduleOn&&(this.workScheduled++,
e.scheduleOn.then((()=>this.scheduleWork())).catch((e=>Sce(this.view.state,e))).then((()=>this.workScheduled--)),
e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){
return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){
this.scheduleWork()}}}),bfe=mae.define({combine:e=>e.length?e[0]:null,
enables:e=>[afe.state,vfe,Sde.contentAttributes.compute([e],(t=>{
let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}}))]});class Ofe{
constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}
const yfe=mae.define(),wfe=mae.define({combine:e=>{if(!e.length)return" "
;let t=e[0]
;if(!t||/\S/.test(t)||Array.from(t).some((e=>e!=t[0])))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]))
;return t}});function kfe(e){let t=e.facet(wfe)
;return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function xfe(e,t){
let n="",r=e.tabSize,o=e.facet(wfe)[0];if("\t"==o){for(;t>=r;)n+="\t",t-=r;o=" "
}for(let i=0;i<t;i++)n+=o;return n}function Sfe(e,t){
e instanceof rse&&(e=new _fe(e));for(let r of e.state.facet(yfe)){let n=r(e,t)
;if(void 0!==n)return n}let n=cfe(e.state);return n.length>=t?function(e,t,n){
let r=t.resolveStack(n),o=r.node.enterUnfinishedNodesBefore(n);if(o!=r.node){
let e=[];for(let t=o;t!=r.node;t=t.parent)e.push(t)
;for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return Tfe(r,e,n)
}(e,n,t):null}class _fe{constructor(e,t={}){
this.state=e,this.options=t,this.unit=kfe(e)}lineAt(e,t=1){
let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:o}=this.options
;return null!=r&&r>=n.from&&r<=n.to?o&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{
text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from
}:n}textAfterPos(e,t=1){
if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return""
;let{text:n,from:r}=this.lineAt(e,t)
;return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){
let{text:n,from:r}=this.lineAt(e,t),o=this.countColumn(n,e-r),i=this.options.overrideIndentation?this.options.overrideIndentation(r):-1
;return i>-1&&(o+=i-this.countColumn(n,n.search(/\S|$/))),o}
countColumn(e,t=e.length){return wse(e,this.state.tabSize,t)}lineIndent(e,t=1){
let{text:n,from:r}=this.lineAt(e,t),o=this.options.overrideIndentation;if(o){
let e=o(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}
get simulatedBreak(){return this.options.simulateBreak||null}}const Efe=new Qpe
;function Tfe(e,t,n){for(let r=e;r;r=r.next){let e=Cfe(r.node)
;if(e)return e(Pfe.create(t,n,r))}return 0}function Cfe(e){
let t=e.type.prop(Efe);if(t)return t;let n,r=e.firstChild
;if(r&&(n=r.type.prop(Qpe.closedBy))){
let t=e.lastChild,r=t&&n.indexOf(t.name)>-1
;return e=>Rfe(e,!0,1,void 0,r&&!function(e){
return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak
}(e)?t.from:void 0)}return null==e.parent?Afe:null}function Afe(){return 0}
class Pfe extends _fe{constructor(e,t,n){
super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){
return this.context.node}static create(e,t,n){return new Pfe(e,t,n)}
get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){
return this.baseIndentFor(this.node)}baseIndentFor(e){
let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from)
;for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Dfe(n,e))break
;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){
return Tfe(this.context.next,this.base,this.pos)}}function Dfe(e,t){
for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}
function $fe({closing:e,align:t=!0,units:n=1}){return r=>Rfe(r,t,n,e)}
function Rfe(e,t,n,r,o){
let i=e.textAfter,a=i.match(/^\s*/)[0].length,s=r&&i.slice(a,a+r.length)==r||o==e.pos+a,l=t?function(e){
let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null
;let o=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),a=null==o||o<=i.from?i.to:Math.min(i.to,o)
;for(let s=n.to;;){let e=t.childAfter(s);if(!e||e==r)return null
;if(!e.type.isSkipped)return e.from<a?n:null;s=e.to}}(e):null
;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}
function Nfe({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter)
;return n.baseIndent+(r?0:t*n.unit)}}const Mfe=200
;const Ife=mae.define(),Lfe=new Qpe;function jfe(e){
let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,
to:n.type.isError?e.to:n.from}:null}function Bfe(e){let t=e.lastChild
;return t&&t.to==e.to&&t.type.isError}function Qfe(e,t,n){
for(let r of e.facet(Ife)){let o=r(e,t,n);if(o)return o}return function(e,t,n){
let r=cfe(e);if(r.length<n)return null;let o=null
;for(let i=r.resolveStack(n,1);i;i=i.next){let a=i.node
;if(a.to<=n||a.from>n)continue;if(o&&a.from<t)break;let s=a.type.prop(Lfe)
;if(s&&(a.to<r.length-50||r.length==e.doc.length||!Bfe(a))){let r=s(a,e)
;r&&r.from<=n&&r.from>=t&&r.to>n&&(o=r)}}return o}(e,t,n)}function Ufe(e,t){
let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}
const Ffe=Hae.define({map:Ufe}),zfe=Hae.define({map:Ufe}),qfe=kae.define({
create:()=>Lle.none,update(e,t){e=e.map(t.changes)
;for(let n of t.effects)if(n.is(Ffe)&&!Vfe(e,n.value.from,n.value.to)){
let{preparePlaceholder:r}=t.state.facet(Wfe),o=r?Lle.replace({
widget:new Yfe(r(t.state,n.value))}):Gfe;e=e.update({
add:[o.range(n.value.from,n.value.to)]})}else n.is(zfe)&&(e=e.update({
filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,
filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main
;e.between(r,r,((e,t)=>{e<r&&t>r&&(n=!0)})),n&&(e=e.update({filterFrom:r,
filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},
provide:e=>Sde.decorations.from(e),toJSON(e,t){let n=[]
;return e.between(0,t.doc.length,((e,t)=>{n.push(e,t)})),n},fromJSON(e){
if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state")
;let t=[];for(let n=0;n<e.length;){let r=e[n++],o=e[n++]
;if("number"!=typeof r||"number"!=typeof o)throw new RangeError("Invalid JSON for fold state")
;t.push(Gfe.range(r,o))}return Lle.set(t,!0)}});function Hfe(e,t,n){var r
;let o=null
;return null===(r=e.field(qfe,!1))||void 0===r||r.between(t,n,((e,t)=>{
(!o||o.from>e)&&(o={from:e,to:t})})),o}function Vfe(e,t,n){let r=!1
;return e.between(t,t,((e,o)=>{e==t&&o==n&&(r=!0)})),r}const Zfe={
placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"
},Wfe=mae.define({combine:e=>ose(e,Zfe)});function Xfe(e,t){
let{state:n}=e,r=n.facet(Wfe),o=t=>{
let n=e.lineBlockAt(e.posAtDOM(t.target)),r=Hfe(e.state,n.from,n.to)
;r&&e.dispatch({effects:zfe.of(r)}),t.preventDefault()}
;if(r.placeholderDOM)return r.placeholderDOM(e,o,t)
;let i=document.createElement("span")
;return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),
i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=o,i}
const Gfe=Lle.replace({widget:new class extends Mle{toDOM(e){return Xfe(e,null)}
}});class Yfe extends Mle{constructor(e){super(),this.value=e}eq(e){
return this.value==e.value}toDOM(e){return Xfe(e,this.value)}}const Kfe={
openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},
foldingChanged:()=>!1};class Jfe extends bpe{constructor(e,t){
super(),this.config=e,this.open=t}eq(e){
return this.config==e.config&&this.open==e.open}toDOM(e){
if(this.config.markerDOM)return this.config.markerDOM(this.open)
;let t=document.createElement("span")
;return t.textContent=this.open?this.config.openText:this.config.closedText,
t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}
const eme=Sde.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",
border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",
padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",
cursor:"pointer"}});class tme{constructor(e,t){let n;function r(e){
let t=_se.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e
;const o="string"==typeof t.all?t.all:t.all?r(t.all):void 0,i=t.scope
;this.scope=i instanceof afe?e=>e.prop(rfe)==i.data:i?e=>e==i:void 0,
this.style=Lhe(e.map((e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{
tag:null}))}))),{all:o
}).style,this.module=n?new _se(n):null,this.themeType=t.themeType}
static define(e,t){return new tme(e,t||{})}}
const nme=mae.define(),rme=mae.define({combine:e=>e.length?[e[0]]:null})
;function ome(e){let t=e.facet(nme);return t.length?t:e.facet(rme)}
function ime(e,t){let n,r=[sme]
;return e instanceof tme&&(e.module&&r.push(Sde.styleModule.of(e.module)),
n=e.themeType),
(null==t?void 0:t.fallback)?r.push(rme.of(e)):n?r.push(nme.computeN([Sde.darkTheme],(t=>t.facet(Sde.darkTheme)==("dark"==n)?[e]:[]))):r.push(nme.of(e)),
r}class ame{constructor(e){
this.markCache=Object.create(null),this.tree=cfe(e.state),
this.decorations=this.buildDeco(e,ome(e.state)),this.decoratedTo=e.viewport.to}
update(e){
let t=cfe(e.state),n=ome(e.state),r=n!=ome(e.startState),{viewport:o}=e.view,i=e.changes.mapPos(this.decoratedTo,1)
;t.length<o.to&&!r&&t.type==this.tree.type&&i>=o.to?(this.decorations=this.decorations.map(e.changes),
this.decoratedTo=i):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,
this.decorations=this.buildDeco(e.view,n),this.decoratedTo=o.to)}buildDeco(e,t){
if(!t||!this.tree.length)return Lle.none;let n=new use
;for(let{from:r,to:o}of e.visibleRanges)jhe(this.tree,t,((e,t,r)=>{
n.add(e,t,this.markCache[r]||(this.markCache[r]=Lle.mark({class:r})))}),r,o)
;return n.finish()}}const sme=Cae.high(Cce.fromClass(ame,{
decorations:e=>e.decorations})),lme=tme.define([{tag:tfe.meta,color:"#404740"},{
tag:tfe.link,textDecoration:"underline"},{tag:tfe.heading,
textDecoration:"underline",fontWeight:"bold"},{tag:tfe.emphasis,
fontStyle:"italic"},{tag:tfe.strong,fontWeight:"bold"},{tag:tfe.strikethrough,
textDecoration:"line-through"},{tag:tfe.keyword,color:"#708"},{
tag:[tfe.atom,tfe.bool,tfe.url,tfe.contentSeparator,tfe.labelName],color:"#219"
},{tag:[tfe.literal,tfe.inserted],color:"#164"},{tag:[tfe.string,tfe.deleted],
color:"#a11"},{tag:[tfe.regexp,tfe.escape,tfe.special(tfe.string)],color:"#e40"
},{tag:tfe.definition(tfe.variableName),color:"#00f"},{
tag:tfe.local(tfe.variableName),color:"#30a"},{tag:[tfe.typeName,tfe.namespace],
color:"#085"},{tag:tfe.className,color:"#167"},{
tag:[tfe.special(tfe.variableName),tfe.macroName],color:"#256"},{
tag:tfe.definition(tfe.propertyName),color:"#00c"},{tag:tfe.comment,color:"#940"
},{tag:tfe.invalid,color:"#f00"}]),cme=Sde.baseTheme({
"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},
"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}
}),ume="()[]{}",dme=mae.define({combine:e=>ose(e,{afterCursor:!0,brackets:ume,
maxScanDistance:1e4,renderMatch:fme})}),pme=Lle.mark({class:"cm-matchingBracket"
}),hme=Lle.mark({class:"cm-nonmatchingBracket"});function fme(e){
let t=[],n=e.matched?pme:hme
;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),
t}const mme=[kae.define({create:()=>Lle.none,update(e,t){
if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(dme)
;for(let o of t.state.selection.ranges){if(!o.empty)continue
;let e=yme(t.state,o.head,-1,r)||o.head>0&&yme(t.state,o.head-1,1,r)||r.afterCursor&&(yme(t.state,o.head,1,r)||o.head<t.state.doc.length&&yme(t.state,o.head+1,-1,r))
;e&&(n=n.concat(r.renderMatch(e,t.state)))}return Lle.set(n,!0)},
provide:e=>Sde.decorations.from(e)}),cme];function gme(e={}){
return[dme.of(e),mme]}const vme=new Qpe;function bme(e,t,n){
let r=e.prop(t<0?Qpe.openedBy:Qpe.closedBy);if(r)return r;if(1==e.name.length){
let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}
function Ome(e){let t=e.type.prop(vme);return t?t(e.node):e}
function yme(e,t,n,r={}){
let o=r.maxScanDistance||1e4,i=r.brackets||ume,a=cfe(e),s=a.resolveInner(t,n)
;for(let l=s;l;l=l.parent){let r=bme(l.type,n,i);if(r&&l.from<l.to){let o=Ome(l)
;if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return wme(e,t,n,l,o,r,i)}}
return function(e,t,n,r,o,i,a){
let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=a.indexOf(s)
;if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t
},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0
;for(let p=0;!u.next().done&&p<=i;){let e=u.value;n<0&&(p+=e.length);let i=t+p*n
;for(let t=n>0?0:e.length-1,s=n>0?e.length:-1;t!=s;t+=n){let s=a.indexOf(e[t])
;if(!(s<0||r.resolveInner(i+t,1).type!=o))if(s%2==0==n>0)d++;else{
if(1==d)return{start:c,end:{from:i+t,to:i+t+1},matched:s>>1==l>>1};d--}}
n>0&&(p+=e.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,a,s.type,o,i)}
function wme(e,t,n,r,o,i,a){let s=r.parent,l={from:o.from,to:o.to
},c=0,u=null==s?void 0:s.cursor()
;if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do{
if(n<0?u.to<=r.from:u.from>=r.to){
if(0==c&&i.indexOf(u.type.name)>-1&&u.from<u.to){let e=Ome(u);return{start:l,
end:e?{from:e.from,to:e.to}:void 0,matched:!0}}
if(bme(u.type,n,a))c++;else if(bme(u.type,-n,a)){if(0==c){let e=Ome(u);return{
start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}
}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}
const kme=Object.create(null),xme=[zpe.none],Sme=[],_me=Object.create(null),Eme=Object.create(null)
;for(let[FEe,zEe]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Eme[FEe]=Cme(kme,zEe)
;function Tme(e,t){Sme.indexOf(e)>-1||(Sme.push(e),console.warn(t))}
function Cme(e,t){let n=[];for(let s of t.split(" ")){let t=[]
;for(let n of s.split(".")){let r=e[n]||tfe[n]
;r?"function"==typeof r?t.length?t=t.map(r):Tme(n,`Modifier ${n} used at start of tag`):t.length?Tme(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:Tme(n,`Unknown highlighting tag ${n}`)
}for(let e of t)n.push(e)}if(!n.length)return 0
;let r=t.replace(/ /g,"_"),o=r+" "+n.map((e=>e.id)),i=_me[o];if(i)return i.id
;let a=_me[o]=zpe.define({id:xme.length,name:r,props:[Nhe({[r]:n})]})
;return xme.push(a),a.id}Vle.RTL,Vle.LTR
;const Ame=new Map([["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"],["cyan","#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"],["goldenrod","#daa520"],["gold","#ffd700"],["gray","#808080"],["green","#008000"],["greenyellow","#adff2f"],["grey","#808080"],["honeydew","#f0fff0"],["hotpink","#ff69b4"],["indianred","#cd5c5c"],["indigo","#4b0082"],["ivory","#fffff0"],["khaki","#f0e68c"],["lavenderblush","#fff0f5"],["lavender","#e6e6fa"],["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"],["steelblue","#4682b4"],["tan","#d2b48c"],["teal","#008080"],["thistle","#d8bfd8"],["tomato","#ff6347"],["turquoise","#40e0d0"],["violet","#ee82ee"],["wheat","#f5deb3"],["white","#ffffff"],["whitesmoke","#f5f5f5"],["yellow","#ffff00"],["yellowgreen","#9acd32"]])
;const Pme=new WeakMap;var Dme=function(e){
return e.rgb="RGB",e.hex="HEX",e.named="NAMED",e.hsl="HSL",e}(Dme||(Dme={}))
;const $me=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*(,\s*0?\.\d+)?\)/,Rme=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/
;function Nme(e,t,n,r,o){var i;switch(r){case"AttributeValue":{
const n=e.resolveInner(t,0).tree;if(!n)return null
;const r=null===(i=n.prop(Qpe.mounted))||void 0===i?void 0:i.tree
;if("Styles"!==(null==r?void 0:r.type.name))return null;const a=[]
;return r.iterate({from:0,to:r.length,enter:({type:n,from:r,to:i})=>{
const s=Nme(e,t+1+r,t+1+i,n.name,o);if(s){
if(Array.isArray(s))throw new Error("Unexpected nested overlays");a.push(s)}}}),
a}case"CallExpression":{const e=o.sliceString(t,n);switch(e.slice(0,3)){
case"rgb":{const r=$me.exec(e);if(!r)return null
;const[o,i,a,s,l]=r,c=function(e,t,n){return`#${Ime(e)}${Ime(t)}${Ime(n)}`
}(i,a,s);return{colorType:Dme.rgb,color:c,from:t,to:n,alpha:l||""}}case"hsl":{
const r=Rme.exec(e);if(!r)return null;const[o,i,a,s,l]=r,c=function(e,t,n){
const r=Number(t)/100,o=Number(n)/100,[i,a,s]=function(e,t,n){if(0===t){
const e=Math.round(255*n);return[e,e,e]}let r;r=n<.5?n*(1+t):n+t-n*t
;const o=2*n-r,i=Bme(.333+(e/=360)),a=e,s=Bme(e-.333),l=Qme(r,o,i),c=Qme(r,o,a),u=Qme(r,o,s)
;return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}(Number(e),r,o)
;return`#${Lme(i)}${Lme(a)}${Lme(s)}`}(i,a,s);return{colorType:Dme.hsl,color:c,
from:t,to:n,alpha:l||""}}default:return null}}case"ColorLiteral":{
const[e,r]=function(e){
if(4===e.length)return[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,""]
;if(5===e.length)return[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]
;if(9===e.length)return[`#${e.slice(1,-2)}`,e.slice(-2)];return[e,""]
}(o.sliceString(t,n));return{colorType:Dme.hex,color:e,from:t,to:n,alpha:r}}
case"ValueName":{const e=o.sliceString(t,n),r=Ame.get(e);return r?{
colorType:Dme.named,color:r,from:t,to:n,alpha:""}:null}default:return null}}
function Mme(e){const t=[],n=cfe(e.state)
;for(const r of e.visibleRanges)n.iterate({from:r.from,to:r.to,
enter:({type:r,from:o,to:i})=>{const a=Nme(n,o,i,r.name,e.state.doc)
;if(a)if(Array.isArray(a))for(const e of a)t.push(Lle.widget({widget:new Fme(e),
side:1}).range(e.from));else t.push(Lle.widget({widget:new Fme(a),side:1
}).range(a.from))}});return Lle.set(t)}function Ime(e){let t
;if(e.endsWith("%")){const n=Number(e.slice(0,-1));t=Math.round(n/100*255)
}else t=Number(e);return Lme(t)}function Lme(e){const t=e.toString(16)
;return 1==t.length?"0"+t:t}function jme(e){
const t=e.slice(1,3),n=e.slice(3,5),r=e.slice(5,7)
;return[parseInt(t,16),parseInt(n,16),parseInt(r,16)]}function Bme(e){
return e<0?e+1:e>1?e-1:e}function Qme(e,t,n){
return 6*n<1?t+6*(e-t)*n:2*n<1?e:3*n<2?t+(e-t)*(.666-n)*6:t}
const Ume="cm-css-color-picker-wrapper";class Fme extends Mle{constructor(e){
var{color:t}=e,n=function(e,t){var n={}
;for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r])
;if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0
;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])
}return n}(e,["color"]);super(),this.state=n,this.color=t}eq(e){
return e.state.colorType===this.state.colorType&&e.color===this.color&&e.state.from===this.state.from&&e.state.to===this.state.to&&e.state.alpha===this.state.alpha
}toDOM(){const e=document.createElement("input")
;Pme.set(e,this.state),e.type="color",e.value=this.color
;const t=document.createElement("span");return t.appendChild(e),t.className=Ume,
t}ignoreEvent(){return!1}}const zme=Sde.baseTheme({[`.${Ume}`]:{
display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",
height:"1em",width:"1em",transform:"translateY(1px)"},
[`.${Ume} input[type="color"]`]:{cursor:"pointer",height:"100%",width:"100%",
padding:0,border:"none","&::-webkit-color-swatch-wrapper":{padding:0},
"&::-webkit-color-swatch":{border:"none"},"&::-moz-color-swatch":{border:"none"}
}}),qme=Cce.fromClass(class{constructor(e){this.decorations=Mme(e)}update(e){
(e.docChanged||e.viewportChanged)&&(this.decorations=Mme(e.view))}},{
decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{const n=e.target
;if("INPUT"!==n.nodeName||!n.parentElement||!n.parentElement.classList.contains(Ume))return!1
;const r=Pme.get(n);let o=n.value+r.alpha
;if(r.colorType===Dme.rgb)o=`rgb(${jme(n.value).join(", ")}${r.alpha})`;else if(r.colorType===Dme.named)for(const[i,a]of Ame.entries())a===n.value&&(o=i);else if(r.colorType===Dme.hsl){
const[e,t,i]=jme(n.value),[a,s,l]=function(e,t,n){
const r=e/255,o=t/255,i=n/255,a=Math.min(r,o,i),s=Math.max(r,o,i),l=(s+a)/2
;if(s===a)return[0,0,l];let c,u
;for(c=l<=.5?(s-a)/(s+a):(s-a)/(2-s-a),u=s===r?(o-i)/(s-a):o===s?2+(i-r)/(s-a):4+(r-o)/(s-a),
u=Math.round(60*u);u<0;)u+=360;return[u,c,l]}(e,t,i)
;o=`hsl(${a}, ${Math.round(100*s)}%, ${Math.round(100*l)}%${r.alpha})`}
return t.dispatch({changes:{from:r.from,to:r.to,insert:o}}),!0}}}),Hme=[qme,zme]
;class Vme{constructor(e,t,n){
this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){
let t=cfe(this.state).resolveInner(this.pos,-1)
;for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,
text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){
let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),o=r.search(Yme(e,!1))
;return o<0?null:{from:n+o,to:this.pos,text:r.slice(o)}}get aborted(){
return null==this.abortListeners}addEventListener(e,t){
"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function Zme(e){
let t=Object.keys(e).join(""),n=/\w/.test(t)
;return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`
}function Wme(e){let t=e.map((e=>"string"==typeof e?{label:e
}:e)),[n,r]=t.every((e=>/^\w+$/.test(e.label)))?[/\w*$/,/\w+$/]:function(e){
let t=Object.create(null),n=Object.create(null);for(let{label:o}of e){t[o[0]]=!0
;for(let e=1;e<o.length;e++)n[o[e]]=!0}let r=Zme(t)+Zme(n)+"*$"
;return[new RegExp("^"+r),new RegExp(r)]}(t);return e=>{let o=e.matchBefore(r)
;return o||e.explicit?{from:o?o.from:e.pos,options:t,validFor:n}:null}}
class Xme{constructor(e,t,n,r){
this.completion=e,this.source=t,this.match=n,this.score=r}}function Gme(e){
return e.selection.main.from}function Yme(e,t){var n
;let{source:r}=e,o=t&&"^"!=r[0],i="$"!=r[r.length-1]
;return o||i?new RegExp(`${o?"^":""}(?:${r})${i?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e
}const Kme=Fae.define();const Jme=new WeakMap;function ege(e){
if(!Array.isArray(e))return e;let t=Jme.get(e);return t||Jme.set(e,t=Wme(e)),t}
const tge=Hae.define(),nge=Hae.define();class rge{constructor(e){this.pattern=e,
this.chars=[],
this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,
this.matched=[];for(let t=0;t<e.length;){let n=Kie(e,t),r=eae(n)
;this.chars.push(n);let o=e.slice(t,t+r),i=o.toUpperCase()
;this.folded.push(Kie(i==o?o.toLowerCase():i,0)),t+=r}
this.astral=e.length!=this.chars.length}ret(e,t){
return this.score=e,this.matched=t,this}match(e){
if(0==this.pattern.length)return this.ret(-100,[])
;if(e.length<this.pattern.length)return null
;let{chars:t,folded:n,any:r,precise:o,byWord:i}=this;if(1==t.length){
let r=Kie(e,0),o=eae(r),i=o==e.length?0:-100;if(r==t[0]);else{
if(r!=n[0])return null;i+=-200}return this.ret(i,[0,o])}
let a=e.indexOf(this.pattern)
;if(0==a)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length])
;let s=t.length,l=0;if(a<0){for(let o=0,i=Math.min(e.length,200);o<i&&l<s;){
let i=Kie(e,o);i!=t[l]&&i!=n[l]||(r[l++]=o),o+=eae(i)}if(l<s)return null}
let c=0,u=0,d=!1,p=0,h=-1,f=-1,m=/[a-z]/.test(e),g=!0
;for(let v=0,b=Math.min(e.length,200),O=0;v<b&&u<s;){let r=Kie(e,v)
;a<0&&(c<s&&r==t[c]&&(o[c++]=v),
p<s&&(r==t[p]||r==n[p]?(0==p&&(h=v),f=v+1,p++):p=0))
;let l,b=r<255?r>=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(l=Jie(r))!=l.toLowerCase()?1:l!=l.toUpperCase()?2:0
;(!v||1==b&&m||0==O&&0!=b)&&(t[u]==r||n[u]==r&&(d=!0)?i[u++]=v:i.length&&(g=!1)),
O=b,v+=eae(r)}
return u==s&&0==i[0]&&g?this.result((d?-200:0)-100,i,e):p==s&&0==h?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):p==s?this.ret(-900-e.length,[h,f]):u==s?this.result((d?-200:0)-100-700+(g?0:-1100),i,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)
}result(e,t,n){let r=[],o=0;for(let i of t){
let e=i+(this.astral?eae(Kie(n,i)):1);o&&r[o-1]==i?r[o-1]=e:(r[o++]=i,r[o++]=e)}
return this.ret(e-n.length,r)}}class oge{constructor(e){
this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}
match(e){if(e.length<this.pattern.length)return null
;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null
;return null==n?null:(this.matched=[0,t.length],
this.score=n+(e.length==this.pattern.length?0:-100),this)}}
const ige=mae.define({combine:e=>ose(e,{activateOnTyping:!0,
activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,
override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,
tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],
positionInfo:sge,filterStrict:!1,
compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,
updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,
icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>age(e(n),t(n)),
optionClass:(e,t)=>n=>age(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),
filterStrict:(e,t)=>e||t})});function age(e,t){return e?t?e+" "+t:e:t}
function sge(e,t,n,r,o,i){
let a,s,l=e.textDirection==Vle.RTL,c=l,u=!1,d="top",p=t.left-o.left,h=o.right-t.right,f=r.right-r.left,m=r.bottom-r.top
;if(c&&p<Math.min(f,h)?c=!1:!c&&h<Math.min(f,p)&&(c=!0),
f<=(c?p:h))a=Math.max(o.top,Math.min(n.top,o.bottom-m))-t.top,
s=Math.min(400,c?p:h);else{u=!0,s=Math.min(400,(l?t.right:o.right-t.left)-30)
;let e=o.bottom-t.bottom
;e>=m||e>t.top?a=n.bottom-t.top:(d="bottom",a=t.bottom-n.top)}return{
style:`${d}: ${a/((t.bottom-t.top)/i.offsetHeight)}px; max-width: ${s/((t.right-t.left)/i.offsetWidth)}px`,
class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}
function lge(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){
let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n)
;return{from:e-(r+1)*n,to:e-r*n}}class cge{constructor(e,t,n){
this.view=e,this.stateField=t,
this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={
read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this
},this.space=null,this.currentClass=""
;let r=e.state.field(t),{options:o,selected:i}=r.open,a=e.state.facet(ige)
;this.optionContent=function(e){let t=e.addToOptions.slice()
;return e.icons&&t.push({render(e){let t=document.createElement("div")
;return t.classList.add("cm-completionIcon"),
e.type&&t.classList.add(...e.type.split(/\s+/g).map((e=>"cm-completionIcon-"+e))),
t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){
let o=document.createElement("span");o.className="cm-completionLabel"
;let i=e.displayLabel||e.label,a=0;for(let s=0;s<r.length;){
let e=r[s++],t=r[s++];e>a&&o.appendChild(document.createTextNode(i.slice(a,e)))
;let n=o.appendChild(document.createElement("span"))
;n.appendChild(document.createTextNode(i.slice(e,t))),
n.className="cm-completionMatchedText",a=t}
return a<i.length&&o.appendChild(document.createTextNode(i.slice(a))),o},
position:50},{render(e){if(!e.detail)return null
;let t=document.createElement("span")
;return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80
}),t.sort(((e,t)=>e.position-t.position)).map((e=>e.render))
}(a),this.optionClass=a.optionClass,
this.tooltipClass=a.tooltipClass,this.range=lge(o.length,i,a.maxRenderedOptions),
this.dom=document.createElement("div"),
this.dom.className="cm-tooltip-autocomplete",
this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",(n=>{
let{options:r}=e.state.field(t).open
;for(let t,o=n.target;o&&o!=this.dom;o=o.parentNode)if("LI"==o.nodeName&&(t=/-(\d+)$/.exec(o.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),
void n.preventDefault()})),this.dom.addEventListener("focusout",(t=>{
let n=e.state.field(this.stateField,!1)
;n&&n.tooltip&&e.state.facet(ige).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({
effects:nge.of(null)})})),this.showOptions(o,r.id)}mount(){this.updateSel()}
showOptions(e,t){
this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),
this.list.addEventListener("scroll",(()=>{
this.info&&this.view.requestMeasure(this.placeInfoReq)}))}update(e){var t
;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField)
;if(this.updateTooltipClass(e.state),n!=r){
let{options:o,selected:i,disabled:a}=n.open
;r.open&&r.open.options==o||(this.range=lge(o.length,i,e.state.facet(ige).maxRenderedOptions),
this.showOptions(o,n.id)),
this.updateSel(),a!=(null===(t=r.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)
}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){
for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e)
;for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}
positioned(e){
this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){
let e=this.view.state.field(this.stateField),t=e.open
;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=lge(t.options.length,t.selected,this.view.state.facet(ige).maxRenderedOptions),
this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){
this.destroyInfo();let{completion:n}=t.options[t.selected],{info:r}=n
;if(!r)return;let o="string"==typeof r?document.createTextNode(r):r(n)
;if(!o)return;"then"in o?o.then((t=>{
t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)
})).catch((e=>Sce(this.view.state,e,"completion info"))):this.addInfoPane(o,n)}}
addInfoPane(e,t){this.destroyInfo()
;let n=this.info=document.createElement("div")
;if(n.className="cm-tooltip cm-completionInfo",
null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{
let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}
this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}
updateSelectedOption(e){let t=null
;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,
r++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),
t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--
;return t&&function(e,t){
let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=n.height/e.offsetHeight
;r.top<n.top?e.scrollTop-=(n.top-r.top)/o:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/o)
}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]")
;if(!e||!this.info)return null
;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),o=this.space
;if(!o){let e=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,
right:e.innerWidth,bottom:e.innerHeight}}
return r.top>Math.min(o.bottom,t.bottom)-10||r.bottom<Math.max(o.top,t.top)+10?null:this.view.state.facet(ige).positionInfo(this.view,t,r,n,o,this.dom)
}placeInfo(e){
this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")
}createListBox(e,t,n){const r=document.createElement("ul")
;r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),
r.setAttribute("aria-label",this.view.state.phrase("Completions"));let o=null
;for(let i=n.from;i<n.to;i++){let{completion:a,match:s}=e[i],{section:l}=a
;if(l){let e="string"==typeof l?l:l.name
;if(e!=o&&(i>n.from||0==n.from))if(o=e,"string"!=typeof l&&l.header)r.appendChild(l.header(l));else{
r.appendChild(document.createElement("completion-section")).textContent=e}}
const c=r.appendChild(document.createElement("li"))
;c.id=t+"-"+i,c.setAttribute("role","option");let u=this.optionClass(a)
;u&&(c.className=u);for(let e of this.optionContent){
let t=e(a,this.view.state,this.view,s);t&&c.appendChild(t)}}
return n.from&&r.classList.add("cm-completionListIncompleteTop"),
n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}
destroyInfo(){
this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),
this.info=null)}destroy(){this.destroyInfo()}}function uge(e,t){
return n=>new cge(n,e,t)}function dge(e){
return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class pge{
constructor(e,t,n,r,o,i){
this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,
this.selected=o,this.disabled=i}setSelected(e,t){
return e==this.selected||e>=this.options.length?this:new pge(this.options,mge(t,e),this.tooltip,this.timestamp,e,this.disabled)
}static build(e,t,n,r,o){let i=function(e,t){let n=[],r=null,o=e=>{n.push(e)
;let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name
;r.some((t=>t.name==e))||r.push("string"==typeof t?{name:e}:t)}},i=t.facet(ige)
;for(let c of e)if(c.hasResult()){let e=c.result.getMatch
;if(!1===c.result.filter)for(let t of c.result.options)o(new Xme(t,c.source,e?e(t):[],1e9-n.length));else{
let n,r=t.sliceDoc(c.from,c.to),a=i.filterStrict?new oge(r):new rge(r)
;for(let t of c.result.options)if(n=a.match(t.label)){
let r=t.displayLabel?e?e(t,n.matched):[]:n.matched
;o(new Xme(t,c.source,r,n.score+(t.boost||0)))}}}if(r){
let e=Object.create(null),t=0,o=(e,t)=>{var n,r
;return(null!==(n=e.rank)&&void 0!==n?n:1e9)-(null!==(r=t.rank)&&void 0!==r?r:1e9)||(e.name<t.name?-1:1)
};for(let n of r.sort(o))t-=1e5,e[n.name]=t;for(let r of n){
let{section:t}=r.completion;t&&(r.score+=e["string"==typeof t?t:t.name])}}
let a=[],s=null,l=i.compareCompletions
;for(let c of n.sort(((e,t)=>t.score-e.score||l(e.completion,t.completion)))){
let e=c.completion
;!s||s.label!=e.label||s.detail!=e.detail||null!=s.type&&null!=e.type&&s.type!=e.type||s.apply!=e.apply||s.boost!=e.boost?a.push(c):dge(c.completion)>dge(s)&&(a[a.length-1]=c),
s=c.completion}return a}(e,t)
;if(!i.length)return r&&e.some((e=>1==e.state))?new pge(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null
;let a=t.facet(ige).selectOnOpen?0:-1;if(r&&r.selected!=a&&-1!=r.selected){
let e=r.options[r.selected].completion
;for(let t=0;t<i.length;t++)if(i[t].completion==e){a=t;break}}
return new pge(i,mge(n,a),{
pos:e.reduce(((e,t)=>t.hasResult()?Math.min(e,t.from):e),1e8),create:Sge,
above:o.aboveCursor},r?r.timestamp:Date.now(),a,!1)}map(e){
return new pge(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{
pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}
class hge{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){
return new hge(gge,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}
update(e){
let{state:t}=e,n=t.facet(ige),r=(n.override||t.languageDataAt("autocomplete",Gme(t)).map(ege)).map((t=>{
let r=this.active.find((e=>e.source==t))||new bge(t,this.active.some((e=>0!=e.state))?1:0)
;return r.update(e,n)}))
;r.length==this.active.length&&r.every(((e,t)=>e==this.active[t]))&&(r=this.active)
;let o=this.open
;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||r.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(e,t){
if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult;)n++
;for(;r<t.length&&!t[r].hasResult;)r++;let o=n==e.length,i=r==t.length
;if(o||i)return o==i;if(e[n++].result!=t[r++].result)return!1}
}(r,this.active)?o=pge.build(r,t,this.id,o,n):o&&o.disabled&&!r.some((e=>1==e.state))&&(o=null),
!o&&r.every((e=>1!=e.state))&&r.some((e=>e.hasResult()))&&(r=r.map((e=>e.hasResult()?new bge(e.source,0):e)))
;for(let i of e.effects)i.is(wge)&&(o=o&&o.setSelected(i.value,this.id))
;return r==this.active&&o==this.open?this:new hge(r,this.id,o)}get tooltip(){
return this.open?this.open.tooltip:null}get attrs(){
return this.open?this.open.attrs:fge}}const fge={"aria-autocomplete":"list"}
;function mge(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox",
"aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}
const gge=[];function vge(e,t){if(e.isUserEvent("input.complete")){
let n=e.annotation(Kme);if(n&&t.activateOnCompletion(n))return"input"}
return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null
}class bge{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}
hasResult(){return!1}update(e,t){let n=vge(e,t),r=this
;n?r=r.handleUserEvent(e,n,t):e.docChanged?r=r.handleChange(e):e.selection&&0!=r.state&&(r=new bge(r.source,0))
;for(let o of e.effects)if(o.is(tge))r=new bge(r.source,1,o.value?Gme(e.state):-1);else if(o.is(nge))r=new bge(r.source,0);else if(o.is(yge))for(let e of o.value)e.source==r.source&&(r=e)
;return r}handleUserEvent(e,t,n){
return"delete"!=t&&n.activateOnTyping?new bge(this.source,1):this.map(e.changes)
}handleChange(e){
return e.changes.touchesRange(Gme(e.startState))?new bge(this.source,0):this.map(e.changes)
}map(e){
return e.empty||this.explicitPos<0?this:new bge(this.source,this.state,e.mapPos(this.explicitPos))
}}class Oge extends bge{constructor(e,t,n,r,o){
super(e,2,t),this.result=n,this.from=r,this.to=o}hasResult(){return!0}
handleUserEvent(e,t,n){var r;let o=this.result
;o.map&&!e.changes.empty&&(o=o.map(o,e.changes))
;let i=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),s=Gme(e.state)
;if((this.explicitPos<0?s<=i:s<this.from)||s>a||!o||"delete"==t&&Gme(e.startState)==this.from)return new bge(this.source,"input"==t&&n.activateOnTyping?1:0)
;let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos)
;return function(e,t,n,r){if(!e)return!1;let o=t.sliceDoc(n,r)
;return"function"==typeof e?e(o,n,r,t):Yme(e,!0).test(o)
}(o.validFor,e.state,i,a)?new Oge(this.source,l,o,i,a):o.update&&(o=o.update(o,i,a,new Vme(e.state,s,l>=0)))?new Oge(this.source,l,o,o.from,null!==(r=o.to)&&void 0!==r?r:Gme(e.state)):new bge(this.source,1,l)
}handleChange(e){
return e.changes.touchesRange(this.from,this.to)?new bge(this.source,0):this.map(e.changes)
}map(e){if(e.empty)return this
;return(this.result.map?this.result.map(this.result,e):this.result)?new Oge(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new bge(this.source,0)
}}const yge=Hae.define({map:(e,t)=>e.map((e=>e.map(t)))
}),wge=Hae.define(),kge=kae.define({create:()=>hge.start(),
update:(e,t)=>e.update(t),
provide:e=>[ope.from(e,(e=>e.tooltip)),Sde.contentAttributes.from(e,(e=>e.attrs))]
});function xge(e,t){const n=t.completion.apply||t.completion.label
;let r=e.state.field(kge).active.find((e=>e.source==t.source))
;return r instanceof Oge&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},function(e,t,n,r){
let{main:o}=e.selection,i=n-o.from,a=r-o.from
;return Object.assign(Object.assign({},e.changeByRange((s=>s!=o&&n!=r&&e.sliceDoc(s.from+i,s.from+a)!=e.sliceDoc(n,r)?{
range:s}:{changes:{from:s.from+i,to:r==o.from?s.to:s.from+a,insert:t},
range:pae.cursor(s.from+i+t.length)}))),{scrollIntoView:!0,
userEvent:"input.complete"})}(e.state,n,r.from,r.to)),{
annotations:Kme.of(t.completion)})):n(e,t.completion,r.from,r.to),!0)}
const Sge=uge(kge,xge);function _ge(e,t="option"){return n=>{
let r=n.state.field(kge,!1)
;if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(ige).interactionDelay)return!1
;let o,i=1
;"page"==t&&(o=dpe(n,r.open.tooltip))&&(i=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1))
;let{length:a}=r.open.options,s=r.open.selected>-1?r.open.selected+i*(e?1:-1):e?0:a-1
;return s<0?s="page"==t?0:a-1:s>=a&&(s="page"==t?a-1:0),n.dispatch({
effects:wge.of(s)}),!0}}class Ege{constructor(e,t){this.active=e,this.context=t,
this.time=Date.now(),this.updates=[],this.done=void 0}}
const Tge=Cce.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,
this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0
;for(let t of e.state.field(kge).active)1==t.state&&this.startQuery(t)}
update(e){let t=e.state.field(kge),n=e.state.facet(ige)
;if(!e.selectionSet&&!e.docChanged&&e.startState.field(kge)==t)return
;let r=e.transactions.some((e=>(e.selection||e.docChanged)&&!vge(e,n)))
;for(let i=0;i<this.running.length;i++){let t=this.running[i]
;if(r||t.updates.length+e.transactions.length>50&&Date.now()-t.time>1e3){
for(let e of t.context.abortListeners)try{e()}catch(G$){Sce(this.view.state,G$)}
t.context.abortListeners=null,this.running.splice(i--,1)
}else t.updates.push(...e.transactions)}
this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),
e.transactions.some((e=>e.effects.some((e=>e.is(tge)))))&&(this.pendingStart=!0)
;let o=this.pendingStart?50:n.activateOnTypingDelay
;if(this.debounceUpdate=t.active.some((e=>1==e.state&&!this.running.some((t=>t.active.source==e.source))))?setTimeout((()=>this.startUpdate()),o):-1,
0!=this.composing)for(let i of e.transactions)"input"==vge(i,n)?this.composing=2:2==this.composing&&i.selection&&(this.composing=3)
}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1
;let{state:e}=this.view,t=e.field(kge)
;for(let n of t.active)1!=n.state||this.running.some((e=>e.active.source==n.source))||this.startQuery(n)
}startQuery(e){
let{state:t}=this.view,n=Gme(t),r=new Vme(t,n,e.explicitPos==n),o=new Ege(e,r)
;this.running.push(o),Promise.resolve(e.source(r)).then((e=>{
o.context.aborted||(o.done=e||null,this.scheduleAccept())}),(e=>{
this.view.dispatch({effects:nge.of(null)}),Sce(this.view.state,e)}))}
scheduleAccept(){
this.running.every((e=>void 0!==e.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(ige).updateSyncTime))
}accept(){var e
;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1
;let t=[],n=this.view.state.facet(ige);for(let r=0;r<this.running.length;r++){
let o=this.running[r];if(void 0===o.done)continue;if(this.running.splice(r--,1),
o.done){
let r=new Oge(o.active.source,o.active.explicitPos,o.done,o.done.from,null!==(e=o.done.to)&&void 0!==e?e:Gme(o.updates.length?o.updates[0].startState:this.view.state))
;for(let e of o.updates)r=r.update(e,n);if(r.hasResult()){t.push(r);continue}}
let i=this.view.state.field(kge).active.find((e=>e.source==o.active.source))
;if(i&&1==i.state)if(null==o.done){let e=new bge(o.active.source,0)
;for(let t of o.updates)e=e.update(t,n);1!=e.state&&t.push(e)
}else this.startQuery(i)}t.length&&this.view.dispatch({effects:yge.of(t)})}},{
eventHandlers:{blur(e){let t=this.view.state.field(kge,!1)
;if(t&&t.tooltip&&this.view.state.facet(ige).closeOnBlur){
let n=t.open&&dpe(this.view,t.open.tooltip)
;n&&n.dom.contains(e.relatedTarget)||setTimeout((()=>this.view.dispatch({
effects:nge.of(null)})),10)}},compositionstart(){this.composing=1},
compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({
effects:tge.of(!1)})),20),this.composing=0}}
}),Cge="object"==typeof navigator&&/Win/.test(navigator.platform),Age=Cae.highest(Sde.domEventHandlers({
keydown(e,t){let n=t.state.field(kge,!1)
;if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&(!Cge||!e.altKey)||e.metaKey)return!1
;let r=n.open.options[n.open.selected],o=n.active.find((e=>e.source==r.source)),i=r.completion.commitCharacters||o.result.commitCharacters
;return i&&i.indexOf(e.key)>-1&&xge(t,r),!1}})),Pge=Sde.baseTheme({
".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",
whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",
maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",
listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{
padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",
textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{
display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",
opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{
background:"#17c",color:"white"},
"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{
background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{
background:"#347",color:"white"},
"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{
background:"#444"},
".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{
content:'"···"',opacity:.5,display:"block",textAlign:"center"},
".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",
width:"max-content",maxWidth:"400px",boxSizing:"border-box"},
".cm-completionInfo.cm-completionInfo-left":{right:"100%"},
".cm-completionInfo.cm-completionInfo-right":{left:"100%"},
".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},
".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},
"&light .cm-snippetField":{backgroundColor:"#00000022"},
"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},
".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",
display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},
".cm-completionMatchedText":{textDecoration:"underline"},
".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},
".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",
textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},
".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{
content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},
".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},
".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},
".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},
".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},
".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},
".cm-completionIcon-property":{"&:after":{content:"'□'"}},
".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},
".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},
".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",
verticalAlign:"middle"}}});class Dge{constructor(e,t,n,r){
this.field=e,this.line=t,this.from=n,this.to=r}}class $ge{constructor(e,t,n){
this.field=e,this.from=t,this.to=n}map(e){
let t=e.mapPos(this.from,-1,nae.TrackDel),n=e.mapPos(this.to,1,nae.TrackDel)
;return null==t||null==n?null:new $ge(this.field,t,n)}}class Rge{
constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){
let n=[],r=[t],o=e.doc.lineAt(t),i=/^\s*/.exec(o.text)[0]
;for(let a of this.lines){if(n.length){let n=i,o=/^\t*/.exec(a)[0].length
;for(let t=0;t<o;t++)n+=e.facet(wfe);r.push(t+n.length-o),a=n+a.slice(o)}
n.push(a),t+=a.length+1}return{text:n,
ranges:this.fieldPositions.map((e=>new $ge(e.field,r[e.line]+e.from,r[e.line]+e.to)))
}}static parse(e){let t,n=[],r=[],o=[];for(let i of e.split(/\r\n?|\n/)){
for(;t=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(i);){
let e=t[1]?+t[1]:null,a=t[2]||t[3]||"",s=-1,l=a.replace(/\\[{}]/g,(e=>e[1]))
;for(let t=0;t<n.length;t++)(null!=e?n[t].seq==e:l&&n[t].name==l)&&(s=t)
;if(s<0){let t=0;for(;t<n.length&&(null==e||null!=n[t].seq&&n[t].seq<e);)t++
;n.splice(t,0,{seq:e,name:l}),s=t;for(let e of o)e.field>=s&&e.field++}
o.push(new Dge(s,r.length,t.index,t.index+l.length)),
i=i.slice(0,t.index)+a+i.slice(t.index+t[0].length)}
i=i.replace(/\\([{}])/g,((e,t,n)=>{
for(let i of o)i.line==r.length&&i.from>n&&(i.from--,i.to--);return t
})),r.push(i)}return new Rge(r,o)}}let Nge=Lle.widget({
widget:new class extends Mle{toDOM(){let e=document.createElement("span")
;return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}
}),Mge=Lle.mark({class:"cm-snippetField"});class Ige{constructor(e,t){
this.ranges=e,
this.active=t,this.deco=Lle.set(e.map((e=>(e.from==e.to?Nge:Mge).range(e.from,e.to))))
}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null
;t.push(r)}return new Ige(t,this.active)}selectionInsideField(e){
return e.ranges.every((e=>this.ranges.some((t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))))
}}const Lge=Hae.define({map:(e,t)=>e&&e.map(t)
}),jge=Hae.define(),Bge=kae.define({create:()=>null,update(e,t){
for(let n of t.effects){if(n.is(Lge))return n.value
;if(n.is(jge)&&e)return new Ige(e.ranges,n.value)}
return e&&t.docChanged&&(e=e.map(t.changes)),
e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},
provide:e=>Sde.decorations.from(e,(e=>e?e.deco:Lle.none))});function Qge(e,t){
return pae.create(e.filter((e=>e.field==t)).map((e=>pae.range(e.from,e.to))))}
function Uge(e){let t=Rge.parse(e);return(e,n,r,o)=>{
let{text:i,ranges:a}=t.instantiate(e.state,r),s={changes:{from:r,to:o,
insert:Rie.of(i)},scrollIntoView:!0,
annotations:n?[Kme.of(n),Vae.userEvent.of("input.complete")]:void 0}
;if(a.length&&(s.selection=Qge(a,0)),a.some((e=>e.field>0))){
let t=new Ige(a,0),n=s.effects=[Lge.of(t)]
;void 0===e.state.field(Bge,!1)&&n.push(Hae.appendConfig.of([Bge,Hge,Zge,Pge]))}
e.dispatch(e.state.update(s))}}function Fge(e){return({state:t,dispatch:n})=>{
let r=t.field(Bge,!1);if(!r||e<0&&0==r.active)return!1
;let o=r.active+e,i=e>0&&!r.ranges.some((t=>t.field==o+e));return n(t.update({
selection:Qge(r.ranges,o),effects:Lge.of(i?null:new Ige(r.ranges,o)),
scrollIntoView:!0})),!0}}const zge=[{key:"Tab",run:Fge(1),shift:Fge(-1)},{
key:"Escape",run:({state:e,dispatch:t})=>!!e.field(Bge,!1)&&(t(e.update({
effects:Lge.of(null)})),!0)}],qge=mae.define({combine:e=>e.length?e[0]:zge
}),Hge=Cae.highest($de.compute([qge],(e=>e.facet(qge))));function Vge(e,t){
return Object.assign(Object.assign({},t),{apply:Uge(e)})}
const Zge=Sde.domEventHandlers({mousedown(e,t){let n,r=t.state.field(Bge,!1)
;if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1
;let o=r.ranges.find((e=>e.from<=n&&e.to>=n))
;return!(!o||o.field==r.active)&&(t.dispatch({selection:Qge(r.ranges,o.field),
effects:Lge.of(r.ranges.some((e=>e.field>o.field))?new Ige(r.ranges,o.field):null),
scrollIntoView:!0}),!0)}}),Wge={brackets:["(","[","{","'",'"'],before:")]}:;>",
stringPrefixes:[]},Xge=Hae.define({map(e,t){let n=t.mapPos(e,-1,nae.TrackAfter)
;return null==n?void 0:n}}),Gge=new class extends ise{}
;Gge.startSide=1,Gge.endSide=-1;const Yge=kae.define({create:()=>cse.empty,
update(e,t){if(e=e.map(t.changes),t.selection){
let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({
filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(Xge)&&(e=e.update({
add:[Gge.range(n.value,n.value+1)]}));return e}});const Kge="()[]{}<>"
;function Jge(e){
for(let t=0;t<Kge.length;t+=2)if(Kge.charCodeAt(t)==e)return Kge.charAt(t+1)
;return Jie(e<128?e:e+1)}function eve(e,t){
return e.languageDataAt("closeBrackets",t)[0]||Wge}
const tve="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),nve=Sde.inputHandler.of(((e,t,n,r)=>{
if((tve?e.composing:e.compositionStarted)||e.state.readOnly)return!1
;let o=e.state.selection.main
;if(r.length>2||2==r.length&&1==eae(Kie(r,0))||t!=o.from||n!=o.to)return!1
;let i=function(e,t){
let n=eve(e,e.selection.main.head),r=n.brackets||Wge.brackets;for(let o of r){
let i=Jge(Kie(o,0))
;if(t==o)return i==o?lve(e,o,r.indexOf(o+o+o)>-1,n):ave(e,o,i,n.before||Wge.before)
;if(t==i&&ove(e,e.selection.main.from))return sve(e,o,i)}return null}(e.state,r)
;return!!i&&(e.dispatch(i),!0)})),rve=[{key:"Backspace",
run:({state:e,dispatch:t})=>{if(e.readOnly)return!1
;let n=eve(e,e.selection.main.head).brackets||Wge.brackets,r=null,o=e.changeByRange((t=>{
if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t)
;return eae(Kie(n,0))==n.length?n:n.slice(1)}(e.doc,t.head)
;for(let o of n)if(o==r&&ive(e.doc,t.head)==Jge(Kie(o,0)))return{changes:{
from:t.head-o.length,to:t.head+o.length},range:pae.cursor(t.head-o.length)}}
return{range:r=t}}));return r||t(e.update(o,{scrollIntoView:!0,
userEvent:"delete.backward"})),!r}}];function ove(e,t){let n=!1
;return e.field(Yge).between(0,e.doc.length,(e=>{e==t&&(n=!0)})),n}
function ive(e,t){let n=e.sliceString(t,t+2);return n.slice(0,eae(Kie(n,0)))}
function ave(e,t,n,r){let o=null,i=e.changeByRange((i=>{if(!i.empty)return{
changes:[{insert:t,from:i.from},{insert:n,from:i.to}],
effects:Xge.of(i.to+t.length),range:pae.range(i.anchor+t.length,i.head+t.length)
};let a=ive(e.doc,i.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{
insert:t+n,from:i.head},effects:Xge.of(i.head+t.length),
range:pae.cursor(i.head+t.length)}:{range:o=i}}));return o?null:e.update(i,{
scrollIntoView:!0,userEvent:"input.type"})}function sve(e,t,n){
let r=null,o=e.changeByRange((t=>t.empty&&ive(e.doc,t.head)==n?{changes:{
from:t.head,to:t.head+n.length,insert:n},range:pae.cursor(t.head+n.length)}:r={
range:t}));return r?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}
function lve(e,t,n,r){
let o=r.stringPrefixes||Wge.stringPrefixes,i=null,a=e.changeByRange((r=>{
if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],
effects:Xge.of(r.to+t.length),range:pae.range(r.anchor+t.length,r.head+t.length)
};let a,s=r.head,l=ive(e.doc,s);if(l==t){if(cve(e,s))return{changes:{insert:t+t,
from:s},effects:Xge.of(s+t.length),range:pae.cursor(s+t.length)};if(ove(e,s)){
let r=n&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,
to:s+r.length,insert:r},range:pae.cursor(s+r.length)}}}else{
if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(a=uve(e,s-2*t.length,o))>-1&&cve(e,a))return{
changes:{insert:t+t+t+t,from:s},effects:Xge.of(s+t.length),
range:pae.cursor(s+t.length)}
;if(e.charCategorizer(s)(l)!=Jae.Word&&uve(e,s,o)>-1&&!function(e,t,n,r){
let o=cfe(e).resolveInner(t,-1),i=r.reduce(((e,t)=>Math.max(e,t.length)),0)
;for(let a=0;a<5;a++){
let a=e.sliceDoc(o.from,Math.min(o.to,o.from+n.length+i)),s=a.indexOf(n)
;if(!s||s>-1&&r.indexOf(a.slice(0,s))>-1){let t=o.firstChild
;for(;t&&t.from==o.from&&t.to-t.from>n.length+s;){
if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}
let l=o.to==t&&o.parent;if(!l)break;o=l}return!1}(e,s,t,o))return{changes:{
insert:t+t,from:s},effects:Xge.of(s+t.length),range:pae.cursor(s+t.length)}}
return{range:i=r}}));return i?null:e.update(a,{scrollIntoView:!0,
userEvent:"input.type"})}function cve(e,t){let n=cfe(e).resolveInner(t+1)
;return n.parent&&n.from==t}function uve(e,t,n){let r=e.charCategorizer(t)
;if(r(e.sliceDoc(t-1,t))!=Jae.Word)return t;for(let o of n){let n=t-o.length
;if(e.sliceDoc(n,t)==o&&r(e.sliceDoc(n-1,n))!=Jae.Word)return n}return-1}
const dve=[{key:"Ctrl-Space",run:e=>!!e.state.field(kge,!1)&&(e.dispatch({
effects:tge.of(!0)}),!0)},{key:"Escape",run:e=>{let t=e.state.field(kge,!1)
;return!(!t||!t.active.some((e=>0!=e.state)))&&(e.dispatch({effects:nge.of(null)
}),!0)}},{key:"ArrowDown",run:_ge(!0)},{key:"ArrowUp",run:_ge(!1)},{
key:"PageDown",run:_ge(!0,"page")},{key:"PageUp",run:_ge(!1,"page")},{
key:"Enter",run:e=>{let t=e.state.field(kge,!1)
;return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(ige).interactionDelay)&&xge(e,t.open.options[t.open.selected])
}
}],pve=Cae.highest($de.computeN([ige],(e=>e.facet(ige).defaultKeymap?[dve]:[]))),hve=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{
scrollIntoView:!0,userEvent:"input"})),!0);function fve(e,t){let n=-1
;return e.changeByRange((r=>{let o=[];for(let a=r.from;a<=r.to;){
let i=e.doc.lineAt(a);i.number>n&&(r.empty||r.to>i.from)&&(t(i,o,r),n=i.number),
a=i.to+1}let i=e.changes(o);return{changes:o,
range:pae.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}}))}const mve={
key:"Tab",run:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(fve(e,((t,n)=>{
n.push({from:t.from,insert:e.facet(wfe)})})),{userEvent:"input.indent"})),!0),
shift:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(fve(e,((t,n)=>{
let r=/^\s*/.exec(t.text)[0];if(!r)return
;let o=wse(r,e.tabSize),i=0,a=xfe(e,Math.max(0,o-kfe(e)))
;for(;i<r.length&&i<a.length&&r.charCodeAt(i)==a.charCodeAt(i);)i++;n.push({
from:t.from+i,to:t.from+r.length,insert:a.slice(i)})})),{
userEvent:"delete.dedent"})),!0)};class gve{
constructor(e,t,n,r,o,i,a,s,l,c=0,u){
this.p=e,this.stack=t,this.state=n,this.reducePos=r,
this.pos=o,this.score=i,this.buffer=a,
this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){
return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`
}static start(e,t,n=0){let r=e.parser.context
;return new gve(e,[],t,n,n,0,[],0,r?new vve(r,r.start):null,0,null)}
get context(){return this.curContext?this.curContext.context:null}
pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),
this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p
;this.reducePos<this.pos-25&&this.setLookAhead(this.pos)
;let i=o.dynamicPrecedence(r)
;if(i&&(this.score+=i),0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),
r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),
void this.reduceContext(r,this.reducePos)
;let a=this.stack.length-3*(n-1)-(262144&e?6:0),s=a?this.stack[a-2]:this.p.ranges[0].from,l=this.reducePos-s
;l>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,
this.p.lastBigReductionSize=l):this.p.lastBigReductionSize<l&&(this.p.bigReductionCount=1,
this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=l))
;let c=a?this.stack[a-1]:0,u=this.bufferBase+this.buffer.length-c
;if(r<o.minRepeatTerm||131072&e){
let e=o.stateFlag(this.state,1)?this.pos:this.reducePos
;this.storeNode(r,s,e,u+4,!0)}if(262144&e)this.state=this.stack[a];else{
let e=this.stack[a-3];this.state=o.getGoto(e,r,!0)}
for(;this.stack.length>a;)this.stack.pop();this.reduceContext(r,s)}
storeNode(e,t,n,r=4,o=!1){
if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){
let e=this,r=this.buffer.length
;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,
e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return
;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){
let o=this.buffer.length
;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],
this.buffer[o+1]=this.buffer[o-3],
this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],
o-=4,r>4&&(r-=4)
;this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r
}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){
if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=r,
this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{
let o=e,{parser:i}=this.p
;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),
this.pushState(o,n),
this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){
65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){
let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),
n++);let r=this.pos
;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),
this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))
}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4
;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent
;return new gve(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)
}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode
;n&&this.storeNode(e,this.pos,t,4),
this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}
canShift(e){for(let t=new bve(this);;){
let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e)
;if(0==n)return!1;if(!(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){
if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state)
;if(t.length>8||this.stack.length>=120){let n=[]
;for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r)
;if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1]
;n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[]
;for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue
;let o=this.split()
;o.pushState(e,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[r],this.pos),
o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){
let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1
;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n
;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction()
;if(null==e)return!1;t=e}
this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}
return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){
let{parser:e}=this.p,t=[],n=(r,o)=>{
if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{
if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){
let r=65535&t,o=this.stack.length-3*n
;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{
let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){
for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){
this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){
if(3!=this.stack.length)return!1;let{parser:e}=this.p
;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}
restart(){
this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0
}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1
;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1
;return!0}get parser(){return this.p.parser}dialectEnabled(e){
return this.p.parser.dialect.flags[e]}shiftContext(e,t){
this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))
}reduceContext(e,t){
this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))
}emitContext(){let e=this.buffer.length-1
;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)
}emitLookAhead(){let e=this.buffer.length-1
;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)
}updateContext(e){if(e!=this.curContext.context){
let t=new vve(this.curContext.tracker,e)
;t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}
setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}
close(){
this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()
}}class vve{constructor(e,t){
this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class bve{
constructor(e){
this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}
reduce(e){let t=65535&e,n=e>>19
;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),
this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1)
;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}
class Ove{constructor(e,t,n){
this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,
0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){
return new Ove(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent
;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,
this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}
get start(){return this.buffer[this.index-3]}get end(){
return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}
next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){
return new Ove(this.stack,this.pos,this.index)}}function yve(e,t=Uint16Array){
if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let i=0
;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}
t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}
n?n[o++]=i:n=new t(i)}return n}class wve{constructor(){
this.start=-1,this.value=-1,
this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}
const kve=new wve;class xve{constructor(e,t){
this.input=e,this.ranges=t,this.chunk="",
this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,
this.next=-1,this.token=kve,this.rangeIndex=0,
this.pos=this.chunkPos=t[0].from,this.range=t[0],
this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){
let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){
if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}
for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null
;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){
if(e>=this.range.from&&e<this.range.to)return e
;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}
peek(e){let t,n,r=this.chunkOff+e
;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{
let r=this.resolveOffset(e,1);if(null==r)return-1
;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{
let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e]
;this.chunk2=this.input.chunk(this.chunk2Pos=t),
t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),
n=this.chunk2.charCodeAt(0)}}
return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){
let n=t?this.resolveOffset(t,-1):this.pos
;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds")
;this.token.value=e,this.token.end=n}acceptTokenTo(e,t){
this.token.value=e,this.token.end=t}getChunk(){
if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){
let{chunk:e,chunkPos:t}=this
;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,
this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{
this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos
;let e=this.input.chunk(this.pos),t=this.pos+e.length
;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,
this.chunkPos=this.pos,this.chunkOff=0}}readNext(){
return this.chunkOff>=this.chunk.length&&(this.getChunk(),
this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)
}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){
if(this.rangeIndex==this.ranges.length-1)return this.setDone()
;e-=this.range.to-this.pos,
this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}
return this.pos+=e,
this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),
this.readNext()}setDone(){
return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],
this.chunk="",this.next=-1}reset(e,t){
if(t?(this.token=t,t.start=e,t.lookAhead=e+1,
t.value=t.extended=-1):this.token=kve,this.pos!=e){
if(this.pos=e,e==this.end)return this.setDone(),this
;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex]
;for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex]
;e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",
this.chunkOff=0),this.readNext()}return this}read(e,t){
if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos)
;if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos)
;if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=""
;for(let r of this.ranges){if(r.from>=t)break
;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}
class Sve{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p
;Tve(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}
Sve.prototype.contextual=Sve.prototype.fallback=Sve.prototype.extend=!1
;class _ve{constructor(e,t,n){
this.precTable=t,this.elseToken=n,this.data="string"==typeof e?yve(e):e}
token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1)
;if(Tve(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break
;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}
r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}
_ve.prototype.contextual=Sve.prototype.fallback=Sve.prototype.extend=!1
;class Eve{constructor(e,t={}){
this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,
this.extend=!!t.extend}}function Tve(e,t,n,r,o,i){
let a=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;s&e[a];){let n=e[a+1]
;for(let d=a+3;d<n;d+=2)if((e[d+1]&s)>0){let n=e[d]
;if(l.allows(n)&&(-1==t.token.value||t.token.value==n||Ave(n,t.token.value,o,i))){
t.acceptToken(n);break}}let r=t.next,c=0,u=e[a+2]
;if(!(t.next<0&&u>c&&65535==e[n+3*u-3])){for(;c<u;){
let o=c+u>>1,i=n+o+(o<<1),s=e[i],l=e[i+1]||65536;if(r<s)u=o;else{if(!(r>=l)){
a=e[i+2],t.advance();continue e}c=o+1}}break}a=e[n+3*u-1]}}function Cve(e,t,n){
for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}
function Ave(e,t,n,r){let o=Cve(n,r,t);return o<0||Cve(n,r,e)<o}
const Pve="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG)
;let Dve=null;function $ve(e,t,n){let r=e.cursor(Zpe.IncludeAnonymous)
;for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){
if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25))
;if(n<0?r.prevSibling():r.nextSibling())break
;if(!r.parent())return n<0?0:e.length}}class Rve{constructor(e,t){
this.fragments=e,
this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,
this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){
let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++]
;if(e){
for(this.safeFrom=e.openStart?$ve(e.tree,e.from+e.offset,1)-e.offset:e.from,
this.safeTo=e.openEnd?$ve(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),
this.start.pop(),this.index.pop()
;this.trees.push(e.tree),this.start.push(-e.offset),
this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}
nodeAt(e){if(e<this.nextStart)return null
;for(;this.fragment&&this.safeTo<=e;)this.nextFragment()
;if(!this.fragment)return null;for(;;){let t=this.trees.length-1
;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t]
;if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop()
;continue}let o=n.children[r],i=this.start[t]+n.positions[r]
;if(i>e)return this.nextStart=i,null;if(o instanceof Xpe){if(i==e){
if(i<this.safeFrom)return null;let e=i+o.length;if(e<=this.safeTo){
let t=o.prop(Qpe.lookAhead);if(!t||e+t<this.fragment.to)return o}}
this.index[t]++,
i+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(i),
this.index.push(0))}else this.index[t]++,this.nextStart=i+o.length}}}class Nve{
constructor(e,t){
this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],
this.tokens=e.tokenizers.map((e=>new wve))}getActions(e){
let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0
;for(let l=0;l<o.length;l++){if(!(1<<l&i))continue;let r=o[l],c=this.tokens[l]
;if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=i||c.context!=a)&&(this.updateCachedToken(c,r,e),
c.mask=i,
c.context=a),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){
let o=t
;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),
!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop()
;return s&&e.setLookAhead(s),
n||e.pos!=this.stream.end||(n=new wve,n.value=e.p.parser.eofTerm,
n.start=n.end=e.pos,
t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}
getMainToken(e){if(this.mainToken)return this.mainToken
;let t=new wve,{pos:n,p:r}=e
;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,
t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos)
;if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p
;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){
let o=t.specializers[r](this.stream.read(e.start,e.end),n)
;if(o>=0&&n.p.parser.dialect.allows(o>>1)){1&o?e.extended=o>>1:e.value=o>>1
;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){
for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r
;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}
addActions(e,t,n,r){let{state:o}=e,{parser:i}=e.p,{data:a}=i
;for(let s=0;s<2;s++)for(let e=i.stateSlot(o,s?2:1);;e+=3){if(65535==a[e]){
if(1!=a[e+1]){0==r&&2==a[e+1]&&(r=this.putAction(Uve(a,e+2),t,n,r));break}
e=Uve(a,e+2)}a[e]==t&&(r=this.putAction(Uve(a,e+1),t,n,r))}return r}}class Mve{
constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,
this.nextStackID=9812,
this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,
this.lastBigReductionSize=0,
this.bigReductionCount=0,this.stream=new xve(t,r),this.tokens=new Nve(e,this.stream),
this.topTerm=e.top[1];let{from:o}=r[0];this.stacks=[gve.start(this,e.top[0],o)],
this.fragments=n.length&&this.stream.end-o>4*e.bufferLength?new Rve(n,e.nodeSet):null
}get parsedPos(){return this.minStackPos}advance(){
let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[]
;if(this.bigReductionCount>300&&1==n.length){let[e]=n
;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);
this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){
let a=n[i];for(;;){if(this.tokens.mainToken=null,a.pos>r)o.push(a);else{
if(this.advanceStack(a,o,n))continue;{e||(e=[],t=[]),e.push(a)
;let n=this.tokens.getMainToken(a);t.push(n.value,n.end)}}break}}if(!o.length){
let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt
;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)
}return t}(e)
;if(t)return Pve&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t)
;if(this.parser.strict)throw Pve&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),
new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}
if(this.recovering&&e){
let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o)
;if(n)return Pve&&console.log("Force-finish "+this.stackID(n)),
this.stackToTree(n.forceAll())}if(this.recovering){
let e=1==this.recovering?1:3*this.recovering
;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop()
;o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){
e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){
let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){
if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1)
;continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}
this.minStackPos=o[0].pos
;for(let i=1;i<o.length;i++)o[i].pos<this.minStackPos&&(this.minStackPos=o[i].pos)
;return null}stopAt(e){
if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward")
;this.stoppedAt=e}advanceStack(e,t,n){
let r=e.pos,{parser:o}=this,i=Pve?this.stackID(e)+" -> ":""
;if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null
;if(this.fragments){
let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0
;for(let a=this.fragments.nodeAt(r);a;){
let r=this.parser.nodeSet.types[a.type.id]==a.type?o.getGoto(e.state,a.type.id):-1
;if(r>-1&&a.length&&(!t||(a.prop(Qpe.contextHash)||0)==n))return e.useNode(a,r),
Pve&&console.log(i+this.stackID(e)+` (via reuse of ${o.getName(a.type.id)})`),!0
;if(!(a instanceof Xpe)||0==a.children.length||a.positions[0]>0)break
;let s=a.children[0];if(!(s instanceof Xpe&&0==a.positions[0]))break;a=s}}
let a=o.stateSlot(e.state,4)
;if(a>0)return e.reduce(a),Pve&&console.log(i+this.stackID(e)+` (via always-reduce ${o.getName(65535&a)})`),
!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););
let s=this.tokens.getActions(e);for(let l=0;l<s.length;){
let a=s[l++],c=s[l++],u=s[l++],d=l==s.length||!n,p=d?e:e.split(),h=this.tokens.mainToken
;if(p.apply(a,c,h?h.start:p.pos,u),
Pve&&console.log(i+this.stackID(p)+` (via ${65536&a?`reduce of ${o.getName(65535&a)}`:"shift"} for ${o.getName(c)} @ ${r}${p==e?"":", split"})`),
d)return!0;p.pos>r?t.push(p):n.push(p)}return!1}advanceFully(e,t){let n=e.pos
;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Ive(e,t),
!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i<e.length;i++){
let a=e[i],s=t[i<<1],l=t[1+(i<<1)],c=Pve?this.stackID(a)+" -> ":""
;if(a.deadEnd){if(o)continue
;if(o=!0,a.restart(),Pve&&console.log(c+this.stackID(a)+" (restarted)"),
this.advanceFully(a,n))continue}let u=a.split(),d=c
;for(let e=0;u.forceReduce()&&e<10;e++){
if(Pve&&console.log(d+this.stackID(u)+" (via force-reduce)"),
this.advanceFully(u,n))break;Pve&&(d=this.stackID(u)+" -> ")}
for(let e of a.recoverByInsert(s))Pve&&console.log(c+this.stackID(e)+" (via recover-insert)"),
this.advanceFully(e,n)
;this.stream.end>a.pos?(l==a.pos&&(l++,s=0),a.recoverByDelete(s,l),
Pve&&console.log(c+this.stackID(a)+` (via recover-delete ${this.parser.getName(s)})`),
Ive(a,n)):(!r||r.score<a.score)&&(r=a)}return r}stackToTree(e){return e.close(),
Xpe.build({buffer:Ove.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,
maxBufferLength:this.parser.bufferLength,reused:this.reused,
start:this.ranges[0].from,length:e.pos-this.ranges[0].from,
minRepeatType:this.parser.minRepeatTerm})}stackID(e){
let t=(Dve||(Dve=new WeakMap)).get(e)
;return t||Dve.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}
function Ive(e,t){for(let n=0;n<t.length;n++){let r=t[n]
;if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}
t.push(e)}class Lve{constructor(e,t,n){
this.source=e,this.flags=t,this.disabled=n}allows(e){
return!this.disabled||0==this.disabled[e]}}const jve=e=>e;class Bve{
constructor(e){
this.start=e.start,this.shift=e.shift||jve,this.reduce=e.reduce||jve,
this.reuse=e.reuse||jve,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}
class Qve extends mhe{constructor(e){
if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`)
;let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length
;for(let a=0;a<e.repeatNodeCount;a++)t.push("")
;let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),r=[]
;for(let a=0;a<t.length;a++)r.push([]);function o(e,t,n){
r[e].push([t,t.deserialize(String(n))])}
if(e.nodeProps)for(let a of e.nodeProps){let e=a[0]
;"string"==typeof e&&(e=Qpe[e]);for(let t=1;t<a.length;){let n=a[t++]
;if(n>=0)o(n,e,a[t++]);else{let r=a[t+-n];for(let i=-n;i>0;i--)o(a[t++],e,r);t++
}}}this.nodeSet=new qpe(t.map(((t,o)=>zpe.define({
name:o>=this.minRepeatTerm?void 0:t,id:o,props:r[o],top:n.indexOf(o)>-1,
error:0==o,skipped:e.skippedNodes&&e.skippedNodes.indexOf(o)>-1
})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),
this.strict=!1,this.bufferLength=Lpe;let i=yve(e.tokenData)
;this.context=e.context,
this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length)
;for(let a=0;a<this.specializerSpecs.length;a++)this.specialized[a]=this.specializerSpecs[a].term
;this.specializers=this.specializerSpecs.map(Fve),
this.states=yve(e.states,Uint32Array),
this.data=yve(e.stateData),this.goto=yve(e.goto),
this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new Sve(i,e):e)),
this.topRules=e.topRules,
this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,
this.tokenPrecTable=e.tokenPrec,
this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,
this.dialect=this.parseDialect(),
this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){
let r=new Mve(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}
getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){
let t=r[o++],i=1&t,a=r[o++];if(i&&n)return a
;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return a;if(i)return-1}}hasAction(e,t){
let n=this.data;for(let r=0;r<2;r++)for(let o,i=this.stateSlot(e,r?2:1);;i+=3){
if(65535==(o=n[i])){if(1!=n[i+1]){if(2==n[i+1])return Uve(n,i+2);break}
o=n[i=Uve(n,i+2)]}if(o==t||0==o)return Uve(n,i+1)}return 0}stateSlot(e,t){
return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}
validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){
let n=this.stateSlot(e,4),r=n?t(n):void 0
;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){
if(1!=this.data[o+1])break;o=Uve(this.data,o+2)}r=t(Uve(this.data,o+1))}return r
}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){
if(65535==this.data[n]){if(1!=this.data[n+1])break;n=Uve(this.data,n+2)}
if(!(1&this.data[n+2])){let e=this.data[n+1]
;t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){
let t=Object.assign(Object.create(Qve.prototype),this)
;if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){
let n=this.topRules[e.top]
;if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}
return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{
let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t
}))),e.specializers&&(t.specializers=this.specializers.slice(),
t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{
let o=e.specializers.find((e=>e.from==n.external));if(!o)return n
;let i=Object.assign(Object.assign({},n),{external:o.to})
;return t.specializers[r]=Fve(i),i
}))),e.contextTracker&&(t.context=e.contextTracker),
e.dialect&&(t.dialect=this.parseDialect(e.dialect)),
null!=e.strict&&(t.strict=e.strict),
e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),
null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){
return this.wrappers.length>0}getName(e){
return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)
}get eofTerm(){return this.maxNode+1}get topNode(){
return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){
let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){
let t=Object.keys(this.dialects),n=t.map((()=>!1))
;if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null
;for(let o=0;o<t.length;o++)if(!n[o])for(let e,n=this.dialects[t[o]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1
;return new Lve(e,n,r)}static deserialize(e){return new Qve(e)}}
function Uve(e,t){return e[t]|e[t+1]<<16}function Fve(e){if(e.external){
let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}
const zve=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288]
;function qve(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Hve(e){
return e>=48&&e<=57}const Vve=new Eve(((e,t)=>{for(let n=!1,r=0,o=0;;o++){
let{next:i}=e
;if(qve(i)||45==i||95==i||n&&Hve(i))!n&&(45!=i||o>0)&&(n=!0),r===o&&45==i&&r++,
e.advance();else{if(92!=i||10==e.peek(1)){
n&&e.acceptToken(40==i?100:2==r&&t.canShift(2)?2:101);break}
e.advance(),e.next>-1&&e.advance(),n=!0}}})),Zve=new Eve((e=>{
if(zve.includes(e.peek(-1))){let{next:t}=e
;(qve(t)||95==t||35==t||46==t||91==t||58==t&&qve(e.peek(1))||45==t||38==t)&&e.acceptToken(99)
}})),Wve=new Eve((e=>{if(!zve.includes(e.peek(-1))){let{next:t}=e
;if(37==t&&(e.advance(),e.acceptToken(1)),qve(t)){do{e.advance()
}while(qve(e.next)||Hve(e.next));e.acceptToken(1)}}})),Xve=Nhe({
"AtKeyword import charset namespace keyframes media supports":tfe.definitionKeyword,
"from to selector":tfe.keyword,NamespaceName:tfe.namespace,
KeyframeName:tfe.labelName,KeyframeRangeName:tfe.operatorKeyword,
TagName:tfe.tagName,ClassName:tfe.className,
PseudoClassName:tfe.constant(tfe.className),IdName:tfe.labelName,
"FeatureName PropertyName":tfe.propertyName,AttributeName:tfe.attributeName,
NumberLiteral:tfe.number,KeywordQuery:tfe.keyword,
UnaryQueryOp:tfe.operatorKeyword,"CallTag ValueName":tfe.atom,
VariableName:tfe.variableName,Callee:tfe.operatorKeyword,Unit:tfe.unit,
"UniversalSelector NestingSelector":tfe.definitionOperator,
MatchOp:tfe.compareOperator,"ChildOp SiblingOp, LogicOp":tfe.logicOperator,
BinOp:tfe.arithmeticOperator,Important:tfe.modifier,Comment:tfe.blockComment,
ColorLiteral:tfe.color,"ParenthesizedContent StringLiteral":tfe.string,
":":tfe.punctuation,"PseudoOp #":tfe.derefOperator,"; ,":tfe.separator,
"( )":tfe.paren,"[ ]":tfe.squareBracket,"{ }":tfe.brace}),Gve={__proto__:null,
lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,
"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,
regexp:60,selector:138},Yve={__proto__:null,"@import":118,"@media":142,
"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Kve={
__proto__:null,not:132,only:132},Jve=Qve.deserialize({version:14,
states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<<HdO9`QWO,5;^OOQP1G/Y1G/YOOQS-E8V-E8VO${QdO'#EZO9hQWO,5;ZOOQT1G.u1G.uOOQP<<Hd<<HdOOQS7+$k7+$kO9pQdO7+%]OOQO7+%d7+%dOOQO,5:k,5:kO3hQdO'#EaO7_QWO,5:zOOQS,5:z,5:zOOQS-E8^-E8^OOQS1G0U1G0UO9wQtO,5:wOOQS-E8Z-E8ZOOQO<<Ho<<HoOOQPAN>OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<<Hw<<HwOOQO,5:{,5:{OOQO-E8_-E8_OOQS1G0f1G0f",
stateData:";[~O#ZOS#[QQ~OUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XRO#bTO~OQfOUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XeO#bTO~O#U#gP~P!ZO#[jO~O#XlO~O]qO^qOqsOtoOxrO!OtO!RvO#VuO#bnO~O!TwO~P#pO`}O#WzO#XyO~O#X!OO~O#X!QO~OQ![Ob!TOf![Oh![On!YOq!ZO#W!WO#X!SO#e!UO~Ob!^O!d!`O!g!aO#X!]O!T#hP~Oh!fOn!YO#X!eO~Oh!hO#X!hO~Ob!^O!d!`O!g!aO#X!]O~O!Y#hP~P%jO]WX]!WX^WXqWXtWXxWX!OWX!RWX!TWX#VWX#bWX~O]!mO~O!Y!nO#U#gX!S#gX~O#U#gX!S#gX~P!ZO#]!qO#^!qO#_!sO~OUYOXYO]VO^VOqXOxWO#XRO#bTO~OtoO!TwO~O`!zO#WzO#XyO~O!S#gP~P!ZOb#RO~Ob#SO~Op#TO|#UO~OP#WObgXjgX!YgX!dgX!ggX#XgXagXQgXfgXhgXngXqgXtgX!XgX#UgX#WgX#egXpgX!SgX~Ob!^Oj#XO!d!`O!g!aO#X!]O!Y#hP~Ob#[O~Op#`O#X#]O~Ob!^O!d!`O!g!aO#X#aO~Ot#eO!b#dO!T#hX!Y#hX~Ob#hO~Oj#XO!Y#jO~O!Y#kO~Oh#lOn!YO~O!T#mO~O!TwO!b#dO~O!TwO!Y#pO~O!Y#QX#U#QX!S#QX~P!ZO!Y!nO#U#ga!S#ga~O#]!qO#^!qO#_#wO~O]qO^qOqsOxrO!OtO!RvO#VuO#bnO~Ot#Oa!T#Oaa#Oa~P.`Op#yO|#zO~O]qO^qOqsOxrO#bnO~Ot}i!O}i!R}i!T}i#V}ia}i~P/aOt!Pi!O!Pi!R!Pi!T!Pi#V!Pia!Pi~P/aOt!Qi!O!Qi!R!Qi!T!Qi#V!Qia!Qi~P/aO!S#{O~Oa#fP~P(aOa#cP~P${Oa$SOj#XO~O!Y$UO~Oh$VOo$VO~Op$XO#X#]O~O]!`Xa!^X!b!^X~O]$YO~Oa$ZO!b#dO~Ot#eO!T#ha!Y#ha~O!b#dOt!ca!T!ca!Y!caa!ca~O!Y$`O~O!S$gO#X$bO#e$aO~Oj#XOt$iO!X$kO!Y!Vi#U!Vi!S!Vi~P${O!Y#Qa#U#Qa!S#Qa~P!ZO!Y!nO#U#gi!S#gi~Oa#fX~P#pOa$oO~Oj#XOQ!{Xa!{Xb!{Xf!{Xh!{Xn!{Xq!{Xt!{X#W!{X#X!{X#e!{X~Ot$qOa#cX~P${Oa$sO~Oj#XOp$tO~Oa$uO~O!b#dOt#Ra!T#Ra!Y#Ra~Oa$wO~P.`OP#WOtgX!TgX~O#e$aOt!sX!T!sX~Ot$yO!TwO~O!S$}O#X$bO#e$aO~Oj#XOQ#PXb#PXf#PXh#PXn#PXq#PXt#PX!X#PX!Y#PX#U#PX#W#PX#X#PX#e#PX!S#PX~Ot$iO!X%QO!Y!Vq#U!Vq!S!Vq~P${Oj#XOp%RO~OtoOa#fa~Ot$qOa#ca~Oa%UO~P${Oj#XOQ#Pab#Paf#Pah#Pan#Paq#Pat#Pa!X#Pa!Y#Pa#U#Pa#W#Pa#X#Pa#e#Pa!S#Pa~Oa!}at!}a~P${O#Zo#[#ej!R#e~",
goto:"-g#jPPP#kP#nP#w$WP#w$g#wPP$mPPP$s$|$|P%`P$|P$|%z&^PPPP$|&vP&z'Q#wP'W#w'^P#wP#w#wPPP'd'y(WPP#nPP(_(_(i(_P(_P(_(_P#nP#nP#nP(l#nP(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+ZP+v+yP,o,r,x-RRkQ_bOPdhw!n#skYOPdhotuvw!n#R#h#skSOPdhotuvw!n#R#h#sQmTR!tnQ{VR!xqQ!x}Q#Z!XR#x!zq![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SU$d#m$f$yR$x$cq!XZ]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#x!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ${$eR%X$zSgPwQ!phQ#r!nR$l#sZfPhw!n#sa!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$e#m$fR%V$yV$c#m$f$yQ!rjR#v!rQdOShPwU!ldh#sR#s!nQ$P#SU$p$P$v%SQ$v$YR%S$qQ#_!ZR$W#_Q$r$PR%T$rQpUS!vp$nR$n#|Q$j#qR%P$jQ!ogS#t!o#uR#u!pQ#f!_R$^#fQ$f#mR$|$fQ$z$eR%W$z_cOPdhw!n#s^UOPdhw!n#sQ!uoQ!}tQ#OuQ#PvQ#|#RR$_#hR$Q#SQ!VZQ!d]Q#V!TQ#q!m[$O#S$P$Y$q$v%SQ$R#UQ$T#XS$h#q$jQ$m#zR%O$iR#}#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$[#dR$]#e",
nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",
maxTerm:117,
nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],
propSources:[Xve],skippedNodes:[0,3,87],repeatNodeCount:11,
tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!X[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYxQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QS|So`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!RQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#e[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",
tokenizers:[Zve,Wve,Vve,1,2,3,4,new _ve("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],
topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,
get:e=>Gve[e]||-1},{term:58,get:e=>Yve[e]||-1},{term:101,get:e=>Kve[e]||-1}],
tokenPrec:1200});let ebe=null;function tbe(){
if(!ebe&&"object"==typeof document&&document.body){
let{style:e}=document.body,t=[],n=new Set
;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))),
n.has(r)||(t.push(r),n.add(r)));ebe=t.sort().map((e=>({type:"property",label:e
})))}return ebe||[]}
const nbe=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map((e=>({
type:"class",label:e
}))),rbe=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((e=>({
type:"keyword",label:e
}))).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((e=>({
type:"constant",label:e
})))),obe=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((e=>({
type:"type",label:e}))),ibe=/^(\w[\w-]*|-\w[\w-]*|)$/,abe=/^-(-[\w-]*)?$/
;const sbe=new hhe,lbe=["Declaration"];function cbe(e){for(let t=e;;){
if(t.type.isTop)return t;if(!(t=t.parent))return e}}function ube(e,t,n){
if(t.to-t.from>4096){let r=sbe.get(t);if(r)return r
;let o=[],i=new Set,a=t.cursor(Zpe.IncludeAnonymous);if(a.firstChild())do{
for(let t of ube(e,a.node,n))i.has(t.label)||(i.add(t.label),o.push(t))
}while(a.nextSibling());return sbe.set(t,o),o}{let r=[],o=new Set
;return t.cursor().iterate((t=>{var i
;if(n(t)&&t.matchContext(lbe)&&":"==(null===(i=t.node.nextSibling)||void 0===i?void 0:i.name)){
let n=e.sliceString(t.from,t.to);o.has(n)||(o.add(n),r.push({label:n,
type:"variable"}))}})),r}}const dbe=(e=>t=>{
let{state:n,pos:r}=t,o=cfe(n).resolveInner(r,-1),i=o.type.isError&&o.from==o.to-1&&"-"==n.doc.sliceString(o.from,o.to)
;if("PropertyName"==o.name||(i||"TagName"==o.name)&&/^(Block|Styles)$/.test(o.resolve(o.to).name))return{
from:o.from,options:tbe(),validFor:ibe};if("ValueName"==o.name)return{
from:o.from,options:rbe,validFor:ibe};if("PseudoClassName"==o.name)return{
from:o.from,options:nbe,validFor:ibe};if(e(o)||(t.explicit||i)&&function(e,t){
var n
;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1
;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild
;return"Callee"==(null==r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)
}(o,n.doc))return{from:e(o)||i?o.from:r,options:ube(n.doc,cbe(o),e),validFor:abe
};if("TagName"==o.name){
for(let{parent:e}=o;e;e=e.parent)if("Block"==e.name)return{from:o.from,
options:tbe(),validFor:ibe};return{from:o.from,options:obe,validFor:ibe}}
if(!t.explicit)return null;let a=o.resolve(r),s=a.childBefore(r)
;return s&&":"==s.name&&"PseudoClassSelector"==a.name?{from:r,options:nbe,
validFor:ibe}:s&&":"==s.name&&"Declaration"==a.name||"ArgList"==a.name?{from:r,
options:rbe,validFor:ibe}:"Block"==a.name||"Styles"==a.name?{from:r,
options:tbe(),validFor:ibe}:null})((e=>"VariableName"==e.name)),pbe=lfe.define({
name:"css",parser:Jve.configure({props:[Efe.add({Declaration:Nfe()}),Lfe.add({
"Block KeyframeList":jfe})]}),languageData:{commentTokens:{block:{open:"/*",
close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function hbe(){
return new Ofe(pbe,pbe.data.of({autocomplete:dbe}))}
const fbe=20,mbe=22,gbe=23,vbe=24,bbe=26,Obe=27,ybe=28,wbe=31,kbe=34,xbe=37,Sbe={
area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,
keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},_be={
dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,
th:!0,tr:!0},Ebe={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{
option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,
blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,
h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,
pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{
tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{
tbody:!0,tfoot:!0},tr:{tr:!0}};function Tbe(e){return 9==e||10==e||13==e||32==e}
let Cbe=null,Abe=null,Pbe=0;function Dbe(e,t){let n=e.pos+t
;if(Pbe==n&&Abe==e)return Cbe;let r=e.peek(t);for(;Tbe(r);)r=e.peek(++t)
;let o=""
;for(;45==(i=r)||46==i||58==i||i>=65&&i<=90||95==i||i>=97&&i<=122||i>=161;)o+=String.fromCharCode(r),
r=e.peek(++t);var i
;return Abe=e,Pbe=n,Cbe=o?o.toLowerCase():r==$be||r==Rbe?void 0:null}
const $be=63,Rbe=33;function Nbe(e,t){this.name=e,this.parent=t}
const Mbe=[6,10,7,8,9],Ibe=new Bve({start:null,
shift:(e,t,n,r)=>Mbe.indexOf(t)>-1?new Nbe(Dbe(r,1)||"",e):e,
reduce:(e,t)=>t==fbe&&e?e.parent:e,reuse(e,t,n,r){let o=t.type.id
;return 6==o||36==o?new Nbe(Dbe(r,1)||"",e):e},strict:!1}),Lbe=new Eve(((e,t)=>{
if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance()
;let n=47==e.next;n&&e.advance();let r=Dbe(e,0);if(void 0===r)return
;if(!r)return e.acceptToken(n?14:6);let o=t.context?t.context.name:null;if(n){
if(r==o)return e.acceptToken(11);if(o&&_be[o])return e.acceptToken(57,-2)
;if(t.dialectEnabled(0))return e.acceptToken(12)
;for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{
if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8)
;if("textarea"==r)return e.acceptToken(9)
;if(Sbe.hasOwnProperty(r))return e.acceptToken(10)
;o&&Ebe[o]&&Ebe[o][r]?e.acceptToken(57,-1):e.acceptToken(6)}}),{contextual:!0
}),jbe=new Eve((e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(58)
;break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>=3&&e.acceptToken(58,-2)
;break}t=0}e.advance()}}));const Bbe=new Eve(((e,t)=>{
if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){
for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context)
;e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)}))
;function Qbe(e,t,n){let r=2+e.length;return new Eve((o=>{
for(let i=0,a=0,s=0;;s++){if(o.next<0){s&&o.acceptToken(t);break}
if(0==i&&60==o.next||1==i&&47==o.next||i>=2&&i<r&&o.next==e.charCodeAt(i-2))i++,
a++;else if(2!=i&&i!=r||!Tbe(o.next)){if(i==r&&62==o.next){
s>a?o.acceptToken(t,-a):o.acceptToken(n,-(a-2));break}
if((10==o.next||13==o.next)&&s){o.acceptToken(t,1);break}i=a=0}else a++
;o.advance()}}))}
const Ube=Qbe("script",54,1),Fbe=Qbe("style",55,2),zbe=Qbe("textarea",56,3),qbe=Nhe({
"Text RawText":tfe.content,
"StartTag StartCloseTag SelfClosingEndTag EndTag":tfe.angleBracket,
TagName:tfe.tagName,"MismatchedCloseTag/TagName":[tfe.tagName,tfe.invalid],
AttributeName:tfe.attributeName,
"AttributeValue UnquotedAttributeValue":tfe.attributeValue,
Is:tfe.definitionOperator,"EntityReference CharacterReference":tfe.character,
Comment:tfe.blockComment,ProcessingInst:tfe.processingInstruction,
DoctypeDecl:tfe.documentMeta}),Hbe=Qve.deserialize({version:14,
states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",
stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",
goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",
nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
maxTerm:67,context:Ibe,
nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],
propSources:[qbe],skippedNodes:[0],repeatNodeCount:9,
tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",
tokenizers:[Ube,Fbe,zbe,Bbe,Lbe,jbe,0,1,2,3,4,5],topRules:{Document:[0,15]},
dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function Vbe(e,t){
let n=Object.create(null);for(let r of e.getChildren(gbe)){
let e=r.getChild(vbe),o=r.getChild(bbe)||r.getChild(Obe)
;e&&(n[t.read(e.from,e.to)]=o?o.type.id==bbe?t.read(o.from+1,o.to-1):t.read(o.from,o.to):"")
}return n}function Zbe(e,t){let n=e.getChild(mbe)
;return n?t.read(n.from,n.to):" "}function Wbe(e,t,n){let r
;for(let o of n)if(!o.attrs||o.attrs(r||(r=Vbe(e.node.parent.firstChild,t))))return{
parser:o.parser};return null}function Xbe(e=[],t=[]){let n=[],r=[],o=[],i=[]
;for(let l of e){
("script"==l.tag?n:"style"==l.tag?r:"textarea"==l.tag?o:i).push(l)}
let a=t.length?Object.create(null):null
;for(let l of t)(a[l.name]||(a[l.name]=[])).push(l);return s=(e,t)=>{
let s=e.type.id;if(s==ybe)return Wbe(e,t,n);if(s==wbe)return Wbe(e,t,r)
;if(s==kbe)return Wbe(e,t,o);if(s==fbe&&i.length){
let n,r=e.node,o=r.firstChild,a=o&&Zbe(o,t)
;if(a)for(let e of i)if(e.tag==a&&(!e.attrs||e.attrs(n||(n=Vbe(o,t))))){
let t=r.lastChild,n=t.type.id==xbe?t.from:r.to;if(n>o.to)return{parser:e.parser,
overlay:[{from:o.to,to:n}]}}}if(a&&s==gbe){let n,r=e.node;if(n=r.firstChild){
let e=a[t.read(n.from,n.to)];if(e)for(let n of e){
if(n.tagName&&n.tagName!=Zbe(r.parent,t))continue;let e=r.lastChild
;if(e.type.id==bbe){let t=e.from+1,r=e.lastChild,o=e.to-(r&&r.isError?0:1)
;if(o>t)return{parser:n.parser,overlay:[{from:t,to:o}]}
}else if(e.type.id==Obe)return{parser:n.parser,overlay:[{from:e.from,to:e.to}]}}
}}return null},(e,t,n,r)=>new whe(e,s,t,n,r);var s}
const Gbe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Ybe=new Bve({
start:!1,shift:(e,t)=>5==t||6==t||315==t?e:316==t,strict:!1
}),Kbe=new Eve(((e,t)=>{let{next:n}=e
;(125==n||-1==n||t.context)&&e.acceptToken(313)}),{contextual:!0,fallback:!0
}),Jbe=new Eve(((e,t)=>{let n,{next:r}=e
;Gbe.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(312))
}),{contextual:!0}),eOe=new Eve(((e,t)=>{let{next:n}=e;if(43==n||45==n){
if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1)
;e.acceptToken(n?1:2)}
}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))
}),{contextual:!0});function tOe(e,t){
return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}
const nOe=new Eve(((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return
;if(e.advance(),47==e.next)return;let n=0
;for(;Gbe.indexOf(e.next)>-1;)e.advance(),n++;if(tOe(e.next,!0)){
for(e.advance(),n++;tOe(e.next,!1);)e.advance(),n++
;for(;Gbe.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return
;for(let t=0;;t++){if(7==t){if(!tOe(e.next,!0))return;break}
if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)
})),rOe=Nhe({"get set async static":tfe.modifier,
"for while do if else switch try catch finally return throw break continue default case":tfe.controlKeyword,
"in of await yield void typeof delete instanceof":tfe.operatorKeyword,
"let var const using function class extends":tfe.definitionKeyword,
"import export from":tfe.moduleKeyword,"with debugger as new":tfe.keyword,
TemplateString:tfe.special(tfe.string),super:tfe.atom,BooleanLiteral:tfe.bool,
this:tfe.self,null:tfe.null,Star:tfe.modifier,VariableName:tfe.variableName,
"CallExpression/VariableName TaggedTemplateExpression/VariableName":tfe.function(tfe.variableName),
VariableDefinition:tfe.definition(tfe.variableName),Label:tfe.labelName,
PropertyName:tfe.propertyName,PrivatePropertyName:tfe.special(tfe.propertyName),
"CallExpression/MemberExpression/PropertyName":tfe.function(tfe.propertyName),
"FunctionDeclaration/VariableDefinition":tfe.function(tfe.definition(tfe.variableName)),
"ClassDeclaration/VariableDefinition":tfe.definition(tfe.className),
PropertyDefinition:tfe.definition(tfe.propertyName),
PrivatePropertyDefinition:tfe.definition(tfe.special(tfe.propertyName)),
UpdateOp:tfe.updateOperator,"LineComment Hashbang":tfe.lineComment,
BlockComment:tfe.blockComment,Number:tfe.number,String:tfe.string,
Escape:tfe.escape,ArithOp:tfe.arithmeticOperator,LogicOp:tfe.logicOperator,
BitOp:tfe.bitwiseOperator,CompareOp:tfe.compareOperator,RegExp:tfe.regexp,
Equals:tfe.definitionOperator,Arrow:tfe.function(tfe.punctuation),
": Spread":tfe.punctuation,"( )":tfe.paren,"[ ]":tfe.squareBracket,
"{ }":tfe.brace,"InterpolationStart InterpolationEnd":tfe.special(tfe.brace),
".":tfe.derefOperator,", ;":tfe.separator,"@":tfe.meta,TypeName:tfe.typeName,
TypeDefinition:tfe.definition(tfe.typeName),
"type enum interface implements namespace module declare":tfe.definitionKeyword,
"abstract global Privacy readonly override":tfe.modifier,
"is keyof unique infer":tfe.operatorKeyword,
JSXAttributeValue:tfe.attributeValue,JSXText:tfe.content,
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":tfe.angleBracket,
"JSXIdentifier JSXNameSpacedName":tfe.tagName,
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":tfe.attributeName,
"JSXBuiltin/JSXIdentifier":tfe.standard(tfe.tagName)}),oOe={__proto__:null,
export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,
true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,
yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,
instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,
infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,
interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,
of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,
catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538
},iOe={__proto__:null,async:123,get:125,set:127,declare:189,public:191,
private:191,protected:191,static:193,abstract:195,override:197,readonly:203,
accessor:205,new:395},aOe={__proto__:null,"<":187},sOe=Qve.deserialize({
version:14,
states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOO<nQWO'#HRO>VQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-E<f-E<fO9^QWO,5=[O!$VQWO,5=[O!$[Q^O,5;WO!&_Q7[O'#EhO!'xQWO,5;WO!'}Q^O'#DvO!(XQ`O,5;aO!(aQ`O,5;aO%[Q^O,5;aOOQU'#FS'#FSOOQU'#FU'#FUO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bOOQU'#FY'#FYO!(oQ^O,5;sOOQ?Mr,5;x,5;xOOQ?Mr,5;y,5;yOOQ?Mr,5;{,5;{O%[Q^O'#IlO!*rQ?MxO,5<gO%[Q^O,5;bO!&_Q7[O,5;bO!+aQ7[O,5;bO!-RQ7[O'#EZO%[Q^O,5;vOOQ?Mr,5;z,5;zO!-YQ&jO'#FiO!.VQ&jO'#KSO!-qQ&jO'#KSO!.^Q&jO'#KSOOQO'#KS'#KSO!.rQ&jO,5<ROOOS,5<_,5<_O!/TQ^O'#FuOOOS'#Ik'#IkO7VO,YO,5<PO!/[Q&jO'#FwOOQ?Mr,5<P,5<PO!/{Q!LQO'#CvOOQ?Mr'#Cz'#CzO!0`O!0LbO'#DOO!0|Q7[O,5<dO!1TQWO,5<fO!2pQ$ISO'#GVO!2}QWO'#GWO!3SQWO'#GWO!4rQ$ISO'#G[O!5nQ`O'#G`OOQO'#Gk'#GkO!+hQ7[O'#GjOOQO'#Gm'#GmO!+hQ7[O'#GlO!6aQ!LQO'#JgOOQ?Mr'#Jg'#JgO!6kQWO'#JfO!6yQWO'#JeO!7RQWO'#CuOOQ?Mr'#Cx'#CxO!7ZQWO'#CzOOQ?Mr'#DS'#DSOOQ?Mr'#DU'#DUO1SQWO'#DWO!+hQ7[O'#F}O!+hQ7[O'#GPO!7`QWO'#GRO!7eQWO'#GSO!3SQWO'#GYO!+hQ7[O'#G_O!7jQWO'#EnO!8XQWO,5<eOOQ?Mp'#Cr'#CrO!8aQWO'#EoO!9ZQ`O'#EpOOQ?Mp'#J|'#J|O!9bQ?MxO'#K]O9hQ?MxO,5=`O`Q^O,5>pOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-E<X-E<XO!;aQ?NdO,5:_O!9UQ`O,5:]O!=zQ?NdO,5:gO%[Q^O,5:gO!@bQ?NdO,5:iOOQO,5@v,5@vO!ARQ7[O,5=[O!AaQ?MxO'#JdO9RQWO'#JdO!ArQ?MxO,59ZO!A}Q`O,59ZO!BVQ7[O,59ZO:VQ7[O,59ZO!BbQWO,5;WO!BjQWO'#H^O!COQWO'#K`O%[Q^O,5;|O!9UQ`O,5<OO!CWQWO,5=wO!C]QWO,5=wO!CbQWO,5=wO9hQ?MxO,5=wO;wQWO,5=gOOQO'#Cv'#CvO!CpQ`O,5=dO!CxQ7[O,5=eO!DTQWO,5=gO!DYQpO,5=jO!DbQWO'#K[O>tQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-E<b-E<bO#(XQ?NQO,5;OOCrQ`O,5:oO#(cQ`O,5:oOCrQ`O,5;OO!ArQ?MxO,5:oOOQ?Mp'#Eg'#EgOOQO,5;O,5;OO%[Q^O,5;OO#(pQ?MxO,5;OO#({Q?MxO,5;OO!A}Q`O,5:oOOQO,5;U,5;UO#)ZQ?MxO,5;OPOOO'#IY'#IYP#)oO#@ItO,58|POOO,58|,58|OOOO-E<Y-E<YOOQ?Mr1G.p1G.pOOOO-E<Z-E<ZO#)zQpO,59zOOOO-E<]-E<]OOQ?Mr1G/d1G/dO#*PQrO,5>zO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-E<d-E<dO#*wQWO,5@iOOQ?Mp1G0u1G0uOOQ?Mv1G/u1G/uOOQ?Mv1G0V1G0VO%[Q^O,5@gO#+eQ?MxO,5@gO#+vQ?MxO,5@gO#+}QWO,5@fO9WQWO,5@fO#,VQWO,5@fO#,eQWO'#IiO#+}QWO,5@fOOQ?Mp1G0t1G0tO!(XQ`O,5:rO!(dQ`O,5:rOOQQ,5:t,5:tO#-VQYO,5:tO#-_Q7[O1G2vO9^QWO1G2vOOQ?Mr1G0r1G0rO#-mQ?NdO1G0rO#.rQ?NbO,5;SOOQ?Mr'#GU'#GUO#/`Q?NdO'#JgO!$[Q^O1G0rO#1hQrO'#JrO%[Q^O'#JrO#1rQWO,5:bOOQ?Mr'#D['#D[OOQ?Mr1G0{1G0{O%[Q^O1G0{OOQ?Mr1G1e1G1eO#1wQWO1G0{O#4]Q?NdO1G0|O#4dQ?NdO1G0|O#6zQ?NdO1G0|O#7RQ?NdO1G0|O#9iQ?NdO1G0|O#<PQ?NdO1G0|O#<WQ?NdO1G0|O#<_Q?NdO1G0|O#>uQ?NdO1G0|O#>|Q?NdO1G0|O#AZQ07bO'#CiO#CUQ07bO1G1_O#C]Q07bO'#JnO#CpQ?NdO,5?WOOQ?Mp-E<j-E<jO#E}Q?NdO1G0|O#FzQ?NdO1G0|OOQ?Mr1G0|1G0|O#GzQ7[O'#JwO#HUQWO,5:uO#HZQ?NdO1G1bO#H}Q&jO,5<VO#IVQ&jO,5<WO#I_Q&jO'#FnO#IvQWO'#FmOOQO'#KT'#KTOOQO'#Ij'#IjO#I{Q&jO1G1mOOQ?Mr1G1m1G1mOOOS1G1x1G1xO#J^Q07bO'#JmO#JhQWO,5<aO!(oQ^O,5<aOOOS-E<i-E<iOOQ?Mr1G1k1G1kO#JmQ`O'#KSOOQ?Mr,5<c,5<cO#JuQ`O,5<cO!&_Q7[O'#DQOOOO'#I^'#I^O#JzO!0LbO,59jOOQ?Mr,59j,59jO%[Q^O1G2OO!7eQWO'#InO#KVQ7[O,5<xOOQ?Mr,5<u,5<uO!+hQ7[O'#IqO#KuQ7[O,5=UO!+hQ7[O'#IsO#LhQ7[O,5=WO!&_Q7[O,5=YOOQO1G2Q1G2QO#LrQpO'#CrO#MVQ$ISO'#EoO#NUQ`O'#G`O#NrQpO,5<qO#NyQWO'#KWO9WQWO'#KWO$ XQWO,5<sO!+hQ7[O,5<rO$ ^QWO'#GXO$ oQWO,5<rO$ tQpO'#GUO$!RQpO'#KXO$!]QWO'#KXO!&_Q7[O'#KXO$!bQWO,5<vO$!gQ`O'#GaO!5iQ`O'#GaO$!xQWO'#GcO$!}QWO'#GeO!3SQWO'#GhO$#SQ?MxO'#IpO$#_Q`O,5<zOOQ?Mv,5<z,5<zO$#fQ`O'#GaO$#tQ`O'#GbO$#|Q`O'#GbO$$RQ7[O,5=UO$$cQ7[O,5=WOOQ?Mr,5=Z,5=ZO!+hQ7[O,5@QO!+hQ7[O,5@QO$$sQWO'#IuO$%OQWO,5@PO$%WQWO,59aOOQ?Mr,59f,59fO$%zQ!LSO,59rOOQ?Mr'#Jk'#JkO$&mQ7[O,5<iO$'`Q7[O,5<kO@fQWO,5<mOOQ?Mr,5<n,5<nO$'jQWO,5<tO$'oQ7[O,5<yO$(PQWO'#JzO!$[Q^O1G2PO$(UQWO1G2PO9WQWO'#J}O9WQWO'#EqO%[Q^O'#EqO9WQWO'#IwO$(ZQ?MxO,5@wOOQU1G2z1G2zOOQU1G4[1G4[OOQ?Mr1G/y1G/yOOQ?Mr1G/w1G/wO$*]Q?NdO1G0ROOQU1G2v1G2vO!&_Q7[O1G2vO%[Q^O1G2vO#-bQWO1G2vO$,aQ7[O'#EhOOQ?Mp,5@O,5@OO$,kQ?MxO,5@OOOQU1G.u1G.uO!ArQ?MxO1G.uO!A}Q`O1G.uO!BVQ7[O1G.uO$,|QWO1G0rO$-RQWO'#CiO$-^QWO'#KaO$-fQWO,5=xO$-kQWO'#KaO$-pQWO'#KaO$.OQWO'#I}O$.^QWO,5@zO$.fQrO1G1hOOQ?Mr1G1j1G1jO9^QWO1G3cO@fQWO1G3cO$.mQWO1G3cO$.rQWO1G3cOOQU1G3c1G3cO!DTQWO1G3RO!&_Q7[O1G3OO$.wQWO1G3OOOQU1G3P1G3PO!&_Q7[O1G3PO$.|QWO1G3PO$/UQ`O'#G}OOQU1G3R1G3RO!5iQ`O'#IyO!DYQpO1G3UOOQU1G3U1G3UOOQU,5=o,5=oO$/^Q7[O,5=qO9^QWO,5=qO$!}QWO,5=sO9RQWO,5=sO!A}Q`O,5=sO!BVQ7[O,5=sO:VQ7[O,5=sO$/lQWO'#K_O$/wQWO,5=tOOQU1G.k1G.kO$/|Q?MxO1G.kO@fQWO1G.kO$0XQWO1G.kO9hQ?MxO1G.kO$2aQrO,5@|O$2nQWO,5@|O9WQWO,5@|O$2yQ^O,5={O$3QQWO,5={OOQU1G3e1G3eO`Q^O1G3eOOQU1G3k1G3kOOQU1G3m1G3mO>oQWO1G3oO$3VQ^O1G3qO$7ZQ^O'#HpOOQU1G3t1G3tO$7hQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$7pQ^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$;wQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$;|Q07bO,5:UOOQO,5;],5;]O$<WQ`O'#IaO$<nQWO,5@[OOQ?Mr1G/o1G/oO$<vQ`O'#IgO$=QQWO,5@kOOQ?Mp1G0v1G0vO#!|Q`O,5:UOOQO'#Ic'#IcO$=YQ`O,5:nOOQ?Mv,5:n,5:nO#&wQWO1G0WOOQ?Mr1G0W1G0WO%[Q^O1G0WOOQ?Mr1G0q1G0qO>tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$=aQ?MxO1G0jO$=lQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$=zQ?MxO1G0jOOQO1G0Z1G0ZO$>`Q?NdO1G0jPOOO-E<W-E<WPOOO1G.h1G.hOOOO1G/f1G/fO$>jQpO,5<gO$>rQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$>|QWO1G5uO$?UQWO1G6TO$?^QrO1G6UO9WQWO,5?QO$?hQ?NdO1G6RO%[Q^O1G6RO$?xQ?MxO1G6RO$@ZQWO1G6QO$@ZQWO1G6QO9WQWO1G6QO$@cQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$@wQWO,5?TO$(PQWO,5?TOOQO-E<g-E<gOOQQ1G0^1G0^OOQQ1G0`1G0`O#-YQWO1G0`OOQU7+(b7+(bO!&_Q7[O7+(bO%[Q^O7+(bO$AVQWO7+(bO$AbQ7[O7+(bO$ApQ?NdO,5=UO$CxQ?NdO,5=WO$FQQ?NdO,5=UO$H`Q?NdO,5=WO$JnQ?NdO,59rO$LsQ?NdO,5<iO$N{Q?NdO,5<kO%#TQ?NdO,5<yOOQ?Mr7+&^7+&^O%%cQ?NdO7+&^O%&VQ^O'#IbO%&dQWO,5@^O%&lQrO,5@^OOQ?Mr1G/|1G/|O%&vQWO7+&gOOQ?Mr7+&g7+&gO%&{Q07bO,5:cO%[Q^O7+&yO%'VQ07bO,5:_O%'dQ07bO,5:gO%'nQ07bO,5:iO%'xQ7[O'#IeO%(SQWO,5@cOOQ?Mr1G0a1G0aOOQO1G1q1G1qOOQO1G1r1G1rO%([QtO,5<YO!(oQ^O,5<XOOQO-E<h-E<hOOQ?Mr7+'X7+'XOOOS7+'d7+'dOOOS1G1{1G1{O%(gQWO1G1{OOQ?Mr1G1}1G1}O%(lQpO,59lOOOO-E<[-E<[OOQ?Mr1G/U1G/UO%(sQ?NdO7+'jOOQ?Mr,5?Y,5?YO%)gQpO,5?YOOQ?Mr1G2d1G2dP!&_Q7[O'#InPOQ?Mr-E<l-E<lO%*VQ7[O,5?]OOQ?Mr-E<o-E<oO%*xQ7[O,5?_OOQ?Mr-E<q-E<qO%+SQpO1G2tO%+ZQpO'#CrO%+qQ7[O'#J}O%+xQ^O'#EqOOQ?Mr1G2]1G2]O%,SQWO'#ImO%,hQWO,5@rO%,hQWO,5@rO%,pQWO,5@rO%,{QWO,5@rOOQO1G2_1G2_O%-ZQ7[O1G2^O!+hQ7[O1G2^O%-kQ$ISO'#IoO%-xQWO,5@sO!&_Q7[O,5@sO%.QQpO,5@sOOQ?Mr1G2b1G2bOOQ?Mp,5<{,5<{OOQ?Mp,5<|,5<|O$(PQWO,5<|OCcQWO,5<|O!A}Q`O,5<{OOQO'#Gd'#GdO%.[QWO,5<}OOQ?Mp,5=P,5=PO$(PQWO,5=SOOQO,5?[,5?[OOQO-E<n-E<nOOQ?Mv1G2f1G2fO!5iQ`O,5<{O%.dQWO,5<|O$!xQWO,5<}O%.oQ`O,5<|O!+hQ7[O'#IqO%/`Q7[O1G2pO!+hQ7[O'#IsO%0RQ7[O1G2rO%0]Q7[O1G5lO%0gQ7[O1G5lOOQO,5?a,5?aOOQO-E<s-E<sOOQO1G.{1G.{O!9UQ`O,59tO%[Q^O,59tOOQ?Mr,5<h,5<hO%0tQWO1G2XO!+hQ7[O1G2`O%0yQ?NdO7+'kOOQ?Mr7+'k7+'kO!$[Q^O7+'kO%1mQWO,5;]OOQ?Mp,5?c,5?cOOQ?Mp-E<u-E<uO%1rQpO'#KYO#&wQWO7+(bO4UQrO7+(bO$AYQWO7+(bO%1|Q?NbO'#CiO%2aQ?NbO,5=QO%3RQWO,5=QOOQ?Mp1G5j1G5jOOQU7+$a7+$aO!ArQ?MxO7+$aO!A}Q`O7+$aO!$[Q^O7+&^O%3WQWO'#I|O%3oQWO,5@{OOQO1G3d1G3dO9^QWO,5@{O%3oQWO,5@{O%3wQWO,5@{OOQO,5?i,5?iOOQO-E<{-E<{OOQ?Mr7+'S7+'SO%3|QWO7+(}O9hQ?MxO7+(}O9^QWO7+(}O@fQWO7+(}OOQU7+(m7+(mO%4RQ?NbO7+(jO!&_Q7[O7+(jO%4]QpO7+(kOOQU7+(k7+(kO!&_Q7[O7+(kO%4dQWO'#K^O%4oQWO,5=iOOQO,5?e,5?eOOQO-E<w-E<wOOQU7+(p7+(pO%6RQ`O'#HWOOQU1G3]1G3]O!&_Q7[O1G3]O%[Q^O1G3]O%6YQWO1G3]O%6eQ7[O1G3]O9hQ?MxO1G3_O$!}QWO1G3_O9RQWO1G3_O!A}Q`O1G3_O!BVQ7[O1G3_O%6sQWO'#I{O%7XQWO,5@yO%7aQ`O,5@yOOQ?Mp1G3`1G3`OOQU7+$V7+$VO@fQWO7+$VO9hQ?MxO7+$VO%7lQWO7+$VO%[Q^O1G6hO%[Q^O1G6iO%7qQ?MxO1G6hO%7{Q^O1G3gO%8SQWO1G3gO%8XQ^O1G3gOOQU7+)P7+)PO9hQ?MxO7+)ZO`Q^O7+)]OOQU'#Kd'#KdOOQU'#JO'#JOO%8`Q^O,5>[OOQU,5>[,5>[O%[Q^O'#HqO%8mQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%8rQ`O1G5wO%9WQ07bO1G0wO%9bQWO1G0wOOQO1G/p1G/pO%9mQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-E<e-E<eO!A}Q`O1G/pOOQO-E<a-E<aOOQ?Mv1G0Y1G0YOOQ?Mr7+%r7+%rO#&wQWO7+%rOOQ?Mr7+&]7+&]O>tQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$>`Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%9wQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%:SQ?MxO7+&UO%:bQ?NdO7++mO%[Q^O7++mO%:rQWO7++lO%:rQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%:zQWO1G4oOOQQ7+%z7+%zO#&wQWO<<K|O4UQrO<<K|O%;YQWO<<K|OOQU<<K|<<K|O!&_Q7[O<<K|O%[Q^O<<K|O%;bQWO<<K|O%;mQ?NdO,5?]O%=uQ?NdO,5?_O%?}Q?NdO1G2^O%B]Q?NdO1G2pO%DeQ?NdO1G2rO%FmQrO,5>|O%[Q^O,5>|OOQO-E<`-E<`O%FwQWO1G5xOOQ?Mr<<JR<<JRO%GPQ07bO1G0rO%IWQ07bO1G0|O%I_Q07bO1G0|O%K`Q07bO1G0|O%KgQ07bO1G0|O%MhQ07bO1G0|O& iQ07bO1G0|O& pQ07bO1G0|O& wQ07bO1G0|O&#xQ07bO1G0|O&$PQ07bO1G0|O&$WQ?NdO<<JeO&&OQ07bO1G0|O&&{Q07bO1G0|O&'{Q07bO'#JgO&*OQ07bO1G1bO&*]Q07bO1G0RO&*gQ7[O,5?POOQO-E<c-E<cO!(oQ^O'#FpOOQO'#KU'#KUOOQO1G1t1G1tO&*qQWO1G1sO&*vQ07bO,5?WOOOS7+'g7+'gOOOO1G/W1G/WOOQ?Mr1G4t1G4tO!+hQ7[O7+(`O&-WQrO'#CiO&-bQWO,5?XO9WQWO,5?XOOQO-E<k-E<kO&-pQWO1G6^O&-pQWO1G6^O&-xQWO1G6^O&.TQ7[O7+'xO&.eQpO,5?ZO&.oQWO,5?ZO!&_Q7[O,5?ZOOQO-E<m-E<mO&.tQpO1G6_O&/OQWO1G6_OOQ?Mp1G2h1G2hO$(PQWO1G2hOOQ?Mp1G2g1G2gO&/WQWO1G2iO!&_Q7[O1G2iOOQ?Mp1G2n1G2nO!A}Q`O1G2gOCcQWO1G2hO&/]QWO1G2iO&/eQWO1G2hO$!xQWO1G2iO&0XQ7[O,5?]OOQ?Mr-E<p-E<pO&0zQ7[O,5?_OOQ?Mr-E<r-E<rO!+hQ7[O7++WOOQ?Mr1G/`1G/`O&1UQWO1G/`OOQ?Mr7+'s7+'sO&1ZQ7[O7+'zO&1kQ?NdO<<KVOOQ?Mr<<KV<<KVO&2_QWO1G0wO!&_Q7[O'#IvO&2dQWO,5@tO&4fQrO<<K|O!&_Q7[O1G2lOOQU<<G{<<G{O!ArQ?MxO<<G{O&4mQ?NdO<<IxOOQ?Mr<<Ix<<IxOOQO,5?h,5?hO&5aQWO,5?hO&5fQWO,5?hOOQO-E<z-E<zO&5tQWO1G6gO&5tQWO1G6gO9^QWO1G6gO@fQWO<<LiOOQU<<Li<<LiO&5|QWO<<LiO9hQ?MxO<<LiOOQU<<LU<<LUO%4RQ?NbO<<LUOOQU<<LV<<LVO%4]QpO<<LVO&6RQ`O'#IxO&6^QWO,5@xO!(oQ^O,5@xOOQU1G3T1G3TO%+xQ^O'#JqOOQO'#Iz'#IzO9hQ?MxO'#IzO&6fQ`O,5=rOOQU,5=r,5=rO&6mQ`O'#EdO&7RQ`O'#GcO&7WQWO7+(wO&7]QWO7+(wOOQU7+(w7+(wO!&_Q7[O7+(wO%[Q^O7+(wO&7eQWO7+(wOOQU7+(y7+(yO9hQ?MxO7+(yO$!}QWO7+(yO9RQWO7+(yO!A}Q`O7+(yO&7pQWO,5?gOOQO-E<y-E<yOOQO'#HZ'#HZO&7{QWO1G6eO9hQ?MxO<<GqOOQU<<Gq<<GqO@fQWO<<GqO&8TQWO7+,SO&8YQWO7+,TO%[Q^O7+,SO%[Q^O7+,TOOQU7+)R7+)RO&8_QWO7+)RO&8dQ^O7+)RO&8kQWO7+)ROOQU<<Lu<<LuOOQU<<Lw<<LwOOQU-E<|-E<|OOQU1G3v1G3vO&8pQWO,5>]OOQU,5>_,5>_O&8uQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&8zQ07bO1G6UO>tQWO7+%[OOQ?Mr<<I^<<I^OOQ?Mr<<Iw<<IwO>tQWO<<IwOOQO<<Ip<<IpO$>`Q?NdO<<IpO%[Q^O<<IpOOQO<<Ia<<IaO!ArQ?MxO<<IaO&9UQ?MxO<<IpO&9aQ?NdO<= XO&9qQWO<= WOOQO7+*Z7+*ZO9WQWO7+*ZOOQUANAhANAhO&9yQrOANAhO!&_Q7[OANAhO#&wQWOANAhO4UQrOANAhO&:QQWOANAhO%[Q^OANAhO&:YQ?NdO7+'xO&<hQ?NdO,5?]O&>pQ?NdO,5?_O&@xQ?NdO7+'zO&CWQrO1G4hO&CbQ07bO7+&^O&EcQ07bO,5=UO&GgQ07bO,5=WO&GwQ07bO,5=UO&HXQ07bO,5=WO&HiQ07bO,59rO&JlQ07bO,5<iO&LlQ07bO,5<kO&N}Q07bO,5<yO'!pQ07bO7+'jO'!}Q07bO7+'kO'#[QWO,5<[OOQO7+'_7+'_O'#aQ7[O<<KzOOQO1G4s1G4sO'#hQWO1G4sO'#sQWO1G4sO'$RQWO7++xO'$RQWO7++xO!&_Q7[O1G4uO'$ZQpO1G4uO'$eQWO7++yOOQ?Mp7+(S7+(SO'$mQWO7+(TO'$xQpO7+(TOOQ?Mp7+(R7+(RO$(PQWO7+(SO'%PQWO7+(TO!&_Q7[O7+(TOCcQWO7+(SO'%UQWO7+(TO'%^Q7[O<<NrOOQ?Mr7+$z7+$zO'%hQpO,5?bOOQO-E<t-E<tO'%rQ?NbO7+(WOOQUAN=gAN=gO9^QWO1G5SOOQO1G5S1G5SO'&SQWO1G5SO'&XQWO7+,RO'&XQWO7+,RO9hQ?MxOANBTO@fQWOANBTOOQUANBTANBTOOQUANApANApOOQUANAqANAqO'&aQWO,5?dOOQO-E<v-E<vO'&lQ07bO1G6dOOQO,5?f,5?fOOQO-E<x-E<xOOQU1G3^1G3^O%+xQ^O,5<}O'&vQWO,5<}OOQU<<Lc<<LcO!&_Q7[O<<LcO&7WQWO<<LcO'&{QWO<<LcO%[Q^O<<LcOOQU<<Le<<LeO9hQ?MxO<<LeO$!}QWO<<LeO9RQWO<<LeO''TQ`O1G5RO''`QWO7+,POOQUAN=]AN=]O9hQ?MxOAN=]OOQU<= n<= nOOQU<= o<= oO''hQWO<= nO''mQWO<= oOOQU<<Lm<<LmO''rQWO<<LmO''wQ^O<<LmOOQU1G3w1G3wO>tQWO7+)hO'(OQWO<<I}O'(ZQ07bO<<I}OOQO<<Hv<<HvOOQ?MrAN?cAN?cOOQOAN?[AN?[O$>`Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<<Mu<<MuOOQUG27SG27SO!&_Q7[OG27SO#&wQWOG27SO'(eQrOG27SO4UQrOG27SO'(lQWOG27SO'(tQ07bO<<JeO')RQ07bO1G2^O'*tQ07bO,5?]O',tQ07bO,5?_O'.tQ07bO1G2pO'0tQ07bO1G2rO'2tQ07bO<<KVO'3RQ07bO<<IxOOQO1G1v1G1vO!+hQ7[OANAfOOQO7+*_7+*_O'3`QWO7+*_O'3kQWO<= dO'3sQpO7+*aOOQ?Mp<<Ko<<KoO$(PQWO<<KoOCcQWO<<KoO'3}QWO<<KoOOQ?Mp<<Kn<<KnO'4YQpO<<KoO$(PQWO<<KnO'4aQWO<<KoO!&_Q7[O<<KoOOQO7+*n7+*nO9^QWO7+*nO'4fQWO<= mOOQUG27oG27oO9hQ?MxOG27oO!(oQ^O1G5OO'4nQWO7+,OO&7WQWOANA}OOQUANA}ANA}O!&_Q7[OANA}O'4vQWOANA}OOQUANBPANBPO9hQ?MxOANBPO$!}QWOANBPOOQO'#H['#H[OOQO7+*m7+*mOOQUG22wG22wOOQUANEYANEYOOQUANEZANEZOOQUANBXANBXO'5OQWOANBXOOQU<<MS<<MSO!(oQ^OAN?iOOQOG24vG24vO$>`Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'5TQrOLD,nO'5[Q07bO7+'xO'6}Q07bO,5?]O'8}Q07bO,5?_O':}Q07bO7+'zO'<pQ7[OG27QOOQO<<My<<MyOOQ?MpANAZANAZO$(PQWOANAZOCcQWOANAZO'=QQWOANAZOOQ?MpANAYANAYO'=]QpOANAZOOQO<<NY<<NYOOQULD-ZLD-ZO'=dQ07bO7+*jOOQUG27iG27iO&7WQWOG27iO!&_Q7[OG27iOOQUG27kG27kO9hQ?MxOG27kOOQUG27sG27sO'=nQ07bOG25TOOQOLD*bLD*bOOQU!$(!Y!$(!YO#&wQWO!$(!YO!&_Q7[O!$(!YO'=xQ?NdOG27QOOQ?MpG26uG26uO$(PQWOG26uOCcQWOG26uO'@WQWOG26uOOQULD-TLD-TO&7WQWOLD-TOOQULD-VLD-VOOQU!)9Et!)9EtO#&wQWO!)9EtOOQ?MpLD,aLD,aO$(PQWOLD,aOCcQWOLD,aOOQU!$(!o!$(!oOOQU!.K;`!.K;`O'@cQ07bOG27QOOQ?Mp!$( {!$( {O$(PQWO!$( {OOQ?Mp!)9Eg!)9EgO!(oQ^O'#DwO1PQWO'#EUO'BUQrO'#JmO'B]QMnO'#DsO'BdQ^O'#D{O'BkQrO'#CiO'ERQrO'#CiO!(oQ^O'#D}O'EcQ^O,5;WO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O'#IlO'GfQWO,5<gO!(oQ^O,5;bO'GnQ7[O,5;bO'IXQ7[O,5;bO!(oQ^O,5;vO!&_Q7[O'#GjO'GnQ7[O'#GjO!&_Q7[O'#GlO'GnQ7[O'#GlO1SQWO'#DWO1SQWO'#DWO!&_Q7[O'#F}O'GnQ7[O'#F}O!&_Q7[O'#GPO'GnQ7[O'#GPO!&_Q7[O'#G_O'GnQ7[O'#G_O!(oQ^O,5:gO'I`Q`O'#D[O!(oQ^O,5@jO'EcQ^O1G0rO'IjQ07bO'#CiO!(oQ^O1G2OO!&_Q7[O'#IqO'GnQ7[O'#IqO!&_Q7[O'#IsO'GnQ7[O'#IsO'ItQpO'#CrO!&_Q7[O,5<rO'GnQ7[O,5<rO'EcQ^O1G2PO!(oQ^O7+&yO!&_Q7[O1G2^O'GnQ7[O1G2^O!&_Q7[O'#IqO'GnQ7[O'#IqO!&_Q7[O'#IsO'GnQ7[O'#IsO!&_Q7[O1G2`O'GnQ7[O1G2`O'EcQ^O7+'kO'EcQ^O7+&^O!&_Q7[OANAfO'GnQ7[OANAfO'JXQWO'#ElO'J^QWO'#ElO'JfQWO'#F[O'JkQWO'#EvO'JpQWO'#KOO'J{QWO'#J|O'KWQWO,5;WO'K]Q7[O,5<dO'KdQWO'#GWO'KiQWO'#GWO'KnQWO,5<eO'KvQWO,5;WO'LOQ07bO1G1_O'LVQWO,5<rO'L[QWO,5<rO'LaQWO,5<tO'LfQWO,5<tO'LkQWO1G2PO'LpQWO1G0rO'LuQ7[O<<KzO'L|Q7[O<<KzO7eQ7[O'#FzO9RQWO'#FyOAaQWO'#EkO!(oQ^O,5;sO!3SQWO'#GWO!3SQWO'#GWO!3SQWO'#GYO!3SQWO'#GYO!+hQ7[O7+(`O!+hQ7[O7+(`O%+SQpO1G2tO%+SQpO1G2tO!&_Q7[O,5=YO!&_Q7[O,5=Y",
stateData:"'NQ~O'wOS'xOSTOS'yRQ~OPYOQYOSfOY!VOaqOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!rwO!uxO!y]O#t!PO$V|O%e}O%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO&S!WO&Y!XO&[!YO&^!ZO&`![O&c!]O&i!^O&o!_O&q!`O&s!aO&u!bO&w!cO(OSO(QTO(TUO([VO(j[O(yiO~OWtO~P`OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa!wOp!nO!P!oO!_!yO!`!vO!a!vO!y;QO#Q!pO#R!pO#S!xO#T!pO#U!pO#X!zO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O'y!{O~OP]XR]X[]Xa]Xo]X}]X!P]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X'u]X([]X(m]X(t]X(u]X~O!d%PX~P(qO_!}O(Q#PO(R!}O(S#PO~O_#QO(S#PO(T#PO(U#QO~Ou#SO!R#TO(]#TO(^#VO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O;UO(QTO(TUO([VO(j[O(yiO~O!X#ZO!Y#WO!V(cP!V(qP~P+}O!Z#cO~P`OPYOQYOSfOd!jOe!iOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(QTO(TUO([VO(j[O(yiO~Om#mO!X#iO!y]O#f#lO#g#iO(O;VO!h(nP~P.iO!i#oO(O#nO~O!u#sO!y]O%e#tO~O#h#uO~O!d#vO#h#uO~OP$[OR#zO[$cOo$aO}#yO!P#{O!Y$_O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~Oa(aX'u(aX's(aX!h(aX!V(aX![(aX%f(aX!d(aX~P1qO#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX![(bX%f(bX~Oa(bX'u(bX's(bX!V(bX!h(bXs(bX!d(bX~P4UO#]$eO~O$[$hO$^$gO$e$mO~OSfO![$nO$h$oO$j$qO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{%[O!P${O![$|O!f%aO!i$xO#g%bO$V%_O$r%]O$t%^O$w%`O(O$sO(QTO(TUO([$uO(t$}O(u%POg(XP~O!i%cO~O!P%fO![%gO(O%eO~O!d%kO~Oa%lO'u%lO~O}%pO~P%[O(P!lO~P%[O%k%tO~P%[Oh%VO!i%cO(O%eO(P!lO~Oe%{O!i%cO(O%eO~O#s$RO~O}&QO![%}O!i&PO%g&TO(O%eO(P!lO(QTO(TUO`)SP~O!u#sO~O%p&VO!P)OX![)OX(O)OX~O(O&WO~O!r&]O#t!PO%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO~Od&bOe&aO!u&_O%e&`O%x&^O~P;|Od&eOeyO![&dO!r&]O!uxO!y]O#t!PO%e}O%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO~Ob&hO#]&kO%g&fO(P!lO~P=RO!i&lO!r&pO~O!i#oO~O![XO~Oa%lO't&xO'u%lO~Oa%lO't&{O'u%lO~Oa%lO't&}O'u%lO~O's]X!V]Xs]X!h]X&W]X![]X%f]X!d]X~P(qO!_'[O!`'TO!a'TO(P!lO(QTO(TUO~Op'RO!P'QO!X'UO(`'PO!Z(dP!Z(sP~P@YOk'_O![']O(O%eO~Oe'dO!i%cO(O%eO~O}&QO!i&PO~Op!nO!P!oO!y;QO#Q!pO#R!pO#T!pO#U!pO(P!lO(QTO(TUO(`!mO(j!sO~O!_'jO!`'iO!a'iO#S!pO#X'kO#Y'kO~PAtOa%lOh%VO!d#vO!i%cO'u%lO(m'mO~O!m'qO#]'oO~PCSOp!nO!P!oO(QTO(TUO(`!mO(j!sO~O![XOp(hX!P(hX!_(hX!`(hX!a(hX!y(hX#Q(hX#R(hX#S(hX#T(hX#U(hX#X(hX#Y(hX(P(hX(Q(hX(T(hX(`(hX(j(hX~O!`'iO!a'iO(P!lO~PCrO'z'uO'{'uO'|'wO~O_!}O(Q'yO(R!}O(S'yO~O_#QO(S'yO(T'yO(U#QO~Ou#SO!R#TO(]#TO(^'}O~O!X(PO!V'SX!V'YX!Y'SX!Y'YX~P+}O!Y(RO!V(cX~OP$[OR#zO[$cOo$aO}#yO!P#{O!Y(RO!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~O!V(cX~PGfO!V(WO~O!V(pX!Y(pX!d(pX!h(pX(m(pX~O#](pX#h#aX!Z(pX~PIiO#](XO!V(rX!Y(rX~O!Y(YO!V(qX~O!V(]O~O#]$eO~PIiO!Z(^O~P`OR#zO}#yO!P#{O!i#xO([VOP!ka[!kao!ka!Y!ka!m!ka#O!ka#k!ka#l!ka#m!ka#n!ka#o!ka#p!ka#q!ka#r!ka#s!ka#u!ka#w!ka#y!ka#z!ka(m!ka(t!ka(u!ka~Oa!ka'u!ka's!ka!V!ka!h!kas!ka![!ka%f!ka!d!ka~PKPO!h(_O~O!d#vO#](`O(m'mO!Y(oXa(oX'u(oX~O!h(oX~PMlO!P%fO![%gO!y]O#f(eO#g(dO(O%eO~O!Y(fO!h(nX~O!h(hO~O!P%fO![%gO#g(dO(O%eO~OP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O!d#vO!h(bX~P! YOR(jO}(iO!i#xO#P$dO!y!xa!P!xa~O!u!xa%e!xa![!xa#f!xa#g!xa(O!xa~P!#ZO!u(nO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~O#h(tO~O!X(vO!h(fP~P%[O(`(xO(j[O~O!P(zO!i#xO(`(xO(j[O~OP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![!eO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(O)XO(QTO(TUO([VO(j[O(y<xO~O!Y$_Oa$oa'u$oa's$oa!h$oa!V$oa![$oa%f$oa!d$oa~O#t)`O~P!&_Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{%[O!P${O![$|O!f%aO!i$xO#g%bO$V%_O$r%]O$t%^O$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~Og(kP~P!+hO})eO!d)dO![$]X$Y$]X$[$]X$^$]X$e$]X~O!d)dO![(vX$Y(vX$[(vX$^(vX$e(vX~O})eO~P!-qO})eO![(vX$Y(vX$[(vX$^(vX$e(vX~O![)gO$Y)kO$[)fO$^)fO$e)lO~O!X)oO~P!(oO$[$hO$^$gO$e)sO~Ok$xX}$xX!P$xX#P$xX(t$xX(u$xX~OgjXg$xXkjX!YjX#]jX~P!/gOu)uO(])vO(^)xO~Ok*RO})zO!P){O(t$}O(u%PO~Og)yO~P!0kOg*SO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P*UO![*VO!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(QTO(TUO([$uO(t$}O(u%PO~O!X*YO(O*TO!h(zP~P!1YO#h*[O~O!i*]O~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(O*_O(QTO(TUO([$uO(t$}O(u%PO~O!X*bO!V({P~P!3XOo*nO!P*fO!_*lO!`*eO!a*eO!i*]O#X*mO%]*hO(P!lO(`!mO~O!Z*kO~P!4|O#P$dOk(ZX}(ZX!P(ZX(t(ZX(u(ZX!Y(ZX#](ZX~Og(ZX#}(ZX~P!5uOk*sO#]*rOg(YX!Y(YX~O!Y*tOg(XX~O(O&WOg(XP~Op*wO~O!i*|O~O(O(rO~Om+QO!P%fO!X#iO![%gO!y]O#f#lO#g#iO(O%eO!h(nP~O!d#vO#h+RO~O!P%fO!X+TO!Y(YO![%gO(O%eO!V(qP~Op'XO!P+VO!X+UO(QTO(TUO(`(xO~O!Z(sP~P!8uO!Y+WOa)PX'u)PX~OP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~Oa!ga!Y!ga'u!ga's!ga!V!ga!h!gas!ga![!ga%f!ga!d!ga~P!9mOR#zO}#yO!P#{O!i#xO([VOP!oa[!oao!oa!Y!oa!m!oa#O!oa#k!oa#l!oa#m!oa#n!oa#o!oa#p!oa#q!oa#r!oa#s!oa#u!oa#w!oa#y!oa#z!oa(m!oa(t!oa(u!oa~Oa!oa'u!oa's!oa!V!oa!h!oas!oa![!oa%f!oa!d!oa~P!<TOR#zO}#yO!P#{O!i#xO([VOP!qa[!qao!qa!Y!qa!m!qa#O!qa#k!qa#l!qa#m!qa#n!qa#o!qa#p!qa#q!qa#r!qa#s!qa#u!qa#w!qa#y!qa#z!qa(m!qa(t!qa(u!qa~Oa!qa'u!qa's!qa!V!qa!h!qas!qa![!qa%f!qa!d!qa~P!>kOh%VOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%VO!i%cO~Oh%VO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%VO#]+zO~Oh%VOk+}O![$|O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%VO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![!eO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(QTO(TUO([VO(j[O(y<xO~O(O;zO~P##_O!Y-TO!Z(dX~O!Z-VO~O!d,}O#],|O!Y#eX!Z#eX~O!Y-WO!Z(sX~O!Z-YO~O!`-ZO!a-ZO(P!lO~P#!|O!Z-^O~P'_Ok-aO![']O~O!V-fO~Op!xa!_!xa!`!xa!a!xa#Q!xa#R!xa#S!xa#T!xa#U!xa#X!xa#Y!xa(P!xa(Q!xa(T!xa(`!xa(j!xa~P!#ZO!m-kO#]-iO~PCSO!`-mO!a-mO(P!lO~PCrOa%lO#]-iO'u%lO~Oa%lO!d#vO#]-iO'u%lO~Oa%lO!d#vO!m-kO#]-iO'u%lO(m'mO~O'z'uO'{'uO'|-rO~Os-sO~O!V'Sa!Y'Sa~P!9mO!X-wO!V'SX!Y'SX~P%[O!Y(RO!V(ca~O!V(ca~PGfO!Y(YO!V(qa~O!P%fO!X-{O![%gO(O%eO!V'YX!Y'YX~O#]-}O!Y(oa!h(oaa(oa'u(oa~O!d#vO~P#+eO!Y(fO!h(na~O!P%fO![%gO#g.RO(O%eO~Om.WO!P%fO!X.TO![%gO!y]O#f.VO#g.TO(O%eO!Y']X!h']X~OR.[O!i#xO~Oh%VOk._O![']O%f.^O~Oa#`i!Y#`i'u#`i's#`i!V#`i!h#`is#`i![#`i%f#`i!d#`i~P!9mOk=UO})zO!P){O(t$}O(u%PO~O#h#[aa#[a#]#[a'u#[a!Y#[a!h#[a![#[a!V#[a~P#.aO#h(ZXP(ZXR(ZX[(ZXa(ZXo(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX'u(ZX([(ZX(m(ZX!h(ZX!V(ZX's(ZXs(ZX![(ZX%f(ZX!d(ZX~P!5uO!Y.lO!h(fX~P!9mO!h.oO~O!V.qO~OP$[OR#zO}#yO!P#{O!i#xO!m$[O([VO[#jia#jio#ji!Y#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#k#ji~P#1|O#k$OO~P#1|OP$[OR#zOo$aO}#yO!P#{O!i#xO!m$[O#k$OO#l$PO#m$PO#n$PO([VO[#jia#ji!Y#ji#O#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#o#ji~P#4kO#o$QO~P#4kOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO([VOa#ji!Y#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#u#ji~P#7YOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO([VO(u#}Oa#ji!Y#ji#y#ji#z#ji'u#ji(m#ji(t#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#w$UO~P#9pO#w#ji~P#9pO#u$SO~P#7YOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO([VO(t#|O(u#}Oa#ji!Y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#y#ji~P#<fO#y$WO~P#<fOP]XR]X[]Xo]X}]X!P]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X!Y]X!Z]X~O#}]X~P#?TOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O#w;`O#y;bO#z;cO([VO(m$YO(t#|O(u#}O~O#}.sO~P#AbO#P$dO#];iO$P;iO#}(bX!Z(bX~P! YOa'`a!Y'`a'u'`a's'`a!h'`a!V'`as'`a!['`a%f'`a!d'`a~P!9mO[#jia#jio#ji!Y#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~OP$[OR#zO}#yO!P#{O!i#xO!m$[O#k$OO#l$PO#m$PO#n$PO([VO(t#ji(u#ji~P#DdOk=UO})zO!P){O(t$}O(u%POP#jiR#ji!i#ji!m#ji#k#ji#l#ji#m#ji#n#ji([#ji~P#DdO!Y.wOg(kX~P!0kOg.yO~Oa$Oi!Y$Oi'u$Oi's$Oi!V$Oi!h$Ois$Oi![$Oi%f$Oi!d$Oi~P!9mO$[.zO$^.zO~O$[.{O$^.{O~O!d)dO#].|O![$bX$Y$bX$[$bX$^$bX$e$bX~O!X.}O~O![)gO$Y/PO$[)fO$^)fO$e/QO~O!Y;dO!Z(aX~P#AbO!Z/RO~O!d)dO$e(vX~O$e/TO~Ou)uO(])vO(^/WO~O!V/[O~P!&_O(t$}Ok%^a}%^a!P%^a(u%^a!Y%^a#]%^a~Og%^a#}%^a~P#K^O(u%POk%`a}%`a!P%`a(t%`a!Y%`a#]%`a~Og%`a#}%`a~P#LPO!YfX!dfX!hfX!h$xX(mfX~P!/gO!X/eO!Y(YO(O/dO!V(qP!V({P~P!1YOo*nO!_*lO!`*eO!a*eO!i*]O#X*mO%]*hO(P!lO~Op'XO!P/fO!X+UO!Z*kO(QTO(TUO(`;wO!Z(sP~P#MjO!h/gO~P#.aO!Y/hO!d#vO(m'mO!h(zX~O!h/mO~O!P%fO!X*YO![%gO(O%eO!h(zP~O#h/oO~O!V$xX!Y$xX!d%PX~P!/gO!Y/pO!V({X~P#.aO!d/rO~O!V/tO~Oh%VOo/xO!d#vO!i%cO(m'mO~O(O/zO~O!d+cO~Oa%lO!Y0OO'u%lO~O!Z0QO~P!4|O!`0RO!a0RO(P!lO(`!mO~O!P0TO(`!mO~O#X0UO~Og%^a!Y%^a#]%^a#}%^a~P!0kOg%`a!Y%`a#]%`a#}%`a~P!0kO(O&WOg'iX!Y'iX~O!Y*tOg(Xa~Og0_O~OR0`O}0`O!P0aO#P$dOkza(tza(uza!Yza#]za~Ogza#}za~P$%]O})zO!P){Ok$qa(t$qa(u$qa!Y$qa#]$qa~Og$qa#}$qa~P$&UO})zO!P){Ok$sa(t$sa(u$sa!Y$sa#]$sa~Og$sa#}$sa~P$&wO#h0dO~Og%Ra!Y%Ra#]%Ra#}%Ra~P!0kO!d#vO~O#h0gO~O!Y+WOa)Pa'u)Pa~OR#zO}#yO!P#{O!i#xO([VOP!oi[!oio!oi!Y!oi!m!oi#O!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#q!oi#r!oi#s!oi#u!oi#w!oi#y!oi#z!oi(m!oi(t!oi(u!oi~Oa!oi'u!oi's!oi!V!oi!h!ois!oi![!oi%f!oi!d!oi~P$(fOh%VOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(QTO(TUO([$uO(t$}O(u%PO~Om0pO(O0oO~P$*|O!d+cOa(Wa![(Wa'u(Wa!Y(Wa~O#h0vO~O[]X!YfX!ZfX~O!Y0wO!Z)TX~O!Z0yO~O[0zO~Ob0|O(O+kO(QTO(TUO~O![%}O(O%eO`'qX!Y'qX~O!Y+pO`)Sa~O!h1PO~P!9mO[1SO~O`1TO~O#]1WO~Ok1ZO![$|O~O(`(xO!Z)QP~Oh%VOk1dO![1aO%f1cO~O[1nO!Y1lO!Z)RX~O!Z1oO~O`1qOa%lO'u%lO~O(O#nO(QTO(TUO~O#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O#s1tO&W1uOa(bX~P$0dO#]$eO#s1tO&W1uO~Oa1wO~P%[Oa1yO~O&a1|OP&_iQ&_iS&_iY&_ia&_id&_ie&_im&_io&_ip&_iq&_iw&_iy&_i{&_i!P&_i!T&_i!U&_i![&_i!f&_i!i&_i!l&_i!m&_i!n&_i!p&_i!r&_i!u&_i!y&_i#t&_i$V&_i%e&_i%g&_i%i&_i%j&_i%k&_i%n&_i%p&_i%s&_i%t&_i%v&_i&S&_i&Y&_i&[&_i&^&_i&`&_i&c&_i&i&_i&o&_i&q&_i&s&_i&u&_i&w&_i's&_i(O&_i(Q&_i(T&_i([&_i(j&_i(y&_i!Z&_ib&_i&f&_i~Ob2SO!Z2QO&f2RO~P`O![XO!i2UO~O&m,sOP&hiQ&hiS&hiY&hia&hid&hie&him&hio&hip&hiq&hiw&hiy&hi{&hi!P&hi!T&hi!U&hi![&hi!f&hi!i&hi!l&hi!m&hi!n&hi!p&hi!r&hi!u&hi!y&hi#t&hi$V&hi%e&hi%g&hi%i&hi%j&hi%k&hi%n&hi%p&hi%s&hi%t&hi%v&hi&S&hi&Y&hi&[&hi&^&hi&`&hi&c&hi&i&hi&o&hi&q&hi&s&hi&u&hi&w&hi's&hi(O&hi(Q&hi(T&hi([&hi(j&hi(y&hi!Z&hi&a&hib&hi&f&hi~O!V2[O~O!Y!^a!Z!^a~P#AbOp!nO!P!oO!X2bO(`!mO!Y'TX!Z'TX~P@YO!Y-TO!Z(da~O!Y'ZX!Z'ZX~P!8uO!Y-WO!Z(sa~O!Z2iO~P'_Oa%lO#]2rO'u%lO~Oa%lO!d#vO#]2rO'u%lO~Oa%lO!d#vO!m2vO#]2rO'u%lO(m'mO~Oa%lO'u%lO~P!9mO!Y$_Os$oa~O!V'Si!Y'Si~P!9mO!Y(RO!V(ci~O!Y(YO!V(qi~O!V(ri!Y(ri~P!9mO!Y(oi!h(oia(oi'u(oi~P!9mO#]2xO!Y(oi!h(oia(oi'u(oi~O!Y(fO!h(ni~O!P%fO![%gO!y]O#f2}O#g2|O(O%eO~O!P%fO![%gO#g2|O(O%eO~Ok3UO![']O%f3TO~Oh%VOk3UO![']O%f3TO~O#h%^aP%^aR%^a[%^aa%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^as%^a![%^a%f%^a!d%^a~P#K^O#h%`aP%`aR%`a[%`aa%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`as%`a![%`a%f%`a!d%`a~P#LPO#h%^aP%^aR%^a[%^aa%^ao%^a!Y%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^a#]%^as%^a![%^a%f%^a!d%^a~P#.aO#h%`aP%`aR%`a[%`aa%`ao%`a!Y%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`a#]%`as%`a![%`a%f%`a!d%`a~P#.aO#hzaPza[zaazaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza'uza([za(mza!hza!Vza'szasza![za%fza!dza~P$%]O#h$qaP$qaR$qa[$qaa$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa'u$qa([$qa(m$qa!h$qa!V$qa's$qas$qa![$qa%f$qa!d$qa~P$&UO#h$saP$saR$sa[$saa$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa'u$sa([$sa(m$sa!h$sa!V$sa's$sas$sa![$sa%f$sa!d$sa~P$&wO#h%RaP%RaR%Ra[%Raa%Rao%Ra!Y%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra'u%Ra([%Ra(m%Ra!h%Ra!V%Ra's%Ra#]%Ras%Ra![%Ra%f%Ra!d%Ra~P#.aOa#`q!Y#`q'u#`q's#`q!V#`q!h#`qs#`q![#`q%f#`q!d#`q~P!9mO!X3^O!Y'UX!h'UX~P%[O!Y.lO!h(fa~O!Y.lO!h(fa~P!9mO!V3aO~O#}!ka!Z!ka~PKPO#}!ga!Y!ga!Z!ga~P#AbO#}!oa!Z!oa~P!<TO#}!qa!Z!qa~P!>kOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO})zO!P){O(u%POk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%)nO})zO!P){Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*aO(m$YO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(O<QO~P!1YOmkO(O4OO~P.iO!P%fO!X4QO![%gO(O%eO!Y'aX!h'aX~O!Y/hO!h(za~O!Y/hO!d#vO!h(za~O!Y/hO!d#vO(m'mO!h(za~Og$zi!Y$zi#]$zi#}$zi~P!0kO!X4YO!V'cX!Y'cX~P!3XO!Y/pO!V({a~O!Y/pO!V({a~P#.aO!d#vO#s4bO~Oo4eO!d#vO(m'mO~O!P4hO(`!mO~O(t$}Ok%^i}%^i!P%^i(u%^i!Y%^i#]%^i~Og%^i#}%^i~P%.wO(u%POk%`i}%`i!P%`i(t%`i!Y%`i#]%`i~Og%`i#}%`i~P%/jOg(Yi!Y(Yi~P!0kO#]4mOg(Yi!Y(Yi~P!0kO!h4pO~Oa$mq!Y$mq'u$mq's$mq!V$mq!h$mqs$mq![$mq%f$mq!d$mq~P!9mO!V4tO~O!Y4uO![(|X~P#.aOa$xX![$xX%Z]X'u$xX!Y$xX~P!/gO%Z4xOalXklX}lX!PlX![lX'ulX(tlX(ulX!YlX~O%Z4xO~Ob5OO%g5PO(O+kO(QTO(TUO!Y'pX!Z'pX~O!Y0wO!Z)Ta~O[5TO~O`5UO~Oa%lO'u%lO~P#.aO![$|O~P#.aO!Y5^O#]5`O!Z)QX~O!Z5aO~Oo5hOp!nO!P5bO!_!yO!`!vO!a!vO!y;QO#Q!pO#R!pO#S!pO#T!pO#U!pO#X5gO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O!Z5fO~P%4tOk5mO![1aO%f5lO~Oh%VOk5mO![1aO%f5lO~Ob5tO(O#nO(QTO(TUO!Y'oX!Z'oX~O!Y1lO!Z)Ra~O(QTO(TUO(`5vO~O`5zO~O#s5}O&W6OO~PMlO!h6PO~P%[Oa6RO~Oa6RO~P%[Ob2SO!Z6WO&f2RO~P`O!d6YO~O!d6[Oh(ei!Y(ei!Z(ei!d(ei!i(ei~O!Y#ei!Z#ei~P#AbO#]6]O!Y#ei!Z#ei~O!Y!^i!Z!^i~P#AbOa%lO#]6fO'u%lO~Oa%lO!d#vO#]6fO'u%lO~O!Y(oq!h(oqa(oq'u(oq~P!9mO!Y(fO!h(nq~O!P%fO![%gO#g6mO(O%eO~O![']O%f6pO~Ok6tO![']O%f6pO~O#h'eaP'eaR'ea['eaa'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea'u'ea(['ea(m'ea!h'ea!V'ea's'eas'ea!['ea%f'ea!d'ea~P%)nO#h'gaP'gaR'ga['gaa'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga'u'ga(['ga(m'ga!h'ga!V'ga's'gas'ga!['ga%f'ga!d'ga~P%*aO#h$ziP$ziR$zi[$zia$zio$zi!Y$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi'u$zi([$zi(m$zi!h$zi!V$zi's$zi#]$zis$zi![$zi%f$zi!d$zi~P#.aO#h%^iP%^iR%^i[%^ia%^io%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i'u%^i([%^i(m%^i!h%^i!V%^i's%^is%^i![%^i%f%^i!d%^i~P%.wO#h%`iP%`iR%`i[%`ia%`io%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i'u%`i([%`i(m%`i!h%`i!V%`i's%`is%`i![%`i%f%`i!d%`i~P%/jO!Y'Ua!h'Ua~P!9mO!Y.lO!h(fi~O#}#`i!Y#`i!Z#`i~P#AbOP$[OR#zO}#yO!P#{O!i#xO!m$[O([VO[#jio#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#k#ji~P%G^O#k;YO~P%G^OP$[OR#zOo;fO}#yO!P#{O!i#xO!m$[O#k;YO#l;ZO#m;ZO#n;ZO([VO[#ji#O#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#o#ji~P%IfO#o;[O~P%IfOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O([VO#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#u#ji~P%KnOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O([VO(u#}O#y#ji#z#ji#}#ji(m#ji(t#ji!Y#ji!Z#ji~O#w;`O~P%MoO#w#ji~P%MoO#u;^O~P%KnOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O#w;`O([VO(t#|O(u#}O#z#ji#}#ji(m#ji!Y#ji!Z#ji~O#y#ji~P&!OO#y;bO~P&!OOa#{y!Y#{y'u#{y's#{y!V#{y!h#{ys#{y![#{y%f#{y!d#{y~P!9mO[#jio#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji!Y#ji!Z#ji~OP$[OR#zO}#yO!P#{O!i#xO!m$[O#k;YO#l;ZO#m;ZO#n;ZO([VO(t#ji(u#ji~P&$zOk=VO})zO!P){O(t$}O(u%POP#jiR#ji!i#ji!m#ji#k#ji#l#ji#m#ji#n#ji([#ji~P&$zO#P$dOP(ZXR(ZX[(ZXk(ZXo(ZX}(ZX!P(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX#}(ZX([(ZX(m(ZX(t(ZX(u(ZX!Y(ZX!Z(ZX~O#}$Oi!Y$Oi!Z$Oi~P#AbO#}!oi!Z!oi~P$(fOg'Xa!Y'Xa~P!0kO!Z7WO~O!Y'`a!Z'`a~P#AbOP]XR]X[]Xo]X}]X!P]X!V]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!d%WX#s%WX~P&+QO!d#vO(m'mO!Y'aa!h'aa~O!Y/hO!h(zi~O!Y/hO!d#vO!h(zi~Og$zq!Y$zq#]$zq#}$zq~P!0kO!V'ca!Y'ca~P#.aO!d7_O~O!Y/pO!V({i~P#.aO!Y/pO!V({i~O!V7cO~O!d#vO#s7hO~Oo7iO!d#vO(m'mO~O})zO!P){O(u%POk'fa(t'fa!Y'fa#]'fa~Og'fa#}'fa~P&/pO})zO!P){Ok'ha(t'ha(u'ha!Y'ha#]'ha~Og'ha#}'ha~P&0cO!V7lO~Og$|q!Y$|q#]$|q#}$|q~P!0kOa$my!Y$my'u$my's$my!V$my!h$mys$my![$my%f$my!d$my~P!9mO!d6[O~O!Y4uO![(|a~O![']OP$SaR$Sa[$Sao$Sa}$Sa!P$Sa!Y$Sa!i$Sa!m$Sa#O$Sa#k$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#u$Sa#w$Sa#y$Sa#z$Sa([$Sa(m$Sa(t$Sa(u$Sa~O%f6pO~P&2lOa#`y!Y#`y'u#`y's#`y!V#`y!h#`ys#`y![#`y%f#`y!d#`y~P!9mO[7qO~Ob7sO(O+kO(QTO(TUO~O!Y0wO!Z)Ti~O`7wO~O(`(xO!Y'lX!Z'lX~O!Y5^O!Z)Qa~O!Z8QO~P%4tOp!nO!P8RO(QTO(TUO(`!mO(j!sO~O#X8SO~O![1aO~O![1aO%f8UO~Ok8XO![1aO%f8UO~O[8^O!Y'oa!Z'oa~O!Y1lO!Z)Ri~O!h8bO~O!h8cO~O!h8fO~O!h8fO~P%[Oa8hO~O!d8iO~O!h8jO~O!Y(ri!Z(ri~P#AbOa%lO#]8rO'u%lO~O!Y(oy!h(oya(oy'u(oy~P!9mO!Y(fO!h(ny~O%f8uO~P&2lO![']O%f8uO~O#h$zqP$zqR$zq[$zqa$zqo$zq!Y$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq'u$zq([$zq(m$zq!h$zq!V$zq's$zq#]$zqs$zq![$zq%f$zq!d$zq~P#.aO#h'faP'faR'fa['faa'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa'u'fa(['fa(m'fa!h'fa!V'fa's'fas'fa!['fa%f'fa!d'fa~P&/pO#h'haP'haR'ha['haa'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha'u'ha(['ha(m'ha!h'ha!V'ha's'has'ha!['ha%f'ha!d'ha~P&0cO#h$|qP$|qR$|q[$|qa$|qo$|q!Y$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q'u$|q([$|q(m$|q!h$|q!V$|q's$|q#]$|qs$|q![$|q%f$|q!d$|q~P#.aO!Y'Ui!h'Ui~P!9mO#}#`q!Y#`q!Z#`q~P#AbO(t$}OP%^aR%^a[%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a#}%^a([%^a(m%^a!Y%^a!Z%^a~Ok%^a}%^a!P%^a(u%^a~P&CoO(u%POP%`aR%`a[%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a#}%`a([%`a(m%`a!Y%`a!Z%`a~Ok%`a}%`a!P%`a(t%`a~P&EsOk=VO})zO!P){O(u%PO~P&CoOk=VO})zO!P){O(t$}O~P&EsOR0`O}0`O!P0aO#P$dOPza[zakzaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza#}za([za(mza(tza(uza!Yza!Zza~O})zO!P){OP$qaR$qa[$qak$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa#}$qa([$qa(m$qa(t$qa(u$qa!Y$qa!Z$qa~O})zO!P){OP$saR$sa[$sak$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa#}$sa([$sa(m$sa(t$sa(u$sa!Y$sa!Z$sa~Ok=VO})zO!P){O(t$}O(u%PO~OP%RaR%Ra[%Rao%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra#}%Ra([%Ra(m%Ra!Y%Ra!Z%Ra~P&NlO#}$lq!Y$lq!Z$lq~P#AbO#}$mq!Y$mq!Z$mq~P#AbO!Z9SO~O#}9TO~P!0kO!d#vO!Y'ai!h'ai~O!d#vO(m'mO!Y'ai!h'ai~O!Y/hO!h(zq~O!V'ci!Y'ci~P#.aO!Y/pO!V({q~Oo9[O!d#vO(m'mO~O!V9]O~P#.aO!V9]O~O!d#vO#s9bO~Og(Yy!Y(Yy~P!0kO!Y'ja!['ja~P#.aOa%Yq![%Yq'u%Yq!Y%Yq~P#.aO[9dO~O!Y0wO!Z)Tq~O#]9hO!Y'la!Z'la~O!Y5^O!Z)Qi~P#AbO!P4hO~O![1aO%f9lO~O(QTO(TUO(`9qO~O!Y1lO!Z)Rq~O!h9tO~O!h9uO~O!h9vO~O!h9vO~P%[O#]9yO!Y#ey!Z#ey~O!Y#ey!Z#ey~P#AbO%f:OO~P&2lO![']O%f:OO~O#}#{y!Y#{y!Z#{y~P#AbOP$ziR$zi[$zio$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi#}$zi([$zi(m$zi!Y$zi!Z$zi~P&NlO})zO!P){O(u%POP'eaR'ea['eak'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea#}'ea(['ea(m'ea(t'ea!Y'ea!Z'ea~O})zO!P){OP'gaR'ga['gak'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga#}'ga(['ga(m'ga(t'ga(u'ga!Y'ga!Z'ga~O(t$}OP%^iR%^i[%^ik%^io%^i}%^i!P%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i#}%^i([%^i(m%^i(u%^i!Y%^i!Z%^i~O(u%POP%`iR%`i[%`ik%`io%`i}%`i!P%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i#}%`i([%`i(m%`i(t%`i!Y%`i!Z%`i~O#}$my!Y$my!Z$my~P#AbO#}#`y!Y#`y!Z#`y~P#AbO!d#vO!Y'aq!h'aq~O!Y/hO!h(zy~O!V'cq!Y'cq~P#.aOo:YO!d#vO(m'mO~O!V:ZO~P#.aO!V:ZO~O!Y0wO!Z)Ty~O!Y5^O!Z)Qq~O![1aO%f:cO~O!h:fO~O%f:kO~P&2lOP$zqR$zq[$zqo$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq#}$zq([$zq(m$zq!Y$zq!Z$zq~P&NlO})zO!P){O(u%POP'faR'fa['fak'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa#}'fa(['fa(m'fa(t'fa!Y'fa!Z'fa~O})zO!P){OP'haR'ha['hak'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha#}'ha(['ha(m'ha(t'ha(u'ha!Y'ha!Z'ha~OP$|qR$|q[$|qo$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q#}$|q([$|q(m$|q!Y$|q!Z$|q~P&NlOg%b!Z!Y%b!Z#]%b!Z#}%b!Z~P!0kOo:oO!d#vO(m'mO~O!V:pO~P#.aO!Y'lq!Z'lq~P#AbO!Y#e!Z!Z#e!Z~P#AbO#h%b!ZP%b!ZR%b!Z[%b!Za%b!Zo%b!Z!Y%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z'u%b!Z([%b!Z(m%b!Z!h%b!Z!V%b!Z's%b!Z#]%b!Zs%b!Z![%b!Z%f%b!Z!d%b!Z~P#.aOo:xO!d#vO(m'mO~OP%b!ZR%b!Z[%b!Zo%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z#}%b!Z([%b!Z(m%b!Z!Y%b!Z!Z%b!Z~P&NlOs(aX~P1qO}%pO~P!(oO(P!lO~P!(oO!VfX!YfX#]fX~P&+QOP]XR]X[]Xo]X}]X!P]X!Y]X!YfX!i]X!m]X#O]X#P]X#]]X#]fX#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!dfX!h]X!hfX(mfX~P'BxOP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![XO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(O)XO(QTO(TUO([VO(j[O(y<xO~O!Y;dO!Z$oa~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;oO!P${O![$|O!f=PO!i$xO#g;uO$V%_O$r;qO$t;sO$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~O#t)`O~P'GnOo!bX(m!bX~P# ZO!Z]X!ZfX~P'BxO!VfX!V$xX!YfX!Y$xX#]fX~P!/gO#h;XO~O!d#vO#h;XO~O#];iO~O#s;]O~O#];xO!Y(rX!Z(rX~O#];iO!Y(pX!Z(pX~O#h;yO~Og;{O~P!0kO#h<RO~O#h<SO~O!d#vO#h<TO~O!d#vO#h;yO~O#}<UO~P#AbO#h<VO~O#h<WO~O#h<]O~O#h<^O~O#h<_O~O#h<`O~O#}<aO~P!0kO#}<bO~P!0kO#P#Q#R#T#U#X#f#g#r(y$r$t$w%Z%e%f%g%n%p%s%t%v%x~'yT#l!U'w(P#mp#k#no}'x$['x(O$^(`~",
goto:"$4Q)XPPPPPP)YPP)]P)nP+O/PPPPP5xPP6`PP<V?mP@QP@QPPP@QPBRP@QP@QP@QPBVPB[PByPGrPPPGvPPPPGvJxPPPKOKzPGvPGvPPNYGvPPPGvPGvP!!aGvP!%v!&{!'UP!'x!'|!'x!+YPPPPPPP!+y!&{PP!,Z!-gP!0jGvGv!0o!3z!8b!8b!<`PPP!<hGvPPPPPPPPPPP!?vP!ATPPGv!BfPGvPGvGvGvGvGvPGv!CxP!GRP!JWP!J[!Jf!Jj!JjP!GOP!Jn!JnP!MsP!MwGvGv!M}##RBV@QP@QP@Q@QP#$_@Q@Q#&j@Q#)Z@Q#+`@Q@Q#,O#.]#.]#.b#.k#.]#.wP#.]P@Q#/a@Q#3S@Q@Q5xPPP#6{PPP#7f#7fP#7fP#7|#7fPP#8SP#7yP#7y#8g#7y#9R#9X5u)]#9[)]P#9c#9c#9cP)]P)]P)]P)]PP)]P#9i#9lP#9l)]P#9pP#9sP)]P)]P)]P)]P)]P)])]PP#9y#:P#:[#:b#:h#:n#:t#;S#;Y#;d#;j#;t#;z#<[#<b#=S#=f#=l#=r#>Q#>g#@V#@e#@l#BR#Ba#C|#D[#Db#Dh#Dn#Dx#EO#EU#E`#Er#ExPPPPPPPPPP#FOPPPPPPP#Fs#Iz#KZ#Kb#KjPPP$!sP$!|$%t$,^$,a$,d$-P$-S$-Z$-cP$-i$-lP$.Y$.^$/U$0d$0i$1PPP$1U$1[$1`P$1c$1g$1k$2a$2x$3a$3e$3h$3k$3q$3t$3x$3|R!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5eQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*e$|*V*jQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*lQ1k,]R;v;T%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8rS#q];Q!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{U*y%[;n;oQ+n%}Q,^&dQ,e&lQ0m+aQ0q+cQ0|+oQ1s,cQ3Q._Q5O0wQ5t1lQ6r3UQ7s5PR8x6t'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{t!nQ!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5e5g$|$ti#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VQ&U|Q'R!eU'X%g*V-WQ+n%}Q,^&dQ0c*|Q0|+oQ1R+uQ1r,bQ1s,cQ5O0wQ5X1TQ5t1lQ5w1nQ5x1qQ7s5PQ7v5UQ8a5zQ9g7wR9r8^rnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR,`&h&x^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<z<{[#]WZ#W#Z'U(P!b%hm#h#i#l$x%c%f(Y(d(e(f*U*Y*]+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6[6mQ%uxQ%yyS&O|&TQ&[!TQ'`!hQ'b!iQ(m#sS+h%z%{Q+l%}Q,V&_Q,Z&aS-d'c'dQ.a(nQ0u+iQ0{+oQ0}+pQ1Q+tQ1f,WS1j,[,]Q2n-eQ4}0wQ5R0zQ5W1SQ5s1kQ7r5PQ7u5TQ9c7qR:^9d!O$zi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R!S%wy!i!u%y%z%{'S'b'c'd'h'r*d+h+i-Q-d-e-l/y0u2g2n2u4dQ+b%uQ+{&XQ,O&YQ,Y&aQ.`(mQ1e,VU1i,Z,[,]Q3V.aQ5n1fS5r1j1kQ8]5s#^<|#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vo<};g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bW%Ti%V*t<xS&X!Q&fQ&Y!RQ&Z!SR+y&V$}%Si#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VT)v$u)wV*y%[;n;oW'X!e%g*V-WS(y#y#zQ+]%pQ+s&QS.Y(i(jQ1[,PQ4n0`R7{5^'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{$i$^c#Y#e%o%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)Y)[)^)c)m+^+r-R-p-u-z-|.k.n.r.t.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4r4{6_6e6j6y6z7T7U7}8l8p8z9Q9R9{:`:g;R<oT#TV#U'PkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q'V!eR2c-Tv!nQ!e!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5e5gU*d$|*V*jS/y*e*lQ0S*mQ1^,RQ4d0RR4g0UnqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&v!^Q's!xS(o#u;XQ+f%xQ,T&[Q,U&^Q-b'aQ-o'lS.j(t;yS0f+R<TQ0s+gQ1`,SQ2T,rQ2V,sQ2_-OQ2l-cQ2o-gS4s0g<_Q4y0tS4|0v<`Q6^2aQ6b2mQ6g2tQ7p4zQ8m6`Q8n6cQ8q6hR9x8j$d$]c#Y#e%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)Y)[)^)c)m+^+r-R-p-u-z-|.k.n.r.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4r4{6_6e6j6y6z7T7U7}8l8p8z9Q9R9{:`:g;R<oS(k#p'fQ({#zS+[%o.tS.Z(j(lR3O.['OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{S#q];QQ&q!XQ&r!YQ&t![Q&u!]R1{,nQ'^!hQ+_%uQ-`'`S.](m+bQ2j-_W3S.`.a0l0nQ6a2kW6n3P3R3V4wU8t6o6q6sU9}8v8w8yS:i9|:PQ:t:jR:z:uU!wQ']-]T5c1a5e!Q_OXZ`st!V!Z#d#h%c%k&f&h&o&q&r&t(f,k,p.S1|2P]!pQ!r']-]1a5eT#q];Q%[{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rS(y#y#zS.Y(i(j!s<f$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{U$fd)Z,eS(l#p'fU*q%R(s3pU0b*x.f7PQ4w0mQ6o3QQ8w6rR:P8xm!tQ!r!v!y!z']'i'j'k-]-m1a5e5gQ'q!uS(b#g1vS-k'h'tQ/k*XQ/w*dQ2v-nQ4U/lS4_/x0SQ7Z4PS7f4e4gQ9V7[Q9Z7cQ9`7iS:X9[9]S:n:Y:ZS:w:o:pR:}:xQ#wbQ'p!uS(a#g1vS(c#m+QQ+S%dQ+d%vQ+j%|U-j'h'q'tQ.O(bQ/j*XQ/v*dQ/|*gQ0r+eQ1g,XS2s-k-nQ2{.WS4T/k/lS4^/w0SQ4a/{Q4c/}Q5p1hQ6i2vQ7Y4PQ7^4US7b4_4gQ7g4fQ8Z5qS9U7Z7[Q9Y7cQ9^7fQ9a7jQ9o8[Q:V9VS:W9Z9]Q:[9`Q:e9pS:m:X:ZS:v:n:pQ:|:wQ;O:}Q<i<dQ<t<mR<u<nV!wQ']-]%[aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rS#wz!j!r<c$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{R<i<z%[bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rQ%dj!S%vy!i!u%y%z%{'S'b'c'd'h'r*d+h+i-Q-d-e-l/y0u2g2n2u4dS%|z!jQ+e%wQ,X&aW1h,Y,Z,[,]U5q1i1j1kS8[5r5sQ9p8]!r<d$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q<m<yR<n<z%OeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rY#bWZ#W#Z(P!b%hm#h#i#l$x%c%f(Y(d(e(f*U*Y*]+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6[6mQ,f&l!p<e$Z$n)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{R<h'UU'Y!e%g*VR2e-W%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8r!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q,e&lQ0m+aQ3Q._Q6r3UR8x6t!b$Tc#Y%o(O(U(p(u)V)W)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;R!P;_)Y)m-R.t2]2`3b3k3l3q3y6_6z7T7U7}8l8z9Q9R:`:g<o!f$Vc#Y%o(O(U(p(u)S)T)V)W)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;R!T;a)Y)m-R.t2]2`3b3h3i3k3l3q3y6_6z7T7U7}8l8z9Q9R:`:g<o!^$Zc#Y%o(O(U(p(u)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;RQ3}/cz<{)Y)m-R.t2]2`3b3q3y6_6z7T7U7}8l8z9Q9R:`:g<oQ=Q=SR=R=T'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{S$oh$pR3v.|'VgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{T$kf$qQ$ifS)f$l)jR)r$qT$jf$qT)h$l)j'VhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{T$oh$pQ$rhR)q$p%[jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8r!s<y$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{#elOPXZst!Z!`!o#S#d#o#{$n%k&h&k&l&o&q&r&t&x'Q'_(z)o+V+a,h,k,p-a._.}/f0a1d1t1u1w1y1|2P2R3U3u5b5m5}6O6R6t8R8X8h!O%Ri$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R#^(s#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=VQ*}%`Q/Y)zo3p;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!O$yi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=RQ*^$zU*g$|*V*jQ+O%aQ/}*h#^<k#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn<l;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bQ<p<|Q<q<}Q<r=OR<s=P!O%Ri$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R#^(s#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vo3p;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bnoOXst!Z#d%k&o&q&r&t,k,p1|2PS*a${*UQ,y&{Q,z&}R4X/p$|%Si#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VQ+|&YQ1Y,OQ5[1XR7z5]V*i$|*V*jU*i$|*V*jT5d1a5eU/{*f/f5bS4f0T8RR7j4hQ+d%vQ/|*gQ0r+eQ1g,XQ5p1hQ8Z5qQ9o8[R:e9p!O%Oi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=Rr)}$v)a*O*p+P/n0Z0[3s4V4q7X7k:U<j<v<wS0V*o0W#^;j#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn;k;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!`;|(q)_*W*`.b.e.i/U/Z/c/s0k1V1X3Y4W4[5Z5]6u6x7`7d7m7o9X9_:]:l=S=T`;}3o6{7O7S8{:Q:T:{S<X.d3ZT<Y6}9O!O%Qi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=Rv*P$v)a*Q*o+P/_/n0Z0[3s4V4i4q7X7k:U<j<v<wS0X*p0Y#^;l#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn;m;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!d<O(q)_*W*`.c.d.i/U/Z/c/s0k1V1X3W3Y4W4[5Z5]6u6v6x7`7d7m7o9X9_:]:l=S=Td<P3o6|6}7S8{8|:Q:R:T:{S<Z.e3[T<[7O9PrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ&c!UR,h&lrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR&c!UQ,Q&ZR1U+ysnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ1b,VS5k1e1fU8T5i5j5nS9k8V8WS:a9j9mQ:q:bR:y:rQ&j!VR,a&fR5w1nS&O|&TR0}+pQ&o!WR,k&pR,q&uT1},p2PR,u&vQ,t&vR2W,uQ'v!{R-q'vSsOtQ#dXT%ns#dQ#OTR'x#OQ#RUR'z#RQ)w$uR/V)wQ#UVR'|#UQ#XWU(S#X(T-xQ(T#YR-x(UQ-U'VR2d-UQ.m(uS3_.m3`R3`.nQ-]']R2h-]Y!rQ']-]1a5eR'g!rQ.x)aR3t.xU#_W%f*UU(Z#_([-yQ([#`R-y(VQ-X'YR2f-Xt`OXst!V!Z#d%k&f&h&o&q&r&t,k,p1|2PS#hZ%cU#r`#h.SR.S(fQ(g#jQ.P(cW.X(g.P2y6kQ2y.QR6k2zQ)j$lR/O)jQ$phR)p$pQ$`cU)]$`-t;eQ-t;RR;e)mQ/i*XW4R/i4S7]9WU4S/j/k/lS7]4T4UR9W7^$Z)|$v(q)_)a*W*`*o*p*z*{+P.d.e.g.h.i/U/Z/_/a/c/n/s0Z0[0k1V1X3W3X3Y3o3s4V4W4[4i4k4q5Z5]6u6v6w6x6}7O7Q7R7S7X7`7d7k7m7o8{8|8}9X9_:Q:R:S:T:U:]:l:{<j<v<w=S=TQ/q*`U4Z/q4]7aQ4]/sR7a4[S*j$|*VR0P*jr*O$v)a*o*p+P/n0Z0[3s4V4q7X7k:U<j<v<w!`.b(q)_*W*`.d.e.i/U/Z/c/s0k1V1X3Y4W4[5Z5]6u6x7`7d7m7o9X9_:]:l=S=TU/`*O.b6{a6{3o6}7O7S8{:Q:T:{Q0W*oQ3Z.dU4j0W3Z9OR9O6}v*Q$v)a*o*p+P/_/n0Z0[3s4V4i4q7X7k:U<j<v<w!d.c(q)_*W*`.d.e.i/U/Z/c/s0k1V1X3W3Y4W4[5Z5]6u6v6x7`7d7m7o9X9_:]:l=S=TU/b*Q.c6|e6|3o6}7O7S8{8|:Q:R:T:{Q0Y*pQ3[.eU4l0Y3[9PR9P7OQ*u%UR0^*uQ4v0kR7n4vQ+X%iR0j+XQ5_1[S7|5_9iR9i7}Q,S&[R1_,SQ5e1aR8P5eQ1m,^S5u1m8_R8_5wQ0x+lW5Q0x5S7t9eQ5S0{Q7t5RR9e7uQ+q&OR1O+qQ2P,pR6V2PYrOXst#dQ&s!ZQ+Z%kQ,j&oQ,l&qQ,m&rQ,o&tQ1z,kS1},p2PR6U1|Q%mpQ&w!_Q&z!aQ&|!bQ'O!cQ'n!uQ+Y%jQ+f%xQ+x&UQ,`&jQ,w&yW-h'h'p'q'tQ-o'lQ0O*iQ0s+gS1p,a,dQ2X,vQ2Y,yQ2Z,zQ2o-gW2q-j-k-n-pQ4y0tQ5V1RQ5Y1VQ5o1gQ5y1rQ6T1{U6d2p2s2vQ6g2tQ7p4zQ7x5XQ7y5ZQ8O5dQ8Y5pQ8`5xS8o6e6iQ8q6hQ9f7vQ9n8ZQ9s8aQ9z8pQ:_9gQ:d9oQ:h9{R:s:eQ%xyQ'a!iQ'l!uU+g%y%z%{Q-O'SU-c'b'c'dS-g'h'rQ/u*dS0t+h+iQ2a-QS2m-d-eQ2t-lQ4`/yQ4z0uQ6`2gQ6c2nQ6h2uR7e4dS$wi<xR*v%VU%Ui%V<xR0]*tQ$viS(q#v+cS)_$b$cQ)a$dQ*W$xS*`${*UQ*o%OQ*p%QQ*z%]Q*{%^Q+P%bQ.d;jQ.e;lQ.g;pQ.h;rQ.i;tQ/U)uS/Z){/]Q/_)}Q/a*PQ/c*RQ/n*[S/s*b/eQ0Z*rQ0[*sh0k+`.^1c3T5l6p8U8u9l:O:c:kQ1V+zQ1X+}Q3W;|Q3X<OQ3Y<RS3o;g;hQ3s.wQ4V/oQ4W/pQ4[/rQ4i0VQ4k0XQ4q0dQ5Z1WQ5]1ZQ6u<VQ6v<XQ6w<ZQ6x<]Q6};kQ7O;mQ7Q;qQ7R;sQ7S;uQ7X3}Q7`4YQ7d4bQ7k4mQ7m4uQ7o4xQ8{<SQ8|;}Q8}<PQ9X7_Q9_7hQ:Q<WQ:R<YQ:S<[Q:T<^Q:U9TQ:]9bQ:l<aQ:{<bQ<j<xQ<v=QQ<w=RQ=S=UR=T=VQ*x%[Q.f;nR7P;onpOXst!Z#d%k&o&q&r&t,k,p1|2PQ!fPS#fZ#oQ&y!`U'e!o5b8RQ'{#SQ(|#{Q)n$nS,d&h&kQ,i&lQ,v&xQ,{'QQ-_'_Q.p(zQ/S)oS0h+V/fQ0n+aQ1x,hQ2k-aQ3R._Q3x.}Q4o0aQ5j1dQ5{1tQ5|1uQ6Q1wQ6S1yQ6X2RQ6s3UQ7V3uQ8W5mQ8d5}Q8e6OQ8g6RQ8y6tQ9m8XR9w8h#YcOPXZst!Z!`!o#d#o#{%k&h&k&l&o&q&r&t&x'Q'_(z+V+a,h,k,p-a._/f0a1d1t1u1w1y1|2P2R3U5b5m5}6O6R6t8R8X8hQ#YWQ#eYQ%ouQ%qvS%sw!gS(O#W(RQ(U#ZQ(p#uQ(u#xQ(}$OQ)O$PQ)P$QQ)Q$RQ)R$SQ)S$TQ)T$UQ)U$VQ)V$WQ)W$XQ)Y$ZQ)[$_Q)^$aQ)c$eW)m$n)o.}3uQ+^%rQ+r&PS-R'U2bQ-p'oS-u(P-wQ-z(XQ-|(`Q.k(tQ.n(vQ.r;PQ.t;SQ.u;TQ.v;WQ/X)yQ0e+RQ2],|Q2`-PQ2p-iQ2w-}Q3].lQ3b;XQ3c;YQ3d;ZQ3e;[Q3f;]Q3g;^Q3h;_Q3i;`Q3j;aQ3k;bQ3l;cQ3m.sQ3n;fQ3q;iQ3r;vQ3y;dQ4r0gQ4{0vQ6_;xQ6e2rQ6j2xQ6y3^Q6z;yQ7T;{Q7U<TQ7}5`Q8l6]Q8p6fQ8z<UQ9Q<_Q9R<`Q9{8rQ:`9hQ:g9yQ;R#SR<o<{R#[WR'W!el!tQ!r!v!y!z']'i'j'k-]-m1a5e5gS'S!e-TS-Q'T'[R2g-ZR(w#xQ!fQT-[']-]]!qQ!r']-]1a5eQ#p]R'f;QR)b$dY!uQ']-]1a5eQ'h!rS'r!v!yS't!z5gS-l'i'jQ-n'kR2u-mT#kZ%cS#jZ%cS%im,gU(c#h#i#lS.Q(d(eQ.U(fQ0i+WQ2z.RU2{.S.T.VS6l2|2}R8s6md#^W#W#Z%f(P(Y*U+T-{/er#gZm#h#i#l%c(d(e(f+W.R.S.T.V2|2}6mS*X$x*]Q/l*YQ1v,gQ2^,}Q4P/hQ6Z2UQ7[4QQ8k6[T<g'U+UV#aW%f*UU#`W%f*US(Q#W(YU(V#Z+T/eS-S'U+UT-v(P-{V'Z!e%g*VQ$lfR)t$qT)i$l)jR3w.|T*Z$x*]T*c${*UQ0l+`Q3P.^Q5i1cQ6q3TQ8V5lQ8v6pQ9j8UQ9|8uQ:b9lQ:j:OQ:r:cR:u:knqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",
nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",
maxTerm:376,context:Ybe,
nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],
propSources:[rOe],skippedNodes:[0,5,6,274],repeatNodeCount:37,
tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!m),Q(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$h&j(Rp(U!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$h&j(U!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(U!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(j%1l(Rp(U!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$h&j(Rp(U!b$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$h&j(Rp(U!b$[#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$h&j(Rp(U!b#m(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$h&j$P(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(u+JY$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$h&j#y(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(T';W$h&j(RpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$h&j(RpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$h&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$c`$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(RpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$c`(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!i/.^$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!h!Lf$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$h&j(Rp(U!b(P%&f#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$h&j(Rp(U!b#k(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$h&j(Rp(U!bo+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!Y+Jf$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$h&j(Rp(U!b}.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_!X!L^$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$h&j(Rp(U!b#l(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$h&j(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$h&j(U!b!U7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$h&j!U7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$h&j!U7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(U!b!U7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(U!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(U!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$h&j(Rp!U7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$h&j(Rp!U7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Rp!U7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Rp!U7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(RpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$h&j(RpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$h&j(Rp(U!b!U7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Rp(U!b!U7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Rp(U!b!U7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Rp(U!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$h&j(Rp(U!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$h&j(Rp(U!b'y0/l!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$h&j(Rp(U!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$h&j(U!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$h&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(U!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$h&j(RpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(RpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Rp(U!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$h&j$P(Ch(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Y#t$h&j(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!d$b$h&j#})Lv(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#O-<U(Rp(U!b(y7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$j&j(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#o(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$P(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#p(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#]*!Y$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#h(Cl$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#p(Ch$e#|$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#p(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#o(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#o(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(m(Ct$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$h&j#z(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!y$Ip$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!P0,v$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$h&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$h&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$h&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$h&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!V#)l$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#w(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$h&j(Rp(U!b([+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$h&j(Rp(U!b(O,2j$^#t(`$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$h&j(Rp(U!b$^#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X![#Hb(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(t+JY$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z(Kd$?V_!Z(Cds`$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!n7`$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$h&j(Rp(U!b'w0/l$[#t(O,2j(`$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$h&j(Rp(U!b'x0/l$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",
tokenizers:[Jbe,eOe,nOe,2,3,4,5,6,7,8,9,10,11,12,13,14,Kbe,new _ve("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOu~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new _ve("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],
topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},
dialects:{jsx:0,ts:14725},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},
specialized:[{term:322,get:e=>oOe[e]||-1},{term:338,get:e=>iOe[e]||-1},{term:92,
get:e=>aOe[e]||-1}],tokenPrec:14749
}),lOe=[Vge("function ${name}(${params}) {\n\t${}\n}",{label:"function",
detail:"definition",type:"keyword"
}),Vge("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{
label:"for",detail:"loop",type:"keyword"
}),Vge("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",
detail:"of loop",type:"keyword"}),Vge("do {\n\t${}\n} while (${})",{label:"do",
detail:"loop",type:"keyword"}),Vge("while (${}) {\n\t${}\n}",{label:"while",
detail:"loop",type:"keyword"
}),Vge("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",
detail:"/ catch block",type:"keyword"}),Vge("if (${}) {\n\t${}\n}",{label:"if",
detail:"block",type:"keyword"}),Vge("if (${}) {\n\t${}\n} else {\n\t${}\n}",{
label:"if",detail:"/ else block",type:"keyword"
}),Vge("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{
label:"class",detail:"definition",type:"keyword"
}),Vge('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",
type:"keyword"}),Vge('import ${name} from "${module}"\n${}',{label:"import",
detail:"default",type:"keyword"
})],cOe=lOe.concat([Vge("interface ${name} {\n\t${}\n}",{label:"interface",
detail:"definition",type:"keyword"}),Vge("type ${name} = ${type}",{label:"type",
detail:"definition",type:"keyword"}),Vge("enum ${name} {\n\t${}\n}",{
label:"enum",detail:"definition",type:"keyword"
})]),uOe=new hhe,dOe=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"])
;function pOe(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition")
;return r&&n(r,e),!0}}const hOe=["FunctionDeclaration"],fOe={
FunctionDeclaration:pOe("function"),ClassDeclaration:pOe("class"),
ClassExpression:()=>!0,EnumDeclaration:pOe("constant"),
TypeAliasDeclaration:pOe("type"),NamespaceDeclaration:pOe("namespace"),
VariableDefinition(e,t){e.matchContext(hOe)||t(e,"variable")},
TypeDefinition(e,t){t(e,"type")},__proto__:null};function mOe(e,t){
let n=uOe.get(t);if(n)return n;let r=[],o=!0;function i(t,n){
let o=e.sliceString(t.from,t.to);r.push({label:o,type:n})}
return t.cursor(Zpe.IncludeAnonymous).iterate((t=>{if(o)o=!1;else if(t.name){
let e=fOe[t.name];if(e&&e(t,i)||dOe.has(t.name))return!1
}else if(t.to-t.from>8192){for(let n of mOe(e,t.node))r.push(n);return!1}
})),uOe.set(t,r),r}
const gOe=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,vOe=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."]
;function bOe(e){let t=cfe(e.state).resolveInner(e.pos,-1)
;if(vOe.indexOf(t.name)>-1)return null
;let n="VariableName"==t.name||t.to-t.from<20&&gOe.test(e.state.sliceDoc(t.from,t.to))
;if(!n&&!e.explicit)return null;let r=[]
;for(let o=t;o;o=o.parent)dOe.has(o.name)&&(r=r.concat(mOe(e.state.doc,o)))
;return{options:r,from:n?t.from:e.pos,validFor:gOe}}const OOe=lfe.define({
name:"javascript",parser:sOe.configure({props:[Efe.add({IfStatement:Nfe({
except:/^\s*({|else\b)/}),TryStatement:Nfe({except:/^\s*({|catch\b|finally\b)/
}),LabeledStatement:e=>e.baseIndent,SwitchBody:e=>{
let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t)
;return e.baseIndent+(n?0:r?1:2)*e.unit},Block:$fe({closing:"}"}),
ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,
"Statement Property":Nfe({except:/^{/}),JSXElement(e){
let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)
},JSXEscape(e){let t=/\s*\}/.test(e.textAfter)
;return e.lineIndent(e.node.from)+(t?0:e.unit)},
"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),Lfe.add({
"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":jfe,
BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{
brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",
close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}
}),yOe={test:e=>/^JSX/.test(e.name),facet:ofe({commentTokens:{block:{open:"{/*",
close:"*/}"}}})},wOe=OOe.configure({dialect:"ts"
},"typescript"),kOe=OOe.configure({dialect:"jsx",
props:[ife.add((e=>e.isTop?[yOe]:void 0))]}),xOe=OOe.configure({
dialect:"jsx ts",props:[ife.add((e=>e.isTop?[yOe]:void 0))]},"typescript")
;let SOe=e=>({label:e,type:"keyword"})
;const _Oe="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(SOe),EOe=_Oe.concat(["declare","implements","private","protected","public"].map(SOe))
;function TOe(e={}){
let t=e.jsx?e.typescript?xOe:kOe:e.typescript?wOe:OOe,n=e.typescript?cOe.concat(EOe):lOe.concat(_Oe)
;return new Ofe(t,[OOe.data.of({autocomplete:(r=vOe,o=Wme(n),e=>{
for(let t=cfe(e.state).resolveInner(e.pos,-1);t;t=t.parent){
if(r.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return o(e)})
}),OOe.data.of({autocomplete:bOe}),e.jsx?POe:[]]);var r,o}
function COe(e,t,n=e.length){
for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n))
;return""}
const AOe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),POe=Sde.inputHandler.of(((e,t,n,r,o)=>{
if((AOe?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!OOe.isActiveAt(e.state,t,-1))return!1
;let i=o(),{state:a}=i,s=a.changeByRange((e=>{var t
;let n,{head:o}=e,i=cfe(a).resolveInner(o-1,-1)
;if("JSXStartTag"==i.name&&(i=i.parent),
a.doc.sliceString(o-1,o)!=r||"JSXAttributeValue"==i.name&&i.to>o);else{
if(">"==r&&"JSXFragmentTag"==i.name)return{range:e,changes:{from:o,insert:"</>"}
};if("/"==r&&"JSXStartCloseTag"==i.name){let e=i.parent,r=e.parent
;if(r&&e.from==o-2&&((n=COe(a.doc,r.firstChild,o))||"JSXFragmentTag"==(null===(t=r.firstChild)||void 0===t?void 0:t.name))){
let e=`${n}>`;return{range:pae.cursor(o+e.length,-1),changes:{from:o,insert:e}}}
}else if(">"==r){let t=function(e){for(;;){
if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e
;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(i)
;if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(a.doc.sliceString(o,o+2))&&(n=COe(a.doc,t,o)))return{
range:e,changes:{from:o,insert:`</${n}>`}}}}return{range:e}}))
;return!s.changes.empty&&(e.dispatch([i,a.update(s,{userEvent:"input.complete",
scrollIntoView:!0})]),!0)
})),DOe=["_blank","_self","_top","_parent"],$Oe=["ascii","utf-8","utf-16","latin1","latin1"],ROe=["get","post","put","delete"],NOe=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],MOe=["true","false"],IOe={},LOe={
a:{attrs:{href:null,ping:null,type:null,media:null,target:DOe,hreflang:null}},
abbr:IOe,address:IOe,area:{attrs:{alt:null,coords:null,href:null,target:null,
ping:null,media:null,hreflang:null,type:null,
shape:["default","rect","circle","poly"]}},article:IOe,aside:IOe,audio:{attrs:{
src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],
preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],
controls:["controls"]}},b:IOe,base:{attrs:{href:null,target:DOe}},bdi:IOe,
bdo:IOe,blockquote:{attrs:{cite:null}},body:IOe,br:IOe,button:{attrs:{form:null,
formaction:null,name:null,value:null,autofocus:["autofocus"],
disabled:["autofocus"],formenctype:NOe,formmethod:ROe,
formnovalidate:["novalidate"],formtarget:DOe,type:["submit","reset","button"]}},
canvas:{attrs:{width:null,height:null}},caption:IOe,center:IOe,cite:IOe,
code:IOe,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{
type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,
command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{
attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]
}},datalist:{attrs:{data:null}},dd:IOe,del:{attrs:{cite:null,datetime:null}},
details:{attrs:{open:["open"]}},dfn:IOe,div:IOe,dl:IOe,dt:IOe,em:IOe,embed:{
attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}
},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:IOe,
figure:IOe,footer:IOe,form:{attrs:{action:null,name:null,"accept-charset":$Oe,
autocomplete:["on","off"],enctype:NOe,method:ROe,novalidate:["novalidate"],
target:DOe}},h1:IOe,h2:IOe,h3:IOe,h4:IOe,h5:IOe,h6:IOe,head:{
children:["title","base","link","style","meta","script","noscript","command"]},
header:IOe,hgroup:IOe,hr:IOe,html:{attrs:{manifest:null}},i:IOe,iframe:{attrs:{
src:null,srcdoc:null,name:null,width:null,height:null,
sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],
seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,
width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{
attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,
max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,
size:null,src:null,step:null,value:null,width:null,
accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],
autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],
formenctype:NOe,formmethod:ROe,formnovalidate:["novalidate"],formtarget:DOe,
multiple:["multiple"],readonly:["readonly"],required:["required"],
type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]
}},ins:{attrs:{cite:null,datetime:null}},kbd:IOe,keygen:{attrs:{challenge:null,
form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],
keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:IOe,li:{attrs:{
value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,
sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}
},mark:IOe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{
attrs:{content:null,charset:$Oe,
name:["viewport","application-name","author","description","generator","keywords"],
"http-equiv":["content-language","content-type","default-style","refresh"]}},
meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},
nav:IOe,noscript:IOe,object:{attrs:{data:null,type:null,name:null,usemap:null,
form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{
reversed:["reversed"],start:null,type:["1","a","A","i","I"]},
children:["li","script","template","ul","ol"]},optgroup:{attrs:{
disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],
label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,
name:null}},p:IOe,param:{attrs:{name:null,value:null}},pre:IOe,progress:{attrs:{
value:null,max:null}},q:{attrs:{cite:null}},rp:IOe,rt:IOe,ruby:IOe,samp:IOe,
script:{attrs:{type:["text/javascript"],src:null,async:["async"],
defer:["defer"],charset:$Oe}},section:IOe,select:{attrs:{form:null,name:null,
size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},
slot:{attrs:{name:null}},small:IOe,source:{attrs:{src:null,type:null,media:null}
},span:IOe,strong:IOe,style:{attrs:{type:["text/css"],media:null,scoped:null}},
sub:IOe,summary:IOe,sup:IOe,table:IOe,tbody:IOe,td:{attrs:{colspan:null,
rowspan:null,headers:null}},template:IOe,textarea:{attrs:{dirname:null,
form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,
autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],
required:["required"],wrap:["soft","hard"]}},tfoot:IOe,th:{attrs:{colspan:null,
rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:IOe,
time:{attrs:{datetime:null}},title:IOe,tr:IOe,track:{attrs:{src:null,label:null,
default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],
srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:IOe,
video:{attrs:{src:null,poster:null,width:null,height:null,
crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],
autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]
}},wbr:IOe},jOe={accesskey:null,class:null,contenteditable:MOe,contextmenu:null,
dir:["ltr","rtl","auto"],draggable:["true","false","auto"],
dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,
inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],
itemtype:null,
lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],
spellcheck:MOe,autocorrect:MOe,autocapitalize:MOe,style:null,tabindex:null,
title:null,translate:["yes","no"],
rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],
role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),
"aria-activedescendant":null,"aria-atomic":MOe,
"aria-autocomplete":["inline","list","both","none"],"aria-busy":MOe,
"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,
"aria-describedby":null,"aria-disabled":MOe,"aria-dropeffect":null,
"aria-expanded":["true","false","undefined"],"aria-flowto":null,
"aria-grabbed":["true","false","undefined"],"aria-haspopup":MOe,
"aria-hidden":MOe,"aria-invalid":["true","false","grammar","spelling"],
"aria-label":null,"aria-labelledby":null,"aria-level":null,
"aria-live":["off","polite","assertive"],"aria-multiline":MOe,
"aria-multiselectable":MOe,"aria-owns":null,"aria-posinset":null,
"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":MOe,
"aria-relevant":null,"aria-required":MOe,
"aria-selected":["true","false","undefined"],"aria-setsize":null,
"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,
"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null
},BOe="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((e=>"on"+e))
;for(let FEe of BOe)jOe[FEe]=null;class QOe{constructor(e,t){
this.tags=Object.assign(Object.assign({},LOe),e),
this.globalAttrs=Object.assign(Object.assign({},jOe),t),
this.allTags=Object.keys(this.tags),
this.globalAttrNames=Object.keys(this.globalAttrs)}}
function UOe(e,t,n=e.length){if(!t)return""
;let r=t.firstChild,o=r&&r.getChild("TagName")
;return o?e.sliceString(o.from,Math.min(o.to,n)):""}function FOe(e,t=!1){
for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}
function zOe(e,t,n){let r=n.tags[UOe(e,FOe(t))]
;return(null==r?void 0:r.children)||n.allTags}function qOe(e,t){let n=[]
;for(let r=FOe(t);r&&!r.type.isTop;r=FOe(r.parent)){let o=UOe(e,r)
;if(o&&"CloseTag"==r.lastChild.name)break
;o&&n.indexOf(o)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(o)}
return n}QOe.default=new QOe;const HOe=/^[:\-\.\w\u00b7-\uffff]*$/
;function VOe(e,t,n,r,o){let i=/\s*>/.test(e.sliceDoc(o,o+5))?"":">",a=FOe(n,!0)
;return{from:r,to:o,options:zOe(e.doc,a,t).map((e=>({label:e,type:"type"
}))).concat(qOe(e.doc,n).map(((e,t)=>({label:"/"+e,apply:"/"+e+i,type:"type",
boost:99-t})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function ZOe(e,t,n,r){
let o=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,
options:qOe(e.doc,t).map(((e,t)=>({label:e,apply:e+o,type:"type",boost:99-t}))),
validFor:HOe}}function WOe(e,t){
let{state:n,pos:r}=t,o=cfe(n).resolveInner(r,-1),i=o.resolve(r)
;for(let a,s=r;i==o&&(a=o.childBefore(s));){let e=a.lastChild
;if(!e||!e.type.isError||e.from<e.to)break;i=o=a,s=e.from}
return"TagName"==o.name?o.parent&&/CloseTag$/.test(o.parent.name)?ZOe(n,o,o.from,r):VOe(n,e,o,o.from,r):"StartTag"==o.name?VOe(n,e,o,r,r):"StartCloseTag"==o.name||"IncompleteCloseTag"==o.name?ZOe(n,o,r,r):"OpenTag"==o.name||"SelfClosingTag"==o.name||"AttributeName"==o.name?function(e,t,n,r,o){
let i=FOe(n),a=i?t.tags[UOe(e.doc,i)]:null,s=a&&a.attrs?Object.keys(a.attrs):[]
;return{from:r,to:o,
options:(a&&!1===a.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map((e=>({
label:e,type:"property"}))),validFor:HOe}
}(n,e,o,"AttributeName"==o.name?o.from:r,r):"Is"==o.name||"AttributeValue"==o.name||"UnquotedAttributeValue"==o.name?function(e,t,n,r,o){
var i
;let a,s=null===(i=n.parent)||void 0===i?void 0:i.getChild("AttributeName"),l=[]
;if(s){let i=e.sliceDoc(s.from,s.to),c=t.globalAttrs[i];if(!c){
let r=FOe(n),o=r?t.tags[UOe(e.doc,r)]:null
;c=(null==o?void 0:o.attrs)&&o.attrs[i]}if(c){
let t=e.sliceDoc(r,o).toLowerCase(),n='"',i='"'
;/^['"]/.test(t)?(a='"'==t[0]?/^[^"]*$/:/^[^']*$/,
n="",i=e.sliceDoc(o,o+1)==t[0]?"":t[0],t=t.slice(1),r++):a=/^[^\s<>='"]*$/
;for(let e of c)l.push({label:e,apply:n+e+i,type:"constant"})}}return{from:r,
to:o,options:l,validFor:a}
}(n,e,o,"Is"==o.name?r:o.from,r):!t.explicit||"Element"!=i.name&&"Text"!=i.name&&"Document"!=i.name?null:function(e,t,n,r){
let o=[],i=0;for(let a of zOe(e.doc,n,t))o.push({label:"<"+a,type:"type"})
;for(let a of qOe(e.doc,n))o.push({label:"</"+a+">",type:"type",boost:99-i++})
;return{from:r,to:r,options:o,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}
}(n,e,o,r)}function XOe(e){
let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new QOe(t,n):QOe.default
;return e=>WOe(r,e)}const GOe=OOe.parser.configure({top:"SingleExpression"
}),YOe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,
parser:wOe.parser},{tag:"script",
attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:kOe.parser},{
tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:xOe.parser},{
tag:"script",
attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),
parser:GOe},{tag:"script",
attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),
parser:OOe.parser},{tag:"style",
attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),
parser:pbe.parser}],KOe=[{name:"style",parser:pbe.parser.configure({top:"Styles"
})}].concat(BOe.map((e=>({name:e,parser:OOe.parser})))),JOe=lfe.define({
name:"html",parser:Hbe.configure({props:[Efe.add({Element(e){
let t=/^(\s*)(<\/)?/.exec(e.textAfter)
;return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)
},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){
if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue()
;let t,n=null;for(let r=e.node;;){let e=r.lastChild
;if(!e||"Element"!=e.name||e.to!=r.to)break;n=r=e}
return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null
}}),Lfe.add({Element(e){let t=e.firstChild,n=e.lastChild
;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}
}),vme.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{
commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},
indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),eye=JOe.configure({
wrap:Xbe(YOe,KOe)})
;const tye=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),nye=Sde.inputHandler.of(((e,t,n,r,o)=>{
if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!eye.isActiveAt(e.state,t,-1))return!1
;let i=o(),{state:a}=i,s=a.changeByRange((e=>{var t,n,o
;let i,s=a.doc.sliceString(e.from-1,e.to)==r,{head:l}=e,c=cfe(a).resolveInner(l,-1)
;if(s&&">"==r&&"EndTag"==c.name){let r=c.parent
;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(i=UOe(a.doc,r.parent,l))&&!tye.has(i)){
return{range:e,changes:{from:l,to:l+(">"===a.doc.sliceString(l,l+1)?1:0),
insert:`</${i}>`}}}}else if(s&&"/"==r&&"IncompleteCloseTag"==c.name){
let e=c.parent
;if(c.from==l-2&&"CloseTag"!=(null===(o=e.lastChild)||void 0===o?void 0:o.name)&&(i=UOe(a.doc,e,l))&&!tye.has(i)){
let e=l+(">"===a.doc.sliceString(l,l+1)?1:0),t=`${i}>`;return{
range:pae.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}
}));return!s.changes.empty&&(e.dispatch([i,a.update(s,{
userEvent:"input.complete",scrollIntoView:!0})]),!0)})),rye=Nhe({
String:tfe.string,Number:tfe.number,"True False":tfe.bool,
PropertyName:tfe.propertyName,Null:tfe.null,",":tfe.separator,
"[ ]":tfe.squareBracket,"{ }":tfe.brace}),oye=Qve.deserialize({version:14,
states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",
stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",
goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",
nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",
maxTerm:25,
nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],
propSources:[rye],skippedNodes:[0],repeatNodeCount:2,
tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",
tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),iye=lfe.define({
name:"json",parser:oye.configure({props:[Efe.add({Object:Nfe({except:/^\s*\}/}),
Array:Nfe({except:/^\s*\]/})}),Lfe.add({"Object Array":jfe})]}),languageData:{
closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}})
;function aye(e){
return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}
let sye=null,lye=null,cye=0;function uye(e,t){let n=e.pos+t
;if(lye==e&&cye==n)return sye;for(;9==(r=e.peek(t))||10==r||13==r||32==r;)t++
;var r;let o="";for(;;){let n=e.peek(t);if(!aye(n))break
;o+=String.fromCharCode(n),t++}return lye=e,cye=n,sye=o||null}function dye(e,t){
this.name=e,this.parent=t,this.hash=t?t.hash:0
;for(let n=0;n<e.length;n++)this.hash+=(this.hash<<4)+e.charCodeAt(n)+(e.charCodeAt(n)<<8)
}const pye=new Bve({start:null,shift:(e,t,n,r)=>1==t?new dye(uye(r,1)||"",e):e,
reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,n,r){let o=t.type.id
;return 1==o||13==o?new dye(uye(r,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1
}),hye=new Eve(((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance()
;let n=uye(e,0);if(!n)return e.acceptToken(5)
;if(t.context&&n==t.context.name)return e.acceptToken(2)
;for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(3,-2)
;e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{
contextual:!0});function fye(e,t){return new Eve((n=>{let r=0,o=t.charCodeAt(0)
;e:for(;!(n.next<0);n.advance(),r++)if(n.next==o){
for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue e;break}
r&&n.acceptToken(e)}))}
const mye=fye(35,"--\x3e"),gye=fye(36,"?>"),vye=fye(37,"]]>"),bye=Nhe({
Text:tfe.content,
"StartTag StartCloseTag EndTag SelfCloseEndTag":tfe.angleBracket,
TagName:tfe.tagName,"MismatchedCloseTag/TagName":[tfe.tagName,tfe.invalid],
AttributeName:tfe.attributeName,AttributeValue:tfe.attributeValue,
Is:tfe.definitionOperator,"EntityReference CharacterReference":tfe.character,
Comment:tfe.blockComment,ProcessingInst:tfe.processingInstruction,
DoctypeDecl:tfe.documentMeta,Cdata:tfe.special(tfe.string)
}),Oye=Qve.deserialize({version:14,
states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",
stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",
goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",
nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",
maxTerm:47,context:pye,
nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],
propSources:[bye],skippedNodes:[0],repeatNodeCount:8,
tokenData:"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O,^!O!P$n!P!Q.m!Q![$n![!]0V!]!^$n!^!_3h!_!`El!`!aF_!a!bGQ!b!c$n!c!}0V!}#P$n#P#QHj#Q#R$n#R#S0V#S#T$n#T#o0V#o%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U$n4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^ast)c![!]*g!c!}*g#R#S*g#T#o*g%W%o*g%p&a*g&b1p*g4U4d*g4e$IS*g$I`$Ib*g$Kh%#t*g&/x&Et*g&FV;'S*g;'S;:j,W?&r?Ah*g?BY?Mn*g~)fQ!Q![)l#l#m)z~)oQ!Q![)l!]!^)u~)zOX~~)}R!Q![*W!c!i*W#T#Z*W~*ZS!Q![*W!]!^)u!c!i*W#T#Z*W~*jg}!O*g!O!P*g!Q![*g![!]*g!]!^,R!c!}*g#R#S*g#T#o*g$}%O*g%W%o*g%p&a*g&b1p*g1p4U*g4U4d*g4e$IS*g$I`$Ib*g$Je$Jg*g$Kh%#t*g&/x&Et*g&FV;'S*g;'S;:j,W?&r?Ah*g?BY?Mn*g~,WOW~~,ZP;=`<%l*gZ,eYVP{WOr$nrs%_sv$nw}$n}!O-T!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ-[YVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-z!a;'S$n;'S;=`&e<%lO$nZ.TW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n].tYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a/d!a;'S$n;'S;=`&e<%lO$n]/mWdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_0b!O`S^QVP{WOr$nrs%_sv$nw}$n}!O0V!O!P0V!P!Q$n!Q![0V![!]0V!]!^$n!^!_%y!_!c$n!c!}0V!}#R$n#R#S0V#S#T$n#T#o0V#o$}$n$}%O0V%O%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U0V4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Je$n$Je$Jg0V$Jg$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$n_3eP;=`<%l0VX3mW{WOq%yqr4Vsv%yw!a%y!a!bEU!b;'S%y;'S;=`&_<%lO%yX4[]{WOr%ysv%yw}%y}!O5T!O!f%y!f!g6V!g!}%y!}#O;f#O#W%y#W#XAr#X;'S%y;'S;=`&_<%lO%yX5YV{WOr%ysv%yw}%y}!O5o!O;'S%y;'S;=`&_<%lO%yX5vT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!q%y!q!r6q!r;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!e%y!e!f7]!f;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!v%y!v!w7w!w;'S%y;'S;=`&_<%lO%yX7|V{WOr%ysv%yw!{%y!{!|8c!|;'S%y;'S;=`&_<%lO%yX8hV{WOr%ysv%yw!r%y!r!s8}!s;'S%y;'S;=`&_<%lO%yX9SV{WOr%ysv%yw!g%y!g!h9i!h;'S%y;'S;=`&_<%lO%yX9nX{WOr9irs:Zsv9ivw:Zw!`9i!`!a:x!a;'S9i;'S;=`;`<%lO9iP:^TO!`:Z!`!a:m!a;'S:Z;'S;=`:r<%lO:ZP:rOiPP:uP;=`<%l:ZX;PTiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX;cP;=`<%l9iX;kX{WOr%ysv%yw!e%y!e!f<W!f#V%y#V#W?f#W;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!f%y!f!g<r!g;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!c%y!c!d=^!d;'S%y;'S;=`&_<%lO%yX=cV{WOr%ysv%yw!v%y!v!w=x!w;'S%y;'S;=`&_<%lO%yX=}V{WOr%ysv%yw!c%y!c!d>d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",
tokenizers:[hye,mye,gye,vye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0})
;function yye(e,t){let n=t&&t.getChild("TagName")
;return n?e.sliceString(n.from,n.to):""}function wye(e,t){let n=t&&t.firstChild
;return n&&"OpenTag"==n.name?yye(e,n):""}function kye(e){
for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}
let xye=class{constructor(e,t,n){
this.attrs=t,this.attrValues=n,this.children=[],
this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"
},e.completion||{}),{label:this.name
}),this.openCompletion=Object.assign(Object.assign({},this.completion),{
label:"<"+this.name
}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{
label:"</"+this.name+">",boost:2
}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{
label:this.name+">"}),this.text=e.textContent?e.textContent.map((e=>({label:e,
type:"text"}))):[]}};const Sye=/^[:\-\.\w\u00b7-\uffff]*$/;function _ye(e){
return Object.assign(Object.assign({type:"property"},e.completion||{}),{
label:e.name})}function Eye(e){return"string"==typeof e?{label:`"${e}"`,
type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{
label:`"${e.label}"`})}function Tye(e,t){let n=[],r=[],o=Object.create(null)
;for(let l of t){let e=_ye(l)
;n.push(e),l.global&&r.push(e),l.values&&(o[l.name]=l.values.map(Eye))}
let i=[],a=[],s=Object.create(null);for(let l of e){let e=r,t=o
;l.attributes&&(e=e.concat(l.attributes.map((e=>"string"==typeof e?n.find((t=>t.label==e))||{
label:e,type:"property"
}:(e.values&&(t==o&&(t=Object.create(t)),t[e.name]=e.values.map(Eye)),
_ye(e))))));let c=new xye(l,e,t);s[c.name]=c,i.push(c),l.top&&a.push(c)}
a.length||(a=i);for(let l=0;l<i.length;l++){let t=e[l],n=i[l]
;if(t.children)for(let e of t.children)s[e]&&n.children.push(s[e]);else n.children=i
}return e=>{var t;let{doc:n}=e.state,l=function(e,t){var n
;let r=cfe(e).resolveInner(t,-1),o=null
;for(let i=r;!o&&i.parent;i=i.parent)"OpenTag"!=i.name&&"CloseTag"!=i.name&&"SelfClosingTag"!=i.name&&"MismatchedCloseTag"!=i.name||(o=i)
;if(o&&(o.to>t||o.lastChild.type.isError)){let e=o.parent
;if("TagName"==r.name)return"CloseTag"==o.name||"MismatchedCloseTag"==o.name?{
type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,
context:kye(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,
context:o};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,
context:o};let n=r==o||"Attribute"==r.name?r.childBefore(t):r
;return"StartTag"==(null==n?void 0:n.name)?{type:"openTag",from:t,context:kye(e)
}:"StartCloseTag"==(null==n?void 0:n.name)&&n.to<=t?{type:"closeTag",from:t,
context:e}:"Is"==(null==n?void 0:n.name)?{type:"attrValue",from:t,context:o}:n?{
type:"attrName",from:t,context:o}:null}if("StartCloseTag"==r.name)return{
type:"closeTag",from:t,context:r.parent}
;for(;r.parent&&r.to==t&&!(null===(n=r.lastChild)||void 0===n?void 0:n.type.isError);)r=r.parent
;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,
context:"Element"==r.name?r:kye(r)}:null}(e.state,e.pos)
;if(!l||"tag"==l.type&&!e.explicit)return null;let{type:c,from:u,context:d}=l
;if("openTag"==c){let e=a,t=wye(n,d);if(t){let n=s[t]
;e=(null==n?void 0:n.children)||i}return{from:u,
options:e.map((e=>e.completion)),validFor:Sye}}if("closeTag"==c){let r=wye(n,d)
;return r?{from:u,to:e.pos+(">"==n.sliceString(e.pos,e.pos+1)?1:0),
options:[(null===(t=s[r])||void 0===t?void 0:t.closeNameCompletion)||{
label:r+">",type:"type"}],validFor:Sye}:null}if("attrName"==c){let e=s[yye(n,d)]
;return{from:u,options:(null==e?void 0:e.attrs)||r,validFor:Sye}}
if("attrValue"==c){let t=function(e,t,n){
let r=t&&t.getChildren("Attribute").find((e=>e.from<=n&&e.to>=n)),o=r&&r.getChild("AttributeName")
;return o?e.sliceString(o.from,o.to):""}(n,d,u);if(!t)return null
;let r=s[yye(n,d)],i=((null==r?void 0:r.attrValues)||o)[t];return i&&i.length?{
from:u,to:e.pos+('"'==n.sliceString(e.pos,e.pos+1)?1:0),options:i,
validFor:/^"[^"]*"?$/}:null}if("tag"==c){
let t=wye(n,d),r=s[t],o=[],l=d&&d.lastChild
;!t||l&&"CloseTag"==l.name&&yye(n,l)==t||o.push(r?r.closeCompletion:{
label:"</"+t+">",type:"type",boost:2})
;let c=o.concat(((null==r?void 0:r.children)||(d?i:a)).map((e=>e.openCompletion)))
;if(d&&(null==r?void 0:r.text.length)){let t=d.firstChild
;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(c=c.concat(r.text))}
return{from:u,options:c,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}
const Cye=lfe.define({name:"xml",parser:Oye.configure({props:[Efe.add({
Element(e){let t=/^\s*<\//.test(e.textAfter)
;return e.lineIndent(e.node.from)+(t?0:e.unit)},
"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),Lfe.add({
Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{
from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),vme.add({
"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{
block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}})
;function Aye(e,t,n=e.length){if(!t)return""
;let r=t.firstChild,o=r&&r.getChild("TagName")
;return o?e.sliceString(o.from,Math.min(o.to,n)):""}
const Pye=Sde.inputHandler.of(((e,t,n,r,o)=>{
if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Cye.isActiveAt(e.state,t,-1))return!1
;let i=o(),{state:a}=i,s=a.changeByRange((e=>{var t,n,o
;let i,{head:s}=e,l=a.doc.sliceString(s-1,s)==r,c=cfe(a).resolveInner(s,-1)
;if(l&&">"==r&&"EndTag"==c.name){let r=c.parent
;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(i=Aye(a.doc,r.parent,s))){
return{range:e,changes:{from:s,to:s+(">"===a.doc.sliceString(s,s+1)?1:0),
insert:`</${i}>`}}}}else if(l&&"/"==r&&"StartCloseTag"==c.name){let e=c.parent
;if(c.from==s-2&&"CloseTag"!=(null===(o=e.lastChild)||void 0===o?void 0:o.name)&&(i=Aye(a.doc,e,s))){
let e=s+(">"===a.doc.sliceString(s,s+1)?1:0),t=`${i}>`;return{
range:pae.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}
}));return!s.changes.empty&&(e.dispatch([i,a.update(s,{
userEvent:"input.complete",scrollIntoView:!0})]),!0)})),Dye=63;class $ye{
constructor(e,t,n){
this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n
}}function Rye(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r)
;if(Mye(t)||-1==t)return n}}function Nye(e){return 32==e||9==e}function Mye(e){
return 10==e||13==e}function Iye(e){return Nye(e)||Mye(e)}function Lye(e){
return e<0||Iye(e)}$ye.top=new $ye(null,-1,0);const jye=new Bve({start:$ye.top,
reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,n,r){
if(3==t)return new $ye(e,Rye(r,r.pos),1)
;if(65==t||5==t)return new $ye(e,Rye(r,r.pos),2);if(t==Dye)return e.parent
;if(19==t||33==t)return new $ye(e,0,3);if(13==t&&4==e.type)return e.parent
;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,n.pos))
;if(t)return new $ye(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash})
;function Bye(e,t,n=0){
return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&Lye(e.peek(n+3))}
const Qye=new Eve(((e,t)=>{
if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let n=e.peek(-1)
;if((Mye(n)||n<0)&&3!=t.context.type){if(Bye(e,45)){
if(!t.canShift(Dye))return e.acceptToken(1,3);e.acceptToken(Dye)}if(Bye(e,46)){
if(!t.canShift(Dye))return e.acceptToken(2,3);e.acceptToken(Dye)}let n=0
;for(;32==e.next;)n++,e.advance()
;!(n<t.context.depth)&&(n!=t.context.depth||1!=t.context.type||45==e.next&&Lye(e.peek(1)))||-1==e.next||Mye(e.next)||35==e.next||e.acceptToken(Dye,-n)
}}),{contextual:!0}),Uye=new Eve(((e,t)=>{
if(3!=t.context.type)if(45==e.next)e.advance(),
Lye(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==Rye(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),
Lye(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==Rye(e,e.pos-1)?6:5);else{
let n=e.pos;for(;;)if(Nye(e.next)){if(e.pos==n)return;e.advance()
}else if(33==e.next)qye(e);else{if(38!=e.next){if(42==e.next){Hye(e);break}
if(39==e.next||34==e.next){if(Vye(e,!0))break;return}
if(91==e.next||123==e.next){if(!Zye(e))return;break}Yye(e,!0,!1,0);break}Hye(e)}
for(;Nye(e.next);)e.advance();if(58==e.next){if(e.pos==n&&t.canShift(29))return
;Lye(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==Rye(e,n)?66:65,n)
}}else 63==e.next&&(e.advance(),Lye(e.next)&&e.acceptToken(7))}),{contextual:!0
});function Fye(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}
function zye(e,t){
return 37==e.next?(e.advance(),Fye(e.next)&&e.advance(),Fye(e.next)&&e.advance(),
!0):!!((n=e.next)>32&&n<127&&34!=n&&37!=n&&44!=n&&60!=n&&62!=n&&92!=n&&94!=n&&96!=n&&123!=n&&124!=n&&125!=n||t&&44==e.next)&&(e.advance(),
!0);var n}function qye(e){if(e.advance(),60==e.next){
for(e.advance();;)if(!zye(e,!0)){62==e.next&&e.advance();break}
}else for(;zye(e,!1););}function Hye(e){
for(e.advance();!Lye(e.next)&&"f"!=Xye(e.tag);)e.advance()}function Vye(e,t){
let n=e.next,r=!1,o=e.pos;for(e.advance();;){let i=e.next;if(i<0)break
;if(e.advance(),i==n){if(39!=i)break;if(39!=e.next)break;e.advance()
}else if(92==i&&34==n)e.next>=0&&e.advance();else if(Mye(i)){if(t)return!1;r=!0
}else if(t&&e.pos>=o+1024)return!1}return!r}function Zye(e){
for(let t=[],n=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),
e.advance();else if(39==e.next||34==e.next){if(!Vye(e,!0))return!1
}else if(93==e.next||125==e.next){if(t[t.length-1]!=e.next-2)return!1
;if(t.pop(),e.advance(),!t.length)return!0}else{
if(e.next<0||e.pos>n||Mye(e.next))return!1;e.advance()}}
const Wye="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"
;function Xye(e){return e<33?"u":e>125?"s":Wye[e-33]}function Gye(e,t){
let n=Xye(e);return"u"!=n&&!(t&&"f"==n)}function Yye(e,t,n,r){
if("s"!=Xye(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!Gye(e.peek(1),n)))return!1
;e.advance();let o=e.pos;for(;;){let i=e.next,a=0,s=r+1;for(;Iye(i);){
if(Mye(i)){if(t)return!1;s=0}else s++;i=e.peek(++a)}
if(!(i>=0&&(58==i?Gye(e.peek(a+1),n):35==i?32!=e.peek(a-1):Gye(i,n)))||!n&&s<=r||0==s&&!n&&(Bye(e,45,a)||Bye(e,46,a)))break
;if(t&&"f"==Xye(i))return!1;for(let t=a;t>=0;t--)e.advance()
;if(t&&e.pos>o+1024)return!1}return!0}const Kye=new Eve(((e,t)=>{
if(33==e.next)qye(e),e.acceptToken(12);else if(38==e.next||42==e.next){
let t=38==e.next?10:11;Hye(e),e.acceptToken(t)
}else 39==e.next||34==e.next?(Vye(e,!1),
e.acceptToken(9)):Yye(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)
})),Jye=new Eve(((e,t)=>{let n=4==t.context.type?t.context.depth:-1,r=e.pos
;e:for(;;){let o=0,i=e.next;for(;32==i;)i=e.peek(++o)
;if(!o&&(Bye(e,45,o)||Bye(e,46,o)))break
;if(!Mye(i)&&(n<0&&(n=Math.max(t.context.depth+1,o)),o<n))break;for(;;){
if(e.next<0)break e;let t=Mye(e.next);if(e.advance(),t)continue e;r=e.pos}}
e.acceptTokenTo(13,r)})),ewe=Nhe({DirectiveName:tfe.keyword,
DirectiveContent:tfe.attributeValue,"DirectiveEnd DocEnd":tfe.meta,
QuotedLiteral:tfe.string,BlockLiteralHeader:tfe.special(tfe.string),
BlockLiteralContent:tfe.content,Literal:tfe.content,
"Key/Literal Key/QuotedLiteral":tfe.definition(tfe.propertyName),
"Anchor Alias":tfe.labelName,Tag:tfe.typeName,Comment:tfe.lineComment,
": , -":tfe.separator,"?":tfe.punctuation,"[ ]":tfe.squareBracket,
"{ }":tfe.brace}),twe=Qve.deserialize({version:14,
states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",
stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",
goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",
nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",
maxTerm:74,context:jye,
nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],
propSources:[ewe],skippedNodes:[0],repeatNodeCount:6,
tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",
tokenizers:[Qye,Uye,Kye,Jye,0,1],topRules:{Stream:[0,15]},tokenPrec:0
}),nwe=lfe.define({name:"yaml",parser:twe.configure({props:[Efe.add({Stream:e=>{
for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){
if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t)
;if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit
;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.from,1)
;if("QuotedLiteral"==t.name)return null;if("Literal"==t.name){
let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n
;if(t.to>e.pos)return null}}return null},FlowMapping:$fe({closing:"}"}),
FlowSequence:$fe({closing:"]"})}),Lfe.add({"FlowMapping FlowSequence":jfe,
"BlockSequence Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to
})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}})
;function rwe(){var e=arguments[0]
;"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1]
;if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){
for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r]
;"string"==typeof o?e.setAttribute(r,o):null!=o&&(e[r]=o)}t++}
for(;t<arguments.length;t++)owe(e,arguments[t]);return e}function owe(e,t){
if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{
if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t)
;for(var n=0;n<t.length;n++)owe(e,t[n])}}class iwe{constructor(e,t,n){
this.from=e,this.to=t,this.diagnostic=n}}class awe{constructor(e,t,n){
this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){
let r=e,o=n.facet(bwe).markerFilter;o&&(r=o(r,n))
;let i=Lle.set(r.map((e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?Lle.widget({
widget:new wwe(e),diagnostic:e}).range(e.from):Lle.mark({attributes:{
class:"cm-lintRange cm-lintRange-"+e.severity+(e.markClass?" "+e.markClass:"")},
diagnostic:e}).range(e.from,e.to))),!0);return new awe(i,t,swe(i))}}
function swe(e,t=null,n=0){let r=null;return e.between(n,1e9,((e,n,{spec:o})=>{
if(!t||o.diagnostic==t)return r=new iwe(e,n,o.diagnostic),!1})),r}
function lwe(e,t){return e.field(pwe,!1)?t:t.concat(Hae.appendConfig.of(Ewe))}
const cwe=Hae.define(),uwe=Hae.define(),dwe=Hae.define(),pwe=kae.define({
create:()=>new awe(Lle.none,null,null),update(e,t){
if(t.docChanged&&e.diagnostics.size){
let n=e.diagnostics.map(t.changes),r=null,o=e.panel;if(e.selected){
let o=t.changes.mapPos(e.selected.from,1)
;r=swe(n,e.selected.diagnostic,o)||swe(n,null,o)}
!n.size&&o&&t.state.facet(bwe).autoPanel&&(o=null),e=new awe(n,o,r)}
for(let n of t.effects)if(n.is(cwe)){
let r=t.state.facet(bwe).autoPanel?n.value.length?xwe.open:null:e.panel
;e=awe.init(n.value,r,t.state)
}else n.is(uwe)?e=new awe(e.diagnostics,n.value?xwe.open:null,e.selected):n.is(dwe)&&(e=new awe(e.diagnostics,e.panel,n.value))
;return e},
provide:e=>[vpe.from(e,(e=>e.panel)),Sde.decorations.from(e,(e=>e.diagnostics))]
}),hwe=Lle.mark({class:"cm-lintRange cm-lintRange-active"});function fwe(e,t,n){
let{diagnostics:r}=e.state.field(pwe),o=[],i=2e8,a=0
;r.between(t-(n<0?1:0),t+(n>0?1:0),((e,r,{spec:s})=>{
t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0))&&(o.push(s.diagnostic),
i=Math.min(e,i),a=Math.max(r,a))}));let s=e.state.facet(bwe).tooltipFilter
;return s&&(o=s(o,e.state)),o.length?{pos:i,end:a,
above:e.state.doc.lineAt(i).to<a,create:()=>({dom:mwe(e,o)})}:null}
function mwe(e,t){return rwe("ul",{class:"cm-tooltip-lint"
},t.map((t=>ywe(e,t,!1))))}const gwe=e=>{let t=e.state.field(pwe,!1)
;return!(!t||!t.panel)&&(e.dispatch({effects:uwe.of(!1)}),!0)
},vwe=Cce.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0
;let{delay:t}=e.state.facet(bwe)
;this.lintTime=Date.now()+t,this.run=this.run.bind(this),
this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout)
;let e=Date.now()
;if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{
this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(bwe)
;t.length&&Promise.all(t.map((e=>Promise.resolve(e(this.view))))).then((t=>{
let n=t.reduce(((e,t)=>e.concat(t)))
;this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{
effects:lwe(e,[cwe.of(t)])}}(this.view.state,n))}),(e=>{Sce(this.view.state,e)
}))}}update(e){let t=e.state.facet(bwe)
;(e.docChanged||t!=e.startState.facet(bwe)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,
this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){
this.set&&(this.lintTime=Date.now(),this.run())}destroy(){
clearTimeout(this.timeout)}}),bwe=mae.define({combine:e=>Object.assign({
sources:e.map((e=>e.source)).filter((e=>null!=e))},ose(e.map((e=>e.config)),{
delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null
},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))});function Owe(e){let t=[]
;if(e)e:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e]
;if(/[a-zA-Z]/.test(r)&&!t.some((e=>e.toLowerCase()==r.toLowerCase()))){
t.push(r);continue e}}t.push("")}return t}function ywe(e,t,n){var r
;let o=n?Owe(t.actions):[];return rwe("li",{
class:"cm-diagnostic cm-diagnostic-"+t.severity},rwe("span",{
class:"cm-diagnosticText"
},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map(((n,r)=>{
let i=!1,a=r=>{if(r.preventDefault(),i)return;i=!0
;let o=swe(e.state.field(pwe).diagnostics,t);o&&n.apply(e,o.from,o.to)
},{name:s}=n,l=o[r]?s.indexOf(o[r]):-1,c=l<0?s:[s.slice(0,l),rwe("u",s.slice(l,l+1)),s.slice(l+1)]
;return rwe("button",{type:"button",class:"cm-diagnosticAction",onclick:a,
onmousedown:a,"aria-label":` Action: ${s}${l<0?"":` (access key "${o[r]})"`}.`
},c)})),t.source&&rwe("div",{class:"cm-diagnosticSource"},t.source))}
class wwe extends Mle{constructor(e){super(),this.diagnostic=e}eq(e){
return e.diagnostic==this.diagnostic}toDOM(){return rwe("span",{
class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class kwe{
constructor(e,t){
this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),
this.dom=ywe(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}
}class xwe{constructor(e){this.view=e,this.items=[];this.list=rwe("ul",{
tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),
onkeydown:t=>{
if(27==t.keyCode)gwe(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{
if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{
let{diagnostic:n}=this.items[this.selectedIndex],r=Owe(n.actions)
;for(let o=0;o<r.length;o++)if(r[o].toUpperCase().charCodeAt(0)==t.keyCode){
let t=swe(this.view.state.field(pwe).diagnostics,n)
;t&&n.actions[o].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{
for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)
}}),this.dom=rwe("div",{class:"cm-panel-lint"},this.list,rwe("button",{
type:"button",name:"close","aria-label":this.view.state.phrase("close"),
onclick:()=>gwe(this.view)},"×")),this.update()}get selectedIndex(){
let e=this.view.state.field(pwe).selected;if(!e)return-1
;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t
;return-1}update(){
let{diagnostics:e,selected:t}=this.view.state.field(pwe),n=0,r=!1,o=null
;for(e.between(0,this.view.state.doc.length,((e,i,{spec:a})=>{let s,l=-1
;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==a.diagnostic){
l=t;break}
l<0?(s=new kwe(this.view,a.diagnostic),this.items.splice(n,0,s),r=!0):(s=this.items[l],
l>n&&(this.items.splice(n,l-n),
r=!0)),t&&s.diagnostic==t.diagnostic?s.dom.hasAttribute("aria-selected")||(s.dom.setAttribute("aria-selected","true"),
o=s):s.dom.hasAttribute("aria-selected")&&s.dom.removeAttribute("aria-selected"),
n++
}));n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,
this.items.pop();0==this.items.length&&(this.items.push(new kwe(this.view,{
from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")
})),
r=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({
key:this,read:()=>({sel:o.dom.getBoundingClientRect(),
panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{
let n=t.height/this.list.offsetHeight
;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)
}
})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()
}sync(){let e=this.list.firstChild;function t(){let t=e
;e=t.nextSibling,t.remove()}
for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t()
;e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}
moveSelection(e){if(this.selectedIndex<0)return
;let t=swe(this.view.state.field(pwe).diagnostics,this.items[e].diagnostic)
;t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,
effects:dwe.of(t)})}static open(e){return new xwe(e)}}function Swe(e){
return function(e,t='viewBox="0 0 40 40"'){
return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`
}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')
}const _we=Sde.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",
marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},
".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{
borderLeft:"5px solid orange"},".cm-diagnostic-info":{
borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"
},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",
backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",
cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},
".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",
paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Swe("#d11")},
".cm-lintRange-warning":{backgroundImage:Swe("orange")},".cm-lintRange-info":{
backgroundImage:Swe("#999")},".cm-lintRange-hint":{backgroundImage:Swe("#66d")},
".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{
padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{
content:'""',position:"absolute",bottom:0,left:"-2px",
borderLeft:"3px solid transparent",borderRight:"3px solid transparent",
borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{
borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{
borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{
borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative",
"& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{
backgroundColor:"#ddd","& u":{textDecoration:"underline"}},
"&:focus [aria-selected]":{background_fallback:"#bdf",
backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},
"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{
position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",
font:"inherit",padding:0,margin:0}}
}),Ewe=[pwe,Sde.decorations.compute([pwe],(e=>{
let{selected:t,panel:n}=e.field(pwe)
;return t&&n&&t.from!=t.to?Lle.set([hwe.range(t.from,t.to)]):Lle.none
})),upe(fwe,{hideOn:function(e,t){
let n=t.pos,r=t.end||n,o=e.state.facet(bwe).hideOn(e,n,r);if(null!=o)return o
;let i=e.startState.doc.lineAt(t.pos)
;return!(!e.effects.some((e=>e.is(cwe)))&&!e.changes.touchesRange(i.from,Math.max(i.to,r)))
}}),_we];const Twe=(e=>{var{theme:t,settings:n={},styles:r=[]}=e,o={
".cm-gutters":{}},i={}
;n.background&&(i.backgroundColor=n.background),n.backgroundImage&&(i.backgroundImage=n.backgroundImage),
n.foreground&&(i.color=n.foreground),
n.fontSize&&(i.fontSize=n.fontSize),(n.background||n.foreground)&&(o["&"]=i),
n.fontFamily&&(o["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily
}),n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),
n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),
n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),
n.caret&&(o[".cm-content"]={caretColor:n.caret
},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var a={}
;return n.gutterActiveForeground&&(a.color=n.gutterActiveForeground),
n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight
},a.backgroundColor=n.lineHighlight),
o[".cm-activeLineGutter"]=a,n.selection&&(o["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={
background:n.selection+" !important"
}),n.selectionMatch&&(o["& .cm-selectionMatch"]={
backgroundColor:n.selectionMatch}),[Sde.theme(o,{dark:"dark"===t
}),ime(tme.define(r))]})({theme:"light",settings:{
background:"var(--scalar-background-2)",foreground:"var(--scalar-color-1)",
caret:"var(--scalar-color-1)",selection:"rgba(151, 183, 205, 0.2)",
selectionMatch:"#e3dcce",gutterBackground:"var(--scalar-background-2)",
gutterForeground:"var(--scalar-color-3)",gutterBorder:"transparent",
lineHighlight:"var(--scalar-background-3)",fontFamily:"var(--scalar-font-code)"
},styles:[{tag:[tfe.standard(tfe.tagName),tfe.tagName],
color:"var(--scalar-color-purple)"},{tag:[tfe.comment],
color:"var(--scalar-color-3)"},{tag:[tfe.className],
color:"var(--scalar-color-orange)"},{
tag:[tfe.variableName,tfe.propertyName,tfe.attributeName],
color:"var(--scalar-color-1)"},{tag:[tfe.operator],color:"var(--scalar-color-2)"
},{tag:[tfe.keyword,tfe.typeName,tfe.typeOperator],
color:"var(--scalar-color-green)"},{tag:[tfe.string],
color:"var(--scalar-color-blue)"},{tag:[tfe.bracket,tfe.regexp,tfe.meta],
color:"var(--scalar-color-3)"},{tag:[tfe.number],
color:"var(--scalar-color-blue)"},{tag:[tfe.name,tfe.quote],
color:"var(--scalar-color-3)"},{tag:[tfe.heading],color:"var(--scalar-color-3)",
fontWeight:"bold"},{tag:[tfe.emphasis],color:"var(--scalar-color-3)",
fontStyle:"italic"},{tag:[tfe.deleted],color:"var(--scalar-color-3)",
backgroundColor:"transparent"},{
tag:[tfe.atom,tfe.bool,tfe.special(tfe.variableName)],
color:"var(--scalar-color-3)"},{tag:[tfe.url,tfe.escape,tfe.regexp,tfe.link],
color:"var(--scalar-color-1)"},{tag:tfe.link,textDecoration:"underline"},{
tag:tfe.strikethrough,textDecoration:"line-through"},{tag:tfe.invalid,
color:"var(--scalar-color-3)"}]})
;var Cwe=Object.defineProperty,Awe=(e,t,n)=>((e,t,n)=>t in e?Cwe(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,t+"",n)
;const Pwe=new Bde({regexp:/(\{[^}]+\})/g,decoration:()=>Lle.mark({attributes:{
class:"api-client-url-variable"}})}),Dwe=()=>Cce.fromClass(class{constructor(e){
Awe(this,"variables"),this.variables=Pwe.createDeco(e)}update(e){
this.variables=Pwe.updateDeco(e,this.variables)}},{decorations:e=>e.variables,
provide:e=>Sde.atomicRanges.of((t=>{var n
;return(null==(n=t.plugin(e))?void 0:n.variables)||Lle.none}))
}),$we=e=>"provider"in e&&!!Un(e.provider),Rwe={key:"Mod-a",run:e=>(e.dispatch({
selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},Nwe=e=>{
const t=In(null);function n(){if(e.codeMirrorRef.value){
const n=$we(e)?Un(e.provider):null,i=Iwe({...r.value,provider:n})
;t.value=new Sde({parent:e.codeMirrorRef.value,extensions:i
}),$we(e)||o(Un(e.content))}}Ci(e.codeMirrorRef,(()=>{var e
;null==(e=t.value)||e.destroy(),n()}),{immediate:!0}),po((()=>{var e
;return null==(e=t.value)?void 0:e.destroy()}));const r=$a((()=>({
onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,
disableTabIndent:Un(e.disableTabIndent),language:Un(e.language),
classes:Un(e.classes),readOnly:Un(e.readOnly),lineNumbers:Un(e.lineNumbers),
withVariables:Un(e.withVariables),disableEnter:Un(e.disableEnter),
disableCloseBrackets:Un(e.disableCloseBrackets),withoutTheme:Un(e.withoutTheme),
lint:Un(e.lint),additionalExtensions:Un(e.extensions),
placeholder:Un(e.placeholder)})));Ci((()=>$we(e)?Un(e.provider):null),(()=>{
var r;$we(e)&&(null==(r=t.value)||r.destroy(),n())})),Ci(r,(()=>{if(t.value){
const n=$we(e)?Un(e.provider):null,o=Iwe({...r.value,provider:n})
;t.value.dispatch({effects:Hae.reconfigure.of(o)})}}),{immediate:!0})
;const o=(e="")=>{t.value&&t.value.state.doc.toString()!==e&&t.value.dispatch({
changes:{from:0,to:t.value.state.doc.length,insert:e},selection:{
anchor:Math.min(t.value.state.selection.main.anchor,e.length)}})}
;return Ci((()=>Un(e.content)),(()=>{$we(e)||o(Un(e.content))}),{immediate:!0}),
{setCodeMirrorContent:o,codeMirror:t}},Mwe={html:function(e={}){let t,n=""
;!1===e.matchClosingTags&&(n="noMatch"),
!0===e.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),
(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=Xbe((e.nestedLanguages||[]).concat(YOe),(e.nestedAttributes||[]).concat(KOe)))
;let r=t?JOe.configure({wrap:t,dialect:n}):n?eye.configure({dialect:n}):eye
;return new Ofe(r,[eye.data.of({autocomplete:XOe(e)
}),!1!==e.autoCloseTags?nye:[],TOe().support,hbe().support])},json:function(){
return new Ofe(iye)},yaml:function(){return new Ofe(nwe)},css:hbe,
xml:function(e={}){let t=[Cye.data.of({
autocomplete:Tye(e.elements||[],e.attributes||[])})]
;return!1!==e.autoCloseTags&&t.push(Pye),new Ofe(Cye,t)}}
;function Iwe({onChange:e,onBlur:t,onFocus:n,provider:r,language:o,classes:i=[],readOnly:a=!1,lineNumbers:s=!1,withVariables:l=!1,disableEnter:c=!1,disableCloseBrackets:u=!1,disableTabIndent:d=!1,withoutTheme:p=!1,lint:h=!1,additionalExtensions:f=[],placeholder:m}){
const g=[Hde(),ime(lme,{fallback:!0}),Sde.theme({".cm-line":{lineHeight:"20px",
padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"20px"},".cm-tooltip":{
border:"1px solid #f5c6cb",fontSize:"12px"},".cm-tooltip-lint":{
backgroundColor:"#ffffff"},".cm-diagnostic-error":{borderLeft:"0",
color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",
border:"none",fontFamily:"var(--scalar-font)"},".cm-line::selection":{
background:"var(--scalar-selection-background) !important",
color:"var(--scalar-selection-color)"}}),Sde.updateListener.of((t=>{
t.docChanged&&(null==e||e(t.state.doc.toString()))})),Sde.domEventHandlers({
blur:(e,n)=>{null==t||t(n.state.doc.toString())},focus:(e,t)=>{
null==n||n(t.state.doc.toString())}}),Sde.editorAttributes.of({class:i.join(" ")
}),...f]
;if(r&&g.push(r),p||g.push(Twe),a?g.push(Sde.editable.of(!1)):(g.push(rse.transactionFilter.of((e=>{
if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e
;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head)
;if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,o=n.lineAt(r)
;if(r>o.from+Mfe)return e;let i=n.sliceString(o.from,r)
;if(!t.some((e=>e.test(i))))return e;let{state:a}=e,s=-1,l=[]
;for(let{head:c}of a.selection.ranges){let e=a.doc.lineAt(c)
;if(e.from==s)continue;s=e.from;let t=Sfe(a,e.from);if(null==t)continue
;let n=/^\s*/.exec(e.text)[0],r=xfe(a,t);n!=r&&l.push({from:e.from,
to:e.from+n.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e
})),gme(),function(e={}){return[Age,kge,ige.of(e),Tge,pve,Pge]
}(),$de.of([...dve,Rwe]),gme()),
u||g.push([nve,Yge],$de.of([...rve])),d?g.push($de.of([{key:"Tab",run:()=>!1,
shift:()=>!1}])):g.push($de.of([mve]))),m&&g.push((v=m,Cce.fromClass(class{
constructor(e){this.view=e,this.placeholder=v?Lle.set([Lle.widget({
widget:new Xde(v),side:1}).range(0)]):Lle.none}get decorations(){
return this.view.state.doc.length?Lle.none:this.placeholder}},{
decorations:e=>e.decorations}))),s&&g.push(function(e={}){
return[$pe.of(e),Spe(),Mpe]}()),o&&Mwe[o]&&g.push(Mwe[o](),function(e={}){
let t=Object.assign(Object.assign({},Kfe),e),n=new Jfe(t,!0),r=new Jfe(t,!1),o=Cce.fromClass(class{
constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}
update(e){
(e.docChanged||e.viewportChanged||e.startState.facet(bfe)!=e.state.facet(bfe)||e.startState.field(qfe,!1)!=e.state.field(qfe,!1)||cfe(e.startState)!=cfe(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))
}buildMarkers(e){let t=new use;for(let o of e.viewportLineBlocks){
let i=Hfe(e.state,o.from,o.to)?r:Qfe(e.state,o.from,o.to)?n:null
;i&&t.add(o.from,o.from,i)}return t.finish()}}),{domEventHandlers:i}=t
;return[o,kpe({class:"cm-foldGutter",markers(e){var t
;return(null===(t=e.plugin(o))||void 0===t?void 0:t.markers)||cse.empty},
initialSpacer:()=>new Jfe(t,!1),
domEventHandlers:Object.assign(Object.assign({},i),{click:(e,t,n)=>{
if(i.click&&i.click(e,t,n))return!0;let r=Hfe(e.state,t.from,t.to)
;if(r)return e.dispatch({effects:zfe.of(r)}),!0;let o=Qfe(e.state,t.from,t.to)
;return!!o&&(e.dispatch({effects:Ffe.of(o)}),!0)}})}),[qfe,eme]]}({
markerDOM:e=>{const t=document.createElement("div")
;t.classList.add("cm-foldMarker");return((...e)=>{Vs().render(...e)})(Ra(Uq,{
icon:e?"ChevronDown":"ChevronRight",size:"xs"}),t),t}})),h&&"json"===o){
const e=function(e,t={}){return[bwe.of({source:e,config:t}),vwe,Ewe]}((e=>{
const t=[],n=e.state.doc.toString();if(n.trim())try{JSON.parse(n)}catch(r){
r instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:"error",
message:r.message})}return t}));g.push(e)}var v
;return l&&g.push(Dwe()),c?g.push($de.of([{key:"Enter",run:()=>!0},{
key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0
}])):g.push($de.of([{key:"Enter",run:hve}])),g}const Lwe={class:"w-full"},jwe={
class:"text-c-1"},Bwe={class:"flex items-center justify-center h-4 w-4"
},Qwe=Gr({__name:"DataTableInputSelect",props:{modelValue:{},value:{},
canAddCustomValue:{type:Boolean,default:!0}},emits:["update:modelValue"],
setup(e,{emit:t}){
const n=e,r=t,o=$a((()=>n.value??[])),i=In(n.modelValue.toString()),a=In(!1),s=In(""),l=In(null)
;Ci(s,(e=>{r("update:modelValue",e)}));const c=e=>{
i.value=e,r("update:modelValue",e),a.value=!1},u=()=>{
s.value.trim()&&(c(s.value),s.value="")},d=()=>{
s.value.trim()||(i.value="",a.value=!1)},p=e=>i.value===e;return Ci(a,(e=>{
e&&hr((()=>{var e;null==(e=l.value)||e.focus()}))
})),(e,t)=>(Zi(),Yi("div",Lwe,[a.value?Sr((Zi(),Yi("input",{key:0,
ref_key:"inputRef",ref:l,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),
class:"border-none text-c-1 min-w-0 w-full px-2 py-1.5 outline-none",
placeholder:"Value",type:"text",onBlur:d,onKeyup:zs(u,["enter"])
},null,544)),[[$s,s.value]]):(Zi(),Ki(Qn(lZ),{key:1,resize:"",value:i.value},{
items:xr((()=>[(Zi(!0),Yi(Ui,null,So(o.value,(e=>(Zi(),Ki(Qn(pZ),{key:e,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
value:e,onClick:t=>c(e)},{default:xr((()=>[ra("div",{
class:et(["flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",p(e)?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),sa(" "+st(e),1)])),_:2
},1032,["value","onClick"])))),128)),oa(Qn(uZ)),e.canAddCustomValue?(Zi(),
Ki(Qn(pZ),{key:0,class:"flex items-center gap-1.5",
onClick:t[1]||(t[1]=e=>a.value=!0)},{default:xr((()=>[ra("div",Bwe,[oa(Qn(Uq),{
class:"h-2.5",icon:"Add"})]),t[2]||(t[2]=ra("span",null,"Add value",-1))])),_:1
})):ca("",!0)])),default:xr((()=>[oa(Qn(tH),{
class:"gap-1.5 font-normal h-full justify-start px-2 py-1.5",fullWidth:"",
variant:"ghost"},{
default:xr((()=>[ra("span",jwe,st(i.value||"Select a value"),1),oa(Qn(Uq),{
icon:"ChevronDown",size:"xs"})])),_:1})])),_:1},8,["value"]))]))}})
;function Uwe(e){return e.flatMap((e=>{if("value"===e.key)try{
const t=JSON.parse(e.value);return Object.keys(t).map((e=>({key:e,value:t[e]})))
}catch{}return[e]}))}
var Fwe=Object.defineProperty,zwe=(e,t,n)=>((e,t,n)=>t in e?Fwe(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n
}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);let qwe=class e extends Mle{
constructor(e,t,n,r){
super(),zwe(this,"app"),zwe(this,"environments"),zwe(this,"activeEnvVariables"),
zwe(this,"isReadOnly"),
this.variableName=e,this.variableName=e,this.environments=t,
this.activeEnvVariables=n,this.isReadOnly=r}toDOM(){
const e=document.createElement("span")
;e.className="cm-pill",e.textContent=`${this.variableName}`;const t=Gr({props:{
variableName:{type:String,default:null}},render:()=>{
const t=Uwe(this.activeEnvVariables.value).find((e=>e.key===this.variableName))
;t&&(e.className+=` bg-${(e=>{var t
;return(null==(t=e.value.find((e=>"color"===e.key)))?void 0:t.value)||"grey"
})(this.activeEnvVariables)}`);const n=t?Ra("div",{class:"p-2"
},t.value):Ra("div",{class:"divide-y divide-1/2 grid"},[Ra("span",{class:"p-2"
},"Variable not found"),!this.isReadOnly&&Ra("div",{class:"p-1"},[Ra(tH,{
class:"gap-1.5 justify-start font-normal px-1 py-1.5 h-auto transition-colors rounded no-underline text-xxs w-full hover:bg-b-2",
variant:"ghost",onClick:()=>{window.location.href="/environment"}},[Ra(Uq,{
class:"w-2",icon:"Add",size:"xs"}),"Add variable"])])]);return Ra(AX,{
align:"start",class:"bg-b-1 w-full",delay:0,side:"bottom",sideOffset:6},{
trigger:()=>Ra("span",`${this.variableName}`),content:()=>Ra("div",{
class:"w-content shadow-lg rounded bg-b-1 text-xxs leading-5 text-c-1"},n)})}})
;return this.app=Zs(t,{variableName:this.variableName}),this.app.mount(e),e}
destroy(){this.app&&this.app.unmount()}eq(t){
return t instanceof e&&t.variableName===this.variableName}ignoreEvent(){return!1
}};const Hwe=e=>Cce.fromClass(class{constructor(e){
zwe(this,"decorations"),this.decorations=this.buildDecorations(e)}update(e){
(e.docChanged||e.viewportChanged)&&(this.decorations=this.buildDecorations(e.view))
}buildDecorations(t){const n=new use;for(const{from:r,to:o}of t.visibleRanges){
const i=t.state.doc.sliceString(r,o);let a;for(;null!==(a=qd.exec(i));){
const t=r+a.index,o=t+a[0].length,i=a[1];n.add(t,o,Lle.widget({
widget:new qwe(i,e.environments,e.activeEnvVariables,e.isReadOnly),side:1}))}}
return n.finish()}},{decorations:e=>e.decorations}),Vwe=Sde.domEventHandlers({
keydown(e,t){if("Backspace"===e.key){
const{state:n}=t,{from:r,to:o}=n.selection.main
;if(0===r&&o===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},
selection:{anchor:0}}),e.preventDefault(),!0
;if(r===o&&r>0&&"}}"===n.doc.sliceString(r-2,r))return t.dispatch({changes:{
from:r-2,to:o},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}}),Zwe={
key:0},Wwe=["onClick"],Xwe={class:"flex items-center gap-1.5 whitespace-nowrap"
},Gwe={class:"w-20 overflow-hidden text-ellipsis text-right whitespace-nowrap"
},Ywe=Gr({__name:"EnvironmentVariableDropdown",props:{query:{},
activeEnvVariables:{},router:{},dropdownPosition:{}},emits:["select"],
setup(e,{emit:t}){const n=e,r=t,o=In(!0),i=In(null),a=()=>{
const e=l.value.params.workspace
;s(`/workspace/${e}/environment/default`),o.value=!1
},{push:s,currentRoute:l}=n.router,c=new LG(Uwe(n.activeEnvVariables.value),{
keys:["key","value"]}),u=$a((()=>{const e=n.query
;if(!e)return Uwe(n.activeEnvVariables.value).slice(-4);const t=c.search(e)
;return t.length>0?t.map((e=>e.item)):[]}));return function(e,t,n={}){
const{window:r=Hp,ignore:o=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return Bp
;Qp&&!Wp&&(Wp=!0,
Array.from(r.document.body.children).forEach((e=>e.addEventListener("click",Bp))),
r.document.documentElement.addEventListener("click",Bp));let s=!0
;const l=e=>o.some((t=>{
if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)))
;{const n=qp(t);return n&&(e.target===n||e.composedPath().includes(n))}
})),c=[Zp(r,"click",(n=>{const r=qp(e)
;r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(s=!l(n)),
s?t(n):s=!0)}),{passive:!0,capture:i}),Zp(r,"pointerdown",(t=>{const n=qp(e)
;s=!l(t)&&!(!n||t.composedPath().includes(n))}),{passive:!0
}),a&&Zp(r,"blur",(n=>{setTimeout((()=>{var o;const i=qp(e)
;"IFRAME"!==(null==(o=r.document.activeElement)?void 0:o.tagName)||(null==i?void 0:i.contains(r.document.activeElement))||t(n)
}),0)}))].filter(Boolean)}(i,(()=>{o.value=!1}),{ignore:[i]}),(e,t)=>{var s,l
;return Zi(),Ki(Qn(lZ),{ref_key:"dropdownRef",ref:i,
class:"mt-2 min-w-60 rounded border bg-b-1 p-1 w-fit",static:"",
staticOpen:o.value,style:Xe({
left:(null==(s=e.dropdownPosition)?void 0:s.left)+"px",
top:(null==(l=e.dropdownPosition)?void 0:l.top)+"px"}),teleport:".scalar-client"
},{
items:xr((()=>[u.value.length?(Zi(),Yi("ul",Zwe,[(Zi(!0),Yi(Ui,null,So(u.value,(e=>(Zi(),
Yi("li",{key:e.key,
class:"h-8 font-code text-xxs hover:bg-b-2 flex cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",
onClick:t=>(e=>{r("select",e)})(e.key)},[ra("div",Xwe,[ra("span",{
class:et(["h-2.5 w-2.5 min-w-2.5 rounded-full",n.activeEnvVariables.value.map((e=>{
if("color"===e.key)return`bg-${e.value}`}))])
},null,2),sa(" "+st(e.key),1)]),ra("span",Gwe,st(e.value),1)],8,Wwe)))),128))])):(Zi(),
Ki(Qn(tH),{key:1,
class:"font-code text-xxs hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",
variant:"secondary",onClick:a},{default:xr((()=>[oa(Qn(Uq),{class:"w-2.5",
icon:"Add"}),t[0]||(t[0]=sa(" Add Variable "))])),_:1}))])),_:1
},8,["staticOpen","style"])}}}),Kwe=["id"],Jwe={key:3,
class:"absolute centered-y right-7 text-orange text-xs"},eke={key:4,
class:"required absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[.cm-focused]:opacity-0 pointer-events-none"
},tke=Gr({inheritAttrs:!1,__name:"CodeInput",props:{colorPicker:{type:Boolean,
default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,
default:!0},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{
type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},
placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},
disableCloseBrackets:{type:Boolean,default:!1},enum:{},type:{},nullable:{
type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{
type:Boolean}},emits:["submit","update:modelValue","curl"],
setup(e,{expose:t,emit:n}){var r
;const o=e,i=n,a=No(),s=a.id||`id-${EH()}`,l=In(!1),c=In(!1),u=In(""),d=In({
left:0,top:0}),{activeEnvVariables:p,isReadOnly:h,environments:f,router:m}=E8()
;function g(e){l.value=!1,o.emitOnBlur&&o.modelValue&&function(e){
o.handleFieldSubmit?o.handleFieldSubmit(e):i("submit",e)}(e)}const v=[]
;o.colorPicker&&v.push(Hme),v.push(Hwe({environments:f,activeEnvVariables:p,
isReadOnly:h}),Vwe);const b=In(null),{codeMirror:O}=Nwe({
content:Xn((()=>void 0!==o.modelValue?String(o.modelValue):"")),onChange:e=>{
(function(e){var t
;e===o.modelValue||(o.importCurl&&e.trim().toLowerCase().startsWith("curl")?(i("curl",e),
null==(t=O.value)||t.dispatch({changes:{from:0,to:O.value.state.doc.length,
insert:String(o.modelValue)}
})):o.handleFieldChange?o.handleFieldChange(e):i("update:modelValue",e))
})(e),w()},onFocus:()=>l.value=!0,onBlur:e=>g(e),codeMirrorRef:b,
disableTabIndent:Xn((()=>o.disableTabIndent)),
disableEnter:Xn((()=>o.disableEnter)),
disableCloseBrackets:Xn((()=>o.disableCloseBrackets)),
lineNumbers:Xn((()=>o.lineNumbers)),language:Xn((()=>o.language)),
lint:Xn((()=>o.lint)),extensions:v,placeholder:Xn((()=>o.placeholder))})
;null==(r=O.value)||r.focus(),Ci(O,(()=>{
O.value&&Object.prototype.hasOwnProperty.call(a,"autofocus")&&O.value.focus()}))
;const{handleDropdownSelect:y,updateDropdownVisibility:w}=function(e){
const{codeMirror:t,query:n,showDropdown:r,dropdownPosition:o}=e;function i(){
var e;return(null==(e=t.value)?void 0:e.state.selection.main.head)||0}
function a(e){var n;return null==(n=t.value)?void 0:n.coordsAtPos(e)}
function s(){const e=a(i()-n.value.length-2);e&&(o.value={left:e.left,
top:Math.max(e.bottom)})}function l(){var e
;const l=i(),c=(null==(e=t.value)?void 0:e.state.doc.sliceString(0,l))||"",u=c.lastIndexOf("{{")
;u>c.lastIndexOf("}}")?(n.value=c.slice(u+2),r.value=!0,o.value=a(l)||{left:0,
top:0},""===n.value&&s()):r.value=!1}return Ci(n,s),Ci((()=>{var e
;return null==(e=t.value)?void 0:e.state.doc.toString()}),l),{
handleDropdownSelect:function(e){var o
;const a=`{{${e}}}`,s=i(),l=Math.max(0,s-n.value.length-2),c=s
;null==(o=t.value)||o.dispatch({changes:{from:l,to:c,insert:a}}),r.value=!1},
updateDropdownVisibility:l}}({codeMirror:O,query:u,showDropdown:c,
dropdownPosition:d}),k=$a((()=>{var e
;return"boolean"===o.type||null!=(e=o.type)&&e.includes("boolean")||o.nullable?["true","false","null"]:["true","false"]
}));return t({focus:()=>{var e;null==(e=O.value)||e.focus()}}),(e,t)=>{var n
;return Zi(),Yi(Ui,null,[o.enum&&o.enum.length?(Zi(),Ki(Qwe,{key:0,
modelValue:o.modelValue,value:o.enum,
"onUpdate:modelValue":t[0]||(t[0]=e=>i("update:modelValue",e))
},null,8,["modelValue","value"])):"boolean"===o.type||null!=(n=o.type)&&n.includes("boolean")?(Zi(),
Ki(Qwe,{key:1,modelValue:o.modelValue,value:k.value,
"onUpdate:modelValue":t[1]||(t[1]=e=>i("update:modelValue",e))
},null,8,["modelValue","value"])):(Zi(),Yi("div",ha({key:2,id:Qn(s)},e.$attrs,{
ref_key:"codeMirrorRef",ref:b,
class:["peer font-code w-full whitespace-nowrap overflow-hidden text-xs leading-[1.44] relative",{
"flow-code-input--error":e.error}]
}),null,16,Kwe)),e.$slots.warning?(Zi(),Yi("div",Jwe,[Eo(e.$slots,"warning",{},void 0,!0)])):ca("",!0),Eo(e.$slots,"icon",{},void 0,!0),e.required?(Zi(),
Yi("div",eke," Required ")):ca("",!0),c.value&&o.withVariables&&!Qn(h)?(Zi(),
Ki(Ywe,{key:5,activeEnvVariables:$a((()=>Qn(p))),dropdownPosition:d.value,
query:u.value,router:Qn(m),onSelect:Qn(y)
},null,8,["activeEnvVariables","dropdownPosition","query","router","onSelect"])):ca("",!0)],64)
}}}),nke=T8(tke,[["__scopeId","data-v-5c35162a"]]),rke={key:0,class:"sr-only"
},oke=Gr({__name:"DataTable",props:{columns:{},scroll:{type:Boolean}},
setup:e=>(e,t)=>(Zi(),Yi("div",{
class:et(["border-1/2 rounded bg-b-1 md:mx-1",e.scroll?"overflow-x-auto custom-scroll":"overflow-visible"])
},[ra("table",{class:et(["grid auto-rows-auto min-h-8 mb-0",{
"min-w-full w-max":e.scroll}]),style:Xe({
gridTemplateColumns:e.columns.map((e=>e||"1fr")).join(" ")})
},[e.$slots.caption?(Zi(),
Yi("caption",rke,[Eo(e.$slots,"caption")])):ca("",!0),Eo(e.$slots,"default")],6)],2))
}),ike=Gr({__name:"DataTableCell",props:{is:{default:"td"}},
setup:e=>(e,t)=>(Zi(),Ki(wo(e.is),{
class:"min-h-8 min-w-8 border-l-0 border-t-0 border-b-1/2 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0 relative overflow-hidden",
role:"cell"},{default:xr((()=>[Eo(e.$slots,"default")])),_:3}))}),ake=Gr({
__name:"DataTableHeader",setup:e=>(e,t)=>(Zi(),Ki(ike,{is:"th",
class:"truncate font-medium px-2 py-1.5"},{
default:xr((()=>[Eo(e.$slots,"default")])),_:3}))}),ske={
class:"group contents w-fit min-w-full"}
;const lke=T8({},[["render",function(e,t){
return Zi(),Yi("tr",ske,[Eo(e.$slots,"default")])}]]),cke={
class:"flex flex-1 items-center gap-1.5 text-c-1"},uke={key:0,
class:"bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full font-semibold"
},dke={class:"flex items-center gap-2"},pke={key:0,
class:"ui-not-open:invisible -my-1 flex items-center gap-2"},hke=Gr({
__name:"ViewLayoutCollapse",props:{defaultOpen:{type:Boolean,default:!0},
itemCount:{default:0}},setup:e=>(e,t)=>(Zi(),Ki(Qn(cN),{as:"div",
class:"focus-within:bg-b-2 ui-not-open:hover:bg-b-2 focus-within:text-c-1 text-c-2 rounded request-item ui-not-open:bg-transparent ui-open:pb-1 ui-open:mb-3 ui-not-open:mb-0 ui-not-open:pb-0",
defaultOpen:e.defaultOpen},{default:xr((({open:t})=>[oa(Qn(uN),{
class:"hover:text-c-1 group flex w-full items-center gap-2.5 overflow-hidden py-1.5 text-sm font-medium px-1.5"
},{default:xr((()=>[oa(Qn(Uq),{
class:"text-c-3 group-hover:text-c-1 ui-open:rotate-90 ui-not-open:rotate-0",
icon:"ChevronRight",size:"sm",thickness:"2.5"
}),ra("div",cke,[Eo(e.$slots,"title",{open:t
}),!t&&e.itemCount?(Zi(),Yi("span",uke,st(e.itemCount),1)):ca("",!0)]),ra("div",dke,[e.$slots.actions?(Zi(),
Yi("div",pke,[Eo(e.$slots,"actions",{open:t})])):ca("",!0)])])),_:2
},1024),oa(Qn(dN),{class:"rounded-b diclosure-panel"},{
default:xr((()=>[Eo(e.$slots,"default",{open:t})])),_:2},1024)])),_:3
},8,["defaultOpen"]))}),fke=["checked","disabled"],mke=Gr({
__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{
type:Boolean},align:{default:"center"}},emits:["update:modelValue"],setup(e){
const t=vM({
base:"w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-2 pointer-events-none absolute before:absolute before:opacity-0 group-hover/cell:before:opacity-100 before:border before:rounded before:w-9/12 before:aspect-square before:top-1/2 before:left-1/2 before:transform before:-translate-x-1/2 before:-translate-y-1/2 before:border-[1px]",
variants:{align:{left:"left-0",center:"centered"}}});return(e,n)=>(Zi(),Ki(ike,{
class:"group/cell relative flex min-w-8"},{default:xr((()=>[ra("input",{
checked:e.modelValue,class:"peer absolute inset-0 opacity-0 cursor-pointer",
disabled:e.disabled,tabindex:"-1",type:"checkbox",
onChange:n[0]||(n[0]=t=>e.$emit("update:modelValue",t.target.checked))
},null,40,fke),ra("div",{class:et(Qn(t)({align:e.align}))},[oa(Qn(Uq),{
icon:"Checkmark",size:"xs",thickness:"2.5"})],2)])),_:1}))}}),gke={
class:"pl-1 pr-1.5 py-[9px]"},vke={
class:"grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 p-2 text-xxs leading-5 text-c-1"
},bke={key:0,class:"flex items-center text-c-2"},Oke={key:0},yke={key:1,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex"},wke={key:2,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
},kke={key:3,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
},xke={key:4,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
},Ske={key:1,class:"leading-snug text-pretty text-sm",style:{maxWidth:"16rem"}
},_ke=Gr({__name:"RequestTableTooltip",props:{item:{}},setup(e){
const t=e,n=$a((()=>t.item.type||t.item.format||t.item.minimum||t.item.maximum||t.item.default))
;return(e,r)=>(Zi(),Ki(Qn(AX),{align:"start",class:"w-full",delay:0,side:"left",
triggerClass:"before:absolute before:content-[''] before:bg-gradient-to-r before:from-transparent before:to-b-1 before:min-h-full before:right-[23px] before:w-3 absolute h-8 right-0"
},{trigger:xr((()=>[ra("div",gke,[oa(Qn(Uq),{
class:"text-c-3 group-hover/info:text-c-1",icon:"Info",size:"sm",thickness:"1.5"
})])])),
content:xr((()=>[ra("div",vke,[n.value?(Zi(),Yi("div",bke,[t.item.type?(Zi(),
Yi("span",Oke,st(t.item.type),1)):ca("",!0),t.item.format?(Zi(),
Yi("span",yke,st(t.item.format),1)):ca("",!0),t.item.minimum?(Zi(),
Yi("span",wke,"min: "+st(t.item.minimum),1)):ca("",!0),t.item.maximum?(Zi(),
Yi("span",kke,"max: "+st(t.item.maximum),1)):ca("",!0),t.item.default?(Zi(),
Yi("span",xke,"default: "+st(t.item.default),1)):ca("",!0)])):ca("",!0),t.item.description?(Zi(),
Yi("span",Ske,st(t.item.description),1)):ca("",!0)])])),_:1}))}}),Eke={
class:"text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end"
},Tke=["onClick"],Cke=Gr({__name:"RequestTable",props:{items:{},
isEnabledHidden:{type:Boolean,default:!1},showUploadButton:{type:Boolean,
default:!1}},
emits:["updateRow","toggleRow","addRow","deleteRow","inputFocus","inputBlur","uploadFile","removeFile"],
setup(e,{emit:t}){
const n=t,r=e.isEnabledHidden?["",""]:["","","36px"],o=(e,t,r)=>{
n("updateRow",e,t,r)
},i=e=>!!(e.description||e.type||e.default||e.format),a=e=>$a((()=>{
if("integer"===e.type&&void 0!==e.value){const t=Number(e.value)
;if(void 0!==e.minimum&&t<e.minimum)return`Min is ${e.minimum}`
;if(void 0!==e.maximum&&t>e.maximum)return`Max is ${e.maximum}`}return!1
})),s=e=>Array.isArray(e.default)&&1===e.default.length?e.default[0]:e.default
;return(e,t)=>(Zi(),Ki(oke,{class:"flex-1",columns:Qn(r)},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.items,((r,l)=>(Zi(),Ki(lke,{key:l},{
default:xr((()=>[e.isEnabledHidden?ca("",!0):(Zi(),Ki(mke,{key:0,
modelValue:r.enabled,"onUpdate:modelValue":e=>n("toggleRow",l,e)
},null,8,["modelValue","onUpdate:modelValue"])),oa(ike,null,{
default:xr((()=>[oa(nke,{disableCloseBrackets:"",disableEnter:"",
disableTabIndent:"",modelValue:r.key,placeholder:"Key",required:r.required,
onBlur:t[0]||(t[0]=e=>n("inputBlur")),onFocus:t[1]||(t[1]=e=>n("inputFocus")),
onInput:t=>e.items&&l===e.items.length-1&&n("addRow"),
onSelectVariable:e=>o(l,"key",e),
"onUpdate:modelValue":e=>n("updateRow",l,"key",e)
},null,8,["modelValue","required","onInput","onSelectVariable","onUpdate:modelValue"])])),
_:2},1024),oa(ike,null,{default:xr((()=>[oa(nke,{class:et({"pr-6":i(r)}),
disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",enum:r.enum,
max:r.maximum,min:r.minimum,modelValue:r.value,nullable:r.nullable,
placeholder:"Value",type:r.type,onBlur:t[2]||(t[2]=e=>n("inputBlur")),
onFocus:t[3]||(t[3]=e=>n("inputFocus")),
onInput:t=>e.items&&l===e.items.length-1&&n("addRow"),
onSelectVariable:e=>o(l,"value",e),
"onUpdate:modelValue":e=>n("updateRow",l,"value",e)},_o({
icon:xr((()=>[i(r)?(Zi(),Ki(_ke,{key:0,item:{...r,default:s(r)}
},null,8,["item"])):ca("",!0)])),_:2},[a(r).value?{name:"warning",
fn:xr((()=>[sa(st(a(r).value),1)])),key:"0"
}:void 0]),1032,["class","enum","max","min","modelValue","nullable","type","onInput","onSelectVariable","onUpdate:modelValue"])])),
_:2},1024),e.showUploadButton?(Zi(),Ki(ike,{key:1,
class:"group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap"
},{default:xr((()=>{var e;return[r.file?(Zi(),Yi(Ui,{key:0
},[ra("div",Eke,[ra("span",null,st(null==(e=r.file)?void 0:e.name),1)]),ra("button",{
class:"absolute bg-b-2 font-medium centered-x centered-y hidden rounded text-center p-0.5 w-[calc(100%_-_8px)] group-hover/upload:block text-xs",
type:"button",onClick:e=>n("removeFile",l)
}," Delete ",8,Tke)],64)):(Zi(),Ki(Qn(tH),{key:1,
class:"bg-b-2 hover:bg-b-3 border-0 py-px text-c-2 shadow-none",size:"sm",
variant:"outlined",onClick:e=>(e=>{n("uploadFile",e)})(l)},{
default:xr((()=>[t[4]||(t[4]=ra("span",null,"File",-1)),oa(Qn(Uq),{class:"ml-1",
icon:"UploadSimple",size:"xs",thickness:"2.5"})])),_:2},1032,["onClick"]))]})),
_:2},1024)):ca("",!0)])),_:2},1024)))),128))])),_:1},8,["columns"]))}
}),Ake=T8(Cke,[["__scopeId","data-v-15395b2c"]]),Pke={key:0,
class:"text-c-3 flex min-h-10 w-full items-center justify-center p-2 text-sm"
},Dke={key:1,class:"flex items-center justify-center p-1.5 overflow-hidden"
},$ke={
class:"text-c-2 text-xs w-full border rounded p-1 max-w-full overflow-hidden whitespace-nowrap"
},Rke=Gr({__name:"RequestBody",props:{title:{}},setup(e){
const{activeRequest:t,activeExample:n,requestExampleMutators:r}=E8(),o={
json:"json",xml:"xml",yaml:"yaml",edn:"edn",other:"html"},i=Object.entries({
multipartForm:"Multipart Form",formUrlEncoded:"Form URL Encoded",
binaryFile:"Binary File",json:"JSON",xml:"XML",yaml:"YAML",edn:"EDN",
other:"Other",none:"None"}).map((([e,t])=>({id:e,label:t}))),a=$a((()=>{var e,t
;return n.value?"formData"===n.value.body.activeBody?"urlencoded"===(null==(e=n.value.body.formData)?void 0:e.encoding)?"formUrlEncoded":"multipartForm":"binary"===n.value.body.activeBody?"binaryFile":"raw"===n.value.body.activeBody&&null!=(t=n.value.body.raw)&&t.encoding?"html"===n.value.body.raw.encoding?"other":n.value.body.raw.encoding:"none":"none"
})),s=$a({get:()=>i.find((e=>e.id===a.value))??i[i.length-1],set:e=>{
null!=e&&e.id&&v(e.id)}}),l=In(null),c=$a((()=>{const e=s.value.id
;return o[e]??"plaintext"}));function u(){console.log("deleteRow")}
const d=(e,o,i)=>{if(!t.value||!n.value)return;const a=p.value;if(a.length>e){
const t=[...a];t[e]={...t[e],[o]:i
},(""!==t[e].key||""!==t[e].value)&&(t[e].enabled=!0),
""===t[e].key&&""===t[e].value&&t.splice(e,1),
r.edit(n.value.uid,"body.formData.value",t)}else{const e=[H7.parse({[o]:i})]
;r.edit(n.value.uid,"body.formData.value",e),hr((()=>{var e
;l.value&&(null==(e=l.value.querySelectorAll("input")["key"===o?0:1])||e.focus())
}))}},p=$a((()=>{var e,t,r
;return(null==(r=null==(t=null==(e=n.value)?void 0:e.body)?void 0:t.formData)?void 0:r.value)??[]
})),h=()=>0===p.value.length&&f(),f=()=>{if(!t.value||!n.value)return
;const e=H7.parse({enabled:!1}),o=[...p.value,e]
;n.value.body.formData?r.edit(n.value.uid,"body.formData.value",o):r.edit(n.value.uid,"body.formData",{
value:o,encoding:"form-data"})},m=(e,o)=>{if(!t.value||!n.value)return
;const i=p.value;if(i.length>e){const t=[...i]
;t[e].enabled=o,r.edit(n.value.uid,"body.formData.value",t)}},g=e=>{
!t.value||!n.value||r.edit(n.value.uid,"body.raw.value",e)},v=e=>{var t,o
;if(!n.value)return
;const{activeBody:i,encoding:a,header:s}=(e=>"multipartForm"===e?{
activeBody:"formData",encoding:"form-data",header:"multipart/form-data"
}:"formUrlEncoded"===e?{activeBody:"formData",encoding:"urlencoded",
header:"application/x-www-form-urlencoded"}:"binaryFile"===e?{
activeBody:"binary",encoding:void 0,header:"application/octet-stream"
}:"json"===e?{activeBody:"raw",encoding:"json",header:"application/json"
}:"xml"===e?{activeBody:"raw",encoding:"xml",header:"application/xml"
}:"yaml"===e?{activeBody:"raw",encoding:"yaml",header:"application/yaml"
}:"edn"===e?{activeBody:"raw",encoding:"edn",header:"application/edn"
}:"other"===e?{activeBody:"raw",encoding:"html",header:"application/html"}:{
activeBody:"raw",encoding:void 0,header:void 0})(e)
;if(r.edit(n.value.uid,"body.activeBody",i),
a&&"raw"===i)r.edit(n.value.uid,"body.raw",{encoding:a,
value:(null==(t=n.value.body.raw)?void 0:t.value)??""
});else if(a&&"formData"===i)r.edit(n.value.uid,"body.formData",{encoding:a,
value:(null==(o=n.value.body.formData)?void 0:o.value)??[]});else if(!a){
const{raw:e,...t}=n.value.body;r.edit(n.value.uid,"body",t)}
const l=[...n.value.parameters.headers],c=l.findIndex((e=>"content-type"===e.key.toLowerCase()))
;c>=0?s?l[c].value=s:l.splice(c,1):s&&l.unshift({key:"Content-Type",value:s,
enabled:!0}),r.edit(n.value.uid,"parameters.headers",l)},b=async e=>{
const{open:o}=Yre({onChange:async o=>{const i=null==o?void 0:o[0]
;if(i&&t.value&&n.value){const t=[...p.value];t[e]={...t[e],file:i
},r.edit(n.value.uid,"body.formData.value",t)}},multiple:!1,accept:"*/*"});o()}
;function O(){!t.value||!n.value||r.edit(n.value.uid,"body.binary",void 0)}
function y(e){if(!t.value||!n.value)return;const o=[...p.value];o[e]={...o[e],
file:void 0},r.edit(n.value.uid,"body.formData.value",o)}function w(){
const{open:e}=Yre({onChange:async e=>{const o=null==e?void 0:e[0]
;o&&t.value&&n.value&&r.edit(n.value.uid,"body.binary",o)},multiple:!1,
accept:"*/*"});e()}return Ci(s,(e=>{
["multipartForm","formUrlEncoded"].includes(null==e?void 0:e.id)&&h()}),{
immediate:!0}),Ci((()=>{var e;return null==(e=n.value)?void 0:e.uid}),(()=>{
var e
;null!=(e=t.value)&&e.method&&Sd(t.value.method)&&v(a.value),["multipartForm","formUrlEncoded"].includes(a.value)&&h()
}),{immediate:!0}),(e,t)=>(Zi(),Ki(hke,null,{
title:xr((()=>[sa(st(e.title),1)])),default:xr((()=>[oa(oke,{columns:[""]},{
default:xr((()=>[oa(lke,null,{default:xr((()=>[oa(ake,{
class:"relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]"
},{default:xr((()=>[oa(Qn(hZ),{modelValue:s.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),class:"text-xxs w-full",
fullWidth:"",options:Qn(i),teleport:""},{default:xr((()=>[oa(Qn(tH),{
class:"flex gap-1.5 h-auto px-1.5 text-c-2 font-normal hover:text-c-1",
fullWidth:"",variant:"ghost"},{default:xr((()=>{var e
;return[ra("span",null,st(null==(e=s.value)?void 0:e.label),1),oa(Qn(Uq),{
icon:"ChevronDown",size:"xs",thickness:"2.5"})]})),_:1})])),_:1
},8,["modelValue","options"])])),_:1})])),_:1}),oa(lke,null,{default:xr((()=>{
var e,r,o,i,a
;return["none"===s.value.id?(Zi(),Yi("div",Pke,t[1]||(t[1]=[ra("span",null,"No Body",-1)]))):"binaryFile"===s.value.id?(Zi(),
Yi("div",Dke,[null!=(e=Qn(n))&&e.body.binary?(Zi(),Yi(Ui,{key:0
},[ra("span",$ke,st((null==(r=Qn(n))?void 0:r.body.binary).name),1),oa(Qn(tH),{
class:"bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",size:"sm",
variant:"outlined",onClick:O},{default:xr((()=>t[2]||(t[2]=[sa(" Delete ")]))),
_:1})],64)):(Zi(),Ki(Qn(tH),{key:1,
class:"bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",size:"sm",
variant:"outlined",onClick:w},{
default:xr((()=>[t[3]||(t[3]=ra("span",null,"Upload File",-1)),oa(Qn(Uq),{
class:"ml-1",icon:"UploadSimple",size:"xs",thickness:"2.5"})])),_:1
}))])):"multipartForm"==s.value.id?(Zi(),Ki(Ake,{key:2,
ref_key:"tableWrapperRef",ref:l,
class:"!m-0 rounded-t-none shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
columns:["32px","","","61px"],items:p.value,showUploadButton:"",onAddRow:f,
onDeleteRow:u,onRemoveFile:y,onToggleRow:m,onUpdateRow:d,onUploadFile:b
},null,8,["items"])):"formUrlEncoded"==s.value.id?(Zi(),Ki(Ake,{key:3,
ref_key:"tableWrapperRef",ref:l,
class:"!m-0 rounded-t-none border-t-0 shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
columns:["32px","","","61px"],items:p.value,showUploadButton:"",onAddRow:f,
onDeleteRow:u,onRemoveFile:y,onToggleRow:m,onUpdateRow:d,onUploadFile:b
},null,8,["items"])):(Zi(),Ki(nke,{key:4,content:"",language:c.value,
lineNumbers:"",lint:"",
modelValue:(null==(a=null==(i=null==(o=Qn(n))?void 0:o.body)?void 0:i.raw)?void 0:a.value)??"",
"onUpdate:modelValue":g},null,8,["language","modelValue"]))]})),_:1
}),oa(lke)])),_:1})])),_:1}))}}),Nke={
class:"text-c-2 flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 request-meta-buttons"
},Mke=Gr({__name:"RequestParams",props:{title:{},paramKey:{}},setup(e){
const t=e,{activeRequest:n,activeExample:r,requestExampleMutators:o}=E8(),i=$a((()=>{
var e;return(null==(e=r.value)?void 0:e.parameters[t.paramKey])??[]}));lo((()=>{
d()}));const a=()=>{if(!n.value||!r.value)return;const e=H7.parse({enabled:!1
}),a=[...i.value,e];o.edit(r.value.uid,`parameters.${t.paramKey}`,a)
},s=In(null),l=(e,a,l)=>{if(!n.value||!r.value)return;const c=i.value
;if(c.length>e){const n=[...c];n[e]={...n[e],[a]:l
},(""!==n[e].key||""!==n[e].value)&&(n[e].enabled=!0),
""===n[e].key&&""===n[e].value&&n.splice(e,1),
o.edit(r.value.uid,`parameters.${t.paramKey}`,n)}else{const e=[H7.parse({[a]:l
})];o.edit(r.value.uid,`parameters.${t.paramKey}`,e),hr((()=>{var e
;s.value&&(null==(e=s.value.querySelectorAll("input")["key"===a?0:1])||e.focus())
}))}
},c=(e,i)=>n.value&&r.value&&o.edit(r.value.uid,`parameters.${t.paramKey}.${e}.enabled`,i),u=()=>{
if(!n.value||!r.value)return;const e=i.value.filter((e=>e.enabled||e.required))
;o.edit(r.value.uid,`parameters.${t.paramKey}`,e),hr((()=>{a()}))};function d(){
if(0===i.value.length)a();else if(i.value.length>=1){
const e=i.value[i.value.length-1];""!==e.key&&""!==e.value&&a()}}
const p=$a((()=>i.value.filter((e=>e.key||e.value)).length))
;return Ci((()=>r.value),((e,t)=>{e!==t&&d()}),{immediate:!0
}),(e,t)=>(Zi(),Ki(hke,{class:"group/params",itemCount:p.value},{
title:xr((()=>[sa(st(e.title),1)])),actions:xr((()=>[ra("div",Nke,[oa(Qn(tH),{
class:"px-1 transition-none",size:"sm",variant:"ghost",onClick:Us(u,["stop"])},{
default:xr((()=>t[0]||(t[0]=[sa(" Clear ")]))),_:1})])])),
default:xr((()=>[ra("div",{ref_key:"tableWrapperRef",ref:s},[oa(Ake,{
class:"flex-1",columns:["32px","",""],items:i.value,onAddRow:a,onToggleRow:c,
onUpdateRow:l},null,8,["items"])],512)])),_:1},8,["itemCount"]))}}),Ike={key:1,
class:"text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"
},Lke=Gr({__name:"RequestPathParams",props:{title:{},paramKey:{}},setup(e){
const t=e,{activeRequest:n,activeExample:r,requestMutators:o,requestExampleMutators:i}=E8(),a=$a((()=>{
const e=r.value;return e?e.parameters[t.paramKey].map((t=>{var n;return{...t,
enum:t.enum||(null==(n=e.serverVariables)?void 0:n[t.key])}})):[]
})),s=(e,a,s)=>{var l,c;if(!n.value||!r.value)return
;const u=r.value.parameters[t.paramKey],d=null==(l=u[e])?void 0:l.key
;if("key"===a){if(null!=(c=u[e])&&c.required)return;if(s){
const e=encodeURIComponent(d),t=encodeURIComponent(s),r=new RegExp(`(?<=/):${e}(?=[/?#]|$)`,"g"),i=n.value.path.replace(r,`:${t}`)
;o.edit(n.value.uid,"path",i)}else{u.splice(e,1)
;const t=new RegExp(`/:${encodeURIComponent(d)}(?=[/?#]|$)`,"g"),r=n.value.path.replace(t,"")
;o.edit(n.value.uid,"path",r)}}
i.edit(r.value.uid,`parameters.${t.paramKey}.${e}.${a}`,s)};return Ci((()=>{
var e;return null==(e=n.value)?void 0:e.path}),(e=>{e&&(e=>{var n
;if(!r.value)return
;const o=(null==(n=e.match(Hd))?void 0:n.map((e=>e.slice(1,-1))))||[],a=r.value.parameters[t.paramKey],s=new Map(a.map((e=>[e.key,e]))),l=o.map((e=>s.get(e)||{
key:e,value:"",enabled:!0}));a.forEach((e=>{
!o.includes(e.key)&&(e.value||e.required)&&l.push(e)
})),a.splice(0,a.length,...l),i.edit(r.value.uid,`parameters.${t.paramKey}`,a)
})(e)})),(e,t)=>(Zi(),Ki(hke,{itemCount:a.value.length},{
title:xr((()=>[sa(st(e.title),1)])),
default:xr((()=>[a.value.length?(Zi(),Ki(Ake,{key:0,class:"flex-1",
isEnabledHidden:"",items:a.value,onUpdateRow:s
},null,8,["items"])):(Zi(),Yi("div",Ike,t[0]||(t[0]=[sa(" You can use variables in your path: "),ra("code",{
class:"bg-b-2 ml-1 px-1 rounded"},"/endpoint/{my_path_variable}",-1)])))])),_:1
},8,["itemCount"]))}}),jke={class:"mb-4 leading-normal text-c-2 text-sm"},Bke={
class:"flex justify-between gap-2"},Qke=Gr({__name:"DeleteRequestAuthModal",
props:{state:{},scheme:{}},emits:["close"],setup(e,{emit:t}){
const n=e,r=t,{securitySchemes:o,securitySchemeMutators:i}=E8(),a=()=>{var e
;null!=(e=n.scheme)&&e.id&&i.delete(o[n.scheme.id]),r("close")}
;return(e,t)=>(Zi(),Ki(Qn(Wq),{size:"xxs",state:e.state,
title:"Delete Security Scheme"},{default:xr((()=>{var n
;return[ra("p",jke," This cannot be undone. You’re about to delete the "+st(null==(n=e.scheme)?void 0:n.label)+" security scheme from the collection. ",1),ra("div",Bke,[oa(Qn(tH),{
class:"gap-1.5 px-3 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>r("close"))},{
default:xr((()=>t[1]||(t[1]=[sa(" Cancel ")]))),_:1}),oa(Qn(tH),{
class:"gap-1.5 px-3 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"submit",onClick:a},{default:xr((()=>{var t
;return[sa(" Delete "+st(null==(t=e.scheme)?void 0:t.label),1)]})),_:1})])]})),
_:1},8,["state"]))}}),Uke={key:0,
class:"text-c-2 flex min-w-[120px] items-center border-r-1/2 pl-2 pr-0"},Fke={
class:"row-1"},zke=["id","max","min","readOnly","required","type","value"],qke={
key:0,
class:"absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-focus:opacity-0"
},Hke={key:1,class:"absolute centered-y right-7 text-orange text-xs"},Vke=Gr({
inheritAttrs:!1,__name:"DataTableInput",props:{id:{},type:{},containerClass:{},
required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{
type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},min:{},
max:{}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],
setup(e,{emit:t}){const n=e,r=t,o=In(!0),i=In(""),a=In(!1),s=()=>{
a.value||r("inputBlur")
},l=$a((()=>"password"===n.type?o.value?"password":"text":n.type??"text")),c=e=>{
const t=e.target;i.value=t.value,r("update:modelValue",t.value)}
;return(e,t)=>(Zi(),Ki(ike,{class:et(["relative row",e.containerClass])},{
default:xr((()=>[e.$slots.default?(Zi(),
Yi("div",Uke,[Eo(e.$slots,"default",{},void 0,!0)])):ca("",!0),ra("div",Fke,[n.enum&&n.enum.length?(Zi(),
Ki(Qwe,{key:0,canAddCustomValue:e.canAddCustomEnumValue,modelValue:n.modelValue,
value:n.enum,"onUpdate:modelValue":t[0]||(t[0]=e=>r("update:modelValue",e))
},null,8,["canAddCustomValue","modelValue","value"])):(Zi(),Yi(Ui,{key:1
},[ra("input",ha(e.$attrs,{id:e.id,autocomplete:"off",
class:"border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.5 outline-none",
"data-1p-ignore":"",max:e.max,min:e.min,readOnly:e.readOnly,required:e.required,
spellcheck:"false",type:l.value,value:e.modelValue,onBlur:s,
onFocus:t[1]||(t[1]=e=>r("inputFocus")),onInput:c
}),null,16,zke),e.required?(Zi(),
Yi("div",qke," Required ")):ca("",!0)],64))]),e.$slots.warning?(Zi(),
Yi("div",Hke,[Eo(e.$slots,"warning",{},void 0,!0)])):ca("",!0),Eo(e.$slots,"icon",{},void 0,!0),"password"===e.type?(Zi(),
Ki(Qn(qq),{key:2,class:"-ml-.5 mr-1 h-6 w-6 self-center p-1.5",
icon:o.value?"Show":"Hide",label:o.value?"Show Password":"Hide Password",
onClick:t[2]||(t[2]=e=>o.value=!o.value)
},null,8,["icon","label"])):ca("",!0)])),_:3},8,["class"]))}
}),Zke=T8(Vke,[["__scopeId","data-v-04bdd5dd"]]),Wke=["for"],Xke=Gr({
__name:"RequestAuthDataTableInput",props:{id:{},type:{},containerClass:{},
required:{type:Boolean,default:!1},modelValue:{},readOnly:{type:Boolean,
default:!1}},
emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],
setup(e,{emit:t}){const n=e,r=t;return(e,t)=>(Zi(),Ki(Zke,ha({id:n.id,
containerClass:n.containerClass,modelValue:n.modelValue,readOnly:n.readOnly,
required:n.required,type:n.type},e.$attrs,{
onInputBlur:t[0]||(t[0]=e=>r("inputBlur")),
onInputFocus:t[1]||(t[1]=e=>r("inputFocus")),
onSelectVariable:t[2]||(t[2]=e=>r("selectVariable",e)),
"onUpdate:modelValue":t[3]||(t[3]=e=>r("update:modelValue",e))}),{
default:xr((()=>[ra("label",{for:n.id},[Eo(e.$slots,"default")],8,Wke)])),
icon:xr((()=>[Eo(e.$slots,"icon")])),_:3
},16,["id","containerClass","modelValue","readOnly","required","type"]))}
}),Gke={class:"flex h-full w-full"},Yke={class:"flex-1 text-c-3"},Kke={
class:"grid auto-rows-auto border-t-1/2",style:{gridTemplateColumns:"1fr auto"}
},Jke={class:"font-code text-xs"},exe=Gr({__name:"OAuthScopesInput",props:{
activeFlow:{},updateScheme:{type:Function}},setup(e){const t=e,n=$a((()=>{var e
;return Object.entries((null==(e=t.activeFlow)?void 0:e.scopes)??{}).map((([e,t])=>({
id:e,label:e,description:t})))})),r=$a((()=>{var e
;return(null==(e=t.activeFlow)?void 0:e.selectedScopes)||[]}))
;return(e,o)=>(Zi(),Ki(Qn(ike),{class:"items-center min-h-8 h-auto"},{
default:xr((()=>[ra("div",Gke,[o[0]||(o[0]=ra("div",{
class:"text-c-2 min-w-[120px] items-center pl-2 h-full border-r-1/2"
},[ra("span",{class:"h-8 flex items-center"}," Scopes ")],-1)),oa(Qn(cN),{
as:"div",class:"flex flex-col w-full"},{default:xr((()=>[oa(Qn(uN),{
class:"group/scopes-accordion flex items-center text-left min-h-8 gap-1.5 h-auto pl-2 hover:bg-b-2 pr-2.5 cursor-pointer"
},{default:xr((({open:t})=>{var n,r,o
;return[ra("div",Yke," Selected "+st((null==(r=null==(n=e.activeFlow)?void 0:n.selectedScopes)?void 0:r.length)||0)+" / "+st(Object.keys((null==(o=e.activeFlow)?void 0:o.scopes)??{}).length||0),1),oa(Qn(Uq),{
class:"text-c-3 group-hover/scopes-accordion:text-c-2",
icon:t?"ChevronDown":"ChevronRight",size:"xs"},null,8,["icon"])]})),_:1
}),oa(Qn(dN),{as:"template"},{
default:xr((()=>[ra("table",Kke,[(Zi(!0),Yi(Ui,null,So(n.value,(({id:e,label:n,description:o})=>(Zi(),
Ki(Qn(lke),{key:e,class:"text-c-2",onClick:n=>function(e,n){
n?t.updateScheme("flow.selectedScopes",[...r.value,e]):t.updateScheme("flow.selectedScopes",r.value.filter((t=>t!==e)))
}(e,!r.value.includes(e))},{default:xr((()=>[oa(Qn(ike),{
class:"w-full px-2 py-1.5 hover:bg-b-2 cursor-pointer"},{
default:xr((()=>[ra("span",null,[ra("span",Jke,st(n),1),ra("span",null," – "+st(o),1)])])),
_:2},1024),oa(Qn(mke),{modelValue:r.value.includes(e),
"onUpdate:modelValue":()=>{}},null,8,["modelValue"])])),_:2
},1032,["onClick"])))),128))])])),_:1})])),_:1})])])),_:1}))}
}),txe=e=>e.type.startsWith("oauth"),nxe=async(e,t,n,r)=>{
if(!("clientSecret"in t))throw new Error("Authorize Servers only works for Client Credentials or Authorization Code flow")
;if(!e.flow)throw new Error("OAuth2 flow was not defined")
;const o=new URLSearchParams
;o.set("client_id",e["x-scalar-client-id"]),o.set("scope",n),
t.clientSecret&&o.set("client_secret",t.clientSecret),
"x-scalar-redirect-uri"in e.flow&&o.set("redirect_uri",e.flow["x-scalar-redirect-uri"]),
r?(o.set("code",r),
o.set("grant_type","authorization_code")):"oauth-password"===t.type?(o.set("grant_type","password"),
o.set("username",t.username),
o.set("password",t.password)):o.set("grant_type","client_credentials");try{
const n={"Content-Type":"application/x-www-form-urlencoded"}
;e["x-scalar-client-id"]&&t.clientSecret&&(n.Authorization=`Basic ${btoa(`${e["x-scalar-client-id"]}:${t.clientSecret}`)}`)
;const r=await fetch(e.flow.tokenUrl,{method:"POST",headers:n,body:o
}),{access_token:i}=await r.json();return i}catch{
throw new Error("Failed to get an access token. Please check your credentials.")
}},rxe={class:"h-8 flex items-center justify-self-end"},oxe={
class:"h-8 flex items-center justify-self-end"},ixe=Gr({__name:"OAuth2",props:{
example:{},scheme:{}},setup(e){
const t=e,n=Gq(),{activeCollection:r,collectionMutators:o,isReadOnly:i,securitySchemeMutators:a}=E8(),s=(e,t)=>r.value&&o.edit(r.value.uid,e,t),l=(e,n)=>a.edit(t.scheme.uid,e,n),c=async()=>{
var e;if(n.isLoading||null==(e=r.value)||!e.uid)return;n.startLoading()
;const o=await((e,t)=>new Promise(((n,r)=>{
const o=e.flow.selectedScopes.join(" ")
;if("clientCredentials"===e.flow.type||"password"===e.flow.type)nxe(e,t,o).then(n).catch(r);else{
const i=(Math.random()+1).toString(36).substring(7),a=new URL(e.flow.authorizationUrl)
;"implicit"===e.flow.type?a.searchParams.set("response_type","token"):"authorizationCode"===e.flow.type&&a.searchParams.set("response_type","code"),
a.searchParams.set("client_id",e["x-scalar-client-id"]),
a.searchParams.set("redirect_uri",e.flow["x-scalar-redirect-uri"]),
a.searchParams.set("scope",o),a.searchParams.set("state",i)
;const s=window.open(a,"openAuth2Window","left=100,top=100,width=800,height=600")
;if(s){const a=setInterval((function(){var l;let c=null,u=null;try{
const e=new URL(s.location.href).searchParams
;c=e.get("access_token"),u=e.get("code")
;const t=new URLSearchParams(s.location.href.split("#")[1])
;c||(c=t.get("access_token")),u||(u=t.get("code"))}catch{}
if(s.closed||c||u)if(clearInterval(a),s.close(),c){
const e=null==(l=s.location.href.match(/state=([^&]*)/))?void 0:l[1]
;c&&e===i&&n(c)
}else u?nxe(e,t,o,u).then(n).catch(r):(clearInterval(a),r(new Error("Window was closed without granting authorization")))
}),200)}}})))(t.scheme,t.example).finally((()=>n.stopLoading()))
;o&&s(`auth.${t.scheme.uid}.token`,o)}
;return(e,r)=>e.example.token?(Zi(),Yi(Ui,{key:0},[oa(Qn(lke),null,{
default:xr((()=>[oa(Xke,{id:"oauth2-access-token",class:"border-r-transparent",
modelValue:e.example.token,
placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password",
"onUpdate:modelValue":r[0]||(r[0]=e=>s(`auth.${t.scheme.uid}.token`,e))},{
default:xr((()=>r[9]||(r[9]=[sa(" Access Token ")]))),_:1},8,["modelValue"])])),
_:1}),oa(Qn(lke),{class:"min-w-full"},{
default:xr((()=>[ra("div",rxe,[oa(Qn(tH),{class:"p-0 py-0.5 px-2 mr-1",
loading:Qn(n),size:"sm",variant:"outlined",
onClick:r[1]||(r[1]=e=>s(`auth.${t.scheme.uid}.token`,""))},{
default:xr((()=>r[10]||(r[10]=[sa(" Clear ")]))),_:1},8,["loading"])])])),_:1
})],64)):(Zi(),Yi(Ui,{key:1},[Qn(i)?ca("",!0):(Zi(),Ki(Qn(lke),{key:0},{
default:xr((()=>["authorizationUrl"in e.scheme.flow?(Zi(),Ki(Xke,{key:0,
id:`oauth2-authorization-url-${e.scheme.uid}`,
modelValue:e.scheme.flow.authorizationUrl,
placeholder:"https://galaxy.scalar.com/authorize",
"onUpdate:modelValue":r[2]||(r[2]=e=>l("flow.authorizationUrl",e))},{
default:xr((()=>r[11]||(r[11]=[sa(" Authorization Url ")]))),_:1
},8,["id","modelValue"])):ca("",!0),"tokenUrl"in e.scheme.flow?(Zi(),Ki(Xke,{
key:1,id:`oauth2-token-url-${e.scheme.uid}`,modelValue:e.scheme.flow.tokenUrl,
placeholder:"https://galaxy.scalar.com/token",
"onUpdate:modelValue":r[3]||(r[3]=e=>l("flow.tokenUrl",e))},{
default:xr((()=>r[12]||(r[12]=[sa(" Token Url ")]))),_:1
},8,["id","modelValue"])):ca("",!0)])),_:1
})),"x-scalar-redirect-uri"in e.scheme.flow?(Zi(),Ki(Qn(lke),{key:1},{
default:xr((()=>[oa(Xke,{id:`oauth2-redirect-uri-${e.scheme.uid}`,
modelValue:e.scheme.flow["x-scalar-redirect-uri"],
placeholder:"https://galaxy.scalar.com/callback",
"onUpdate:modelValue":r[4]||(r[4]=e=>l("flow.x-scalar-redirect-uri",e))},{
default:xr((()=>r[13]||(r[13]=[sa(" Redirect Url ")]))),_:1
},8,["id","modelValue"])])),_:1
})):ca("",!0),"oauth-password"===e.example.type?(Zi(),Yi(Ui,{key:2
},[oa(Qn(lke),null,{default:xr((()=>[oa(Xke,{
id:`oauth2-password-username-${e.scheme.uid}`,class:"text-c-2",
modelValue:e.example.username,placeholder:"ScalarEnjoyer01",
"onUpdate:modelValue":r[5]||(r[5]=t=>s(`auth.${e.scheme.uid}.username`,t))},{
default:xr((()=>r[14]||(r[14]=[sa(" Username ")]))),_:1
},8,["id","modelValue"])])),_:1}),oa(Qn(lke),null,{default:xr((()=>[oa(Xke,{
id:`oauth2-password-password-${e.scheme.uid}`,modelValue:e.example.password,
placeholder:"xxxxxx",type:"password",
"onUpdate:modelValue":r[6]||(r[6]=t=>s(`auth.${e.scheme.uid}.password`,t))},{
default:xr((()=>r[15]||(r[15]=[sa(" Password ")]))),_:1
},8,["id","modelValue"])])),_:1})],64)):ca("",!0),oa(Qn(lke),null,{
default:xr((()=>[oa(Xke,{id:`oauth2-client-id-${e.scheme.uid}`,
modelValue:e.scheme["x-scalar-client-id"],placeholder:"12345",
"onUpdate:modelValue":r[7]||(r[7]=e=>l("x-scalar-client-id",e))},{
default:xr((()=>r[16]||(r[16]=[sa(" Client ID ")]))),_:1
},8,["id","modelValue"])])),_:1}),"clientSecret"in e.example?(Zi(),Ki(Qn(lke),{
key:3},{default:xr((()=>[oa(Xke,{id:`oauth2-client-secret-${e.scheme.uid}`,
modelValue:e.example.clientSecret,placeholder:"XYZ123",type:"password",
"onUpdate:modelValue":r[8]||(r[8]=t=>s(`auth.${e.scheme.uid}.clientSecret`,t))
},{default:xr((()=>r[17]||(r[17]=[sa(" Client Secret ")]))),_:1
},8,["id","modelValue"])])),_:1
})):ca("",!0),e.scheme.flow.scopes?(Zi(),Ki(Qn(lke),{key:4},{
default:xr((()=>[oa(exe,{activeFlow:e.scheme.flow,updateScheme:l
},null,8,["activeFlow"])])),_:1})):ca("",!0),oa(Qn(lke),{class:"min-w-full"},{
default:xr((()=>[ra("div",oxe,[oa(Qn(tH),{class:"p-0 py-0.5 px-2 mr-1",
loading:Qn(n),size:"sm",variant:"outlined",onClick:c},{
default:xr((()=>r[18]||(r[18]=[sa(" Authorize ")]))),_:1},8,["loading"])])])),
_:1})],64))}}),axe=Gr({__name:"RequestExampleAuth",setup(e){
const{activeCollection:t,activeRequest:n,collectionMutators:r,securitySchemes:o}=E8(),i=$a((()=>t.value&&n.value?n.value.selectedSecuritySchemeUids.map((e=>({
example:t.value.auth[e],scheme:o[e]}))):[]));function a(e){
return`${Qe(e.nameKey)}: ${e.type} ${"oauth2"===e.type?e.flow.type:""}`}
function s(e,n,o,i){var a
;null!=(a=t.value)&&a.uid&&r.edit(t.value.uid,`auth.${e}.${o}`,i)}
return(e,t)=>(Zi(!0),
Yi(Ui,null,So(i.value,(({scheme:e,example:n})=>(Zi(),Yi(Ui,{key:e.uid
},[oa(Qn(lke),{class:"group/delete"},{
default:xr((()=>[i.value.length>1?(Zi(),Ki(Qn(ike),{key:0,
class:"text-c-2 pl-2 text-xs font-medium flex items-center bg-b-2"},{
default:xr((()=>[sa(st(a(e)),1)])),_:2},1024)):ca("",!0)])),_:2
},1024),"http"===e.type&&"http"===n.type?(Zi(),Yi(Ui,{key:0
},["bearer"===e.scheme?(Zi(),Ki(Qn(lke),{key:0},{default:xr((()=>[oa(Xke,{
id:`http-bearer-token-${e.uid}`,modelValue:n.token,placeholder:"Token",
type:"password","onUpdate:modelValue":t=>s(e.uid,0,"token",t)},{
default:xr((()=>t[0]||(t[0]=[sa(" Bearer Token ")]))),_:2
},1032,["id","modelValue","onUpdate:modelValue"])])),_:2
},1024)):"basic"===e.scheme?(Zi(),Yi(Ui,{key:1},[oa(Qn(lke),null,{
default:xr((()=>[oa(Xke,{id:`http-basic-username-${e.uid}`,class:"text-c-2",
modelValue:n.username,placeholder:"ScalarEnjoyer01",required:"",
"onUpdate:modelValue":t=>s(e.uid,0,"username",t)},{
default:xr((()=>t[1]||(t[1]=[sa(" Username ")]))),_:2
},1032,["id","modelValue","onUpdate:modelValue"])])),_:2
},1024),oa(Qn(lke),null,{default:xr((()=>[oa(Xke,{
id:`http-basic-password-${e.uid}`,modelValue:n.password,placeholder:"xxxxxx",
type:"password","onUpdate:modelValue":t=>s(e.uid,0,"password",t)},{
default:xr((()=>t[2]||(t[2]=[sa(" Password ")]))),_:2
},1032,["id","modelValue","onUpdate:modelValue"])])),_:2
},1024)],64)):ca("",!0)],64)):"apiKey"===e.type&&"apiKey"===n.type?(Zi(),Yi(Ui,{
key:1},[oa(Qn(lke),null,{default:xr((()=>[oa(Xke,{id:`api-key-name-${e.uid}`,
modelValue:n.name,placeholder:"api-key",
"onUpdate:modelValue":t=>s(e.uid,0,"name",t)},{
default:xr((()=>t[3]||(t[3]=[sa(" Name ")]))),_:2
},1032,["id","modelValue","onUpdate:modelValue"])])),_:2
},1024),oa(Qn(lke),null,{default:xr((()=>[oa(Xke,{
id:`api-key-value-add-${e.uid}`,modelValue:n.value,
placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
"onUpdate:modelValue":t=>s(e.uid,0,"value",t)},{
default:xr((()=>t[4]||(t[4]=[sa(" Value ")]))),_:2
},1032,["id","modelValue","onUpdate:modelValue"])])),_:2
},1024)],64)):"oauth2"===e.type&&Qn(txe)(n)?(Zi(),Ki(ixe,{key:2,example:n,
scheme:e},null,8,["example","scheme"])):ca("",!0)],64)))),128))}}),sxe=e=>({
id:e.uid,label:e.nameKey}),lxe=Object.entries({apiKeyCookie:{
label:"API Key in Cookies",payload:{type:"apiKey",in:"cookie",
nameKey:"apiKeyCookie"}},apiKeyHeader:{label:"API Key in Headers",payload:{
type:"apiKey",in:"header",nameKey:"apiKeyHeader"}},apiKeyQuery:{
label:"API Key in Query Params",payload:{type:"apiKey",in:"query",
nameKey:"apiKeyQuery"}},httpBasic:{label:"HTTP Basic",payload:{type:"http",
scheme:"basic",nameKey:"httpBasic"}},httpBearer:{label:"HTTP Bearer",payload:{
type:"http",scheme:"bearer",nameKey:"httpBearer"}},oauth2Implicit:{
label:"Oauth2 Implicit Flow",payload:{type:"oauth2",nameKey:"oauth2Implicit",
flow:{type:"implicit"}}},oauth2Password:{label:"Oauth2 Password Flow",payload:{
type:"oauth2",nameKey:"oauth2Password",flow:{type:"password"}}},
oauth2ClientCredentials:{label:"Oauth2 Client Credentials",payload:{
type:"oauth2",nameKey:"oauth2ClientCredentials",flow:{type:"clientCredentials"}}
},oauth2AuthorizationFlow:{label:"Oauth2 Authorization Code",payload:{
type:"oauth2",nameKey:"oauth2AuthorizationFlow",flow:{type:"authorizationCode"}}
}}).map((([e,t])=>({id:e,isDeletable:!1,...t}))),cxe={class:"flex gap-1"},uxe={
key:0,class:"flex relative scroll-timeline-x w-full"},dxe={
class:"flex flex-1 gap-0.75 mr-1.5 items-center"},pxe={key:1,class:"pl-2"
},hxe=Gr({__name:"RequestAuth",props:{title:{}},setup(e){
const{activeCollection:t,activeRequest:n,collectionMutators:r,isReadOnly:o,requestMutators:i,securitySchemes:a,securitySchemeMutators:s}=E8(),l=In(null),c=Vq(),u=In(void 0),d=`combobox-${EH()}`,p=$a((()=>{
var e,r,i
;const s=null==(r=null==(e=n.value)?void 0:e.security)?void 0:r.filter((e=>Object.keys(e).length))
;return((o.value&&null!=s&&s.length?s.map((e=>{var t;const n=Object.keys(e)[0]
;return(null==(t=Object.values(a).find((e=>e.nameKey===n)))?void 0:t.uid)??""
})):null==(i=t.value)?void 0:i.securitySchemes)??[]).map((e=>a[e])).filter((e=>e))
})),h=$a((()=>{const e=p.value.map((e=>sxe(e)));return o.value?e:[{
label:"Select auth",options:e},{label:"Add new auth",options:lxe}]
})),f=$a((()=>{var e
;return(null==(e=n.value)?void 0:e.selectedSecuritySchemeUids.map((e=>sxe(a[e]))))??[]
}));function m(e){var o,l
;if(null==(o=t.value)||!o.uid||null==(l=n.value)||!l.uid)return
;const c=e.find((e=>e.payload)),u=e.filter((e=>!e.payload)).map((({id:e})=>e))
;if(null!=c&&c.payload){const e=s.add(c.payload,t.value.uid);u.push(e.uid)}
const d=u.filter((e=>!t.value.auth[e]))
;r.edit(t.value.uid,"auth",d.reduce(((e,t)=>(e[t]=(e=>{
const t="oauth2"===e.type?`oauth-${e.flow.type}`:e.type;return l7.parse({type:t
})})(a[t]),e)),t.value.auth)),i.edit(n.value.uid,"selectedSecuritySchemeUids",u)
}function g(e){u.value=e,c.show()}return(e,t)=>(Zi(),Ki(hke,{
class:"group/params",itemCount:f.value.length},{
title:xr((()=>[ra("div",cxe,st(e.title),1)])),
default:xr((()=>[ra("form",null,[oa(Qn(oke),{class:"flex-1",columns:[""]},{
default:xr((()=>[oa(Qn(lke),null,{default:xr((()=>[oa(Qn(ake),{
class:"relative col-span-full cursor-pointer py-[0px] px-[0px] flex items-center"
},{default:xr((()=>[oa(Qn(iZ),{ref_key:"comboboxRef",ref:l,
class:"text-xs w-full",fullWidth:"",isDeletable:"",modelValue:f.value,
multiple:"",options:h.value,style:{"margin-left":"120px"},teleport:`#${d}`,
onDelete:g,"onUpdate:modelValue":m},{default:xr((()=>[oa(Qn(tH),{
class:"h-auto py-0 px-0 text-c-2 hover:text-c-1 font-normal justify-start",
fullWidth:"",variant:"ghost"},{default:xr((()=>[t[3]||(t[3]=ra("div",{
class:"text-c-2 h-8 flex min-w-[120px] items-center border-r-1/2 pr-0 pl-2"
}," Auth Type ",-1)),f.value.length?(Zi(),Yi("div",uxe,[t[1]||(t[1]=ra("div",{
class:"fade-left"
},null,-1)),ra("div",dxe,[(Zi(!0),Yi(Ui,null,So(f.value,(e=>(Zi(),Yi("span",{
key:e.id,class:"cm-pill flex items-center mx-0 h-fit"
},[sa(st(e.label)+" ",1),oa(Qn(Uq),{
class:"ml-1 cursor-pointer text-c-3 hover:text-c-1",icon:"Close",size:"xs",
onClick:Us((t=>(e=>n.value&&i.edit(n.value.uid,"selectedSecuritySchemeUids",n.value.selectedSecuritySchemeUids.filter((t=>t!==e))))(e.id)),["stop"])
},null,8,["onClick"])])))),128))]),t[2]||(t[2]=ra("div",{class:"fade-right"
},null,-1))])):(Zi(),Yi("div",pxe," None ")),oa(Qn(Uq),{
class:"min-w-3 ml-auto mr-2.5",icon:"ChevronDown",size:"xs"})])),_:1})])),_:1
},8,["modelValue","options","teleport"])])),_:1})])),_:1}),oa(axe)])),_:1
}),oa(Qke,{scheme:u.value,state:Qn(c),onClose:t[0]||(t[0]=e=>Qn(c).hide())
},null,8,["scheme","state"]),ra("div",{id:d})])])),_:1},8,["itemCount"]))}
}),fxe=T8(hxe,[["__scopeId","data-v-edb96e81"]]),mxe={
class:"flex-1 flex gap-1 items-center lg:pr-24 pointer-events-none"},gxe={key:0,
class:"absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text",
for:"requestname"},vxe=["value"],bxe={key:2,class:"text-c-2"},Oxe={
class:"request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-4 py-2.5"
},yxe=Gr({__name:"RequestSection",setup(e){
const{activeRequest:t,activeExample:n,isReadOnly:r,requestMutators:o}=E8(),i=$a((()=>{
var e,r
;const o=new Set(["All","Query","Auth","Variables","Cookies","Headers","Body"])
;return null!=(e=n.value)&&e.parameters.path.length||o.delete("Variables"),
Sd((null==(r=t.value)?void 0:r.method)??"get")||o.delete("Body"),
a.value&&o.delete("Auth"),[...o]})),a=$a((()=>{var e,n
;return r.value&&0===(null==(n=null==(e=t.value)?void 0:e.security)?void 0:n.length)
})),s=In("All");Ci(t,(e=>{"Body"===s.value&&e&&!Sd(e.method)&&(s.value="All")}))
;const l=e=>{if(!t.value)return;const n=e.target
;o.edit(t.value.uid,"summary",n.value)};return(e,o)=>(Zi(),Ki($ie,null,{
title:xr((()=>{var e,n;return[oa(Qn(Uq),{
class:"text-c-3 mr-2 pointer-events-none",icon:"ExternalLink",size:"sm",
thickness:"2.5"
}),ra("div",mxe,[o[1]||(o[1]=sa(" Request ")),Qn(r)?ca("",!0):(Zi(),
Yi("label",gxe)),Qn(r)?(Zi(),
Yi("span",bxe,st(null==(n=Qn(t))?void 0:n.summary),1)):(Zi(),Yi("input",{key:1,
id:"requestname",
class:"outline-none border-0 text-c-2 rounded pointer-events-auto relative w-full",
placeholder:"Request Name",value:null==(e=Qn(t))?void 0:e.summary,onInput:l
},null,40,vxe))]),oa(Aie,{activeSection:s.value,sections:i.value,
onSetActiveSection:o[0]||(o[0]=e=>s.value=e)
},null,8,["activeSection","sections"])]})),default:xr((()=>{var e,r,o
;return[ra("div",Oxe,[Sr(oa(fxe,{title:"Authentication"
},null,512),[[as,!a.value&&("All"===s.value||"Auth"===s.value)]]),Sr(oa(Lke,{
paramKey:"path",title:"Path Variables"
},null,512),[[as,("All"===s.value||"Variables"===s.value)&&(null==(o=null==(r=null==(e=Qn(n))?void 0:e.parameters)?void 0:r.path)?void 0:o.length)]]),Sr(oa(Mke,{
paramKey:"cookies",title:"Cookies"
},null,512),[[as,"All"===s.value||"Cookies"===s.value]]),Sr(oa(Mke,{
paramKey:"headers",title:"Headers"
},null,512),[[as,"All"===s.value||"Headers"===s.value]]),Sr(oa(Mke,{
paramKey:"query",title:"Query Parameters"
},null,512),[[as,"All"===s.value||"Query"===s.value]]),Sr(oa(Rke,{title:"Body"
},null,512),[[as,Qn(t)&&("All"===s.value||"Body"===s.value)&&Qn(Sd)(Qn(t).method)]])])]
})),_:1}))}}),wxe=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e+"ms",kxe={100:{
color:"text-yellow"},200:{color:"text-green"},202:{color:"text-green"},300:{
color:"text-blue"},304:{color:"text-blue"},400:{color:"text-red"},401:{
color:"text-orange"},422:{color:"text-yellow"},423:{color:"text-purple"},505:{
color:"text-orange"}},xxe=e=>kxe[e]||{color:"text-grey"},Sxe={class:"min-w-0"
},_xe={class:"min-w-0 truncate text-c-1"},Exe=Gr({__name:"AddressBarHistory",
props:{open:{type:Boolean}},setup(e){
const{activeRequest:t,requestHistory:n,requestExampleMutators:r}=E8(),o=E5(),i=$a((()=>n.filter((e=>{
var n;return e.request.requestUid===(null==(n=t.value)?void 0:n.uid)
})).slice().reverse()));return(e,n)=>{var a
;return Zi(),Yi(Ui,null,[null!=(a=i.value)&&a.length?(Zi(),Ki(Qn(xN),{key:0,
class:"addressbar-history-button mr-1 rounded-lg p-1.5 text-c-3 focus:text-c-1"
},{default:xr((()=>[oa(Qn(Uq),{icon:"History",size:"sm",thickness:"2.25"})])),
_:1})):ca("",!0),ra("div",{
class:et(["absolute bg-white left-0 top-8 w-full rounded-lg before:pointer-events-none before:absolute before:left-0 before:-top-8 before:h-[calc(100%+32px)] before:w-full before:rounded-lg z-context",{
"before:shadow-lg":e.open}])},[oa(Qn(SN),{
class:"bg-b-1 border-t custom-scroll max-h-[300px] rounded-b-lg p-[3px] grid grid-cols-[44px,1fr,repeat(3,auto)] items-center"
},{default:xr((()=>[(Zi(!0),Yi(Ui,null,So(i.value,((e,n)=>(Zi(),Ki(Qn(_N),{
key:n,
class:"contents font-code text-sm *:rounded-none first:*:rounded-l last:*:rounded-r *:h-8 *:hover:bg-b-2 *:flex *:items-center *:cursor-pointer *:px-1.5 text-c-2 font-medium",
value:n,onClick:n=>function(e){var n
;const i=o.currentRoute.value.params.workspace
;(null==(n=t.value)?void 0:n.uid)!==e.request.requestUid&&o.push(`/workspace/${i}/request/${e.request.requestUid}`),
r.set({...e.request})}(e)},{default:xr((()=>{var t
;return[e.response.method?(Zi(),Ki(Gre,{key:0,class:"text-[11px]",
method:e.response.method
},null,8,["method"])):ca("",!0),ra("div",Sxe,[ra("div",_xe,st(e.response.path),1)]),ra("div",null,st(Qn(wxe)(e.response.duration)),1),ra("div",{
class:et([Qn(xxe)(e.response.status).color])
},st(e.response.status),3),ra("div",null,st(null==(t=Qn(Ed)[e.response.status])?void 0:t.name),1)]
})),_:2},1032,["value","onClick"])))),128))])),_:1})],2)],64)}}
}),Txe=T8(Exe,[["__scopeId","data-v-0e166ebf"]]),Cxe={
class:"whitespace-nowrap text-ellipsis overflow-hidden"},Axe=Gr({
__name:"AddressBarServerItem",props:{serverOption:{},type:{}},setup(e){
const t=e,{activeCollection:n,activeRequest:r,activeServer:o,collectionMutators:i,requestMutators:a}=E8(),s=e=>{
var t;return(null==(t=o.value)?void 0:t.uid)===e};return(e,o)=>(Zi(),Ki(Qn(pZ),{
class:"flex !gap-1.5 group font-code text-xxs whitespace-nowrap text-ellipsis overflow-hidden",
value:e.serverOption.id,onClick:o[0]||(o[0]=o=>(e=>{
"collection"===t.type&&n.value?i.edit(n.value.uid,"selectedServerUid",e):"request"===t.type&&r.value&&a.edit(r.value.uid,"selectedServerUid",e)
})(e.serverOption.id))},{default:xr((()=>[ra("div",{
class:et(["flex size-4 items-center justify-center rounded-full p-[3px] group-hover:shadow-border",s(e.serverOption.id)?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"relative top-[0.5px] size-2.5",icon:"Checkmark",
thickness:"3.5"})],2),ra("span",Cxe,st(e.serverOption.label),1)])),_:1
},8,["value"]))}}),Pxe={key:0,class:"text-xxs text-c-2 ml-8"},Dxe={
class:"flex items-center justify-center h-4 w-4"},$xe={key:1,
class:"flex whitespace-nowrap items-center font-code lg:text-sm text-xs"
},Rxe=Gr({__name:"AddressBarServer",setup(e){
const{activeRequest:t,activeCollection:n,activeServer:r,isReadOnly:o,servers:i,collectionMutators:a,events:s}=E8(),l=$a((()=>{
var e,n;return null==(n=null==(e=t.value)?void 0:e.servers)?void 0:n.map((e=>{
var t;return{id:e,label:(null==(t=i[e])?void 0:t.url)??"Unknown server"}}))
})),c=$a((()=>{var e,t
;return null==(t=null==(e=n.value)?void 0:e.servers)?void 0:t.map((e=>{var t
;return{id:e,label:(null==(t=i[e])?void 0:t.url)??"Unknown server"}}))
})),u=$a((()=>{var e,t
;return(null==(e=l.value)?void 0:e.length)&&(null==(t=c.value)?void 0:t.length)
}));Ci([n,t],(([e,t])=>{
!e||e.selectedServerUid||null!=t&&t.selectedServerUid||a.edit(e.uid,"selectedServerUid",e.servers[0])
}));const d=()=>s.commandPalette.emit({commandName:"Add Server"}),p=$a((()=>{
var e,t,n
;return null!=(t=null==(e=r.value)?void 0:e.url)&&t.endsWith("/")?r.value.url.slice(0,-1):(null==(n=r.value)?void 0:n.url)||""
}));return(e,t)=>{var n,r
;return l.value&&(null==(n=l.value)?void 0:n.length)>1||c.value&&(null==(r=c.value)?void 0:r.length)>1?(Zi(),
Ki(Qn(lZ),{key:0,teleport:".scalar-client"},{
items:xr((()=>[u.value?(Zi(),Yi("div",Pxe," Request Servers ")):ca("",!0),(Zi(!0),
Yi(Ui,null,So(l.value,(e=>(Zi(),Ki(Axe,{key:e.id,serverOption:e,type:"request"
},null,8,["serverOption"])))),128)),u.value?(Zi(),Yi(Ui,{key:1
},[oa(Qn(uZ)),t[1]||(t[1]=ra("div",{class:"text-xxs text-c-2 ml-8"
},"Collection Servers",-1))],64)):ca("",!0),(Zi(!0),
Yi(Ui,null,So(c.value,(e=>(Zi(),Ki(Axe,{key:e.id,serverOption:e,
type:"collection"
},null,8,["serverOption"])))),128)),Qn(o)?ca("",!0):(Zi(),Yi(Ui,{key:2
},[oa(Qn(uZ)),oa(Qn(pZ),null,{default:xr((()=>[ra("div",{
class:"font-code text-xxs flex items-center gap-1.5",onClick:d
},[ra("div",Dxe,[oa(Qn(Uq),{class:"h-2.5",icon:"Add"
})]),t[2]||(t[2]=ra("span",null,"Add Server",-1))])])),_:1})],64))])),
default:xr((()=>[ra("button",{
class:"font-code lg:text-sm text-xs whitespace-nowrap border border-b-3 border-solid rounded px-1.5 py-0.5 text-c-2",
type:"button",onClick:t[0]||(t[0]=Us((()=>{}),["stop"]))},st(p.value),1)])),_:1
})):p.value?(Zi(),Yi("div",$xe,st(p.value),1)):ca("",!0)}}}),Nxe={key:0,
class:"order-last lg:order-none lg:w-auto w-full"},Mxe={
class:"m-auto flex flex-row items-center"},Ixe={
class:"pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden"
},Lxe={class:"flex gap-1"},jxe={
class:"codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full"
},Bxe=Gr({__name:"AddressBar",emits:["importCurl"],setup(e){
const{activeRequest:t,activeExample:n,activeServer:r,isReadOnly:o,requestMutators:i,requestHistory:a,events:s}=E8(),l=In(a[0]),c=In(null),u=nh()
;zp($X()?u.meta_enter:u.ctrl_enter,(()=>s.executeRequest.emit()));Ci((()=>{var e
;return null==(e=t.value)?void 0:e.path}),(e=>{!t.value||!e||(e=>{
!t.value||t.value.path===e||i.edit(t.value.uid,"path",e)})(e)}))
;const d=In(100),p=In(0),h=In(!1),f=In();function m(){
h.value?d.value-=(d.value-15)/60:d.value-=p.value/20,
d.value<=0&&(clearInterval(f.value),f.value=void 0,d.value=100,h.value=!1)}
function g(e){t.value&&i.edit(t.value.uid,"method",e)}function v(){
if(!t.value)return;const{method:e}=t.value;return kd[e].backgroundColor}
function b(){h.value||(h.value=!0,s.executeRequest.emit())}function O(e){
t.value&&i.edit(t.value.uid,"path",e)}function y(e){var t
;null!=e&&e.focusAddressBar&&(null==(t=c.value)||t.focus())}
return s.requestStatus.on((e=>{
"start"===e&&(f.value||(h.value=!0,f.value=setInterval(m,20))),
"stop"===e&&(p.value=d.value,
h.value=!1),"abort"===e&&(clearInterval(f.value),f.value=void 0,
d.value=100,h.value=!1)})),lo((()=>s.hotKeys.on(y))),po((()=>s.hotKeys.off(y))),
(e,i)=>Qn(t)&&Qn(n)?(Zi(),Yi("div",Nxe,[ra("div",Mxe,[oa(Qn(wN),{
modelValue:l.value,"onUpdate:modelValue":i[1]||(i[1]=e=>l.value=e)},{
default:xr((({open:n})=>[ra("div",{
class:et(["addressbar-bg-states text-xxs relative flex w-full lg:min-w-[720px] lg:max-w-[720px] order-last overflow-hidden lg:order-none flex-1 flex-row items-stretch rounded-lg border-1/2 p-[3px]",{
"border-transparent overflow-visible rounded-b-none":n}])
},[ra("div",Ixe,[ra("div",{
class:et(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full",v()]),
style:Xe({transform:`translate3d(-${d.value}%,0,0)`})
},null,6)]),ra("div",Lxe,[oa(Gre,{isEditable:!Qn(o),isSquare:"",
method:Qn(t).method,teleport:".scalar-client",onChange:g
},null,8,["isEditable","method"])]),ra("div",jxe,[i[2]||(i[2]=ra("div",{
class:"fade-left"},null,-1)),oa(Rxe),oa(nke,{ref_key:"addressBarRef",ref:c,
disableCloseBrackets:"",disabled:Qn(o),disableEnter:"",disableTabIndent:"",
emitOnBlur:!1,importCurl:"",modelValue:Qn(t).path,
placeholder:Qn(r)?"":"Enter a URL or cURL command",server:"",
onCurl:i[0]||(i[0]=t=>e.$emit("importCurl",t)),onSubmit:b,
"onUpdate:modelValue":O
},null,8,["disabled","modelValue","placeholder"]),i[3]||(i[3]=ra("div",{
class:"fade-right"},null,-1))]),oa(Txe,{open:n},null,8,["open"]),oa(Qn(tH),{
class:"relative h-auto shrink-0 gap-1 overflow-hidden pl-2 pr-2.5 py-1 font-bold",
disabled:h.value,onClick:b},{default:xr((()=>[oa(Qn(Uq),{
class:"relative shrink-0 fill-current",icon:"Play",size:"xs"
}),i[4]||(i[4]=ra("span",{class:"text-xxs relative lg:flex hidden"
},"Send",-1))])),_:1},8,["disabled"])],2)])),_:1
},8,["modelValue"])])])):ca("",!0)}
}),Qxe=T8(Bxe,[["__scopeId","data-v-b2aad57d"]]),Uxe={
class:"font-medium m-0 text-sm flex gap-1.5 items-center whitespace-nowrap"
},Fxe={class:"flex items-center justify-center h-4 w-4"},zxe=Gr({
__name:"EnvironmentSelector",setup(e){
const{environments:t,activeWorkspace:n,workspaceMutators:r,activeEnvironment:o,isReadOnly:i}=E8(),a=E5(),s=e=>{
r.edit(n.value.uid,"activeEnvironmentId",e)
},l=()=>a.push(`/workspace/${n.value.uid}/environment`),c=$a((()=>[t.default,...Object.values(t).filter((e=>"default"!==e.uid))]))
;return(e,t)=>(Zi(),Yi("div",null,[oa(Qn(lZ),null,{
items:xr((()=>[(Zi(!0),Yi(Ui,null,So(c.value,(e=>(Zi(),Ki(Qn(pZ),{key:e.uid,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
onClick:Us((t=>s(e.uid)),["stop"])},{default:xr((()=>[ra("div",{
class:et(["flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",Qn(n).activeEnvironmentId===e.uid?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),sa(" "+st(e.name),1)])),_:2},1032,["onClick"])))),128)),oa(Qn(pZ),{
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
onClick:t[0]||(t[0]=Us((e=>s("")),["stop"]))},{default:xr((()=>[ra("div",{
class:et(["flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",""===Qn(n).activeEnvironmentId?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),t[1]||(t[1]=sa(" No Environment "))])),_:1
}),oa(Qn(uZ)),Qn(i)?ca("",!0):(Zi(),Ki(Qn(pZ),{key:0,
class:"flex items-center gap-1.5",onClick:l},{
default:xr((()=>[ra("div",Fxe,[oa(Qn(Uq),{icon:"Brackets",size:"sm"
})]),t[2]||(t[2]=ra("span",{class:"leading-none"},"Manage Environments",-1))])),
_:1}))])),default:xr((()=>[oa(Qn(tH),{
class:"font-normal h-auto justify-start py-1.5 px-1.5 text-c-1 hover:bg-b-2 text-c-2 w-fit",
fullWidth:"",variant:"ghost"},{default:xr((()=>{var e
;return[ra("h2",Uxe,[sa(st((null==(e=Qn(o))?void 0:e.name)??"No Environment")+" ",1),oa(Qn(Uq),{
class:"size-3",icon:"ChevronDown",thickness:"3"})])]})),_:1})])),_:1})]))}
}),qxe={class:"size-3.5",fill:"none",viewBox:"0 0 24 24",
xmlns:"http://www.w3.org/2000/svg"},Hxe={"clip-path":"url(#mask)"},Vxe=Gr({
__name:"SidebarToggle",props:{modelValue:{type:Boolean}},
emits:["update:modelValue"],setup:e=>(e,t)=>(Zi(),Yi("button",{
class:"text-c-3 hover:bg-b-2 active:text-c-1 p-2 rounded",type:"button",
onClick:t[0]||(t[0]=t=>e.$emit("update:modelValue",!e.modelValue))
},[(Zi(),Yi("svg",qxe,[t[1]||(t[1]=ra("defs",null,[ra("clipPath",{id:"mask"
},[ra("path",{"clip-rule":"evenodd",
d:"M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z"
})])],-1)),ra("g",Hxe,[ra("path",{
class:et(["transition-transform duration-300",e.modelValue?"translate-x-0":"-translate-x-1/2"]),
d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),t[2]||(t[2]=ra("path",{
d:"M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
"stroke-width":"2"},null,-1))]))]))}),Zxe={
class:"lg:min-h-header flex items-center w-full justify-center p-2 pt-1 lg:p-1 flex-wrap t-app__top-container md:border-b-1/2"
},Wxe={
class:"flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12"
},Xxe={
class:"flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12"
},Gxe=Gr({__name:"RequestSubpageHeader",props:{modelValue:{type:Boolean},
isReadonly:{type:Boolean}},emits:["update:modelValue","hideModal","importCurl"],
setup:e=>(e,t)=>(Zi(),Yi("div",Zxe,[ra("div",Wxe,[oa(Vxe,{
class:"gitbook-hidden",modelValue:e.modelValue,
"onUpdate:modelValue":t[0]||(t[0]=t=>e.$emit("update:modelValue",t))
},null,8,["modelValue"]),t[3]||(t[3]=ra("a",{
class:"text-c-2 text-sm font-medium gitbook-show ml-.5 hover:text-c-1 border p-1 rounded hover:bg-b-3",
href:"https://scalar.com/",target:"_blank"
}," Powered by Scalar.com ",-1))]),oa(Qxe,{
onImportCurl:t[1]||(t[1]=t=>e.$emit("importCurl",t))
}),ra("div",Xxe,[e.isReadonly?ca("",!0):(Zi(),Ki(zxe,{key:0
})),e.isReadonly?(Zi(),Yi("button",{key:1,
class:"text-c-3 hover:bg-b-2 active:text-c-1 p-2 rounded",type:"button",
onClick:t[2]||(t[2]=t=>e.$emit("hideModal"))},[oa(Qn(Uq),{icon:"Close",
size:"lg",thickness:"1.75"})])):ca("",!0)])]))
}),Yxe=T8(Gxe,[["__scopeId","data-v-da68a303"]]);function Kxe(e){let t="";if(e){
const n=e.match(/filename\s*=\s*"?([^";]+)"?/);n&&2===n.length&&(t=(e=>{try{
return decodeURIComponent(e)}catch{return e}})(n[1].trim()))}return t}
const Jxe=["download","href"],eSe=Gr({__name:"ResponseBodyDownload",props:{
href:{},type:{},filename:{}},setup(e){const t=e,n=$a((()=>{var e
;const n=(null==(e=yie[t.type??""])?void 0:e.extension)??".unknown"
;return t.filename?t.filename:`response${n}`}));return(e,t)=>(Zi(),Yi("a",{
class:"flex gap-1 text-c-3 text-xxs no-underline items-center hover:bg-b-3 rounded py-0.5 px-1.5",
download:`${n.value}`,href:e.href,onClick:t[0]||(t[0]=Us((()=>{}),["stop"]))
},[oa(Qn(Uq),{icon:"Download",size:"xs"
}),t[1]||(t[1]=ra("span",null,"Download",-1))],8,Jxe))}}),tSe={
class:"flex justify-center px-2 py-3"},nSe={class:"text-c-3 p-2 text-sm"}
;const rSe=T8({},[["render",function(e,t){
return Zi(),Yi("div",tSe,[ra("div",nSe,[Eo(e.$slots,"default")])])
}]]),oSe=["src"],iSe=["src","type"],aSe=["src","type"],sSe=["data","type"],lSe=Gr({
__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean}
},setup(e){const t=e,n=In(!1)
;return Ci((()=>t.src),(()=>n.value=!1)),(e,t)=>!n.value&&e.src?(Zi(),Yi("div",{
key:0,class:et(["flex justify-center overflow-hidden rounded-b",{
"p-2 bg-preview":e.alpha}])},["image"===e.mode?(Zi(),Yi("img",{key:0,
class:et(["max-w-full",{rounded:e.alpha}]),src:e.src,
onError:t[0]||(t[0]=e=>n.value=!0)
},null,42,oSe)):"video"===e.mode?(Zi(),Yi("video",{key:1,autoplay:"",
controls:"",loop:"",width:"100%",onError:t[1]||(t[1]=e=>n.value=!0)
},[ra("source",{src:e.src,type:e.type},null,8,iSe)],32)):"audio"===e.mode?(Zi(),
Yi("audio",{key:2,class:"my-12",controls:"",loop:"",
onError:t[2]||(t[2]=e=>n.value=!0)},[ra("source",{src:e.src,type:e.type
},null,8,aSe)],32)):(Zi(),Yi("object",{key:3,class:"w-full aspect-[4/3]",
data:e.src,type:e.type,onError:t[3]||(t[3]=e=>n.value=!0)
},null,40,sSe))],2)):(Zi(),Ki(rSe,{key:1},{
default:xr((()=>t[4]||(t[4]=[sa("Preview unavailable")]))),_:1}))}
}),cSe=T8(lSe,[["__scopeId","data-v-7fbe3767"]]),uSe=Gr({
__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){
const t=e,n=In(null);return Nwe({codeMirrorRef:n,readOnly:!0,lineNumbers:!0,
content:t.content,language:t.language}),(e,t)=>(Zi(),Ki(Qn(_H),{
content:e.content,lang:e.language},null,8,["content","lang"]))}
}),dSe=T8(uSe,[["__scopeId","data-v-b7d4ba6e"]]),pSe={
class:"text-c-3 flex -my-1 justify-center rounded text-xxs p-0.5 gap-0.5"
},hSe=Gr({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},
emits:["update:modelValue"],setup:e=>(e,t)=>(Zi(),Yi("div",pSe,[ra("button",{
class:et(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:"button",
onClick:t[0]||(t[0]=Us((t=>e.$emit("update:modelValue",!0)),["stop"]))
}," Preview ",2),ra("button",{class:et(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",
onClick:t[1]||(t[1]=Us((t=>e.$emit("update:modelValue",!1)),["stop"]))
}," Raw ",2)]))}),fSe={key:0,
class:"mx-1 border-1/2 flex flex-col rounded bg-b-1"},mSe={
class:"flex justify-between items-center border-b-1/2 px-3 py-1.5"},gSe={
class:"text-xxs leading-3 font-code"},vSe=Gr({__name:"ResponseBody",props:{
title:{},data:{},headers:{}},setup(e){const t=e,n=In(!0),r=$a((()=>{var e
;return!(null==(e=l.value)||!e.raw||!l.value.preview)
})),o=$a((()=>n.value||!r.value)),i=$a((()=>!n.value||!r.value)),a=$a((()=>{
var e
;const n=(null==(e=t.headers.find((e=>"content-type"===e.name.toLowerCase())))?void 0:e.value)??""
;return new Oie(n)})),s=$a((()=>{var e
;const n=(null==(e=t.headers.find((e=>"content-disposition"===e.name.toLowerCase())))?void 0:e.value)??""
;return Kxe(n)
})),l=$a((()=>yie[a.value.essence])),c=$a((()=>(e=>e instanceof Blob)(t.data)?URL.createObjectURL(t.data):"string"==typeof t.data?URL.createObjectURL(new Blob([t.data],{
type:a.value.toString()
})):t.data instanceof Object&&Object.keys(t.data).length?URL.createObjectURL(new Blob([JSON.stringify(t.data)],{
type:a.value.toString()})):""));return(e,t)=>(Zi(),Ki(hke,null,_o({
title:xr((()=>[sa(st(e.title),1)])),default:xr((()=>{var s,u,d,p
;return[e.data?(Zi(),
Yi("div",fSe,[ra("div",mSe,[ra("span",gSe,st(a.value.essence),1),r.value?(Zi(),
Ki(hSe,{key:0,modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e)
},null,8,["modelValue"])):ca("",!0)]),null!=(s=l.value)&&s.raw&&i.value?(Zi(),
Ki(dSe,{key:c.value,content:e.data,language:l.value.language
},null,8,["content","language"])):ca("",!0),null!=(u=l.value)&&u.preview&&o.value?(Zi(),
Ki(cSe,{key:c.value,alpha:l.value.alpha,mode:l.value.preview,src:c.value,
type:a.value.essence
},null,8,["alpha","mode","src","type"])):ca("",!0),null!=(d=l.value)&&d.raw||null!=(p=l.value)&&p.preview?ca("",!0):(Zi(),
Ki(rSe,{key:2},{default:xr((()=>t[1]||(t[1]=[sa(" Binary file ")]))),_:1
}))])):ca("",!0)]})),_:2},[e.data&&c.value?{name:"actions",fn:xr((()=>[oa(eSe,{
filename:s.value,href:c.value,type:a.value.essence
},null,8,["filename","href","type"])])),key:"0"}:void 0]),1024))}}),bSe=Gr({
__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){
const t=e,n=$a((()=>t.art.split("\n"))),r=(e,t)=>({
animationDuration:100*e+"ms, 500ms",
animationTimingFunction:`steps(${e}), step-end`,animationDelay:100*t+"ms, 0ms",
animationIterationCount:"1, "+100*(n.value.length+n.value[n.value.length-1].length+5)/500
});return(e,t)=>(Zi(),Yi("div",{
class:et(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{
"ascii-art-animate":e.animate}])
},[(Zi(!0),Yi(Ui,null,So(n.value,((e,t)=>(Zi(),Yi("span",{key:t,
class:"inline-block",style:Xe({width:`calc(${e.length+1}ch)`})},[ra("span",{
class:"inline-block whitespace-pre overflow-hidden",style:Xe(r(e.length,t))
},st(e),5)],4)))),128))],2))}
}),OSe=T8(bSe,[["__scopeId","data-v-93347509"]]),ySe={
class:"relative col-1 flex-center gap-6 p-2 capitalize"},wSe={
class:"flex h-[calc(100%_-_50px)] flex-col items-center justify-center"},kSe={
key:0,class:"scalar-version-number"},xSe={
class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"
},SSe=Gr({__name:"ResponseEmpty",setup(e){
const{isReadOnly:t,activeWorkspace:n,events:r}=E8(),o=()=>{
r.commandPalette.emit({commandName:"Create Request"})},i=e=>{
null!=e&&e.openCommandPaletteRequest&&o()}
;return lo((()=>r.hotKeys.on(i))),po((()=>r.hotKeys.off(i))),
(e,i)=>(Zi(),Yi("div",ySe,[ra("div",wSe,[Qn(n).isReadOnly?ca("",!0):(Zi(),
Yi("div",kSe,[sa(" Scalar V"+st(Qn("2.1.23"))+" ",1),i[1]||(i[1]=ra("b",null,"Beta",-1)),i[2]||(i[2]=sa(" Release ")),i[3]||(i[3]=ra("div",{
class:"mt-1"},[ra("a",{href:"https://github.com/scalar/scalar/issues/2669",
target:"_blank"}," Roadmap ")],-1))])),oa(OSe,{
art:Qn(" .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n"),
class:"text-c-3"},null,8,["art"])]),ra("div",xSe,[ra("button",{
class:"flex items-center gap-1.5",type:"button",
onClick:i[0]||(i[0]=e=>Qn(r).executeRequest.emit())
},[i[4]||(i[4]=sa(" Send Request ")),oa(C8,{hotkey:"↵"
})]),Qn(t)?ca("",!0):(Zi(),Yi("button",{key:0,class:"flex items-center gap-1.5",
type:"button",onClick:o},[i[5]||(i[5]=sa(" New Request ")),oa(C8,{hotkey:"N"
})]))])]))}}),_Se=T8(SSe,[["__scopeId","data-v-cddb96c9"]]),ESe={key:0,
class:"absolute inset-0 bg-b-1 flex flex-col gap-6 items-center justify-center"
},TSe=Gr({__name:"ResponseLoadingOverlay",setup(e){
const{events:t}=E8(),n=Gq(),r=In();return t.requestStatus.on((e=>{
"start"===e?r.value=setTimeout((()=>n.startLoading()),1e3):(clearTimeout(r.value),
r.value=void 0,n.stopLoading())})),(e,r)=>(Zi(),Ki(Za,null,{
default:xr((()=>[Qn(n).isLoading?(Zi(),Yi("div",ESe,[oa(Qn(Kq),{
class:"text-c-3",loadingState:Qn(n),size:"3xl"
},null,8,["loadingState"]),oa(Qn(tH),{variant:"ghost",
onClick:r[0]||(r[0]=e=>Qn(t).cancelRequest.emit())},{
default:xr((()=>r[1]||(r[1]=[sa(" Cancel ")]))),_:1})])):ca("",!0)])),_:1}))}
}),CSe=T8(TSe,[["__scopeId","data-v-ef5f83d8"]]),ASe=["href"],PSe=Gr({
__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(Zi(),Yi("a",{
class:"cursor-help decoration-c-3 underline underline-offset-2",href:e.href,
rel:"noopener noreferrer",target:"_blank"},[Eo(e.$slots,"default")],8,ASe))
}),DSe=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],$Se=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],RSe=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],NSe=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],MSe=(e,t,n)=>{
let r=e
;return"string"==typeof t||Array.isArray(t)?r=e.toLocaleString(t,n):!0!==t&&void 0===n||(r=e.toLocaleString(void 0,n)),
r};function ISe(e,t={}){
if(!Number.isFinite(e))throw new TypeError("Expected a finite number")
;t.colonNotation&&(t.compact=!1,
t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,
t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,
t.millisecondsDecimalDigits=0);const n=[],r=(e,r,o,i)=>{
if(!(0!==n.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===o))return
;let a,s;if(i=(i||e||"0").toString(),t.colonNotation){a=n.length>0?":":"",s=""
;const e=i.includes(".")?i.split(".")[0].length:i.length,t=n.length>0?2:1
;i="0".repeat(Math.max(0,t-e))+i
}else a="",s=t.verbose?" "+(l=r,1===e?l:`${l}s`):o;var l;n.push(a+i+s)
},o=function(e){if("number"!=typeof e)throw new TypeError("Expected a number")
;const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,
minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,
microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}(e)
;if(r(Math.trunc(o.days/365),"year","y"),
r(o.days%365,"day","d"),r(o.hours,"hour","h"),
r(o.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(r(o.seconds,"second","s"),
t.formatSubMilliseconds)r(o.milliseconds,"millisecond","ms"),
r(o.microseconds,"microsecond","µs"),r(o.nanoseconds,"nanosecond","ns");else{
const e=o.milliseconds+o.microseconds/1e3+o.nanoseconds/1e6,n="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,i=e>=1?Math.round(e):Math.ceil(e),a=n?e.toFixed(n):i
;r(Number.parseFloat(a),"millisecond","ms",a)}else{const n=((e,t)=>{
const n=Math.floor(e*10**t+1e-7);return(Math.round(n)/10**t).toFixed(t)
})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),o=t.keepDecimalsOnWholeSeconds?n:n.replace(/\.0+$/,"")
;r(Number.parseFloat(o),"second","s",o)}
if(0===n.length)return"0"+(t.verbose?" milliseconds":"ms")
;if(t.compact)return n[0];if("number"==typeof t.unitCount){
const e=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(e)
}return t.colonNotation?n.join(""):n.join(" ")}const LSe={
class:"flex gap-1.5 text-c-3 pl-1"},jSe={key:0},BSe={key:0},QSe={key:1},USe=Gr({
__name:"ResponseMetaInformation",props:{response:{}},setup(e){
const t=e,{events:n}=E8(),r=In(),o=In(0);n.requestStatus.on((e=>{
"start"===e?r.value=setInterval((()=>o.value+=1e3),1e3):(clearInterval(r.value),
r.value=void 0,o.value=0)}));const i=e=>{var t,n
;const r=parseInt((null==(t=e.headers)?void 0:t["Content-Length"])||(null==(n=e.headers)?void 0:n["content-length"])||"0",10)
;return r?function(e,t){
if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`)
;const n=(t={bits:!1,binary:!1,space:!0,...t
}).bits?t.binary?NSe:RSe:t.binary?$Se:DSe,r=t.space?" ":""
;if(t.signed&&0===e)return` 0${r}${n[0]}`;const o=e<0,i=o?"-":t.signed?"+":""
;let a;if(o&&(e=-e),void 0!==t.minimumFractionDigits&&(a={
minimumFractionDigits:t.minimumFractionDigits
}),void 0!==t.maximumFractionDigits&&(a={
maximumFractionDigits:t.maximumFractionDigits,...a
}),e<1)return i+MSe(e,t.locale,a)+r+n[0]
;const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1)
;return e/=(t.binary?1024:1e3)**s,
a||(e=e.toPrecision(3)),i+MSe(Number(e),t.locale,a)+r+n[s]}(r):void 0
},a=$a((()=>{const e=t.response.status;if(e)return Ed[e]??void 0}))
;return(e,t)=>(Zi(),
Yi("div",LSe,[r.value&&o.value?(Zi(),Yi("span",jSe,st(Qn(ISe)(o.value)),1)):(Zi(),
Yi(Ui,{key:1
},[ra("span",null,st(Qn(ISe)(e.response.duration)),1),i(e.response)?(Zi(),
Yi("span",BSe,st(i(e.response)),1)):ca("",!0),a.value?(Zi(),Yi(Ui,{key:1
},[a.value.url?(Zi(),Ki(PSe,{key:0,href:a.value.url},{
default:xr((()=>[sa(st(e.response.status)+" "+st(a.value.name),1)])),_:1
},8,["href"])):(Zi(),
Yi("span",QSe,st(e.response.status)+" "+st(a.value.name),1))],64)):ca("",!0)],64))]))
}}),FSe=Gr({__name:"ResponseBodyVirtual",props:{content:{}},setup(e){
const t=e,n=$a((()=>bd(t.content)));return(e,t)=>(Zi(),Ki(hke,{
class:"response-body-virtual"},{title:xr((()=>t[0]||(t[0]=[sa("Body")]))),
default:xr((()=>[t[1]||(t[1]=ra("div",{
class:"py-1.5 px-2.5 font-code text-xxs border-1/2 rounded-t border-b-0"
}," This response body is massive! Syntax highlighting won’t work here. ",-1)),oa(Qn(PX),{
containerClass:"custom-scroll scalar-code-block border-1/2 rounded-b flex flex-1",
contentClass:"hljs language-plaintext",lineHeight:20,text:n.value
},null,8,["text"])])),_:1}))}}),zSe={
class:"flex-1 px-2 py-1.5 whitespace-nowrap"},qSe=Gr({__name:"DataTableText",
props:{text:{}},setup:e=>(e,t)=>(Zi(),Ki(ike,{class:"relative flex"},{
default:xr((()=>[ra("span",zSe,[Eo(e.$slots,"default",{},(()=>[sa(st(e.text),1)]))])])),
_:3}))}),HSe={key:1,
class:"text-c-3 px-4 text-sm border border-1/2 rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"
},VSe=Gr({__name:"ResponseCookies",props:{cookies:{}},
setup:e=>(e,t)=>(Zi(),Ki(hke,{defaultOpen:!1},{
title:xr((()=>t[0]||(t[0]=[sa("Cookies")]))),default:xr((()=>[(Zi(),Yi(Ui,{key:0
},[e.cookies.length?(Zi(),Ki(oke,{key:0,class:"flex-1",columns:["",""]},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.cookies,((e,t)=>(Zi(),Ki(lke,{key:t},{
default:xr((()=>[oa(qSe,{text:e.name},null,8,["text"]),oa(qSe,{text:e.value
},null,8,["text"])])),_:2},1024)))),128))])),_:1
})):(Zi(),Yi("div",HSe," No cookies "))],64))])),_:1}))}),ZSe=[{name:"Accept",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept"},{
name:"Accept-CH",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH"},{
name:"Accept-CH-Lifetime",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime"
},{name:"Accept-Charset",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset"
},{name:"Accept-Encoding",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding"
},{name:"Accept-Language",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language"
},{name:"Accept-Patch",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch"},{
name:"Accept-Post",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post"},{
name:"Accept-Ranges",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges"},{
name:"Access-Control-Allow-Credentials",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials"
},{name:"Access-Control-Allow-Headers",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"
},{name:"Access-Control-Allow-Methods",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods"
},{name:"Access-Control-Allow-Origin",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"
},{name:"Access-Control-Expose-Headers",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers"
},{name:"Access-Control-Max-Age",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age"
},{name:"Access-Control-Request-Headers",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers"
},{name:"Access-Control-Request-Method",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method"
},{name:"Age",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age"},{
name:"Allow",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow"},{
name:"Alt-Svc",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc"},{
name:"Alt-Used",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used"},{
name:"Authorization",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization"},{
name:"Cache-Control",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"},{
name:"Clear-Site-Data",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data"
},{name:"Connection",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection"},{
name:"Content-Disposition",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition"
},{name:"Content-DPR",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR"},{
name:"Content-Encoding",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding"
},{name:"Content-Language",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language"
},{name:"Content-Length",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length"
},{name:"Content-Location",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location"
},{name:"Content-Range",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range"},{
name:"Content-Security-Policy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
},{name:"Content-Security-Policy-Report-Only",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"
},{name:"Content-Type",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"},{
name:"Cookie",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie"},{
name:"Critical-CH",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH"},{
name:"Cross-Origin-Embedder-Policy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy"
},{name:"Cross-Origin-Opener-Policy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy"
},{name:"Cross-Origin-Resource-Policy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy"
},{name:"Date",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date"},{
name:"Device-Memory",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory"},{
name:"Digest",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest"},{
name:"DNT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT"
},{name:"Downlink",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink"},{
name:"DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR"
},{name:"Early-Data",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data"},{
name:"ECT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT"
},{name:"ETag",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag"},{
name:"Expect",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect"},{
name:"Expect-CT",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT"},{
name:"Expires",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires"},{
name:"Forwarded",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded"},{
name:"From",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From"
},{name:"Host",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host"},{
name:"If-Match",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match"},{
name:"If-Modified-Since",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
},{name:"If-None-Match",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match"},{
name:"If-Range",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range"},{
name:"If-Unmodified-Since",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"
},{name:"Keep-Alive",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive"},{
name:"Large-Allocation",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation"
},{name:"Last-Modified",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified"},{
name:"Link",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link"
},{name:"Location",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location"},{
name:"Max-Forwards",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards"},{
name:"NEL",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL"
},{name:"Origin",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin"},{
name:"Permissions-Policy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"
},{name:"Pragma",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma"},{
name:"Proxy-Authenticate",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate"
},{name:"Proxy-Authorization",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"
},{name:"Range",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range"},{
name:"Referer",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"},{
name:"Referrer-Policy",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy"
},{name:"Retry-After",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After"},{
name:"RTT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT"
},{name:"Save-Data",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data"},{
name:"Sec-CH-Prefers-Reduced-Motion",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion"
},{name:"Sec-CH-Prefers-Reduced-Transparency",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency"
},{name:"Sec-CH-UA",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA"},{
name:"Sec-CH-UA-Arch",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch"
},{name:"Sec-CH-UA-Bitness",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness"
},{name:"Sec-CH-UA-Full-Version",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version"
},{name:"Sec-CH-UA-Full-Version-List",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List"
},{name:"Sec-CH-UA-Mobile",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile"
},{name:"Sec-CH-UA-Model",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model"
},{name:"Sec-CH-UA-Platform",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform"
},{name:"Sec-CH-UA-Platform-Version",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version"
},{name:"Sec-Fetch-Dest",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest"
},{name:"Sec-Fetch-Mode",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode"
},{name:"Sec-Fetch-Site",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site"
},{name:"Sec-Fetch-User",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User"
},{name:"Sec-GPC",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC"},{
name:"Sec-Purpose",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose"},{
name:"Sec-WebSocket-Accept",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept"
},{name:"Server",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server"},{
name:"Server-Timing",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing"},{
name:"Service-Worker-Navigation-Preload",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload"
},{name:"Set-Cookie",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie"},{
name:"SourceMap",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap"},{
name:"Strict-Transport-Security",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"
},{name:"TE",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE"
},{name:"Timing-Allow-Origin",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin"
},{name:"Tk",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk"
},{name:"Trailer",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer"},{
name:"Transfer-Encoding",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding"
},{name:"Upgrade",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade"},{
name:"Upgrade-Insecure-Requests",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests"
},{name:"User-Agent",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent"},{
name:"Vary",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary"
},{name:"Via",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via"},{
name:"Viewport-Width",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width"
},{name:"Want-Digest",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest"},{
name:"Warning",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning"},{
name:"Width",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width"},{
name:"WWW-Authenticate",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate"
},{name:"X-Content-Type-Options",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"
},{name:"X-DNS-Prefetch-Control",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control"
},{name:"Non-standard",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{
name:"X-Forwarded-For",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"
},{name:"Non-standard",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{
name:"X-Forwarded-Host",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host"
},{name:"Non-standard",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{
name:"X-Forwarded-Proto",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto"
},{name:"Non-standard",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard"},{
name:"X-Frame-Options",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"
},{name:"X-XSS-Protection",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"
},{name:"Cf-Cache-Status",
url:"https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses"
},{name:"Cf-Ray",
url:"https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray"
},{name:"Report-To",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to"
},{name:"X-Cloud-Trace-Context",
url:"https://cloud.google.com/trace/docs/trace-context#legacy-http-header"},{
name:"Speculation-Rules",
url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules"
}],WSe={key:1,
class:"text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"
},XSe=Gr({__name:"ResponseHeaders",props:{headers:{}},setup(e){
const t=e=>ZSe.find((t=>t.name.toLowerCase()===e.toLowerCase()))
;return(e,n)=>(Zi(),Ki(hke,{defaultOpen:!1,itemCount:e.headers.length},{
title:xr((()=>n[0]||(n[0]=[sa("Headers")]))),
default:xr((()=>[e.headers.length?(Zi(),Ki(oke,{key:0,
columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.headers,((e,n)=>(Zi(),Ki(lke,{key:n,
class:"text-c-1"},{default:xr((()=>[oa(qSe,{
class:"sticky left-0 z-1 bg-b-1 max-w-48"},{default:xr((()=>{var n
;return["string"==typeof(null==(n=t(e.name))?void 0:n.url)?(Zi(),Ki(PSe,{key:0,
class:"decoration-c-3",href:t(e.name).url},{
default:xr((()=>[sa(st(e.name),1)])),_:2},1032,["href"])):(Zi(),Yi(Ui,{key:1
},[sa(st(e.name),1)],64))]})),_:2},1024),oa(qSe,{class:"z-0",text:e.value
},null,8,["text"])])),_:2},1024)))),128))])),_:1
})):(Zi(),Yi("div",WSe," No Headers "))])),_:1},8,["itemCount"]))}}),GSe={
class:"flex items-center flex-1"},YSe={
class:"custom-scroll relative flex flex-1 flex-col px-2 xl:px-4 py-2.5"
},KSe=Gr({__name:"ResponseSection",props:{response:{}},setup(e){
const t=e,n=$a((()=>{var e;const n=null==(e=t.response)?void 0:e.headers
;return n?Object.keys(n).map((e=>({name:e,value:n[e],required:!1
}))).filter((e=>!["rest-api-client-content-length","X-API-Client-Content-Length"].includes(e.name))):[]
})),r=$a((()=>{var e
;return(null==(e=t.response)?void 0:e.cookieHeaderKeys.flatMap((e=>{var n,r
;const o=null==(r=null==(n=t.response)?void 0:n.headers)?void 0:r[e];return o?{
name:e,value:o,required:!1}:[]})))??[]
})),o=["All","Cookies","Headers","Body"],i=In("All"),a=$a((()=>{var e
;return((null==(e=t.response)?void 0:e.size)??0)>2e4}))
;return(e,s)=>(Zi(),Ki($ie,null,{title:xr((()=>[oa(Qn(Uq),{
class:"text-c-3 mr-2 rotate-180",icon:"ExternalLink",size:"sm",thickness:"2.5"
}),ra("div",GSe,[s[1]||(s[1]=sa(" Response ")),e.response?(Zi(),Ki(USe,{key:0,
response:e.response},null,8,["response"])):ca("",!0),oa(Aie,{
activeSection:i.value,sections:o,onSetActiveSection:s[0]||(s[0]=e=>i.value=e)
},null,8,["activeSection"])])])),default:xr((()=>{var o
;return[ra("div",YSe,[e.response?(Zi(),Yi(Ui,{key:1
},["All"===i.value||"Cookies"===i.value?(Zi(),Ki(VSe,{key:0,cookies:r.value
},null,8,["cookies"])):ca("",!0),"All"===i.value||"Headers"===i.value?(Zi(),
Ki(XSe,{key:1,headers:n.value
},null,8,["headers"])):ca("",!0),"All"===i.value||"Body"===i.value?(Zi(),Yi(Ui,{
key:2},[a.value?(Zi(),Ki(FSe,{key:0,content:t.response.data
},null,8,["content"])):(Zi(),Ki(vSe,{key:1,active:!0,
data:null==(o=t.response)?void 0:o.data,headers:n.value,title:"Body"
},null,8,["data","headers"]))],64)):ca("",!0)],64)):(Zi(),Ki(_Se,{key:0
})),oa(CSe)])]})),_:1}))}}),JSe={parse(e){try{return{error:!1,data:JSON.parse(e)
}}catch(G$){return{error:!0,
message:G$.message?String(G$.message):"Unknown Error"}}}};function e_e(){
const e=E5(),{activeWorkspaceRequests:t,requests:n}=E8(),r=In([]),o=In([]),i=In(0),a=In(""),s=In(null),l=In([]),c=new LG(r.value,{
keys:["title","description","body"]});Ci(t,(e=>{(e=>{r.value=e.map((e=>({
id:e.uid,title:e.summary??e.method,description:e.description??"",
httpVerb:e.method,path:e.path}))),c.setCollection(r.value)})(e.map((e=>n[e])))
}),{immediate:!0});const u=t=>{
e.push(t.item.id),a.value="",i.value=0,o.value=[],
s.value instanceof HTMLInputElement&&s.value.blur()
},d=$a((()=>0===a.value.length?r.value.map((e=>({item:e}))):o.value));return{
searchText:a,searchResultsWithPlaceholderResults:d,selectedSearchResult:i,
onSearchResultClick:u,fuseSearch:()=>{i.value=0,o.value=c.search(a.value)},
searchInputRef:s,searchResultRefs:l,navigateSearchResults:e=>{
const t="up"===e?-1:1,n=d.value.length;i.value=(i.value+t+n)%n,hr((()=>{
const e=l.value[i.value];e instanceof HTMLElement&&e.scrollIntoView({
behavior:"smooth",block:"center"})}))},selectSearchResult:()=>{
i.value>=0&&u(d.value[i.value])}}}const t_e=Gr({__name:"SidebarButton",props:{
click:{type:Function}},setup(e){const t=e,n=()=>{t.click()}
;return(e,t)=>(Zi(),Ki(Qn(tH),{
class:"bg-b-1 text-c-1 hover:bg-b-2 group relative w-auto md:w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
icon:"Plus",variant:"outlined",onClick:n},{
default:xr((()=>[Eo(e.$slots,"title"),oa(C8,{
class:"hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
hotkey:"K",onHotkeyPressed:n})])),_:3}))}}),n_e={
class:"flex gap-10 justify-between"},r_e=Gr({__name:"SidebarListElementForm",
props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],
setup(e,{emit:t}){const n=t,r=vM({
base:"gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none",variants:{
danger:{true:"delete-warning-button",false:""}}});return(e,t)=>(Zi(),Yi("form",{
class:"flex flex-col gap-4 text-base",
onSubmit:t[1]||(t[1]=Us((e=>n("submit")),["prevent"]))
},[Eo(e.$slots,"default",{},void 0,!0),ra("div",n_e,[oa(Qn(tH),{
class:"gap-1.5 px-2.5 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>n("cancel"))},{
default:xr((()=>t[2]||(t[2]=[sa(" Cancel ")]))),_:1}),oa(Qn(tH),{
class:et(["custom-scroll whitespace-nowrap",Qn(bM)(Qn(r)({danger:e.danger}))]),
type:"submit"},{default:xr((()=>[sa(st(e.label??"Save"),1)])),_:1
},8,["class"])])],32))}}),o_e=T8(r_e,[["__scopeId","data-v-c3d3d457"]]),i_e={
key:0,class:"leading-normal text-c-2 text-sm text-pretty"},a_e=Gr({
__name:"DeleteSidebarListElement",props:{variableName:{},warningMessage:{}},
emits:["close","delete"],setup(e,{emit:t}){
const n=e,r=t,o=$a((()=>n.variableName.length>18?n.variableName.slice(0,18)+"…":n.variableName))
;return(e,t)=>(Zi(),Ki(o_e,{danger:"",label:`Delete ${o.value}`,
onCancel:t[0]||(t[0]=e=>r("close")),onSubmit:t[1]||(t[1]=e=>r("delete"))},{
default:xr((()=>[e.warningMessage?(Zi(),
Yi("p",i_e,st(e.warningMessage),1)):ca("",!0)])),_:1},8,["label"]))}}),s_e={
class:"grid gap-2 grid-cols-[auto,1fr]"},l_e={class:"flex aspect-square"
},c_e=Gr({__name:"EditSidebarListCollection",props:{name:{},icon:{}},
emits:["close","edit"],setup(e,{emit:t}){const n=e,r=t,o=In(n.name),i=In(n.icon)
;return(e,t)=>(Zi(),Ki(o_e,{onCancel:t[2]||(t[2]=e=>r("close")),
onSubmit:t[3]||(t[3]=e=>r("edit",o.value,i.value))},{
default:xr((()=>[ra("div",s_e,[ra("div",l_e,[oa(Wre,{modelValue:i.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),placement:"bottom-start"},{
default:xr((()=>[oa(Qn(tH),{class:"aspect-square px-0 h-auto",variant:"outlined"
},{default:xr((()=>[oa(Qn(Hre),{class:"size-4 text-c-2",src:i.value
},null,8,["src"])])),_:1})])),_:1},8,["modelValue"])]),oa(Qn(CX),{
modelValue:o.value,"onUpdate:modelValue":t[1]||(t[1]=e=>o.value=e),autofocus:"",
class:"flex-1"},null,8,["modelValue"])])])),_:1}))}}),u_e=Gr({
__name:"EditSidebarListElement",props:{name:{}},emits:["close","edit"],
setup(e,{emit:t}){const n=t,r=In(e.name);return(e,t)=>(Zi(),Ki(o_e,{
onCancel:t[1]||(t[1]=e=>n("close")),onSubmit:t[2]||(t[2]=e=>n("edit",r.value))
},{default:xr((()=>[oa(Qn(CX),{modelValue:r.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),autofocus:""
},null,8,["modelValue"])])),_:1}))}}),d_e=Gr({__name:"RequestSidebarItemMenu",
props:{menuItem:{}},emits:["closeMenu"],setup(e,{emit:t}){
const n=e,r=t,{replace:o}=E5(),{activeWorkspace:i,activeRouterParams:a,events:s}=E8(),l=Vq(),c=Vq(),u=()=>{
var e;return s.commandPalette.emit({commandName:"Add Example",metaData:{
itemUid:null==(e=n.menuItem.item)?void 0:e.entity.uid}})},d=(e,t)=>{var r
;null==(r=n.menuItem.item)||r.edit(e,t),l.hide()},p=()=>{var e,t,r
;null==(e=n.menuItem.item)||e.delete(),
a.value[T5.Request]===(null==(t=n.menuItem.item)?void 0:t.entity.uid)&&o(`/workspace/${i.value.uid}/request/default`),
a.value[T5.Examples]===(null==(r=n.menuItem.item)?void 0:r.entity.uid)&&o(`/workspace/${i.value}/request/default`),
c.hide()},h=In(null);Ci([()=>n.menuItem.open,h],(async([e])=>{var t,n
;e&&null!=(n=null==(t=h.value)?void 0:t.$parent)&&n.$el&&h.value.$parent.$el.focus()
}));const f=()=>n.menuItem.open&&r("closeMenu")
;return lo((()=>window.addEventListener("click",f))),
po((()=>window.removeEventListener("click",f))),(e,t)=>{var n,r
;return Zi(),Yi(Ui,null,[e.menuItem.targetRef&&e.menuItem.open?(Zi(),Ki(Qn(lZ),{
key:0,static:"",targetRef:e.menuItem.targetRef,teleport:"",
onKeydown:t[2]||(t[2]=zs((t=>e.$emit("closeMenu")),["escape"]))},{
items:xr((()=>{var n
;return["request"===(null==(n=e.menuItem.item)?void 0:n.entity.type)?(Zi(),
Ki(Qn(pZ),{key:0,class:"flex gap-2",onClick:u},{default:xr((()=>[oa(Qn(Uq),{
class:"inline-flex",icon:"Example",size:"md",thickness:"1.5"
}),t[6]||(t[6]=ra("span",null,"Add Example",-1))])),_:1})):ca("",!0),oa(Qn(pZ),{
ref_key:"menuRef",ref:h,class:"flex gap-2",onClick:t[0]||(t[0]=e=>Qn(l).show())
},{default:xr((()=>{var t;return[oa(Qn(Uq),{class:"inline-flex",icon:"Edit",
size:"md",thickness:"1.5"
}),ra("span",null,["collection"===(null==(t=e.menuItem.item)?void 0:t.entity.type)?(Zi(),
Yi(Ui,{key:0},[sa(" Edit ")],64)):(Zi(),Yi(Ui,{key:1},[sa(" Rename ")],64))])]
})),_:1},512),oa(Qn(pZ),{class:"flex gap-2",onClick:t[1]||(t[1]=e=>Qn(c).show())
},{default:xr((()=>[oa(Qn(Uq),{class:"inline-flex",icon:"Delete",size:"md",
thickness:"1.5"}),t[7]||(t[7]=ra("span",null,"Delete",-1))])),_:1})]})),_:1
},8,["targetRef"])):ca("",!0),oa(Qn(Wq),{size:"xxs",state:Qn(c),
title:`Delete ${null==(n=e.menuItem.item)?void 0:n.resourceTitle}`},{
default:xr((()=>{var n,r;return[oa(a_e,{
variableName:(null==(n=e.menuItem.item)?void 0:n.title)??"",
warningMessage:null==(r=e.menuItem.item)?void 0:r.warning,
onClose:t[3]||(t[3]=e=>Qn(c).hide()),onDelete:p
},null,8,["variableName","warningMessage"])]})),_:1
},8,["state","title"]),oa(Qn(Wq),{size:"xxs",state:Qn(l),
title:`Edit ${null==(r=e.menuItem.item)?void 0:r.resourceTitle}`},{
default:xr((()=>{var n,r,o,i
;return["Collection"===(null==(n=e.menuItem.item)?void 0:n.resourceTitle)?(Zi(),
Ki(c_e,{key:0,
icon:(null==(r=e.menuItem.item)?void 0:r.icon)||"interface-content-folder",
name:null==(o=e.menuItem.item)?void 0:o.title,
onClose:t[4]||(t[4]=e=>Qn(l).hide()),onEdit:d
},null,8,["icon","name"])):(Zi(),Ki(u_e,{key:1,
name:(null==(i=e.menuItem.item)?void 0:i.title)??"",
onClose:t[5]||(t[5]=e=>Qn(l).hide()),onEdit:d},null,8,["name"]))]})),_:1
},8,["state","title"])],64)}}}),p_e=T8(d_e,[["__scopeId","data-v-65353484"]])
;const h_e=In(null),f_e=In(null),m_e=["draggable"],g_e=Gr({__name:"Draggable",
props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,
default:!0},isDroppable:{type:[Boolean,Function],default:!0},parentIds:{},id:{}
},emits:["onDragEnd","onDragStart"],setup(e,{expose:t,emit:n}){
const r=e,o=n,i=$a((()=>(r.parentIds.length??0)>0?r.parentIds[r.parentIds.length-1]:null)),a=e=>{
!e.dataTransfer||!(e.target instanceof HTMLElement)||!r.isDraggable||(e.target.classList.add("dragging"),
e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",h_e.value={
id:r.id,parentId:i.value},o("onDragStart",{id:r.id,parentId:i.value}))
},s=((e,t)=>{let n=!1;return function(...r){
n||(e(...r),n=!0,setTimeout((()=>n=!1),t))}})((e=>{var t,n
;if(!h_e.value||h_e.value.id===r.id||r.parentIds.includes((null==(t=h_e.value)?void 0:t.id)??""))return
;const o=null==(n=f_e.value)?void 0:n.offset,a=e.target.offsetHeight,s=r.floor*a,l=r.ceiling*a
;let c=3
;e.offsetY<=0&&o&&3!==o?c=o:e.offsetY<=s?c=0:e.offsetY>=l?c=1:e.offsetY>s&&e.offsetY<l&&(c=2),
(e=>"function"==typeof r.isDroppable?r.isDroppable(h_e.value,{id:r.id,
parentId:i.value,offset:e}):r.isDroppable)(c)&&(f_e.value={id:r.id,
parentId:i.value,offset:c})}),25),l=["above","below","asChild"],c=$a((()=>{var e
;let t="sidebar-indent-nested"
;return r.id===(null==(e=f_e.value)?void 0:e.id)&&(t+=` dragover-${l[f_e.value.offset]}`),
t})),u=()=>{if(!f_e.value||!h_e.value)return;const e={...h_e.value},t={
...f_e.value}
;h_e.value=null,f_e.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),
e.id!==t.id&&o("onDragEnd",e,t)};return t({draggingItem:h_e,hoveredItem:f_e
}),(e,t)=>(Zi(),Yi("div",{class:et(c.value),draggable:e.isDraggable,onDragend:u,
onDragover:t[0]||(t[0]=Us(((...e)=>Qn(s)&&Qn(s)(...e)),["prevent","stop"])),
onDragstart:Us(a,["stop"])},[Eo(e.$slots,"default",{},void 0,!0)],42,m_e))}
}),v_e=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n
},b_e=v_e(g_e,[["__scopeId","data-v-1c55d212"]]),O_e=xn({}),y_e=(e,t)=>O_e[e]=t,w_e=e=>{
O_e[e]=!O_e[e]},k_e=()=>({collapsedSidebarFolders:O_e,
setCollapsedSidebarFolder:y_e,toggleSidebarFolder:w_e}),x_e={
class:"flex flex-row gap-1 items-center"},S_e={class:"relative"},__e={
class:"flex items-start"},E_e={
class:"flex h-5 items-center justify-center max-w-[14px]"},T_e={
class:"flex flex-1 flex-row justify-between editable-sidebar-hover"},C_e={
class:"relative flex h-fit"},A_e={key:2
},P_e="hover:bg-sidebar-active-b indent-padding-left",D_e=Gr({
__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},
isDroppable:{type:[Boolean,Function],default:!1},parentUids:{},uid:{},
menuItem:{}},emits:["onDragEnd","newTab","openMenu"],setup(e,{emit:t}){cs((e=>({
"0e0f2455":k.value,f310156e:x.value})))
;const n=e,r=t,{activeRequest:o,activeRouterParams:i,activeWorkspace:a,collections:s,tags:l,isReadOnly:c,requests:u,requestExamples:d,collectionMutators:p,tagMutators:h,requestMutators:f,requestExampleMutators:m,router:g,events:v}=E8(),{collapsedSidebarFolders:b,toggleSidebarFolder:O}=k_e(),y=$a((()=>{
var e,t;const r=s[n.uid],o=l[n.uid],i=u[n.uid],c=d[n.uid];return r?{
title:(null==(e=r.info)?void 0:e.title)??"Unknown title",entity:r,
resourceTitle:"Collection",children:r.children,icon:r["x-scalar-icon"],
warning:"This cannot be undone. You’re about to delete the collection and all folders and requests inside it.",
edit:(e,t)=>{p.edit(r.uid,"info.title",e),t&&p.edit(r.uid,"x-scalar-icon",t)},
delete:()=>p.delete(r,a.value)}:o?{title:o.name,entity:o,resourceTitle:"Tag",
children:o.children,
warning:"This cannot be undone. You’re about to delete the tag and all requests inside it",
edit:e=>h.edit(o.uid,"name",e),delete:()=>h.delete(o,n.parentUids[0])}:i?{
title:i.summary??[i.method,i.path].join(" - "),
link:`/workspace/${a.value.uid}/request/${i.uid}`,method:i.method,entity:i,
resourceTitle:"Request",
warning:"This cannot be undone. You’re about to delete the request.",
children:i.examples,edit:e=>f.edit(i.uid,"summary",e),
delete:()=>f.delete(i,n.parentUids[0])}:{title:c.name,
link:`/workspace/${a.value.uid}/request/${c.requestUid}/examples/${c.uid}`,
method:null==(t=u[c.requestUid])?void 0:t.method,entity:c,
resourceTitle:"Example",
warning:"This cannot be undone. You’re about to delete the example from the request.",
children:[],edit:e=>m.edit(c.uid,"name",e),delete:()=>m.delete(c)}
})),w=$a((()=>"collection"===y.value.entity.type&&"Drafts"===y.value.title)),k=$a((()=>n.parentUids.length?c.value?12*(n.parentUids.length-1)+"px":12*n.parentUids.length+"px":"12px")),x=$a((()=>n.parentUids.length?c.value?12*(n.parentUids.length-1)+"px":12*n.parentUids.length+"px":"0px")),S=$a((()=>{
var e
;return b[n.uid]||(null==(e=o.value)?void 0:e.uid)===n.uid&&y.value.entity.examples.length>1
})),_=$a((()=>{var e
;return"default"===i.value[T5.Request]&&(null==(e=o.value)?void 0:e.uid)===n.uid
})),E=In(null),T=$a((()=>{let e=.5,t=.5;if(!E.value)return{ceiling:e,floor:t}
;const{draggingItem:n}=E.value
;return s[null==n?void 0:n.id]||"collection"!==y.value.entity.type?"tag"===y.value.entity.type&&(e=.8,
t=.2):(e=1,t=0),{ceiling:e,floor:t}
})),C=(e,t)=>!(a.value.isReadOnly||d[t.id]||s[e.id]);return(e,t)=>{
const o=Oo("RequestSidebarItem",!0);return Zi(),Yi("div",{
class:et(["relative flex flex-row",[Qn(c)&&e.parentUids.length>1||!Qn(c)&&e.parentUids.length?"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset":""]])
},[oa(Qn(b_e),{id:y.value.entity.uid,ref_key:"draggableRef",ref:E,
ceiling:T.value.ceiling,class:"flex flex-1 flex-col gap-[.5px] text-sm",
floor:T.value.floor,isDraggable:e.isDraggable,isDroppable:e.isDroppable,
parentIds:e.parentUids,
onOnDragEnd:t[8]||(t[8]=(...t)=>e.$emit("onDragEnd",...t))},{default:xr((()=>{
var i;return[y.value.link?(Zi(),Ki(Qn(y5),{key:0,class:"no-underline",
to:y.value.link,onClick:t[1]||(t[1]=Us((e=>((e,t)=>{
e&&(noe(["default"]).some((t=>e[t]))?r("newTab",t.title||"",t.entity.uid):t.link&&g.push(t.link))
})(e,y.value)),["prevent"]))},{default:xr((({isExactActive:n})=>{var r,o
;return[ra("div",{
class:et(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover w-full",[P_e,n||_.value?"bg-sidebar-active-b text-sidebar-active-c transition-none":"text-sidebar-c-2"]]),
tabindex:"0"},[ra("span",{
class:et(["line-clamp-3 font-medium w-full pl-2 word-break-break-word",{
"editable-sidebar-hover-item":!Qn(c)}])
},st(y.value.title),3),ra("div",x_e,[ra("div",S_e,[Qn(c)?ca("",!0):(Zi(),
Ki(Qn(tH),{key:0,
class:et(["px-0.5 py-0 hover:bg-b-3 hidden group-hover:flex absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit",{
flex:(null==(o=null==(r=e.menuItem)?void 0:r.item)?void 0:o.entity.uid)===y.value.entity.uid&&e.menuItem.open
}]),size:"sm",type:"button",variant:"ghost",
onClick:t[0]||(t[0]=Us((t=>e.$emit("openMenu",{item:y.value,
parentUids:e.parentUids,targetRef:t.currentTarget.parentNode,open:!0
})),["stop","prevent"]))},{default:xr((()=>[oa(Qn(Uq),{icon:"Ellipses",size:"sm"
})])),_:1
},8,["class"]))]),ra("span",__e,[t[9]||(t[9]=sa("   ")),y.value.method?(Zi(),
Ki(Qn(Gre),{key:0,class:"font-bold",method:y.value.method
},null,8,["method"])):ca("",!0)])])],2)]})),_:1
},8,["to"])):!Qn(c)||e.parentUids.length?(Zi(),Yi("button",{key:1,
class:et(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5",P_e]),
type:"button",onClick:t[3]||(t[3]=e=>Qn(O)(y.value.entity.uid))
},[ra("span",E_e,[Eo(e.$slots,"leftIcon",{},(()=>[ra("div",{class:et({
"rotate-90":Qn(b)[y.value.entity.uid]})},[oa(Qn(Uq),{class:"text-c-3 text-sm",
icon:"ChevronRight",size:"sm",thickness:"2.5"
})],2)]),!0),t[10]||(t[10]=sa("   "))]),ra("div",T_e,[ra("span",{
class:et(["line-clamp-3 font-medium text-left w-full word-break-break-word",{
"editable-sidebar-hover-item":!Qn(c)}])
},st(y.value.title),3),ra("div",C_e,[Qn(c)||w.value?ca("",!0):(Zi(),Ki(Qn(tH),{
key:0,
class:et(["px-0.5 py-0 hover:bg-b-3 hidden group-hover:flex absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit",{
flex:(null==(i=e.menuItem.item)?void 0:i.entity.uid)===y.value.entity.uid&&e.menuItem.open
}]),size:"sm",variant:"ghost",onClick:t[2]||(t[2]=Us((t=>e.$emit("openMenu",{
item:y.value,parentUids:e.parentUids,targetRef:t.currentTarget.parentNode,
open:!0})),["stop","prevent"]))},{default:xr((()=>[oa(Qn(Uq),{icon:"Ellipses",
size:"sm"})])),_:1
},8,["class"])),t[11]||(t[11]=ra("span",null," ",-1))])])])):ca("",!0),S.value?(Zi(),
Yi("div",A_e,[(Zi(!0),Yi(Ui,null,So(y.value.children,(n=>(Zi(),Ki(o,{key:n,
isDraggable:!Qn(d)[n],isDroppable:C,menuItem:e.menuItem,
parentUids:[...e.parentUids,e.uid],uid:n,
onNewTab:t[4]||(t[4]=(t,n)=>e.$emit("newTab",t,n)),
onOnDragEnd:t[5]||(t[5]=(...t)=>e.$emit("onDragEnd",...t)),
onOpenMenu:t[6]||(t[6]=t=>e.$emit("openMenu",t))
},null,8,["isDraggable","menuItem","parentUids","uid"])))),128)),0===y.value.children.length?(Zi(),
Ki(Qn(tH),{key:0,
class:et(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2",e.parentUids.length?"pl-9":""]),
variant:"ghost",onClick:t[7]||(t[7]=e=>{v.commandPalette.emit({
commandName:"Create Request",metaData:{itemUid:n.uid,parentUid:n.parentUids[0]}
})})},{default:xr((()=>[oa(Qn(Uq),{class:"ml-0.5 h-2.5 w-2.5",icon:"Add",
thickness:"3"}),t[12]||(t[12]=ra("span",null,"Add Request",-1))])),_:1
},8,["class"])):ca("",!0)])):ca("",!0)]})),_:3
},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)}}
}),$_e=T8(D_e,[["__scopeId","data-v-d0057f49"]]),R_e={key:0,
class:"min-h-11 xl:min-h-header flex items-center justify-between border-b-1/2 px-3 py-1.5 md:px-4 md:py-2.5 text-sm"
},N_e={class:"font-medium m-0 text-sm whitespace-nowrap"},M_e={key:1,
class:"relative z-10 pt-0 md:px-2.5 md:pb-2.5 -translate-y-full w-[inherit] has-[.empty-sidebar-item]:border-t-1/2"
},I_e=Gr({__name:"Sidebar",props:{title:{},showSideBar:{type:Boolean,default:!0}
},setup(e){
const t=e,{isReadOnly:n,sidebarWidth:r,setSidebarWidth:o}=E8(),i=In(!1),a=Gp("(max-width: 780px)"),s=In(null),l=Gp("(max-width: 800px)"),c=e=>{
e.preventDefault()
;const t=e.clientX,n=parseInt(getComputedStyle(s.value).width||r.value,10),a=e=>{
i.value=!0,document.body.classList.add("dragging");let r=n+e.clientX-t
;r>420&&(r=420+.2*(r-420)),r<240&&(r=240),o(`${r}px`)},l=()=>{
i.value=!1,document.body.classList.remove("dragging"),
document.documentElement.removeEventListener("mousemove",a,!1),
document.documentElement.removeEventListener("mouseup",l,!1),
parseInt(r.value,10)>420?o("360px"):parseInt(r.value,10)<240&&o("240px")}
;document.documentElement.addEventListener("mousemove",a,!1),
document.documentElement.addEventListener("mouseup",l,!1)}
;return(e,o)=>Sr((Zi(),Yi("aside",{ref_key:"sidebarRef",ref:s,
class:et(["sidebar overflow-hidden relative flex flex-col flex-1 md:flex-none bg-b-1 md:border-b-0 md:border-r-1/2 min-w-full md:min-w-fit",{
dragging:i.value}]),style:Xe({width:Qn(a)?"100%":Qn(r)})
},[Eo(e.$slots,"header",{},void 0,!0),!Qn(n)&&e.title?(Zi(),
Yi("div",R_e,[ra("h2",N_e,st(e.title),1),Qn(l)?Eo(e.$slots,"button",{key:0
},void 0,!0):ca("",!0)])):ca("",!0),ra("div",{
class:et(["custom-scroll sidebar-height pb-0 md:pb-[37px] w-[inherit]",{
"sidebar-mask":!Qn(n)}])
},[Eo(e.$slots,"content",{},void 0,!0)],2),Qn(l)?ca("",!0):(Zi(),
Yi("div",M_e,[Eo(e.$slots,"button",{},void 0,!0)])),Qn(a)?ca("",!0):(Zi(),
Yi("div",{key:2,class:"resizer",onMousedown:c
},null,32))],6)),[[as,t.showSideBar]])}
}),L_e=T8(I_e,[["__scopeId","data-v-22c17e0a"]]),j_e={
class:"flex items-center text-sm w-[inherit]"},B_e={
class:"font-medium m-0 text-sm flex gap-1.5 items-center"},Q_e={
class:"line-clamp-1 text-left w-[calc(100%-10px)]"},U_e={
class:"text-ellipsis overflow-hidden"},F_e={
class:"flex items-center justify-center h-4 w-4"},z_e=Gr({
__name:"WorkspaceDropdown",setup(e){
const{activeWorkspace:t,workspaces:n,workspaceMutators:r,events:o}=E8(),{push:i}=E5(),a=$a((()=>1===Object.keys(n).length)),s=()=>o.commandPalette.emit({
commandName:"Create Workspace"}),l=In(""),c=In(""),u=Vq(),d=Vq(),p=e=>{
l.value=n[e].name,c.value=e,u.show()},h=e=>{
e.trim()&&(r.edit(c.value,"name",e.trim()),u.hide())},f=e=>{
l.value=n[e].name,c.value=e,d.show()},m=async()=>{if(!a.value){
const e=t.value.uid===c.value,o={...n}
;if(delete o[c.value],r.delete(c.value),e){const e=Object.keys(o)[0]
;await i(`/workspace/${e}/`)}}d.hide()}
;return(e,r)=>(Zi(),Yi("div",null,[ra("div",j_e,[oa(Qn(lZ),null,{
items:xr((()=>[(Zi(!0),Yi(Ui,null,So(Qn(n),((e,n)=>(Zi(),Ki(Qn(pZ),{key:n,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden w-full",
onClick:Us((e=>(e=>{e!==t.value.uid&&i(`/workspace/${e}`)})(n)),["stop"])},{
default:xr((()=>[ra("div",{
class:et(["flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",Qn(t).uid===n?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),ra("span",U_e,st(e.name),1),oa(Qn(lZ),{teleport:".scalar-client"},{
items:xr((()=>[oa(Qn(pZ),{class:"flex gap-2",onMousedown:e=>p(n),
onTouchend:Us((e=>p(n)),["prevent"])},{default:xr((()=>[oa(Qn(Uq),{
class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"
}),r[4]||(r[4]=ra("span",null,"Rename",-1))])),_:2
},1032,["onMousedown","onTouchend"]),a.value?(Zi(),Ki(Qn(AX),{key:0,
class:"z-10",side:"bottom"},{trigger:xr((()=>[oa(Qn(pZ),{
class:"flex gap-2 w-full",disabled:"",
onMousedown:r[0]||(r[0]=Us((()=>{}),["prevent"])),
onTouchend:r[1]||(r[1]=Us((()=>{}),["prevent"]))},{default:xr((()=>[oa(Qn(Uq),{
class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"
}),r[5]||(r[5]=ra("span",null,"Delete",-1))])),_:1})])),
content:xr((()=>r[6]||(r[6]=[ra("div",{
class:"grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1"
},[ra("div",{class:"flex items-center text-c-2"
},[ra("span",null,"Only workspace cannot be deleted.")])],-1)]))),_:1
})):(Zi(),Ki(Qn(pZ),{key:1,class:"flex !gap-2",
onMousedown:Us((e=>f(n)),["prevent"]),onTouchend:Us((e=>f(n)),["prevent"])},{
default:xr((()=>[oa(Qn(Uq),{class:"inline-flex",icon:"Delete",size:"sm",
thickness:"1.5"}),r[7]||(r[7]=ra("span",null,"Delete",-1))])),_:2
},1032,["onMousedown","onTouchend"]))])),default:xr((()=>[oa(Qn(tH),{
class:"px-0.5 py-0 hover:bg-b-3 group-hover/item:flex aspect-square ml-auto -mr-1 h-fit",
size:"sm",type:"button",variant:"ghost"},{default:xr((()=>[oa(Qn(Uq),{
icon:"Ellipses",size:"sm"})])),_:1})])),_:2},1024)])),_:2
},1032,["onClick"])))),128)),oa(Qn(uZ)),oa(Qn(pZ),{
class:"flex items-center gap-1.5",onClick:s},{
default:xr((()=>[ra("div",F_e,[oa(Qn(Uq),{class:"h-2.5",icon:"Add",thickness:"3"
})]),r[8]||(r[8]=ra("span",null,"Create Workspace",-1))])),_:1})])),
default:xr((()=>[oa(Qn(tH),{
class:"font-normal h-full justify-start line-clamp-1 py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
fullWidth:"",variant:"ghost"},{
default:xr((()=>[ra("div",B_e,[ra("h2",Q_e,st(Qn(t).name),1),oa(Qn(Uq),{
class:"size-3",icon:"ChevronDown",thickness:"3"})])])),_:1})])),_:1
})]),oa(Qn(Wq),{size:"xxs",state:Qn(d),title:"Delete workspace"},{
default:xr((()=>[oa(a_e,{variableName:l.value,
warningMessage:"This cannot be undone. You’re about to delete the workspace and everything inside it.",
onClose:r[2]||(r[2]=e=>Qn(d).hide()),onDelete:m},null,8,["variableName"])])),_:1
},8,["state"]),oa(Qn(Wq),{size:"xxs",state:Qn(u),title:"Rename Workspace"},{
default:xr((()=>[oa(u_e,{name:l.value,onClose:r[3]||(r[3]=e=>Qn(u).hide()),
onEdit:h},null,8,["name"])])),_:1},8,["state"])]))}}),q_e={
class:"search-button-fade sticky px-3 py-2.5 top-0 z-10"},H_e={
class:"empty-sidebar-item-content px-2.5 py-2.5"},V_e={
class:"w-[60px] h-[68px] m-auto rabbit-ascii mt-2 relative"},Z_e=Gr({
__name:"RequestSidebar",props:{showSidebar:{type:Boolean},isReadonly:{
type:Boolean}},emits:["update:showSidebar","newTab"],setup(e,{emit:t}){
const n=e,r=t,o=E8(),{activeWorkspaceCollections:i,activeRequest:a,activeWorkspaceRequests:s,findRequestParents:l,isReadOnly:c,events:u}=o,{handleDragEnd:d,isDroppable:p}=function({collections:e,collectionMutators:t,tags:n,tagMutators:r,requests:o,requestHistory:i,workspaceMutators:a,activeWorkspace:s}){
function l(o,i){e[o]?t.edit(o,"children",i):n[o]&&r.edit(o,"children",i)}return{
handleDragEnd:function(o,i){if(!o||!i)return
;const{id:c,parentId:u}=o,{id:d,parentId:p,offset:h}=i
;if(u?e[u]?t.edit(u,"children",e[u].children.filter((e=>e!==c))):n[u]&&r.edit(u,"children",n[u].children.filter((e=>e!==c))):a.edit(s.value.uid,"collections",s.value.collections.filter((e=>e!==c))),
2===h){const t=e[d]||n[d];l(d,[...t.children,c])}else if(p){
const t=[...(e[p]||n[p]).children],r=t.findIndex((e=>d===e))??0
;t.splice(r+h,0,c),l(p,t)}else{
const e=[...s.value.collections],t=e.findIndex((e=>d===e))??0;e.splice(t+h,0,c),
a.edit(s.value.uid,"collections",e)}},isDroppable:(t,n)=>{var r,o
;return!(s.value.isReadOnly||!e[t.id]&&2!==n.offset||e[t.id]&&"Drafts"===(null==(o=null==(r=e[n.id])?void 0:r.info)?void 0:o.title))
}}}(o),{collapsedSidebarFolders:h,setCollapsedSidebarFolder:f}=k_e(),m=xn({
open:!1});Ci(a,(e=>{e&&l(e).forEach((e=>f(e,!0)))}),{immediate:!0})
;const{searchText:g,searchResultsWithPlaceholderResults:v,selectedSearchResult:b,onSearchResultClick:O,fuseSearch:y,searchInputRef:w,searchResultRefs:k,navigateSearchResults:x,selectSearchResult:S}=e_e(),_=e=>{
var t
;e&&(e.toggleSidebar&&r("update:showSidebar",n.showSidebar),e.openCommandPalette&&(e.openCommandPalette.preventDefault(),
u.commandPalette.emit()),e.focusRequestSearch&&(null==(t=w.value)||t.focus()))}
;return lo((()=>u.hotKeys.on(_))),po((()=>{u.hotKeys.off(_)
})),(e,t)=>(Zi(),Yi(Ui,null,[Sr(oa(Qn(L_e),{
class:et([e.showSidebar?"sidebar-active-width":""]),showSidebar:e.showSidebar,
"onUpdate:showSidebar":t[8]||(t[8]=t=>e.$emit("update:showSidebar",t))},_o({
content:xr((()=>[ra("div",q_e,[oa(Qn(fX),{ref_key:"searchInputRef",ref:w,
modelValue:Qn(g),"onUpdate:modelValue":t[0]||(t[0]=e=>Mn(g)?g.value=e:null),
sidebar:"",onInput:Qn(y),
onKeydown:[t[1]||(t[1]=zs(Us((e=>Qn(x)("down")),["stop"]),["down"])),t[2]||(t[2]=zs(Us((e=>Qn(S)()),["stop"]),["enter"])),t[3]||(t[3]=zs(Us((e=>Qn(x)("up")),["stop"]),["up"]))]
},null,8,["modelValue","onInput"])]),ra("div",{
class:et(["custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0",{
"pb-14":!e.isReadonly}]),onDragenter:t[6]||(t[6]=Us((()=>{}),["prevent"])),
onDragover:t[7]||(t[7]=Us((()=>{}),["prevent"]))},[Qn(g)?(Zi(),Ki(Qn(xX),{key:0,
class:"gap-px custom-scroll",noResults:!Qn(v).length},{default:xr((()=>[(Zi(!0),
Yi(Ui,null,So(Qn(v),((e,t)=>(Zi(),Ki(Qn(kX),{id:`#search-input-${e.item.id}`,
key:e.refIndex,ref_for:!0,ref:e=>Qn(k)[t]=e,active:Qn(b)===t,class:"px-2",
onClick:t=>Qn(O)(e),onFocus:e=>b.value=t},{addon:xr((()=>[oa(Gre,{
class:"font-bold",method:e.item.httpVerb??"get"},null,8,["method"])])),
default:xr((()=>[sa(st(e.item.title)+" ",1)])),_:2
},1032,["id","active","onClick","onFocus"])))),128))])),_:1
},8,["noResults"])):(Zi(!0),Yi(Ui,{key:1},So(Qn(i),(n=>{var o
;return Zi(),Ki($_e,{key:n.uid,
isDraggable:!e.isReadonly&&"Drafts"!==(null==(o=n.info)?void 0:o.title),
isDroppable:Qn(p),menuItem:m,parentUids:[],uid:n.uid,
onNewTab:t[4]||(t[4]=(e,t)=>r("newTab",{name:e,uid:t})),onOnDragEnd:Qn(d),
onOpenMenu:t[5]||(t[5]=e=>Object.assign(m,e))},{leftIcon:xr((()=>{var e
;return["Drafts"===(null==(e=n.info)?void 0:e.title)?(Zi(),Ki(Qn(Uq),{key:0,
class:"text-sidebar-c-2 group-hover:hidden",icon:"Scribble",thickness:"2.25"
})):(Zi(),Ki(Qn(Hre),{key:1,
class:"text-sidebar-c-2 size-3.5 stroke-[2.25] group-hover:hidden",
src:n["x-scalar-icon"]||"interface-content-folder"},null,8,["src"])),ra("div",{
class:et({"rotate-90":Qn(h)[n.uid]})},[oa(Qn(Uq),{
class:"text-c-3 hidden text-sm group-hover:block",icon:"ChevronRight",size:"sm",
thickness:"2.5"})],2)]})),_:2
},1032,["isDraggable","isDroppable","menuItem","uid","onOnDragEnd"])
})),128))],34)])),button:xr((()=>[ra("div",{class:et({
"empty-sidebar-item":Qn(s).length<=1})},[ra("div",H_e,[ra("div",V_e,[oa(OSe,{
art:Qn(' ,\\\n \\\\\\,_\n \\` ,\\\n __,.-" =__)\n ." )\n,_/ , \\/\\_\n\\_| )_-\\ \\_-`\n `-----` `--`'),
class:"font-bold rabbitsit"},null,8,["art"]),oa(OSe,{
art:Qn(' __\n // \\,_\n \\` ,\\\n __,.-" =__)\n ." )\n,_/ , \\/\\ \n\\_| // / / /\n / / '),
class:"font-bold absolute top-0 left-0 rabbitjump"
},null,8,["art"])]),t[10]||(t[10]=ra("div",{
class:"text-center text-balance text-sm mb-2 mt-2"},[ra("b",{class:"font-medium"
},"Let's Get Started"),ra("p",{class:"mt-2"
}," Create request, folder, collection or import OpenAPI document ")],-1))]),e.isReadonly?ca("",!0):(Zi(),
Ki(t_e,{key:0,click:Qn(u).commandPalette.emit},{
title:xr((()=>t[11]||(t[11]=[sa("Add Item")]))),_:1},8,["click"]))],2)])),_:2
},[e.isReadonly?void 0:{name:"header",fn:xr((()=>[oa(Qn(z_e),{
class:"min-h-11 xl:min-h-header xl:py-2.5 py-1 px-2.5 border-b-1/2"})])),key:"0"
}]),1032,["class","showSidebar"]),[[as,e.showSidebar]]),!Qn(c)&&m?(Zi(),Ki(p_e,{
key:0,menuItem:m,onCloseMenu:t[9]||(t[9]=e=>m.open=!1)
},null,8,["menuItem"])):ca("",!0)],64))}
}),W_e=T8(Z_e,[["__scopeId","data-v-0c6b59b7"]]),X_e=Gr({__name:"Request",
emits:["newTab"],setup(e){var t
;const n=E8(),{toast:r}=Hh(),{activeCollection:o,activeExample:i,activeEnvironment:a,activeRequest:s,activeWorkspace:l,activeServer:c,cookies:u,modalState:d,requestHistory:p,securitySchemes:h,requestMutators:f,serverMutators:m,servers:g,events:v}=n,b=In(!(null!=(t=l.value)&&t.isReadOnly)),O=In(),y=In(),w=In(""),k=E5(),x=$a((()=>p.findLast((e=>{
var t;return e.request.uid===(null==(t=i.value)?void 0:t.uid)}))))
;Ci(Gp("(max-width: 780px)"),(e=>b.value=!e));const S=async()=>{var e
;if(!s.value||!i.value||!o.value)return
;const t=JSe.parse((null==(e=a.value)?void 0:e.value)||"{}")
;t.error&&console.error("INVALID ENVIRONMENT!")
;const n=t.error||"object"!=typeof t.data?{}:t.data??{},d=l.value.cookies.map((e=>u[e])),[f,m]=kie({
auth:o.value.auth,request:s.value,example:i.value,proxy:l.value.proxyUrl??"",
environment:n,globalCookies:d,status:v.requestStatus,securitySchemes:h,
server:c.value});if(f)return void r(f.message,"error");O.value=m.controller
;const[g,b]=await m.sendRequest();g?r(g.message,"error"):p.push(b)},_=async()=>{
var e;return null==(e=O.value)?void 0:e.abort(Zoe)};function E({requestName:e}){
var t,n,r,o;if(!y.value)return;if(y.value.servers){
const e=Object.values(g).find((e=>{var t,n
;return e.url===(null==(n=null==(t=null==y?void 0:y.value)?void 0:t.servers)?void 0:n[0])
}));w.value=e?e.uid:m.add({url:y.value.servers[0]},l.value.collections[0]).uid}
const i=f.add({summary:e,path:null==(t=null==y?void 0:y.value)?void 0:t.path,
method:null==(n=null==y?void 0:y.value)?void 0:n.method,
parameters:null==(r=null==y?void 0:y.value)?void 0:r.parameters,
selectedServerUid:w.value,
requestBody:null==(o=null==y?void 0:y.value)?void 0:o.requestBody
},l.value.collections[0])
;i&&k.push(`/workspace/${l.value.uid}/request/${i.uid}`),d.hide()}function T(e){
y.value=Foe(e),d.show()}return lo((()=>{
v.executeRequest.on(S),v.cancelRequest.on(_)
})),po((()=>v.executeRequest.off(S))),(e,t)=>(Zi(),Yi(Ui,null,[ra("div",{
class:et(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden",{
"!mr-0 !mb-0 !border-0":Qn(l).isReadOnly}])},[oa(Yxe,{modelValue:b.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>b.value=e),isReadonly:Qn(l).isReadOnly,
onHideModal:t[1]||(t[1]=()=>Qn(d).hide()),onImportCurl:T
},null,8,["modelValue","isReadonly"]),oa(koe,null,{default:xr((()=>[oa(W_e,{
isReadonly:Qn(l).isReadOnly,showSidebar:b.value,
onNewTab:t[2]||(t[2]=t=>e.$emit("newTab",t)),
"onUpdate:showSidebar":t[3]||(t[3]=e=>b.value=e)
},null,8,["isReadonly","showSidebar"]),Qn(i)?(Zi(),Ki(Soe,{key:0,
class:et(["flex-1",[b.value?"sidebar-active-hide-layout":""]])},{
default:xr((()=>{var e;return[oa(yxe),oa(KSe,{
response:null==(e=x.value)?void 0:e.response},null,8,["response"])]})),_:1
},8,["class"])):ca("",!0)])),_:1})],2),y.value?(Zi(),Ki(yoe,{key:0,
parsedCurl:y.value,state:Qn(d),onClose:t[4]||(t[4]=e=>Qn(d).hide()),
onImportCurl:E},null,8,["parsedCurl","state"])):ca("",!0)],64))}
}),G_e=T8(X_e,[["__scopeId","data-v-adeb5a01"]]),Y_e=Object.freeze(Object.defineProperty({
__proto__:null,default:G_e},Symbol.toStringTag,{value:"Module"})),K_e={
class:"flex flex-col p-2"};const J_e=T8({},[["render",function(e,t){return Zi(),
Yi("ul",K_e,[Eo(e.$slots,"default")])}]]),eEe={
class:"absolute flex right-1 opacity-0 group-hover:opacity-100"},tEe=Gr({
__name:"SidebarListElementActions",props:{variable:{},warningMessage:{},
isCopyable:{type:Boolean},isDeletable:{type:Boolean}},emits:["delete"],
setup(e,{emit:t}){const n=t,r=In({action:"None",name:""
}),o=Vq(),{copyToClipboard:i}=(()=>{const{toast:e}=Hh();return{
copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{
e("Copied to the clipboard.","info")}))}}})();function a(){o.hide(),r.value={
action:"None",name:""}}
return(t,s)=>(Zi(),Yi(Ui,null,[ra("div",eEe,[t.isCopyable?(Zi(),Yi("button",{
key:0,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",
type:"button",onClick:s[0]||(s[0]=e=>Qn(i)(t.variable.name))},[oa(Qn(Uq),{
class:"h-3 w-3",icon:"Clipboard"
})])):ca("",!0),!t.variable.isDefault&&t.isDeletable?(Zi(),Yi("button",{key:1,
class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1",type:"button",
onClick:s[1]||(s[1]=Us((t=>function(t){r.value={action:t,name:e.variable.name
},o.show()}("Delete")),["prevent"]))},[oa(Qn(Uq),{class:"h-3.5 w-3.5",
icon:"Close"})])):ca("",!0)]),oa(Qn(Wq),{size:"sm",state:Qn(o),
title:`${r.value.action} ${r.value.name}`},{
default:xr((()=>["Delete"===r.value.action?(Zi(),Ki(a_e,{key:0,
variableName:r.value.name,warningMessage:t.warningMessage,onClose:a,
onDelete:s[2]||(s[2]=e=>function(e){n("delete",e),a()}(t.variable.uid))
},null,8,["variableName","warningMessage"])):ca("",!0)])),_:1
},8,["state","title"])],64))}}),nEe={key:0,class:"hover:bg-b-3 rounded p-1.5",
type:"button"},rEe={class:"empty-variable-name"},oEe=Gr({
__name:"SidebarListElement",props:{variable:{},warningMessage:{},isDeletable:{
type:Boolean,default:!0},isCopyable:{type:Boolean,default:!0}},emits:["delete"],
setup(e,{emit:t}){const n=t,r=E5(),o=e=>{n("delete",e)};return(e,t)=>{
const n=Oo("router-link");return Zi(),Yi("li",null,[oa(n,{
class:et(["h-8 text-c-2 hover:bg-b-2 group relative block flex items-center gap-1 rounded py-1 pr-2 font-medium no-underline",[e.variable.color?"pl-1":"pl-2"]]),
exactActiveClass:"active-link",to:`${e.variable.uid}`,
onClick:t[0]||(t[0]=Us((t=>((e,t)=>{e.metaKey?window.open(t,"_blank"):r.push(t)
})(t,e.variable.uid)),["prevent"]))},{
default:xr((()=>[e.variable.color?(Zi(),Yi("button",nEe,[ra("div",{
class:et(["h-2.5 w-2.5 rounded-xl",`bg-${e.variable.color}`])
},null,2)])):ca("",!0),ra("span",rEe,st(e.variable.name),1),oa(tEe,{
isCopyable:e.isCopyable,isDeletable:e.isDeletable,variable:{...e.variable,
isDefault:e.variable.isDefault??!1},warningMessage:e.warningMessage,onDelete:o
},null,8,["isCopyable","isDeletable","variable","warningMessage"])])),_:1
},8,["class","to"])])}}}),iEe=T8(oEe,[["__scopeId","data-v-271914bc"]]),aEe={
class:"flex flex-row gap-1.5 space-x-1"},sEe=["onClick"],lEe=Gr({
__name:"EnvironmentColors",props:{activeColor:{}},emits:["select"],setup(e){
const t=[{color:"grey",bgClass:"bg-grey"},{color:"red",bgClass:"bg-red"},{
color:"yellow",bgClass:"bg-yellow"},{color:"green",bgClass:"bg-green"},{
color:"orange",bgClass:"bg-orange"},{color:"blue",bgClass:"bg-blue"},{
color:"text-c-2",bgClass:"bg-c-2"},{color:"purple",bgClass:"bg-purple"},{
color:"pink",bgClass:"bg-pink"}]
;return(e,n)=>(Zi(),Yi("div",aEe,[(Zi(),Yi(Ui,null,So(t,(t=>ra("div",{
key:t.color,
class:et(["flex h-5 w-5 cursor-pointer items-center justify-center rounded-full",t.bgClass]),
onClick:n=>e.$emit("select",t.color)},[e.activeColor===t.color?(Zi(),Ki(Qn(Uq),{
key:0,icon:"Checkmark",size:"xs"})):ca("",!0)],10,sEe))),64))]))}}),cEe={
class:"flex-1"},uEe=["value"],dEe={class:"colors ml-auto"},pEe=Gr({
__name:"Environment",setup(e){
const t=E5(),{environments:n,environmentMutators:r}=E8(),o=In(null),i=In(null),a=In(!1)
;function s(){const e=m8.parse({name:"New Environment",uid:EH(),color:"grey",
raw:JSON.stringify({exampleKey:"exampleValue"},null,2),parsed:[],isDefault:!1})
;r.add(e),o.value=e.uid,t.push(o.value)}function l(e){
o.value&&r.edit(o.value,"value",e)}
const c=e=>o.value&&r.edit(o.value,"color",e),u=()=>{
o.value&&!n[o.value].isDefault&&(a.value=!0,hr((()=>{var e
;null==(e=i.value)||e.focus()})))},d=e=>{const t=e.target.value
;o.value&&!n[o.value].isDefault&&r.edit(o.value,"name",t)};return lo((()=>{
"default"===t.currentRoute.value.params.environment&&(o.value=n.default.uid)})),
(e,t)=>(Zi(),Ki(koe,null,{default:xr((()=>[oa(L_e,{title:"Environment"},{
content:xr((()=>[ra("div",cEe,[oa(J_e,null,{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(Qn(n),(e=>(Zi(),Ki(iEe,{key:e.uid,
class:"text-xs",variable:{name:e.name,uid:e.uid,color:e.color,
isDefault:e.isDefault},
warningMessage:"Are you sure you want to delete this environment?",
onClick:t=>o.value=e.uid,onDelete:t=>(e=>{
r.delete(e),o.value===e&&(o.value=null)})(e.uid)
},null,8,["variable","onClick","onDelete"])))),128))])),_:1})])])),
button:xr((()=>[oa(t_e,{click:s},{
title:xr((()=>t[2]||(t[2]=[sa("Add Environment")]))),_:1})])),_:1}),oa(Soe,{
class:"flex-1"},{default:xr((()=>[oa($ie,null,_o({
default:xr((()=>[o.value?(Zi(),Ki(nke,{key:0,class:"pl-px pr-2 md:px-2 py-2.5",
language:"json",lineNumbers:"",modelValue:Qn(n)[o.value].value,
"onUpdate:modelValue":l},null,8,["modelValue"])):ca("",!0)])),_:2},[o.value?{
name:"title",fn:xr((()=>[!a.value||Qn(n)[o.value].isDefault?(Zi(),Yi("span",{
key:0,onDblclick:u},st(Qn(n)[o.value].name),33)):(Zi(),Yi("input",{key:1,
ref_key:"nameInputRef",ref:i,
class:"ring-1 ring-offset-4 ring-b-outline rounded",spellcheck:"false",
type:"text",value:Qn(n)[o.value].name,onBlur:t[0]||(t[0]=e=>a.value=!1),
onInput:d,onKeyup:t[1]||(t[1]=zs((e=>a.value=!1),["enter"]))
},null,40,uEe)),ra("div",dEe,[oa(lEe,{activeColor:Qn(n)[o.value].color,
onSelect:c},null,8,["activeColor"])])])),key:"0"}:void 0]),1024)])),_:1})])),_:1
}))}}),hEe=Object.freeze(Object.defineProperty({__proto__:null,default:pEe
},Symbol.toStringTag,{value:"Module"})),fEe={key:0},mEe={
class:"custom-scroll flex flex-1 flex-col gap-1.5 p-2 md:p-5"},gEe=Gr({
__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},
setup:e=>(e,t)=>(Zi(),Ki($ie,null,{
title:xr((()=>[e.title?(Zi(),Yi("span",fEe,st(e.title),1)):Eo(e.$slots,"title",{
key:1})])),
default:xr((()=>[ra("div",mEe,[Object.keys(e.data).length>0?(Zi(),Ki(oke,{key:0,
columns:[""]},{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(e.options,((t,n)=>(Zi(),Ki(lke,{key:n,
class:et({"border-t":0===n})},{default:xr((()=>[oa(Zke,{
modelValue:String(e.data[t.key]??""),placeholder:t.placeholder,
"onUpdate:modelValue":n=>e.onUpdate(t.key,n)},{
default:xr((()=>[sa(st(t.label),1)])),_:2
},1032,["modelValue","placeholder","onUpdate:modelValue"])])),_:2
},1032,["class"])))),128))])),_:1})):ca("",!0)])])),_:3}))}),vEe={
class:"flex items-center pointer-events-none"},bEe=["value"],OEe=Gr({
__name:"CookieForm",setup(e){
const{cookies:t,activeCookieId:n,cookieMutators:r}=E8(),o=[{label:"Key",
key:"key",placeholder:"Username"},{label:"Value",key:"value",placeholder:"123"
},{label:"Domain",key:"domain",placeholder:"scalar.com"},{label:"Path",
key:"path",placeholder:"/"},{label:"Expires",key:"expires",
placeholder:"Tomorrow"},{label:"Secure",key:"secure",placeholder:"True/False"},{
label:"HttpOnly",key:"httpOnly",placeholder:"True/False"
}],i=$a((()=>t[n.value]||{})),a=(e,t)=>{n.value&&r.edit(n.value,e,t)}
;return(e,t)=>(Zi(),Ki(gEe,{data:i.value,onUpdate:a,options:o},{
title:xr((()=>[ra("div",vEe,[t[1]||(t[1]=ra("label",{
class:"absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text",
for:"cookiename"},null,-1)),ra("input",{id:"cookiename",
class:"md:pl-1 outline-none border-0 text-c-2 rounded pointer-events-auto relative w-full",
placeholder:"Cookie Name",value:i.value.name,
onInput:t[0]||(t[0]=e=>a("name",e.target.value))},null,40,bEe)])])),_:1
},8,["data"]))}}),yEe=Gr({__name:"CookieRaw",setup(e){
const{cookies:t,activeCookieId:n}=E8();return(e,r)=>(Zi(),Ki($ie,null,{
title:xr((()=>r[0]||(r[0]=[ra("span",null,"Raw Cookie String",-1)]))),
default:xr((()=>[Qn(n)&&Qn(t)[Qn(n)]?(Zi(),Ki(nke,{key:0,
class:"pl-px pr-2 md:px-2 py-2.5",lineNumbers:"",modelValue:""})):ca("",!0)])),
_:1}))}}),wEe={class:"flex-1"},kEe=["onClick"],xEe={
class:"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative"
},SEe=["onClick"],_Ee={
class:"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative"
},EEe=Gr({__name:"Cookies",setup(e){
const{cookies:t,cookieMutators:n}=E8(),{collapsedSidebarFolders:r,toggleSidebarFolder:o}=k_e(),i=E5(),a=()=>{
const e=Object.keys(t).length,r=f8.parse({name:`Cookie ${e}`,value:"",
domain:"example.com",path:"/",secure:!1,httpOnly:!1,sameSite:"None"})
;n.add(r),i.push(r.uid)},s=$a((()=>{const e={}
;return Object.values(t).forEach((t=>{
t.domain&&t.path&&(e[t.domain]||(e[t.domain]={}),
e[t.domain][t.path]||(e[t.domain][t.path]=[]),e[t.domain][t.path].push(t))})),e
})),l=e=>r[e];return lo((()=>{
const e=Object.keys(s.value),t=Object.entries(s.value).flatMap((([e,t])=>Object.keys(t).map((t=>e+t))))
;e.forEach((e=>{r[e]=!0})),t.forEach((e=>{r[e]=!0}))
})),(e,c)=>(Zi(),Ki(koe,null,{default:xr((()=>[oa(Qn(L_e),{title:"Cookies"},{
content:xr((()=>[ra("div",wEe,[oa(J_e,null,{
default:xr((()=>[(Zi(!0),Yi(Ui,null,So(s.value,((e,a)=>(Zi(),Yi("div",{key:a
},[ra("button",{
class:"flex font-medium gap-1.5 items-center px-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
type:"button",onClick:e=>Qn(o)(a)},[oa(Qn(Uq),{class:et(["text-c-3",{
"rotate-90":Qn(r)[a]}]),icon:"ChevronRight",size:"sm",thickness:"2.5"
},null,8,["class"]),sa(" "+st(a),1)],8,kEe),Sr(ra("div",xEe,[(Zi(!0),
Yi(Ui,null,So(e,((e,s)=>(Zi(),Yi("div",{key:s},[ra("button",{
class:"flex font-medium gap-1.5 items-center pl-5 pr-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
type:"button",onClick:e=>Qn(o)(a+s)},[oa(Qn(Uq),{class:et(["text-c-3",{
"rotate-90":Qn(r)[a+s]}]),icon:"ChevronRight",size:"sm",thickness:"2.5"
},null,8,["class"]),sa(" "+st(s),1)],8,SEe),Sr(ra("div",_Ee,[(Zi(!0),
Yi(Ui,null,So(e,(e=>(Zi(),Ki(iEe,{key:e.uid,class:"cookie text-xs",variable:{
name:e.name,uid:e.uid},
warningMessage:"Are you sure you want to delete this cookie?",onDelete:r=>(e=>{
n.delete(e);const r=Object.values(t).filter((t=>t.uid!==e));if(r.length>1){
const e=r[r.length-1];i.push(e.uid)
}else 1===r.length&&"default"===r[0].uid&&i.push("default")})(e.uid)
},null,8,["variable","onDelete"])))),128))],512),[[as,l(a+s)]])])))),128))],512),[[as,l(a)]])])))),128))])),
_:1})])])),button:xr((()=>[oa(t_e,{click:a},{
title:xr((()=>c[0]||(c[0]=[sa("Add Item")]))),_:1})])),_:1}),oa(Soe,{
class:"flex-1"},{default:xr((()=>[oa(OEe),oa(yEe)])),_:1})])),_:1}))}
}),TEe=Object.freeze(Object.defineProperty({__proto__:null,default:EEe
},Symbol.toStringTag,{value:"Module"})),CEe={class:"w-full"},AEe=Gr({
__name:"ServerForm",setup(e){
const{activeCollection:t,servers:n,serverMutators:r}=E8(),o=[{label:"URL",
key:"url",placeholder:"https://void.scalar.com/api"},{label:"Label",
key:"description",placeholder:"Production"}],i=ti(f5),a=$a((()=>{var e,r
;return n[t.value&&"default"===i.params.server?null==(e=t.value)?void 0:e.servers[0]:(null==(r=t.value)?void 0:r.servers.find((e=>e===i.params.server)))??""]
})),s=(e,n)=>{t.value&&r.edit(a.value.uid,e,n)},l=(e,n)=>{
t.value&&r.edit(a.value.uid,`variables.${e}.value`,n)},c=$a((()=>{var e
;return Object.entries((null==(e=a.value)?void 0:e.variables)??{}).map((([e,t])=>{
var n;return{key:e,label:e,
placeholder:(t.default??(null==(n=null==t?void 0:t.enum)?void 0:n[0])??"").toString()
}}))})),u=$a((()=>Object.entries(a.value.variables??{}).reduce(((e,[t,n])=>{
var r
;return e[t]=(n.default??(null==(r=null==n?void 0:n.enum)?void 0:r[0])??"").toString(),
e}),{})));return(e,t)=>(Zi(),Yi("div",CEe,[a.value?(Zi(),Yi(Ui,{key:0},[oa(gEe,{
data:a.value,onUpdate:s,options:o,title:"Server"
},null,8,["data"]),Object.keys(u.value).length?(Zi(),Ki(gEe,{key:0,data:u.value,
onUpdate:l,options:c.value,title:"Variables"
},null,8,["data","options"])):ca("",!0)],64)):ca("",!0)]))}}),PEe={
class:"flex-1"},DEe=Gr({__name:"Servers",setup(e){
const{activeCollection:t,servers:n,serverMutators:r}=E8(),{push:o}=E5(),i=()=>{
if(!t.value)return;const e=I7.parse({url:"http://localhost"})
;r.add(e,t.value.uid),o(`/servers/${e.uid}`)};return(e,r)=>(Zi(),Ki(koe,null,{
default:xr((()=>[oa(Qn(L_e),{title:"Servers"},{
content:xr((()=>[ra("div",PEe,[oa(J_e,null,{default:xr((()=>{var e
;return[(Zi(!0),
Yi(Ui,null,So(null==(e=Qn(t))?void 0:e.servers,(e=>(Zi(),Ki(iEe,{key:e,
class:"text-xs",variable:{name:Qn(n)[e].url??"",uid:e}
},null,8,["variable"])))),128))]})),_:1})])])),button:xr((()=>[oa(t_e,{click:i
},{title:xr((()=>r[0]||(r[0]=[sa("Add Server")]))),_:1})])),_:1}),oa(Soe,{
class:"flex-1"},{default:xr((()=>[oa(AEe)])),_:1})])),_:1}))}
}),$Ee=Object.freeze(Object.defineProperty({__proto__:null,default:DEe
},Symbol.toStringTag,{value:"Module"})),REe={
class:"font-medium m-0 text-sm flex gap-1.5 items-center"},NEe=Gr({
__name:"SettingsGeneralMode",setup(e){
const{colorMode:t,setDarkMode:n}=function(){const e=()=>{var e
;return typeof window<"u"&&"function"==typeof(null==window?void 0:window.matchMedia)&&(null==(e=null==window?void 0:window.matchMedia("(prefers-color-scheme: dark)"))?void 0:e.matches)
},t=t=>{
typeof document<"u"&&(null===t?(document.body.classList.toggle("dark-mode",e()),
document.body.classList.toggle("light-mode",!e())):(document.body.classList.toggle("dark-mode",!0===t),
document.body.classList.toggle("light-mode",!1===t)))}
;return A8.value=typeof window>"u"?"dark":localStorage.getItem("colorMode")||"dark",
t("dark"===A8.value||"system"===A8.value&&e()),Ci(A8,(n=>{
t("dark"===n||"system"===n&&e())}),{immediate:!0}),lo((()=>{
if(typeof window<"u"&&"function"==typeof window.matchMedia){
const n=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{
"system"===A8.value&&t(e())};n.addEventListener("change",r),ho((()=>{
n.removeEventListener("change",r)}))}})),{colorMode:A8,toggleDarkMode:()=>{var e
;A8.value="dark"===A8.value?"light":"dark",
typeof window<"u"&&(null==(e=null==window?void 0:window.localStorage)||e.setItem("colorMode",A8.value))
},setDarkMode:function(e){var t
;A8.value=null===e?"system":e?"dark":"light",typeof window<"u"&&(null==(t=null==window?void 0:window.localStorage)||t.setItem("colorMode",A8.value))
},getSystemModePreference:e}}(),r=In("System Preference")
;"system"===t.value?r.value="System Preference":"dark"===t.value?r.value="Dark":r.value="Light"
;const o=()=>{n(null),r.value="System Preference"},i=()=>{n(!1),r.value="Light"
},a=()=>{n(!0),r.value="Dark"};return(e,t)=>(Zi(),Yi(Ui,null,[oa(qSe,{
text:"Mode"}),oa(ike,null,{default:xr((()=>[oa(Qn(lZ),null,{
items:xr((()=>[oa(Qn(pZ),{onClick:Us(o,["stop"])},{
default:xr((()=>t[0]||(t[0]=[sa(" System Preference ")]))),_:1}),oa(Qn(pZ),{
onClick:Us(i,["stop"])},{default:xr((()=>t[1]||(t[1]=[sa(" Light Mode ")]))),_:1
}),oa(Qn(pZ),{onClick:Us(a,["stop"])},{
default:xr((()=>t[2]||(t[2]=[sa(" Dark Mode ")]))),_:1})])),
default:xr((()=>[oa(Qn(tH),{
class:"font-normal h-full justify-start py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
fullWidth:"",variant:"ghost"},{
default:xr((()=>[ra("h2",REe,[sa(st(r.value)+" ",1),oa(Qn(Uq),{class:"size-2.5",
icon:"ChevronDown",thickness:"3.5"})])])),_:1})])),_:1})])),_:1})],64))}}),MEe={
class:"flex flex-col p-2"},IEe={
class:"font-medium m-0 text-sm flex gap-1.5 items-center"},LEe=Gr({
__name:"SettingsGeneral",setup(e){
const{activeWorkspace:t,workspaceMutators:n,proxyUrl:r,setProxyUrl:o}=E8(),i=()=>{
r.value?o(""):o("https://proxy.scalar.com")
},a=["default","alternate","moon","purple","solarized","bluePlanet","saturn","kepler","mars","deepSpace"]
;return(e,o)=>(Zi(),Ki($ie,null,{title:xr((()=>o[0]||(o[0]=[sa("General")]))),
default:xr((()=>[ra("div",MEe,[oa(oke,{columns:["",""]},{
default:xr((()=>[oa(lke,null,{default:xr((()=>[oa(qSe,{text:"Use Scalar Proxy"
}),oa(mke,{align:"left",modelValue:!!Qn(r),"onUpdate:modelValue":i
},null,8,["modelValue"])])),_:1}),oa(lke,null,{default:xr((()=>[oa(qSe,{
text:"Theme Picker"}),oa(ike,null,{default:xr((()=>[oa(Qn(lZ),null,{
items:xr((()=>[(Zi(),Yi(Ui,null,So(a,(e=>oa(Qn(pZ),{key:e,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
onClick:Us((r=>(e=>{n.edit(t.value.uid,"themeId",e)})(e)),["stop"])},{
default:xr((()=>[ra("div",{
class:et(["flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",Qn(t).themeId===e?"bg-blue text-b-1":"text-transparent"])
},[oa(Qn(Uq),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),sa(" "+st(Qn(Pp)[e]),1)])),_:2},1032,["onClick"]))),64))])),
default:xr((()=>[oa(Qn(tH),{
class:"font-normal h-full justify-start py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
fullWidth:"",variant:"ghost"},{
default:xr((()=>[ra("h2",IEe,[sa(st(Qn(Pp)[Qn(t).themeId])+" ",1),oa(Qn(Uq),{
class:"size-2.5",icon:"ChevronDown",thickness:"3.5"})])])),_:1})])),_:1})])),_:1
})])),_:1}),oa(lke,null,{default:xr((()=>[oa(NEe)])),_:1})])),_:1})])])),_:1}))}
}),jEe={class:"flex-1"},BEe=Gr({__name:"Settings",setup(e){const t={general:{
component:LEe,title:"general"}},n=In("general");return(e,r)=>(Zi(),Ki(koe,null,{
default:xr((()=>[oa(Qn(L_e),{title:"Settings"},{
content:xr((()=>[ra("div",jEe,[oa(J_e,null,{
default:xr((()=>[(Zi(),Yi(Ui,null,So(t,(e=>oa(iEe,{key:e.title,
class:"text-xs capitalize",isCopyable:!1,isDeletable:!1,variable:{uid:e.title,
name:e.title}},{default:xr((()=>[sa(st(e.title),1)])),_:2
},1032,["variable"]))),64))])),_:1})])])),_:1}),oa(Soe,{class:"flex-1"},{
default:xr((()=>[(Zi(),Ki(wo(t[n.value].component)))])),_:1})])),_:1}))}
}),QEe=Object.freeze(Object.defineProperty({__proto__:null,default:BEe
},Symbol.toStringTag,{value:"Module"}))}));

File Metadata

Mime Type
application/javascript
Expires
Sun, Apr 20, 7:30 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
48985
Default Alt Text
scalar.js (2 MB)

Event Timeline