@builder.io/dev-tools 1.61.3-beta.202605291258.f681e36 → 1.61.3-beta.202605291504.30c154d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- var dke=Object.create;var dy=Object.defineProperty;var fke=Object.getOwnPropertyDescriptor;var hke=Object.getOwnPropertyNames;var mke=Object.getPrototypeOf,Cke=Object.prototype.hasOwnProperty;var P=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),fy=(t,e)=>{for(var r in e)dy(t,r,{get:e[r],enumerable:!0})},Oj=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hke(e))!Cke.call(t,i)&&i!==r&&dy(t,i,{get:()=>e[i],enumerable:!(n=fke(e,i))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?dke(mke(t)):{},Oj(e||!t||!t.__esModule?dy(r,"default",{value:t,enumerable:!0}):r,t)),Vr=t=>Oj(dy({},"__esModule",{value:!0}),t);var h=P(()=>{(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"f681e366a00492da3a4dc376670da812fe1627e2"}}catch{}})()});function ou(t){let e=t[t.length-1];return e&&typeof e=="object"&&!(e instanceof Error)&&!Array.isArray(e)&&"loggerOptions"in e?{callArgs:t.slice(0,-1),options:e.loggerOptions}:{callArgs:t,options:{}}}function Ike(t,e){return`[${t.toUpperCase()}]`+e.map(r=>{if(r instanceof Error)return r.stack??r.message;if(typeof r=="object"&&r!==null)try{return JSON.stringify(r)}catch{return String(r)}return String(r)}).join(" ")}function Hj(){let t=process.env.FUSION_ENVIRONMENT;return t==="cloud"||t==="cloud-v2"}function hy(t,e,r,n){let i={severity:e,message:Ike(r,n),timestamp:new Date().toISOString()};r&&(i.context=r),t.write(JSON.stringify(i)+`
1
+ var dke=Object.create;var dy=Object.defineProperty;var fke=Object.getOwnPropertyDescriptor;var hke=Object.getOwnPropertyNames;var mke=Object.getPrototypeOf,Cke=Object.prototype.hasOwnProperty;var P=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),fy=(t,e)=>{for(var r in e)dy(t,r,{get:e[r],enumerable:!0})},Oj=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hke(e))!Cke.call(t,i)&&i!==r&&dy(t,i,{get:()=>e[i],enumerable:!(n=fke(e,i))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?dke(mke(t)):{},Oj(e||!t||!t.__esModule?dy(r,"default",{value:t,enumerable:!0}):r,t)),Vr=t=>Oj(dy({},"__esModule",{value:!0}),t);var h=P(()=>{(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"30c154dfded21b2471dd24de35266c96414470f0"}}catch{}})()});function ou(t){let e=t[t.length-1];return e&&typeof e=="object"&&!(e instanceof Error)&&!Array.isArray(e)&&"loggerOptions"in e?{callArgs:t.slice(0,-1),options:e.loggerOptions}:{callArgs:t,options:{}}}function Ike(t,e){return`[${t.toUpperCase()}]`+e.map(r=>{if(r instanceof Error)return r.stack??r.message;if(typeof r=="object"&&r!==null)try{return JSON.stringify(r)}catch{return String(r)}return String(r)}).join(" ")}function Hj(){let t=process.env.FUSION_ENVIRONMENT;return t==="cloud"||t==="cloud-v2"}function hy(t,e,r,n){let i={severity:e,message:Ike(r,n),timestamp:new Date().toISOString()};r&&(i.context=r),t.write(JSON.stringify(i)+`
2
2
  `)}function Eke(t,e,r){return{debug(...n){if(!e())return;let{callArgs:i,options:s}=ou(n);hy(s.stderr?process.stderr:process.stdout,"DEBUG",r,i)},info(...n){if(t>au.info)return;let{callArgs:i,options:s}=ou(n);s.debug&&!e()||hy(s.stderr?process.stderr:process.stdout,"INFO",r,i)},warn(...n){if(t>au.warn)return;let{callArgs:i,options:s}=ou(n);s.debug&&!e()||hy(process.stderr,"WARNING",r,i)},error(...n){if(t>au.error)return;let{callArgs:i,options:s}=ou(n);s.debug&&!e()||hy(process.stderr,"ERROR",r,i)}}}function qp(t){return t?`[${t}]`:""}function Bke(t,e,r){return{debug(...n){if(!e())return;let{callArgs:i,options:s}=ou(n);s.stderr?console.error(qp(r),...i):console.debug(qp(r),...i)},info(...n){if(au.info<t)return;let{callArgs:i,options:s}=ou(n);s.debug&&!e()||(s.stderr?console.error(qp(r),...i):console.log(qp(r),...i))},warn(...n){if(au.warn<t)return;let{callArgs:i,options:s}=ou(n);s.debug&&!e()||console.warn(qp(r),...i)},error(...n){if(au.error<t)return;let{callArgs:i,options:s}=ou(n);s.debug&&!e()||console.error(qp(r),...i)}}}function jj(t){Jj=t}function ve(t,e){let r=typeof e?.debug=="function"?e.debug:e?.debug!==void 0?()=>e.debug:()=>Jj||!!process.env.DEBUG,n=e?.level??process.env.LOG_LEVEL?.toLowerCase();return Hj()?Eke(Kj(n??"info"),r,t):Bke(Kj(n??"info"),r,t)}function Kj(t){return au[t]??au.info}function Yj(){if(!Hj())return;let t=process.stderr.write.bind(process.stderr);process.stderr.write=function(e,r,n){let i=typeof r=="function"?r:n,s=typeof r=="string"?r:void 0,o=typeof e=="string"?e:Buffer.from(e).toString("utf8"),a=o.trim();if(a.startsWith("{"))try{if(typeof JSON.parse(a).severity=="string")return s?t(e,s,i):t(e,i)}catch{}let A={severity:"ERROR",message:a||o,timestamp:new Date().toISOString(),stream:"stderr"},c=JSON.stringify(A)+`
3
3
  `;return i?t(c,i):t(c)}}function qj(t="process",e=r=>process.exit(r)){let r=ve(t),n=i=>Promise.resolve(e(i)).catch(()=>{}).finally(()=>process.exit(i));process.on("uncaughtException",i=>{r.error("Uncaught exception:",i),n(1)}),process.on("unhandledRejection",i=>{r.error("Unhandled rejection:",i instanceof Error?i:String(i)),n(1)})}var au,Jj,Et=P(()=>{"use strict";h();au={debug:0,info:1,warn:2,error:3};Jj=!1});var Vj=N((Q0t,$j)=>{h();function hk(t){return t==null?[]:Array.isArray(t)?t:[t]}function yke(t,e,r,n){var i,s=t[e],o=~n.string.indexOf(e)?r==null||r===!0?"":String(r):typeof r=="boolean"?r:~n.boolean.indexOf(e)?r==="false"?!1:r==="true"||(t._.push((i=+r,i*0===0?i:r)),!!r):(i=+r,i*0===0?i:r);t[e]=s==null?o:Array.isArray(s)?s.concat(o):[s,o]}$j.exports=function(t,e){t=t||[],e=e||{};var r,n,i,s,o,a={_:[]},A=0,c=0,u=0,l=t.length;let d=e.alias!==void 0,g=e.unknown!==void 0,p=e.default!==void 0;if(e.alias=e.alias||{},e.string=hk(e.string),e.boolean=hk(e.boolean),d)for(r in e.alias)for(n=e.alias[r]=hk(e.alias[r]),A=0;A<n.length;A++)(e.alias[n[A]]=n.concat(r)).splice(A,1);for(A=e.boolean.length;A-- >0;)for(n=e.alias[e.boolean[A]]||[],c=n.length;c-- >0;)e.boolean.push(n[c]);for(A=e.string.length;A-- >0;)for(n=e.alias[e.string[A]]||[],c=n.length;c-- >0;)e.string.push(n[c]);if(p){for(r in e.default)if(s=typeof e.default[r],n=e.alias[r]=e.alias[r]||[],e[s]!==void 0)for(e[s].push(r),A=0;A<n.length;A++)e[s].push(n[A])}let f=g?Object.keys(e.alias):[];for(A=0;A<l;A++){if(i=t[A],i==="--"){a._=a._.concat(t.slice(++A));break}for(c=0;c<i.length&&i.charCodeAt(c)===45;c++);if(c===0)a._.push(i);else if(i.substring(c,c+3)==="no-"){if(s=i.substring(c+3),g&&!~f.indexOf(s))return e.unknown(i);a[s]=!1}else{for(u=c+1;u<i.length&&i.charCodeAt(u)!==61;u++);for(s=i.substring(c,u),o=i.substring(++u)||A+1===l||(""+t[A+1]).charCodeAt(0)===45||t[++A],n=c===2?[s]:s,u=0;u<n.length;u++){if(s=n[u],g&&!~f.indexOf(s))return e.unknown("-".repeat(c)+s);yke(a,s,u+1<n.length||o,e)}}}if(p)for(r in e.default)a[r]===void 0&&(a[r]=e.default[r]);if(d)for(r in a)for(n=e.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a}});function Qke(){if(Sm!==void 0)return Sm;try{return Sm=require("prettier"),Sm}catch{return Sm=null,null}}function Dke(t){let e=[],r=Yl.default.dirname(t);for(;r!==Yl.default.dirname(r);){let n=Yl.default.join(r,".prettierignore");mk.default.existsSync(n)&&e.push(n);let i=Yl.default.join(r,".git");if(mk.default.existsSync(i))break;r=Yl.default.dirname(r)}return e}function wke(t){if(t)try{let r=(0,Wj.createRequire)(t)("prettier");if(r)return r}catch{}return Qke()}async function VA(t,e,r,n){try{let i=Yl.default.resolve(t,n??"file.tsx"),s=wke(i);if(!s)return e;if(n){let A=Dke(i);if((await s.getFileInfo(i,{ignorePath:A.length>0?A:void 0})).ignored)return e}let o=await s.resolveConfig(i);return await s.format(e,{...o,filepath:n,parser:r})}catch{return e}}var Wj,Yl,mk,Sm,Ck=P(()=>{"use strict";h();Wj=require("node:module"),Yl=z(require("node:path"),1),mk=z(require("node:fs"),1)});var Ik,$p,my,Cy,zj,ql,Ek,Bk,$l,Xj,Vp=P(()=>{"use strict";h();Ik="preview-url",$p="framework",my="platform",Cy="node",zj="/~builder-connect",ql="/~builder-connected",Ek="/~builder-dev-tools",Bk="/~builder-dev-tools.js",$l="/~builder-dev-tools-close",Xj="/mappings"});var Iy=N((x0t,Zj)=>{"use strict";h();var yk={to(t,e){return e?`\x1B[${e+1};${t+1}H`:`\x1B[${t+1}G`},move(t,e){let r="";return t<0?r+=`\x1B[${-t}D`:t>0&&(r+=`\x1B[${t}C`),e<0?r+=`\x1B[${-e}A`:e>0&&(r+=`\x1B[${e}B`),r},up:(t=1)=>`\x1B[${t}A`,down:(t=1)=>`\x1B[${t}B`,forward:(t=1)=>`\x1B[${t}C`,backward:(t=1)=>`\x1B[${t}D`,nextLine:(t=1)=>"\x1B[E".repeat(t),prevLine:(t=1)=>"\x1B[F".repeat(t),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},bke={up:(t=1)=>"\x1B[S".repeat(t),down:(t=1)=>"\x1B[T".repeat(t)},vke={screen:"\x1B[2J",up:(t=1)=>"\x1B[1J".repeat(t),down:(t=1)=>"\x1B[J".repeat(t),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(t){let e="";for(let r=0;r<t;r++)e+=this.line+(r<t-1?yk.up():"");return t&&(e+=yk.left),e}};Zj.exports={cursor:yk,scroll:bke,erase:vke,beep:"\x07"}});var Cr=N((k0t,Qk)=>{h();var By=process||{},eY=By.argv||[],Ey=By.env||{},Ske=!(Ey.NO_COLOR||eY.includes("--no-color"))&&(!!Ey.FORCE_COLOR||eY.includes("--color")||By.platform==="win32"||(By.stdout||{}).isTTY&&Ey.TERM!=="dumb"||!!Ey.CI),xke=(t,e,r=t)=>n=>{let i=""+n,s=i.indexOf(e,t.length);return~s?t+Fke(i,e,r,s)+e:t+i+e},Fke=(t,e,r,n)=>{let i="",s=0;do i+=t.substring(s,n)+r,s=n+e.length,n=t.indexOf(e,s);while(~n);return i+t.substring(s)},tY=(t=Ske)=>{let e=t?xke:()=>String;return{isColorSupported:t,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};Qk.exports=tY();Qk.exports.createColors=tY});function kke({onlyFirst:t=!1}={}){let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}function gY(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(Rke,"")}function pY(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function xm(t,e={}){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,...e},t=gY(t),t.length===0))return 0;t=t.replace(Pke()," ");let r=e.ambiguousIsNarrow?1:2,n=0;for(let i of t){let s=i.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(Nke.eastAsianWidth(i)){case"F":case"W":n+=2;break;case"A":n+=r;break;default:n+=1}}return n}function Uke(){let t=new Map;for(let[e,r]of Object.entries(Tr)){for(let[n,i]of Object.entries(r))Tr[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=Tr[n],t.set(i[0],i[1]);Object.defineProperty(Tr,e,{value:r,enumerable:!1})}return Object.defineProperty(Tr,"codes",{value:t,enumerable:!1}),Tr.color.close="\x1B[39m",Tr.bgColor.close="\x1B[49m",Tr.color.ansi=rY(),Tr.color.ansi256=nY(),Tr.color.ansi16m=iY(),Tr.bgColor.ansi=rY(Dk),Tr.bgColor.ansi256=nY(Dk),Tr.bgColor.ansi16m=iY(Dk),Object.defineProperties(Tr,{rgbToAnsi256:{value:(e,r,n)=>e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:e=>{let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>Tr.rgbToAnsi256(...Tr.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value:e=>{if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>Tr.ansi256ToAnsi(Tr.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>Tr.ansi256ToAnsi(Tr.hexToAnsi256(e)),enumerable:!1}}),Tr}function aY(t,e,r){return String(t).normalize().replace(/\r\n/g,`
4
4
  `).split(`
@@ -75,7 +75,7 @@ ${BY}${n.trimStart()}`),r=3+(0,Vl.stripVTControlCharacters)(n.trimStart()).lengt
75
75
  `),p(),i()};return{start:I,stop:y,message:(B="")=>{a=m(B??a)}}}});function qt(t,e=""){return t.ts.createSourceFile("module.tsx",typeof e=="string"?e:"",t.ts.ScriptTarget.Latest,void 0)}function Fy(t,e=""){let r=qt(t,e?.trim());if(r.statements.length===0)throw new Error(`No statements found in code: ${e}`);return r.statements[0]}function Un(t,e,r){if(e){let n=t.ts.createPrinter({newLine:t.ts.NewLineKind.LineFeed,removeComments:r});return t.ts.isSourceFile(e)?n.printFile(e).trim()+`
76
76
  `:n.printNode(t.ts.EmitHint.Unspecified,e,t.ts.createSourceFile("module.tsx","",t.ts.ScriptTarget.Latest)).trim()+`
77
77
  `}return""}var Hr=P(()=>{"use strict";h()});var xY=N((q0t,SY)=>{"use strict";h();SY.exports=function(){if(process.env.npm_config_user_agent)return uRe(process.env.npm_config_user_agent)};function uRe(t){let e=t.split(" ")[0],r=e.lastIndexOf("/"),n=e.substring(0,r);return{name:n==="npminstall"?"cnpm":n,version:e.substring(r+1)}}});function Vs(t){return t.endsWith(".mapper.tsx")||t.endsWith(".mapper.jsx")||t.endsWith(".mapper.ts")||t.endsWith(".mapper.js")||t.endsWith(".mapper.mjs")}function $t(t,e,r){e=jo(e),r=jo(r),e=t.dirname(e);let n=t.basename(r,t.extname(r));r=t.dirname(r);let i;return n==="index"?i=t.relative(e,r):i=t.relative(e,t.join(r,n)),i=jo(t.normalize(i)),i.startsWith(".")||(i="./"+i),i}function jo(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}function zl(t,e){let r=t.extname(e),n=t.basename(e,r).split(/[\/\\]/),i=n[n.length-1];return FY(i==="index"?t.basename(t.dirname(e)):i)}function FY(t){return Ir(t).replace(/ /g,"")}function Ws(t,e){let r=t.extname(e),n=jo(t.basename(e,r)).split("/").pop();return Ir(n==="index"?t.basename(t.dirname(e)):n)}function Er(t,e){let r=jo(t.relative(t.getAppRootDir(),e));r=r.split("/").filter(i=>i!=="."&&i!==".."&&i!=="").join("/"),r.endsWith(".tsx")||r.endsWith(".jsx")?r=r.slice(0,-4):(r.endsWith(".ts")||r.endsWith(".js"))&&(r=r.slice(0,-3));let n=t.getFrameworks();return r.startsWith("src/")&&(r=r.slice(4)),n.some(i=>i.name.includes("next"))?"@/"+r:"~/"+r}function or(t,e){let r=e,n=[];for(let i=0;i<2;i++){let s=t.basename(r);if(!s||s==="components")break;n.unshift(s),r=t.dirname(r)}return n.join("/")}function Ir(t){for(t=t.replace(/([A-Z])/g," $1").replace(/\./g," ").replace(/_/g," ").replace(/-/g," ").replace(/\s/g," ").trim();t.includes(" ");)t=t.replace(/ /g," ");return t.split(" ").map(e=>e.length>2?e[0].toUpperCase()+e.slice(1):e).join("").trim()}function ns(t){return t.sort((e,r)=>e.name.toLocaleLowerCase().localeCompare(r.name.toLocaleLowerCase()))}async function fr(t,e,r,n){if(typeof r!="string"||r==="")throw new Error(`getComponentId(), exportName must be a non-empty string, received: ${r}, ${e}`);return n&&(e=n),e=t.normalize(e),(await t.hash(e+"#"+r)).substring(0,8)}async function RY(t){return(await t.hash(t.getAppRootDir())).substring(0,8)}function km(t){return typeof t=="number"}function Zp(t){return typeof t=="boolean"}function Ui(t){return typeof t=="string"}function ed(t){return typeof t=="string"?/^[A-Z][A-Za-z0-9]*$/.test(t):!1}function xs(t){return JSON.parse(JSON.stringify(t))}function ky(t,e,r){for(let n of e)if(t.dirname(r).includes(n))return!0;return!1}function TY(){try{let t=(0,kY.default)();if(t?.name)return t.name}catch{}return"npm"}function lRe(){return process.platform.startsWith("win")}function nt(){return process.pkg?"@builder.io/agent":lRe()?'"@builder.io/dev-tools"':"builder.io"}function Pk(t){return t.replace(/[^a-zA-Z0-9-_]/g,"_")}var kY,St=P(()=>{"use strict";h();kY=z(xY(),1)});function Gi(t){let e=t.join(t.getAppRootDir(),"tsconfig.json");return t.exists(e)}async function is(t,e){async function r(i,s){if(s>10)return;let o=await t.readdir(i);for(let a of o){if(gRe.includes(a))continue;let A=t.join(i,a),c=await t.stat(A);if(c){if(c.isFile()&&a.startsWith("builder-registry."))return A;if(c.isDirectory()){let u=await r(A,s+1);if(u)return u}}}}let n=await r(t.getAppRootDir(),0);if(!n){let s=`builder-registry.${await Gi(t)?"ts":"js"}`;return t.join(e,s)}return n}async function Yo(t,e){let r=t.resolve("/");for(let n=0;n<20;n++){let i=t.join(e,"package.json"),s=await t.readFile(i);if(s)return JSON.parse(s);if(e===r)break;e=t.dirname(e)}return null}async function NY(t,e){for(let r=0;r<20;r++){let n=t.dirname(e),i=t.join(n,"node_modules");if(await t.exists(i))return i;if(e===t.getAppRootDir())break;e=t.dirname(e)}return t.join(t.getAppRootDir(),"node_modules")}async function Rm(t,e,r){let n=await t.readdir(e);return n.includes(r)?t.join(e,r):(await Promise.all(n.map(async s=>{if(s.startsWith(".")||s==="node_modules")return;let o=t.join(e,s);if((await t.stat(o)).isDirectory()){let A=await Rm(t,o,r);if(A)return A}}))).find(s=>typeof s=="string")}var gRe,Di=P(()=>{"use strict";h();gRe=["node_modules","dist","build","public"]});async function wn(t,e,r){if(!Array.isArray(e)||e.length===0)throw new Error(`createTsProgram() Invalid filePaths: ${e}`);let n=await NY(t,e[0]),i=t.join(n,"typescript","lib"),s=new Map,o={fileExists:a=>{if(a=t.normalize(a),a.includes("node_modules")){let A=Tm.get(a);if(!A){try{t.statSync(a).isFile()?A={exists:!0,content:t.readFileSync(a)}:A={exists:!1}}catch{A={exists:!1}}Tm.set(a,A)}return A.exists}if(!s.has(a))if(t.existsSync(a)){let c=t.statSync(a);s.set(a,c.isFile())}else s.set(a,!1);return s.get(a)},getCanonicalFileName:a=>t.normalize(a),getCurrentDirectory:()=>t.cwd(),getDefaultLibFileName:()=>t.join(i,"lib.d.ts"),getDefaultLibLocation:()=>i,getNewLine:()=>`
78
- `,getSourceFile:a=>{if(a=t.normalize(a),a.includes("node_modules")){let c=Tm.get(a);if(c)return qt(t,c.content)}let A;try{A=t.readFileSync(a)}catch{console.error(`Could not read: ${a}`),A==null}if(A==null){let c=t.basename(a),u=t.extname(c).toLowerCase();if(a.startsWith(i)&&u===".ts"&&(A=PY.get(c),A==null&&typeof self<"u"&&typeof fetch=="function"))throw new Ty(c)}return a.includes("node_modules")&&(A?Tm.set(a,{exists:!0,content:A}):Tm.set(a,{exists:!1})),qt(t,A)},readFile:a=>{let A=t.readFileSync(a);return typeof A=="string"?A:void 0},useCaseSensitiveFileNames:()=>!1,writeFile:()=>{}};for(;;)try{return pRe(t,o,e,r)}catch(a){if(a instanceof Ty){await dRe(t,a.libName);continue}throw t.Sentry?.captureException(a),new Error(`createTsProgram() Could not create program for: ${e[0]}`,{cause:a})}}function pRe(t,e,r,n){let i={rootNames:[...r],host:e,options:{}},s=t.ts.findConfigFile(t.dirname(r[0]),o=>t.existsSync(o));if(s){let o=MY.get(s);if(!o){let a=t.ts.readConfigFile(s,A=>{let c=t.readFileSync(A);return typeof c=="string"?c:void 0});a.error?t.Sentry?.captureException(new Error("Error reading tsconfig for createTsProgram"),{extra:{error:a.error,tsConfigPath:s}}):(o=t.ts.parseJsonConfigFileContent(a.config,t.ts.sys||{useCaseSensitiveFileNames:!1,readDirectory:(c,u)=>t.readdirSync(c),fileExists:c=>t.existsSync(c),readFile:c=>t.readFileSync(c)||void 0},t.dirname(s),void 0,s).options,MY.set(s,o))}o&&(i.options=xs(o))}return i.options.noEmit=!0,i.options.isolatedModules=!1,i.options.strict=!1,i.options.jsx=t.ts.JsxEmit.Preserve,i.options.allowJs=!0,Object.assign(i.options,n),t.ts.createProgram(i)}async function td(t,e,r){r||(r=await wn(t,[e]));let n=r.getSourceFile(e);if(!n)throw new Error(`getTypeChecker() Could not find source file: ${e}`);return{typeChecker:r.getTypeChecker(),sourceFile:n}}async function dRe(t,e){let r=`https://cdn.jsdelivr.net/npm/typescript@${t.ts.version}/lib/${e}`;Ry.has(e)||Ry.set(e,fetch(r).then(n=>n.text()).then(n=>{PY.set(e,n)})),await Ry.get(e),Ry.delete(e)}async function LY(t,e){let r=await t.readFile(e.filePath);return r==null?{diagnostics:[{messageText:`Error reading: ${e.filePath}`}],code:null,output:null}:Lk(t,{code:r,filePath:e.filePath,compilerOptions:e.compilerOptions})}function Lk(t,e){let r={diagnostics:[],code:e.code,output:null};try{let n=t.ts.transpileModule(e.code,{compilerOptions:e.compilerOptions,fileName:e.filePath??"module.tsx",reportDiagnostics:!0});n.diagnostics?.forEach(i=>{r.diagnostics.push({messageText:String(i.messageText)})}),r.output=n.outputText}catch(n){console.error("transpileModule",n),r.diagnostics.push({messageText:String(n)})}return r}var Ty,PY,Ry,Tm,MY,zs=P(()=>{"use strict";h();Hr();St();Di();Ty=class{libName;constructor(e){this.libName=e}};PY=new Map,Ry=new Map,Tm=new Map,MY=new Map});var fRe,ft,Wr=P(()=>{"use strict";h();fRe="1.61.3-beta.202605291258.f681e36",ft=process.env.OVERRIDE_VERSION??fRe});async function Xl(t){let e=[],r=await Yo(t,t.getRepoRootDir());if(r){let n=await UY(r,t);e.push(...n)}return e}async function UY(t,e){let r=[];if(t&&typeof t=="object"){let n=new Set(Object.keys({...t.dependencies,...t.devDependencies}));for(let i of hRe)if(n.has(i)&&!r.some(s=>s.name===i)){let s={name:i};_Y.has(i)&&(s.version=await _Y.get(i)(e)),r.push(s)}}return r}function _k(t){let e=parseInt(t);return Number.isNaN(e)?void 0:e}var _Y,hRe,Zl=P(()=>{"use strict";h();Di();St();_Y=new Map([["next",async t=>{if(!t.spawnSync)return;let e=TY(),r=e==="npm"?"npx":e,{stdout:n}=t.spawnSync(r,["next","-v"],{encoding:"utf8"});if(!n)return;let i=n.match(/(Next.js v)([\d.]+)/g);if(!i)return;let s=i[0].split("Next.js v")[1],[o,a,A]=s.split(".");return{major:_k(o),minor:_k(a),patch:_k(A)}}]]),hRe=["@shopify/remix-oxygen","@shopify/hydrogen","@builder.io/qwik-city","@remix-run/react","@sveltejs/kit","astro","gatsby","next","nuxt","@builder.io/qwik","@angular/core","react","solid-js","svelte","vue"]});async function Xs(t){let e=GY(t),r=await t.readFile(e);return typeof r=="string"?JSON.parse(r):{}}async function Zs(t,e){e=typeof e=="object"&&e!=null?e:{};let r=GY(t);await t.writeFile(r,JSON.stringify(e??{},null,2))}function GY(t){let e=t.getAppRootDir();return t.join(e,"node_modules",".builder","builder-cache.json")}var eg=P(()=>{"use strict";h()});async function La(t,e,r){let n={envKey:r,envValue:null,file:""};for(let i of e){let s=t.join(t.getAppRootDir(),i),o=await mRe(t,s);if(o){let a=o[r];if(typeof a=="string"&&a.length>0&&a!=="YOUR_API_KEY")return n.envValue=a,n.file=s,n}}return n.file=t.join(t.getAppRootDir(),e[e.length-1]),n}async function mRe(t,e){let r=await t.readFile(e);return typeof r=="string"?OY(r):null}function OY(t){let e={},r=t.replace(/\r\n?/gm,`
78
+ `,getSourceFile:a=>{if(a=t.normalize(a),a.includes("node_modules")){let c=Tm.get(a);if(c)return qt(t,c.content)}let A;try{A=t.readFileSync(a)}catch{console.error(`Could not read: ${a}`),A==null}if(A==null){let c=t.basename(a),u=t.extname(c).toLowerCase();if(a.startsWith(i)&&u===".ts"&&(A=PY.get(c),A==null&&typeof self<"u"&&typeof fetch=="function"))throw new Ty(c)}return a.includes("node_modules")&&(A?Tm.set(a,{exists:!0,content:A}):Tm.set(a,{exists:!1})),qt(t,A)},readFile:a=>{let A=t.readFileSync(a);return typeof A=="string"?A:void 0},useCaseSensitiveFileNames:()=>!1,writeFile:()=>{}};for(;;)try{return pRe(t,o,e,r)}catch(a){if(a instanceof Ty){await dRe(t,a.libName);continue}throw t.Sentry?.captureException(a),new Error(`createTsProgram() Could not create program for: ${e[0]}`,{cause:a})}}function pRe(t,e,r,n){let i={rootNames:[...r],host:e,options:{}},s=t.ts.findConfigFile(t.dirname(r[0]),o=>t.existsSync(o));if(s){let o=MY.get(s);if(!o){let a=t.ts.readConfigFile(s,A=>{let c=t.readFileSync(A);return typeof c=="string"?c:void 0});a.error?t.Sentry?.captureException(new Error("Error reading tsconfig for createTsProgram"),{extra:{error:a.error,tsConfigPath:s}}):(o=t.ts.parseJsonConfigFileContent(a.config,t.ts.sys||{useCaseSensitiveFileNames:!1,readDirectory:(c,u)=>t.readdirSync(c),fileExists:c=>t.existsSync(c),readFile:c=>t.readFileSync(c)||void 0},t.dirname(s),void 0,s).options,MY.set(s,o))}o&&(i.options=xs(o))}return i.options.noEmit=!0,i.options.isolatedModules=!1,i.options.strict=!1,i.options.jsx=t.ts.JsxEmit.Preserve,i.options.allowJs=!0,Object.assign(i.options,n),t.ts.createProgram(i)}async function td(t,e,r){r||(r=await wn(t,[e]));let n=r.getSourceFile(e);if(!n)throw new Error(`getTypeChecker() Could not find source file: ${e}`);return{typeChecker:r.getTypeChecker(),sourceFile:n}}async function dRe(t,e){let r=`https://cdn.jsdelivr.net/npm/typescript@${t.ts.version}/lib/${e}`;Ry.has(e)||Ry.set(e,fetch(r).then(n=>n.text()).then(n=>{PY.set(e,n)})),await Ry.get(e),Ry.delete(e)}async function LY(t,e){let r=await t.readFile(e.filePath);return r==null?{diagnostics:[{messageText:`Error reading: ${e.filePath}`}],code:null,output:null}:Lk(t,{code:r,filePath:e.filePath,compilerOptions:e.compilerOptions})}function Lk(t,e){let r={diagnostics:[],code:e.code,output:null};try{let n=t.ts.transpileModule(e.code,{compilerOptions:e.compilerOptions,fileName:e.filePath??"module.tsx",reportDiagnostics:!0});n.diagnostics?.forEach(i=>{r.diagnostics.push({messageText:String(i.messageText)})}),r.output=n.outputText}catch(n){console.error("transpileModule",n),r.diagnostics.push({messageText:String(n)})}return r}var Ty,PY,Ry,Tm,MY,zs=P(()=>{"use strict";h();Hr();St();Di();Ty=class{libName;constructor(e){this.libName=e}};PY=new Map,Ry=new Map,Tm=new Map,MY=new Map});var fRe,ft,Wr=P(()=>{"use strict";h();fRe="1.61.3-beta.202605291504.30c154d",ft=process.env.OVERRIDE_VERSION??fRe});async function Xl(t){let e=[],r=await Yo(t,t.getRepoRootDir());if(r){let n=await UY(r,t);e.push(...n)}return e}async function UY(t,e){let r=[];if(t&&typeof t=="object"){let n=new Set(Object.keys({...t.dependencies,...t.devDependencies}));for(let i of hRe)if(n.has(i)&&!r.some(s=>s.name===i)){let s={name:i};_Y.has(i)&&(s.version=await _Y.get(i)(e)),r.push(s)}}return r}function _k(t){let e=parseInt(t);return Number.isNaN(e)?void 0:e}var _Y,hRe,Zl=P(()=>{"use strict";h();Di();St();_Y=new Map([["next",async t=>{if(!t.spawnSync)return;let e=TY(),r=e==="npm"?"npx":e,{stdout:n}=t.spawnSync(r,["next","-v"],{encoding:"utf8"});if(!n)return;let i=n.match(/(Next.js v)([\d.]+)/g);if(!i)return;let s=i[0].split("Next.js v")[1],[o,a,A]=s.split(".");return{major:_k(o),minor:_k(a),patch:_k(A)}}]]),hRe=["@shopify/remix-oxygen","@shopify/hydrogen","@builder.io/qwik-city","@remix-run/react","@sveltejs/kit","astro","gatsby","next","nuxt","@builder.io/qwik","@angular/core","react","solid-js","svelte","vue"]});async function Xs(t){let e=GY(t),r=await t.readFile(e);return typeof r=="string"?JSON.parse(r):{}}async function Zs(t,e){e=typeof e=="object"&&e!=null?e:{};let r=GY(t);await t.writeFile(r,JSON.stringify(e??{},null,2))}function GY(t){let e=t.getAppRootDir();return t.join(e,"node_modules",".builder","builder-cache.json")}var eg=P(()=>{"use strict";h()});async function La(t,e,r){let n={envKey:r,envValue:null,file:""};for(let i of e){let s=t.join(t.getAppRootDir(),i),o=await mRe(t,s);if(o){let a=o[r];if(typeof a=="string"&&a.length>0&&a!=="YOUR_API_KEY")return n.envValue=a,n.file=s,n}}return n.file=t.join(t.getAppRootDir(),e[e.length-1]),n}async function mRe(t,e){let r=await t.readFile(e);return typeof r=="string"?OY(r):null}function OY(t){let e={},r=t.replace(/\r\n?/gm,`
79
79
  `),n;for(;(n=CRe.exec(r))!=null;){let i=n[1],s=n[2]||"";s=s.trim();let o=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),o==='"'&&(s=s.replace(/\\n/g,`
80
80
  `),s=s.replace(/\\r/g,"\r")),e[i]=s}return e}async function _a(t,e,r,n){let i="# https://www.builder.io/c/docs/using-your-api-key",s=await t.readFile(e);try{if(s)if(s.includes(r))if(s.includes(n))t.debug(`"${r}" with "${n}" already set in ${e}`);else return t.debug(`Replace "${r}" in ${e}`),s=s.replace(new RegExp(`${r}=.*`),`${r}=${n}`),await t.writeFile(e,s),"update";else return t.debug(`Append "${r}" to ${e}`),s+=`
81
81
 
@@ -1101,14 +1101,14 @@ const nextConfig = {
1101
1101
  }
1102
1102
 
1103
1103
  module.exports = nextConfig
1104
- `.trimStart()});var _Nt,xq=P(()=>{"use strict";h();Vp();nQ();Et();_Nt=ve("ClientScript")});var nQ=P(()=>{"use strict";h();Wr();Eq();yq();Zl();Sq();xq();tg()});function LMe(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},g=e.optional(i)+t.IDENT_RE+"\\s*\\(",p=["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"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["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"],C=["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"],B={type:f,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},E={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},D=[E,l,a,r,t.C_BLOCK_COMMENT_MODE,u,c],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:B,contains:D.concat([{begin:/\(/,end:/\)/,keywords:B,contains:D.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:B,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:B,relevance:0},{begin:g,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:B,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(v,Q,E,D,[l,{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:B,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:B},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function Fq(t){let e={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=LMe(t),n=r.keywords;return n.type=[...n.type,...e.type],n.literal=[...n.literal,...e.literal],n.built_in=[...n.built_in,...e.built_in],n._hints=e._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}var kq=P(()=>{h()});function Rq(t){let e=t.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});let i={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,i]};i.contains.push(o);let a={match:/\\"/},A={className:"string",begin:/'/,end:/'/},c={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},l=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],d=t.SHEBANG({binary:`(${l.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],f=["true","false"],m={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],I=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],y=["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"],B=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:f,built_in:[...C,...I,"set","shopt",...y,...B]},contains:[d,t.SHEBANG(),g,u,t.HASH_COMMENT_MODE,s,m,o,a,A,c,r]}}var Tq=P(()=>{h()});function Nq(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},g=e.optional(i)+t.IDENT_RE+"\\s*\\(",m={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"},C=[l,a,r,t.C_BLOCK_COMMENT_MODE,u,c],I={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:C.concat([{begin:/\(/,end:/\)/,keywords:m,contains:C.concat(["self"]),relevance:0}]),relevance:0},y={begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:m,relevance:0},{begin:g,returnBegin:!0,contains:[t.inherit(d,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:m,disableAutodetect:!0,illegal:"</",contains:[].concat(I,y,C,[l,{begin:t.IDENT_RE+"::",keywords:m},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:l,strings:c,keywords:m}}}var Mq=P(()=>{h()});function Pq(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},g=e.optional(i)+t.IDENT_RE+"\\s*\\(",p=["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"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["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"],C=["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"],B={type:f,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},E={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},D=[E,l,a,r,t.C_BLOCK_COMMENT_MODE,u,c],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:B,contains:D.concat([{begin:/\(/,end:/\)/,keywords:B,contains:D.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:B,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:B,relevance:0},{begin:g,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:B,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(v,Q,E,D,[l,{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:B,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:B},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var Lq=P(()=>{h()});function _q(t){let e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],i=["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"],s=["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"],o={keyword:i.concat(s),built_in:e,literal:n},a=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),A={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},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=t.inherit(c,{illegal:/\n/}),l={className:"subst",begin:/\{/,end:/\}/,keywords:o},d=t.inherit(l,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,d]},p={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]},f=t.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},d]});l.contains=[p,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.C_BLOCK_COMMENT_MODE],d.contains=[f,g,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[p,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},C={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},I=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},m,A,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+I+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,C],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[m,A,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},y]}}var Uq=P(()=>{h()});function Gq(t){let e=t.regex,r=_Me(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",s=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+OMe.join("|")+")"},{begin:":(:)?("+KMe.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+HMe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:s},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:GMe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+UMe.join("|")+")\\b"}]}}var _Me,UMe,GMe,OMe,KMe,HMe,Oq=P(()=>{h();_Me=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.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:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.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_-]*/}}),UMe=["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"],GMe=["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"],OMe=["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"],KMe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],HMe=["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 Kq(t){let e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}var Hq=P(()=>{h()});function Jq(t){let s={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:s,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:t.C_NUMBER_RE+"[i]",relevance:1},t.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,illegal:/["']/}]}]}}var jq=P(()=>{h()});function Yq(t){let e=t.regex,r=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.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:e.concat(r,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}var qq=P(()=>{h()});function $q(t){let e=t.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},n=t.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},a={begin:/\[/,end:/\]/,contains:[n,s,i,o,r,"self"],relevance:0},A=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,u=/'[^']*'/,l=e.either(A,c,u),d=e.concat(l,"(\\s*\\.\\s*",l,")*",e.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:d,className:"attr",starts:{end:/$/,contains:[n,a,s,i,o,r]}}]}}var Vq=P(()=>{h()});function zq(t,e,r){return r===-1?"":t.replace(e,n=>zq(t,e,r-1))}function Xq(t){let e=t.regex,r="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",n=r+zq("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),A={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"]},c={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:A,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:A,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,Wq,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},Wq,c]}}var hd,iQ,sQ,Wq,Zq=P(()=>{h();hd="[0-9](_*[0-9])*",iQ=`\\.(${hd})`,sQ="[0-9a-fA-F](_*[0-9a-fA-F])*",Wq={className:"number",variants:[{begin:`(\\b(${hd})((${iQ})|\\.)?|(${iQ}))[eE][+-]?(${hd})[fFdD]?\\b`},{begin:`\\b(${hd})((${iQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${iQ})[fFdD]?\\b`},{begin:`\\b(${hd})[fFdD]\\b`},{begin:`\\b0[xX]((${sQ})\\.?|(${sQ})?\\.(${sQ}))[pP][+-]?(${hd})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${sQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function i$(t){let e=t.regex,r=(te,{after:G})=>{let Y="</"+te[0].slice(1);return te.input.indexOf(Y,G)!==-1},n=e$,i={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,G)=>{let Y=te[0].length+te.index,H=te.input[Y];if(H==="<"||H===","){G.ignoreMatch();return}H===">"&&(r(te,{after:Y})||G.ignoreMatch());let Z,ue=te.input.substring(Y);if(Z=ue.match(/^\s*=/)){G.ignoreMatch();return}if((Z=ue.match(/^\s+extends\s+/))&&Z.index===0){G.ignoreMatch();return}}},a={$pattern:e$,keyword:JMe,literal:jMe,built_in:qMe,"variable.language":YMe},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\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:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},I={className:"comment",variants:[t.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}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},y=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,{match:/\$\d+/},l];d.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});let B=[].concat(I,d.contains),E=B.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(B)}]),D={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E},v={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},Q={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...t$,...r$]}},S={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _(te){return e.concat("(?!",te.join("|"),")")}let O={match:e.concat(/\b/,_([...n$,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},J={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:Q},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,I,{match:/\$\d+/},l,Q,{className:"attr",begin:n+e.lookahead(":"),relevance:0},j,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},O,x,v,L,{match:/\$[(.]/}]}}var e$,JMe,jMe,t$,r$,n$,YMe,qMe,s$=P(()=>{h();e$="[A-Za-z$_][0-9A-Za-z$_]*",JMe=["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"],jMe=["true","false","null","undefined","NaN","Infinity"],t$=["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"],r$=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],n$=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],YMe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],qMe=[].concat(n$,t$,r$)});function o$(t){let e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],i={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[e,r,t.QUOTE_STRING_MODE,i,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var a$=P(()=>{h()});function A$(t){let e={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"},r={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,i]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,s,i]}]};i.contains.push(o);let a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},A={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(o,{className:"string"}),"self"]}]},c=$Me,u=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),l={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=l;return d.variants[1].contains=[l],l.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,u,r,n,a,A,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[l,t.C_LINE_COMMENT_MODE,u],relevance:0},t.C_LINE_COMMENT_MODE,u,a,A,o,t.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,A]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
1105
- `},c]}}var md,oQ,aQ,$Me,c$=P(()=>{h();md="[0-9](_*[0-9])*",oQ=`\\.(${md})`,aQ="[0-9a-fA-F](_*[0-9a-fA-F])*",$Me={className:"number",variants:[{begin:`(\\b(${md})((${oQ})|\\.)?|(${oQ}))[eE][+-]?(${md})[fFdD]?\\b`},{begin:`\\b(${md})((${oQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${oQ})[fFdD]?\\b`},{begin:`\\b(${md})[fFdD]\\b`},{begin:`\\b0[xX]((${aQ})\\.?|(${aQ})?\\.(${aQ}))[pP][+-]?(${md})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${aQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function g$(t){let e=VMe(t),r=ZMe,n="and or not only",i="[\\w-]+",s="("+i+"|@\\{"+i+"\\})",o=[],a=[],A=function(y){return{className:"string",begin:"~?"+y+".*?"+y}},c=function(y,B,E){return{className:y,begin:B,relevance:E}},u={$pattern:/[a-z-]+/,keyword:n,attribute:zMe.join(" ")},l={begin:"\\(",end:"\\)",contains:a,keywords:u,relevance:0};a.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,A("'"),A('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,l,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);let d=a.concat({begin:/\{/,end:/\}/,contains:o}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},p={begin:s+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+XMe.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:u,returnEnd:!0,contains:a,relevance:0}},m={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:d}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:s,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,g,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+WMe.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,c("selector-tag",s,0),c("selector-id","#"+s),c("selector-class","\\."+s,0),c("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+u$.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+l$.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},e.FUNCTION_DISPATCH]},I={begin:i+`:(:)?(${r.join("|")})`,returnBegin:!0,contains:[C]};return o.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,f,m,I,p,C,g,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}var VMe,WMe,zMe,u$,l$,XMe,ZMe,p$=P(()=>{h();VMe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.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:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.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_-]*/}}),WMe=["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"],zMe=["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"],u$=["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"],l$=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],XMe=["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(),ZMe=u$.concat(l$)});function d$(t){let e="\\[=*\\[",r="\\]=*\\]",n={begin:e,end:r,contains:["self"]},i=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,r,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:r,contains:[n],relevance:5}])}}var f$=P(()=>{h()});function h$(t){let e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e]},n={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:[e]},i={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},s={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[e]};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:[t.HASH_COMMENT_MODE,e,r,n,i,s,o]}}var m$=P(()=>{h()});function C$(t){let e=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={begin:"^[-\\*]{3,}",end:"$"},i={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}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},a=/[A-Za-z][A-Za-z0-9+.-]*/,A={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,a,/:\/\/.*?\)/),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}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},l=t.inherit(c,{contains:[]}),d=t.inherit(u,{contains:[]});c.contains.push(d),u.contains.push(l);let g=[r,A];return[c,u,l,d].forEach(m=>{m.contains=m.contains.concat(g)}),g=g.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},r,s,c,u,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},i,n,A,o]}}var I$=P(()=>{h()});function E$(t){let e={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+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,a={"variable.language":["this","super"],$pattern:r,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"]},A={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"</",contains:[e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.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},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+A.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:A,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}var B$=P(()=>{h()});function y$(t){let e=t.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],n=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:r.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},o={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},A=[t.BACKSLASH_ESCAPE,s,a],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(g,p,f="\\1")=>{let m=f==="\\1"?f:e.concat(f,p);return e.concat(e.concat("(?:",g,")"),p,/(?:\\.|[^\\\/])*?/,m,/(?:\\.|[^\\\/])*?/,f,n)},l=(g,p,f)=>e.concat(e.concat("(?:",g,")"),p,/(?:\\.|[^\\\/])*?/,f,n),d=[a,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:A,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",e.either(...c,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:l("(?:m|qr)?",/\//,/\//)},{begin:l("m|qr",e.either(...c,{capture:!0}),/\1/)},{begin:l("m|qr",/\(/,/\)/)},{begin:l("m|qr",/\[/,/\]/)},{begin:l("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=d,o.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:d}}var Q$=P(()=>{h()});function D$(t){let e=t.regex,r=/(?![A-Za-z0-9])(?![$])/,n=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),i=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),s={scope:"variable",match:"\\$+"+n},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},A=t.inherit(t.APOS_STRING_MODE,{illegal:null}),c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(O,J)=>{J.data._beginMatch=O[1]||O[2]},"on:end":(O,J)=>{J.data._beginMatch!==O[1]&&J.ignoreMatch()}},l=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),d=`[
1106
- ]`,g={scope:"string",variants:[c,A,u,l]},p={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},f=["false","null","true"],m=["__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"],C=["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"],y={keyword:m,literal:(O=>{let J=[];return O.forEach(L=>{J.push(L),L.toLowerCase()===L?J.push(L.toUpperCase()):J.push(L.toLowerCase())}),J})(f),built_in:C},B=O=>O.map(J=>J.replace(/\|\d+$/,"")),E={variants:[{match:[/new/,e.concat(d,"+"),e.concat("(?!",B(C).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},D=e.concat(n,"\\b(?!\\()"),v={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,e.concat(/::/,e.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[i,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},Q={scope:"attr",match:e.concat(n,e.lookahead(":"),e.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[Q,s,v,t.C_BLOCK_COMMENT_MODE,g,p,E]},w={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",B(m).join("\\b|"),"|",B(C).join("\\b|"),"\\b)"),n,e.concat(d,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(w);let x=[Q,v,t.C_BLOCK_COMMENT_MODE,g,p,E],_={begin:e.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",...x]},...x,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:y,contains:[_,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,w,v,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},E,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",s,v,t.C_BLOCK_COMMENT_MODE,g,p]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},g,p]}}var w$=P(()=>{h()});function b$(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}var v$=P(()=>{h()});function S$(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var x$=P(()=>{h()});function F$(t){let e=t.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["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"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,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"]},A={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},u={begin:/\{\{/,relevance:0},l={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,c]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},d="[0-9](_?[0-9])*",g=`(\\b(${d}))?\\.(${d})|\\b(${d})\\.`,p=`\\b|${n.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${d})|(${g}))[eE][+-]?(${d})[jJ]?(?=${p})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${p})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${p})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`},{begin:`\\b(${d})[jJ](?=${p})`}]},m={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",A,f,l,t.HASH_COMMENT_MODE]}]};return c.contains=[l,f,A],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[A,f,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,m,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[C]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,C,l]}]}}var k$=P(()=>{h()});function R$(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}var T$=P(()=>{h()});function N$(t){let e=t.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=e.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]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[s,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}var M$=P(()=>{h()});function P$(t){let e=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=e.concat(n,/(::\w+)*/),o={"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]+"},A={begin:"#<",end:">"},c=[t.COMMENT("#","$",{contains:[a]}),t.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:o},l={className:"string",contains:[t.BACKSLASH_ESCAPE,u],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:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,u]})]}]},d="[1-9](_?[0-9])*|0",g="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${g}))?([eE][+-]?(${g})|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"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},D=[l,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[l,{begin:r}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,u],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(A,c),relevance:0}].concat(A,c);u.contains=D,f.contains=D;let w=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:D}}];return c.unshift(A),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(w).concat(c).concat(D)}}var L$=P(()=>{h()});function _$(t){let e=t.regex,r={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,t.IDENT_RE,e.lookahead(/\s*\(/))},n="([ui](8|16|32|64|128|size)|f(32|64))?",i=["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"],s=["true","false","Some","None","Ok","Err"],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!"],a=["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:t.IDENT_RE+"!?",type:a,keyword:i,literal:s,built_in:o},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.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_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{begin:[/fn/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,t.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:a}},{className:"punctuation",begin:"->"},r]}}var U$=P(()=>{h()});function G$(t){let e=ePe(t),r=iPe,n=nPe,i="@[a-z-]+",s="and or not only",a={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+tPe.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+sPe.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:[e.BLOCK_COMMENT,a,e.HEXCOLOR,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:rPe.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}var ePe,tPe,rPe,nPe,iPe,sPe,O$=P(()=>{h();ePe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.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:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.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_-]*/}}),tPe=["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"],rPe=["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"],nPe=["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"],iPe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],sPe=["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 K$(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var H$=P(()=>{h()});function J$(t){let e=t.regex,r=t.COMMENT("--","$"),n={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},s=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],a=["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"],A=["add","asc","collation","desc","final","first","last","view"],c=["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"],u=["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"],l=["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"],d=["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"],g=u,p=[...c,...A].filter(y=>!u.includes(y)),f={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},m={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},C={begin:e.concat(/\b/,e.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function I(y,{exceptions:B,when:E}={}){let D=E;return B=B||[],y.map(v=>v.match(/\|\d+$/)||B.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:I(p,{when:y=>y.length<3}),literal:s,type:a,built_in:l},contains:[{begin:e.either(...d),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:p.concat(d),literal:s,type:a}},{className:"type",begin:e.either(...o)},C,f,n,i,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,m]}}var j$=P(()=>{h()});function V$(t){return t?typeof t=="string"?t:t.source:null}function AQ(t){return gr("(?=",t,")")}function gr(...t){return t.map(r=>V$(r)).join("")}function oPe(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function As(...t){return"("+(oPe(t).capture?"":"?:")+t.map(n=>V$(n)).join("|")+")"}function Z$(t){let e={match:/\s+/,relevance:0},r=t.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[t.C_LINE_COMMENT_MODE,r],i={match:[/\./,As(...aPe,...Y$)],className:{2:"keyword"}},s={match:gr(/\./,As(...OR)),relevance:0},o=OR.filter(Qe=>typeof Qe=="string").concat(["_|0"]),a=OR.filter(Qe=>typeof Qe!="string").concat(APe).map(JR),A={variants:[{className:"keyword",match:As(...a,...Y$)}]},c={$pattern:As(/\b\w+/,/#\w+/),keyword:o.concat(uPe),literal:q$},u=[i,s,A],l={match:gr(/\./,As(...$$)),relevance:0},d={className:"built_in",match:gr(/\b/,As(...$$),/(?=\()/)},g=[l,d],p={match:/->/,relevance:0},f={className:"operator",relevance:0,variants:[{match:KR},{match:`\\.(\\.|${z$})+`}]},m=[p,f],C="([0-9]_*)+",I="([0-9a-fA-F]_*)+",y={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${I})(\\.(${I}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=(Qe="")=>({className:"subst",variants:[{match:gr(/\\/,Qe,/[0\\tnr"']/)},{match:gr(/\\/,Qe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),E=(Qe="")=>({className:"subst",match:gr(/\\/,Qe,/[\t ]*(?:[\r\n]|\r\n)/)}),D=(Qe="")=>({className:"subst",label:"interpol",begin:gr(/\\/,Qe,/\(/),end:/\)/}),v=(Qe="")=>({begin:gr(Qe,/"""/),end:gr(/"""/,Qe),contains:[B(Qe),E(Qe),D(Qe)]}),Q=(Qe="")=>({begin:gr(Qe,/"/),end:gr(/"/,Qe),contains:[B(Qe),D(Qe)]}),S={className:"string",variants:[v(),v("#"),v("##"),v("###"),Q(),Q("#"),Q("##"),Q("###")]},w=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:w},_=Qe=>{let tt=gr(Qe,/\//),rt=gr(/\//,Qe);return{begin:tt,end:rt,contains:[...w,{scope:"comment",begin:`#(?!.*${rt})`,end:/$/}]}},O={scope:"regexp",variants:[_("###"),_("##"),_("#"),x]},J={match:gr(/`/,nc,/`/)},L={className:"variable",match:/\$\d+/},K={className:"variable",match:`\\$${cQ}+`},j=[J,L,K],te={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:gPe,contains:[...m,y,S]}]}},G={scope:"keyword",match:gr(/@/,As(...lPe))},Y={scope:"meta",match:gr(/@/,nc)},H=[te,G,Y],Z={match:AQ(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:gr(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,cQ,"+")},{className:"type",match:HR,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:gr(/\s+&\s+/,AQ(HR)),relevance:0}]},ue={begin:/</,end:/>/,keywords:c,contains:[...n,...u,...H,p,Z]};Z.contains.push(ue);let ge={match:gr(nc,/\s*:/),keywords:"_|0",relevance:0},he={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",ge,...n,O,...u,...g,...m,y,S,...j,...H,Z]},X={begin:/</,end:/>/,keywords:"repeat each",contains:[...n,Z]},we={begin:As(AQ(gr(nc,/\s*:/)),AQ(gr(nc,/\s+/,nc,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:nc}]},Je={begin:/\(/,end:/\)/,keywords:c,contains:[we,...n,...u,...m,y,S,...H,Z,he],endsParent:!0,illegal:/["']/},le={match:[/(func|macro)/,/\s+/,As(J.match,nc,KR)],className:{1:"keyword",3:"title.function"},contains:[X,Je,e],illegal:[/\[/,/%/]},be={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,Je,e],illegal:/\[|%/},de={match:[/operator/,/\s+/,KR],className:{1:"keyword",3:"title"}},Fe={begin:[/precedencegroup/,/\s+/,HR],className:{1:"keyword",3:"title"},contains:[Z],keywords:[...cPe,...q$],end:/}/};for(let Qe of S.variants){let tt=Qe.contains.find(_t=>_t.label==="interpol");tt.keywords=c;let rt=[...u,...g,...m,y,S,...j];tt.contains=[...rt,{begin:/\(/,end:/\)/,contains:["self",...rt]}]}return{name:"Swift",keywords:c,contains:[...n,le,be,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[t.inherit(t.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},de,Fe,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},O,...u,...g,...m,y,S,...j,...H,Z,he]}}var JR,aPe,Y$,APe,OR,q$,cPe,uPe,$$,W$,z$,KR,X$,cQ,nc,HR,lPe,gPe,e5=P(()=>{h();JR=t=>gr(/\b/,t,/\w$/.test(t)?/\b/:/\B/),aPe=["Protocol","Type"].map(JR),Y$=["init","self"].map(JR),APe=["Any","Self"],OR=["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"],q$=["false","nil","true"],cPe=["assignment","associativity","higherThan","left","lowerThan","none","right"],uPe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],$$=["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"],W$=As(/[/=\-+!*%<>&|^~?]/,/[\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]/),z$=As(W$,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),KR=gr(W$,z$,"*"),X$=As(/[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]/),cQ=As(X$,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),nc=gr(X$,cQ,"*"),HR=gr(/[A-Z]/,cQ,"*"),lPe=["attached","autoclosure",gr(/convention\(/,As("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",gr(/objc\(/,nc,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],gPe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]});function pPe(t){let e=t.regex,r=(te,{after:G})=>{let Y="</"+te[0].slice(1);return te.input.indexOf(Y,G)!==-1},n=uQ,i={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,G)=>{let Y=te[0].length+te.index,H=te.input[Y];if(H==="<"||H===","){G.ignoreMatch();return}H===">"&&(r(te,{after:Y})||G.ignoreMatch());let Z,ue=te.input.substring(Y);if(Z=ue.match(/^\s*=/)){G.ignoreMatch();return}if((Z=ue.match(/^\s+extends\s+/))&&Z.index===0){G.ignoreMatch();return}}},a={$pattern:uQ,keyword:t5,literal:r5,built_in:a5,"variable.language":o5},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\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:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},I={className:"comment",variants:[t.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}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},y=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,{match:/\$\d+/},l];d.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});let B=[].concat(I,d.contains),E=B.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(B)}]),D={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E},v={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},Q={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n5,...i5]}},S={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _(te){return e.concat("(?!",te.join("|"),")")}let O={match:e.concat(/\b/,_([...s5,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},J={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:Q},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,I,{match:/\$\d+/},l,Q,{className:"attr",begin:n+e.lookahead(":"),relevance:0},j,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},O,x,v,L,{match:/\$[(.]/}]}}function A5(t){let e=pPe(t),r=uQ,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[e.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],A={$pattern:uQ,keyword:t5.concat(a),literal:r5,built_in:a5.concat(n),"variable.language":o5},c={className:"meta",begin:"@"+r},u=(d,g,p)=>{let f=d.contains.findIndex(m=>m.label===g);if(f===-1)throw new Error("can not find mode to replace");d.contains.splice(f,1,p)};Object.assign(e.keywords,A),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,i,s]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",o);let l=e.contains.find(d=>d.label==="func.def");return l.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}var uQ,t5,r5,n5,i5,s5,o5,a5,c5=P(()=>{h();uQ="[A-Za-z$_][0-9A-Za-z$_]*",t5=["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"],r5=["true","false","null","undefined","NaN","Infinity"],n5=["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"],i5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o5=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a5=[].concat(s5,n5,i5)});function u5(t){let e=t.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},n={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,s=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,A={className:"literal",variants:[{begin:e.concat(/# */,e.either(s,i),/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,o,/ *#/)},{begin:e.concat(/# */,e.either(s,i),/ +/,e.either(o,a),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},l=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),d=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,n,A,c,u,l,d,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[d]}]}}var l5=P(()=>{h()});function g5(t){t.regex;let e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");let r=t.COMMENT(/;;/,/$/),n=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},s={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},a={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},A={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:n},contains:[r,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},s,o,i,t.QUOTE_STRING_MODE,A,c,a]}}var p5=P(()=>{h()});function d5(t){let e=t.regex,r=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=t.inherit(s,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),A=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{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:[s,A,a,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,o,A,a]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[A]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(r,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var f5=P(()=>{h()});function h5(t){let e="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},o=t.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={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"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},g={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},f=[n,{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+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},l,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,p,s],m=[...f];return m.pop(),m.push(o),d.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}var m5=P(()=>{h()});var lQ,C5=P(()=>{h();kq();Tq();Mq();Lq();Uq();Oq();Hq();jq();qq();Vq();Zq();s$();a$();c$();p$();f$();m$();I$();B$();Q$();w$();v$();x$();k$();T$();M$();L$();U$();O$();H$();j$();e5();c5();l5();p5();f5();m5();lQ={arduino:Fq,bash:Rq,c:Nq,cpp:Pq,csharp:_q,css:Gq,diff:Kq,go:Jq,graphql:Yq,ini:$q,java:Xq,javascript:i$,json:o$,kotlin:A$,less:g$,lua:d$,makefile:h$,markdown:C$,objectivec:E$,perl:y$,php:D$,"php-template":b$,plaintext:S$,python:F$,"python-repl":R$,r:N$,ruby:P$,rust:_$,scss:G$,shell:K$,sql:J$,swift:Z$,typescript:A5,vbnet:u5,wasm:g5,xml:d5,yaml:h5}});var _5=N((o1t,L5)=>{h();function w5(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{let r=t[e],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&w5(r)}),t}var pQ=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function b5(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function hu(t,...e){let r=Object.create(null);for(let n in t)r[n]=t[n];return e.forEach(function(n){for(let i in n)r[i]=n[i]}),r}var dPe="</span>",I5=t=>!!t.scope,fPe=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let r=t.split(".");return[`${e}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`},YR=class{constructor(e,r){this.buffer="",this.classPrefix=r.classPrefix,e.walk(this)}addText(e){this.buffer+=b5(e)}openNode(e){if(!I5(e))return;let r=fPe(e.scope,{prefix:this.classPrefix});this.span(r)}closeNode(e){I5(e)&&(this.buffer+=dPe)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},E5=(t={})=>{let e={children:[]};return Object.assign(e,t),e},qR=class t{constructor(){this.rootNode=E5(),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){let r=E5({scope:e});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,r){return typeof r=="string"?e.addText(r):r.children&&(e.openNode(r),r.children.forEach(n=>this._walk(e,n)),e.closeNode(r)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(r=>typeof r=="string")?e.children=[e.children.join("")]:e.children.forEach(r=>{t._collapse(r)}))}},$R=class extends qR{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,r){let n=e.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new YR(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function nC(t){return t?typeof t=="string"?t:t.source:null}function v5(t){return gg("(?=",t,")")}function hPe(t){return gg("(?:",t,")*")}function mPe(t){return gg("(?:",t,")?")}function gg(...t){return t.map(r=>nC(r)).join("")}function CPe(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function WR(...t){return"("+(CPe(t).capture?"":"?:")+t.map(n=>nC(n)).join("|")+")"}function S5(t){return new RegExp(t.toString()+"|").exec("").length-1}function IPe(t,e){let r=t&&t.exec(e);return r&&r.index===0}var EPe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function zR(t,{joinWith:e}){let r=0;return t.map(n=>{r+=1;let i=r,s=nC(n),o="";for(;s.length>0;){let a=EPe.exec(s);if(!a){o+=s;break}o+=s.substring(0,a.index),s=s.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+i):(o+=a[0],a[0]==="("&&r++)}return o}).map(n=>`(${n})`).join(e)}var BPe=/\b\B/,x5="[a-zA-Z]\\w*",XR="[a-zA-Z_]\\w*",F5="\\b\\d+(\\.\\d+)?",k5="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",R5="\\b(0b[01]+)",yPe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",QPe=(t={})=>{let e=/^#![ ]*\//;return t.binary&&(t.begin=gg(e,/.*\b/,t.binary,/\b.*/)),hu({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},t)},iC={begin:"\\\\[\\s\\S]",relevance:0},DPe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[iC]},wPe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[iC]},bPe={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/},fQ=function(t,e,r={}){let n=hu({scope:"comment",begin:t,end:e,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=WR("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 n.contains.push({begin:gg(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},vPe=fQ("//","$"),SPe=fQ("/\\*","\\*/"),xPe=fQ("#","$"),FPe={scope:"number",begin:F5,relevance:0},kPe={scope:"number",begin:k5,relevance:0},RPe={scope:"number",begin:R5,relevance:0},TPe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[iC,{begin:/\[/,end:/\]/,relevance:0,contains:[iC]}]},NPe={scope:"title",begin:x5,relevance:0},MPe={scope:"title",begin:XR,relevance:0},PPe={begin:"\\.\\s*"+XR,relevance:0},LPe=function(t){return Object.assign(t,{"on:begin":(e,r)=>{r.data._beginMatch=e[1]},"on:end":(e,r)=>{r.data._beginMatch!==e[1]&&r.ignoreMatch()}})},gQ=Object.freeze({__proto__:null,APOS_STRING_MODE:DPe,BACKSLASH_ESCAPE:iC,BINARY_NUMBER_MODE:RPe,BINARY_NUMBER_RE:R5,COMMENT:fQ,C_BLOCK_COMMENT_MODE:SPe,C_LINE_COMMENT_MODE:vPe,C_NUMBER_MODE:kPe,C_NUMBER_RE:k5,END_SAME_AS_BEGIN:LPe,HASH_COMMENT_MODE:xPe,IDENT_RE:x5,MATCH_NOTHING_RE:BPe,METHOD_GUARD:PPe,NUMBER_MODE:FPe,NUMBER_RE:F5,PHRASAL_WORDS_MODE:bPe,QUOTE_STRING_MODE:wPe,REGEXP_MODE:TPe,RE_STARTERS_RE:yPe,SHEBANG:QPe,TITLE_MODE:NPe,UNDERSCORE_IDENT_RE:XR,UNDERSCORE_TITLE_MODE:MPe});function _Pe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function UPe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function GPe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=_Pe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function OPe(t,e){Array.isArray(t.illegal)&&(t.illegal=WR(...t.illegal))}function KPe(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function HPe(t,e){t.relevance===void 0&&(t.relevance=1)}var JPe=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let r=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=r.keywords,t.begin=gg(r.beforeMatch,v5(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},jPe=["of","and","for","in","not","or","if","then","parent","list","value"],YPe="keyword";function T5(t,e,r=YPe){let n=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(s){Object.assign(n,T5(t[s],e,s))}),n;function i(s,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){let A=a.split("|");n[A[0]]=[s,qPe(A[0],A[1])]})}}function qPe(t,e){return e?Number(e):$Pe(t)?0:1}function $Pe(t){return jPe.includes(t.toLowerCase())}var B5={},lg=t=>{console.error(t)},y5=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Cd=(t,e)=>{B5[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),B5[`${t}/${e}`]=!0)},dQ=new Error;function N5(t,e,{key:r}){let n=0,i=t[r],s={},o={};for(let a=1;a<=e.length;a++)o[a+n]=i[a],s[a+n]=!0,n+=S5(e[a-1]);t[r]=o,t[r]._emit=s,t[r]._multi=!0}function VPe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw lg("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),dQ;if(typeof t.beginScope!="object"||t.beginScope===null)throw lg("beginScope must be object"),dQ;N5(t,t.begin,{key:"beginScope"}),t.begin=zR(t.begin,{joinWith:""})}}function WPe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw lg("skip, excludeEnd, returnEnd not compatible with endScope: {}"),dQ;if(typeof t.endScope!="object"||t.endScope===null)throw lg("endScope must be object"),dQ;N5(t,t.end,{key:"endScope"}),t.end=zR(t.end,{joinWith:""})}}function zPe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function XPe(t){zPe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),VPe(t),WPe(t)}function ZPe(t){function e(o,a){return new RegExp(nC(o),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,A){A.position=this.position++,this.matchIndexes[this.matchAt]=A,this.regexes.push([A,a]),this.matchAt+=S5(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let a=this.regexes.map(A=>A[1]);this.matcherRe=e(zR(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;let A=this.matcherRe.exec(a);if(!A)return null;let c=A.findIndex((l,d)=>d>0&&l!==void 0),u=this.matchIndexes[c];return A.splice(0,c),Object.assign(A,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];let A=new r;return this.rules.slice(a).forEach(([c,u])=>A.addRule(c,u)),A.compile(),this.multiRegexes[a]=A,A}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,A){this.rules.push([a,A]),A.type==="begin"&&this.count++}exec(a){let A=this.getMatcher(this.regexIndex);A.lastIndex=this.lastIndex;let c=A.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){let u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(o){let a=new n;return o.contains.forEach(A=>a.addRule(A.begin,{rule:A,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function s(o,a){let A=o;if(o.isCompiled)return A;[UPe,KPe,XPe,JPe].forEach(u=>u(o,a)),t.compilerExtensions.forEach(u=>u(o,a)),o.__beforeBegin=null,[GPe,OPe,HPe].forEach(u=>u(o,a)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=T5(o.keywords,t.case_insensitive)),A.keywordPatternRe=e(c,!0),a&&(o.begin||(o.begin=/\B|\b/),A.beginRe=e(A.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(A.endRe=e(A.end)),A.terminatorEnd=nC(A.end)||"",o.endsWithParent&&a.terminatorEnd&&(A.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(A.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return e1e(u==="self"?o:u)})),o.contains.forEach(function(u){s(u,A)}),o.starts&&s(o.starts,a),A.matcher=i(A),A}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=hu(t.classNameAliases||{}),s(t)}function M5(t){return t?t.endsWithParent||M5(t.starts):!1}function e1e(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return hu(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:M5(t)?hu(t,{starts:t.starts?hu(t.starts):null}):Object.isFrozen(t)?hu(t):t}var t1e="11.9.0",VR=class extends Error{constructor(e,r){super(e),this.name="HTMLInjectionError",this.html=r}},jR=b5,Q5=hu,D5=Symbol("nomatch"),r1e=7,P5=function(t){let e=Object.create(null),r=Object.create(null),n=[],i=!0,s="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]},a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:$R};function A(j){return a.noHighlightRe.test(j)}function c(j){let te=j.className+" ";te+=j.parentNode?j.parentNode.className:"";let G=a.languageDetectRe.exec(te);if(G){let Y=S(G[1]);return Y||(y5(s.replace("{}",G[1])),y5("Falling back to no-highlight mode for this block.",j)),Y?G[1]:"no-highlight"}return te.split(/\s+/).find(Y=>A(Y)||S(Y))}function u(j,te,G){let Y="",H="";typeof te=="object"?(Y=j,G=te.ignoreIllegals,H=te.language):(Cd("10.7.0","highlight(lang, code, ...args) has been deprecated."),Cd("10.7.0",`Please use highlight(code, options) instead.
1107
- https://github.com/highlightjs/highlight.js/issues/2277`),H=j,Y=te),G===void 0&&(G=!0);let Z={code:Y,language:H};L("before:highlight",Z);let ue=Z.result?Z.result:l(Z.language,Z.code,G);return ue.code=Z.code,L("after:highlight",ue),ue}function l(j,te,G,Y){let H=Object.create(null);function Z(Be,Ce){return Be.keywords[Ce]}function ue(){if(!Ge.keywords){at.addText(It);return}let Be=0;Ge.keywordPatternRe.lastIndex=0;let Ce=Ge.keywordPatternRe.exec(It),V="";for(;Ce;){V+=It.substring(Be,Ce.index);let ee=_t.case_insensitive?Ce[0].toLowerCase():Ce[0],oe=Z(Ge,ee);if(oe){let[me,ke]=oe;if(at.addText(V),V="",H[ee]=(H[ee]||0)+1,H[ee]<=r1e&&(cr+=ke),me.startsWith("_"))V+=Ce[0];else{let _e=_t.classNameAliases[me]||me;X(Ce[0],_e)}}else V+=Ce[0];Be=Ge.keywordPatternRe.lastIndex,Ce=Ge.keywordPatternRe.exec(It)}V+=It.substring(Be),at.addText(V)}function ge(){if(It==="")return;let Be=null;if(typeof Ge.subLanguage=="string"){if(!e[Ge.subLanguage]){at.addText(It);return}Be=l(Ge.subLanguage,It,!0,rn[Ge.subLanguage]),rn[Ge.subLanguage]=Be._top}else Be=g(It,Ge.subLanguage.length?Ge.subLanguage:null);Ge.relevance>0&&(cr+=Be.relevance),at.__addSublanguage(Be._emitter,Be.language)}function he(){Ge.subLanguage!=null?ge():ue(),It=""}function X(Be,Ce){Be!==""&&(at.startScope(Ce),at.addText(Be),at.endScope())}function we(Be,Ce){let V=1,ee=Ce.length-1;for(;V<=ee;){if(!Be._emit[V]){V++;continue}let oe=_t.classNameAliases[Be[V]]||Be[V],me=Ce[V];oe?X(me,oe):(It=me,ue(),It=""),V++}}function Je(Be,Ce){return Be.scope&&typeof Be.scope=="string"&&at.openNode(_t.classNameAliases[Be.scope]||Be.scope),Be.beginScope&&(Be.beginScope._wrap?(X(It,_t.classNameAliases[Be.beginScope._wrap]||Be.beginScope._wrap),It=""):Be.beginScope._multi&&(we(Be.beginScope,Ce),It="")),Ge=Object.create(Be,{parent:{value:Ge}}),Ge}function le(Be,Ce,V){let ee=IPe(Be.endRe,V);if(ee){if(Be["on:end"]){let oe=new pQ(Be);Be["on:end"](Ce,oe),oe.isMatchIgnored&&(ee=!1)}if(ee){for(;Be.endsParent&&Be.parent;)Be=Be.parent;return Be}}if(Be.endsWithParent)return le(Be.parent,Ce,V)}function be(Be){return Ge.matcher.regexIndex===0?(It+=Be[0],1):(Oe=!0,0)}function de(Be){let Ce=Be[0],V=Be.rule,ee=new pQ(V),oe=[V.__beforeBegin,V["on:begin"]];for(let me of oe)if(me&&(me(Be,ee),ee.isMatchIgnored))return be(Ce);return V.skip?It+=Ce:(V.excludeBegin&&(It+=Ce),he(),!V.returnBegin&&!V.excludeBegin&&(It=Ce)),Je(V,Be),V.returnBegin?0:Ce.length}function Fe(Be){let Ce=Be[0],V=te.substring(Be.index),ee=le(Ge,Be,V);if(!ee)return D5;let oe=Ge;Ge.endScope&&Ge.endScope._wrap?(he(),X(Ce,Ge.endScope._wrap)):Ge.endScope&&Ge.endScope._multi?(he(),we(Ge.endScope,Be)):oe.skip?It+=Ce:(oe.returnEnd||oe.excludeEnd||(It+=Ce),he(),oe.excludeEnd&&(It=Ce));do Ge.scope&&at.closeNode(),!Ge.skip&&!Ge.subLanguage&&(cr+=Ge.relevance),Ge=Ge.parent;while(Ge!==ee.parent);return ee.starts&&Je(ee.starts,Be),oe.returnEnd?0:Ce.length}function Qe(){let Be=[];for(let Ce=Ge;Ce!==_t;Ce=Ce.parent)Ce.scope&&Be.unshift(Ce.scope);Be.forEach(Ce=>at.openNode(Ce))}let tt={};function rt(Be,Ce){let V=Ce&&Ce[0];if(It+=Be,V==null)return he(),0;if(tt.type==="begin"&&Ce.type==="end"&&tt.index===Ce.index&&V===""){if(It+=te.slice(Ce.index,Ce.index+1),!i){let ee=new Error(`0 width match regex (${j})`);throw ee.languageName=j,ee.badRule=tt.rule,ee}return 1}if(tt=Ce,Ce.type==="begin")return de(Ce);if(Ce.type==="illegal"&&!G){let ee=new Error('Illegal lexeme "'+V+'" for mode "'+(Ge.scope||"<unnamed>")+'"');throw ee.mode=Ge,ee}else if(Ce.type==="end"){let ee=Fe(Ce);if(ee!==D5)return ee}if(Ce.type==="illegal"&&V==="")return 1;if(Yt>1e5&&Yt>Ce.index*3)throw new Error("potential infinite loop, way more iterations than matches");return It+=V,V.length}let _t=S(j);if(!_t)throw lg(s.replace("{}",j)),new Error('Unknown language: "'+j+'"');let qr=ZPe(_t),Kt="",Ge=Y||qr,rn={},at=new a.__emitter(a);Qe();let It="",cr=0,ze=0,Yt=0,Oe=!1;try{if(_t.__emitTokens)_t.__emitTokens(te,at);else{for(Ge.matcher.considerAll();;){Yt++,Oe?Oe=!1:Ge.matcher.considerAll(),Ge.matcher.lastIndex=ze;let Be=Ge.matcher.exec(te);if(!Be)break;let Ce=te.substring(ze,Be.index),V=rt(Ce,Be);ze=Be.index+V}rt(te.substring(ze))}return at.finalize(),Kt=at.toHTML(),{language:j,value:Kt,relevance:cr,illegal:!1,_emitter:at,_top:Ge}}catch(Be){if(Be.message&&Be.message.includes("Illegal"))return{language:j,value:jR(te),illegal:!0,relevance:0,_illegalBy:{message:Be.message,index:ze,context:te.slice(ze-100,ze+100),mode:Be.mode,resultSoFar:Kt},_emitter:at};if(i)return{language:j,value:jR(te),illegal:!1,relevance:0,errorRaised:Be,_emitter:at,_top:Ge};throw Be}}function d(j){let te={value:jR(j),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return te._emitter.addText(j),te}function g(j,te){te=te||a.languages||Object.keys(e);let G=d(j),Y=te.filter(S).filter(x).map(he=>l(he,j,!1));Y.unshift(G);let H=Y.sort((he,X)=>{if(he.relevance!==X.relevance)return X.relevance-he.relevance;if(he.language&&X.language){if(S(he.language).supersetOf===X.language)return 1;if(S(X.language).supersetOf===he.language)return-1}return 0}),[Z,ue]=H,ge=Z;return ge.secondBest=ue,ge}function p(j,te,G){let Y=te&&r[te]||G;j.classList.add("hljs"),j.classList.add(`language-${Y}`)}function f(j){let te=null,G=c(j);if(A(G))return;if(L("before:highlightElement",{el:j,language:G}),j.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",j);return}if(j.children.length>0&&(a.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(j)),a.throwUnescapedHTML))throw new VR("One of your code blocks includes unescaped HTML.",j.innerHTML);te=j;let Y=te.textContent,H=G?u(Y,{language:G,ignoreIllegals:!0}):g(Y);j.innerHTML=H.value,j.dataset.highlighted="yes",p(j,G,H.language),j.result={language:H.language,re:H.relevance,relevance:H.relevance},H.secondBest&&(j.secondBest={language:H.secondBest.language,relevance:H.secondBest.relevance}),L("after:highlightElement",{el:j,result:H,text:Y})}function m(j){a=Q5(a,j)}let C=()=>{B(),Cd("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function I(){B(),Cd("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let y=!1;function B(){if(document.readyState==="loading"){y=!0;return}document.querySelectorAll(a.cssSelector).forEach(f)}function E(){y&&B()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",E,!1);function D(j,te){let G=null;try{G=te(t)}catch(Y){if(lg("Language definition for '{}' could not be registered.".replace("{}",j)),i)lg(Y);else throw Y;G=o}G.name||(G.name=j),e[j]=G,G.rawDefinition=te.bind(null,t),G.aliases&&w(G.aliases,{languageName:j})}function v(j){delete e[j];for(let te of Object.keys(r))r[te]===j&&delete r[te]}function Q(){return Object.keys(e)}function S(j){return j=(j||"").toLowerCase(),e[j]||e[r[j]]}function w(j,{languageName:te}){typeof j=="string"&&(j=[j]),j.forEach(G=>{r[G.toLowerCase()]=te})}function x(j){let te=S(j);return te&&!te.disableAutodetect}function _(j){j["before:highlightBlock"]&&!j["before:highlightElement"]&&(j["before:highlightElement"]=te=>{j["before:highlightBlock"](Object.assign({block:te.el},te))}),j["after:highlightBlock"]&&!j["after:highlightElement"]&&(j["after:highlightElement"]=te=>{j["after:highlightBlock"](Object.assign({block:te.el},te))})}function O(j){_(j),n.push(j)}function J(j){let te=n.indexOf(j);te!==-1&&n.splice(te,1)}function L(j,te){let G=j;n.forEach(function(Y){Y[G]&&Y[G](te)})}function K(j){return Cd("10.7.0","highlightBlock will be removed entirely in v12.0"),Cd("10.7.0","Please use highlightElement now."),f(j)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:B,highlightElement:f,highlightBlock:K,configure:m,initHighlighting:C,initHighlightingOnLoad:I,registerLanguage:D,unregisterLanguage:v,listLanguages:Q,getLanguage:S,registerAliases:w,autoDetection:x,inherit:Q5,addPlugin:O,removePlugin:J}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=t1e,t.regex={concat:gg,lookahead:v5,either:WR,optional:mPe,anyNumberOfTimes:hPe};for(let j in gQ)typeof gQ[j]=="object"&&w5(gQ[j]);return Object.assign(t,gQ),t},Id=P5({});Id.newInstance=()=>P5({});L5.exports=Id;Id.HighlightJS=Id;Id.default=Id});var U5,G5,O5=P(()=>{h();U5=z(_5(),1),G5=U5.default});function eT(t){let e=G5.newInstance();return t&&s(t),{highlight:r,highlightAuto:n,listLanguages:i,register:s,registerAlias:o,registered:a};function r(A,c,u){let l=u||K5,d=typeof l.prefix=="string"?l.prefix:n1e;if(!e.getLanguage(A))throw new Error("Unknown language: `"+A+"` is not registered");e.configure({__emitter:ZR,classPrefix:d});let g=e.highlight(c,{ignoreIllegals:!0,language:A});if(g.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:g.errorRaised});let p=g._emitter.root,f=p.data;return f.language=g.language,f.relevance=g.relevance,p}function n(A,c){let l=(c||K5).subset||i(),d=-1,g=0,p;for(;++d<l.length;){let f=l[d];if(!e.getLanguage(f))continue;let m=r(f,A,c);m.data&&m.data.relevance!==void 0&&m.data.relevance>g&&(g=m.data.relevance,p=m)}return p||{type:"root",children:[],data:{language:void 0,relevance:g}}}function i(){return e.listLanguages()}function s(A,c){if(typeof A=="string")e.registerLanguage(A,c);else{let u;for(u in A)Object.hasOwn(A,u)&&e.registerLanguage(u,A[u])}}function o(A,c){if(typeof A=="string")e.registerAliases(typeof c=="string"?c:[...c],{languageName:A});else{let u;for(u in A)if(Object.hasOwn(A,u)){let l=A[u];e.registerAliases(typeof l=="string"?l:[...l],{languageName:u})}}}function a(A){return!!e.getLanguage(A)}}var K5,n1e,ZR,H5=P(()=>{h();O5();K5={},n1e="hljs-";ZR=class{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;let r=this.stack[this.stack.length-1],n=r.children[r.children.length-1];n&&n.type==="text"?n.value+=e:r.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,r){let n=this.stack[this.stack.length-1],i=e.root.children;r?n.children.push({type:"element",tagName:"span",properties:{className:[r]},children:i}):n.children.push(...i)}openNode(e){let r=this,n=e.split(".").map(function(o,a){return a?o+"_".repeat(a):r.options.classPrefix+o}),i=this.stack[this.stack.length-1],s={type:"element",tagName:"span",properties:{className:n},children:[]};i.children.push(s),this.stack.push(s)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}});var tT=P(()=>{h();C5();H5()});function o1e(){let t=new Map;for(let[e,r]of Object.entries(Nr)){for(let[n,i]of Object.entries(r))Nr[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=Nr[n],t.set(i[0],i[1]);Object.defineProperty(Nr,e,{value:r,enumerable:!1})}return Object.defineProperty(Nr,"codes",{value:t,enumerable:!1}),Nr.color.close="\x1B[39m",Nr.bgColor.close="\x1B[49m",Nr.color.ansi=J5(),Nr.color.ansi256=j5(),Nr.color.ansi16m=Y5(),Nr.bgColor.ansi=J5(10),Nr.bgColor.ansi256=j5(10),Nr.bgColor.ansi16m=Y5(10),Object.defineProperties(Nr,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>Nr.rgbToAnsi256(...Nr.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>Nr.ansi256ToAnsi(Nr.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>Nr.ansi256ToAnsi(Nr.hexToAnsi256(e)),enumerable:!1}}),Nr}var J5,j5,Y5,Nr,m1t,i1e,s1e,C1t,a1e,zo,q5=P(()=>{h();J5=(t=0)=>e=>`\x1B[${e+t}m`,j5=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,Y5=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,Nr={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},m1t=Object.keys(Nr.modifier),i1e=Object.keys(Nr.color),s1e=Object.keys(Nr.bgColor),C1t=[...i1e,...s1e];a1e=o1e(),zo=a1e});function to(t,e=globalThis.Deno?globalThis.Deno.args:mQ.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}function A1e(){if("FORCE_COLOR"in Mr)return Mr.FORCE_COLOR==="true"?1:Mr.FORCE_COLOR==="false"?0:Mr.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Mr.FORCE_COLOR,10),3)}function c1e(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function u1e(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=A1e();n!==void 0&&(hQ=n);let i=r?hQ:n;if(i===0)return 0;if(r){if(to("color=16m")||to("color=full")||to("color=truecolor"))return 3;if(to("color=256"))return 2}if("TF_BUILD"in Mr&&"AGENT_NAME"in Mr)return 1;if(t&&!e&&i===void 0)return 0;let s=i||0;if(Mr.TERM==="dumb")return s;if(mQ.default.platform==="win32"){let o=V5.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Mr)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(o=>o in Mr)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Mr)||Mr.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Mr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Mr.TEAMCITY_VERSION)?1:0;if(Mr.COLORTERM==="truecolor"||Mr.TERM==="xterm-kitty"||Mr.TERM==="xterm-ghostty"||Mr.TERM==="wezterm")return 3;if("TERM_PROGRAM"in Mr){let o=Number.parseInt((Mr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Mr.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Mr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Mr.TERM)||"COLORTERM"in Mr?1:s}function $5(t,e={}){let r=u1e(t,{streamIsTTY:t&&t.isTTY,...e});return c1e(r)}var mQ,V5,rT,Mr,hQ,l1e,W5,z5=P(()=>{h();mQ=z(require("node:process"),1),V5=z(require("node:os"),1),rT=z(require("node:tty"),1);({env:Mr}=mQ.default);to("no-color")||to("no-colors")||to("color=false")||to("color=never")?hQ=0:(to("color")||to("colors")||to("color=true")||to("color=always"))&&(hQ=1);l1e={stdout:$5({isTTY:rT.default.isatty(1)}),stderr:$5({isTTY:rT.default.isatty(2)})},W5=l1e});function X5(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,s=0,o="";do o+=t.slice(s,n)+e+r,s=n+i,n=t.indexOf(e,s);while(n!==-1);return o+=t.slice(s),o}function Z5(t,e,r,n){let i=0,s="";do{let o=t[n-1]==="\r";s+=t.slice(i,o?n-1:n)+e+(o?`\r
1104
+ `.trimStart()});var _Nt,xq=P(()=>{"use strict";h();Vp();nQ();Et();_Nt=ve("ClientScript")});var nQ=P(()=>{"use strict";h();Wr();Eq();yq();Zl();Sq();xq();tg()});function LMe(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},g=e.optional(i)+t.IDENT_RE+"\\s*\\(",p=["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"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["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"],C=["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"],B={type:f,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},E={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},D=[E,l,a,r,t.C_BLOCK_COMMENT_MODE,u,c],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:B,contains:D.concat([{begin:/\(/,end:/\)/,keywords:B,contains:D.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:B,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:B,relevance:0},{begin:g,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:B,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(v,Q,E,D,[l,{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:B,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:B},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function Fq(t){let e={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=LMe(t),n=r.keywords;return n.type=[...n.type,...e.type],n.literal=[...n.literal,...e.literal],n.built_in=[...n.built_in,...e.built_in],n._hints=e._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}var kq=P(()=>{h()});function Rq(t){let e=t.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});let i={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,i]};i.contains.push(o);let a={match:/\\"/},A={className:"string",begin:/'/,end:/'/},c={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},l=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],d=t.SHEBANG({binary:`(${l.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],f=["true","false"],m={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],I=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],y=["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"],B=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:f,built_in:[...C,...I,"set","shopt",...y,...B]},contains:[d,t.SHEBANG(),g,u,t.HASH_COMMENT_MODE,s,m,o,a,A,c,r]}}var Tq=P(()=>{h()});function Nq(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},g=e.optional(i)+t.IDENT_RE+"\\s*\\(",m={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"},C=[l,a,r,t.C_BLOCK_COMMENT_MODE,u,c],I={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:C.concat([{begin:/\(/,end:/\)/,keywords:m,contains:C.concat(["self"]),relevance:0}]),relevance:0},y={begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:m,relevance:0},{begin:g,returnBegin:!0,contains:[t.inherit(d,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:m,disableAutodetect:!0,illegal:"</",contains:[].concat(I,y,C,[l,{begin:t.IDENT_RE+"::",keywords:m},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:l,strings:c,keywords:m}}}var Mq=P(()=>{h()});function Pq(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},g=e.optional(i)+t.IDENT_RE+"\\s*\\(",p=["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"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["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"],C=["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"],B={type:f,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},E={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},D=[E,l,a,r,t.C_BLOCK_COMMENT_MODE,u,c],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:B,contains:D.concat([{begin:/\(/,end:/\)/,keywords:B,contains:D.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:B,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:B,relevance:0},{begin:g,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:B,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,r,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:B,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(v,Q,E,D,[l,{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:B,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:B},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var Lq=P(()=>{h()});function _q(t){let e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],i=["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"],s=["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"],o={keyword:i.concat(s),built_in:e,literal:n},a=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),A={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},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=t.inherit(c,{illegal:/\n/}),l={className:"subst",begin:/\{/,end:/\}/,keywords:o},d=t.inherit(l,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,d]},p={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]},f=t.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},d]});l.contains=[p,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.C_BLOCK_COMMENT_MODE],d.contains=[f,g,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[p,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},C={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},I=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},m,A,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+I+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,C],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[m,A,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},y]}}var Uq=P(()=>{h()});function Gq(t){let e=t.regex,r=_Me(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",s=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+OMe.join("|")+")"},{begin:":(:)?("+KMe.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+HMe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:s},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:GMe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+UMe.join("|")+")\\b"}]}}var _Me,UMe,GMe,OMe,KMe,HMe,Oq=P(()=>{h();_Me=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.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:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.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_-]*/}}),UMe=["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"],GMe=["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"],OMe=["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"],KMe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],HMe=["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 Kq(t){let e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}var Hq=P(()=>{h()});function Jq(t){let s={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:s,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:t.C_NUMBER_RE+"[i]",relevance:1},t.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,illegal:/["']/}]}]}}var jq=P(()=>{h()});function Yq(t){let e=t.regex,r=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.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:e.concat(r,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}var qq=P(()=>{h()});function $q(t){let e=t.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},n=t.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},a={begin:/\[/,end:/\]/,contains:[n,s,i,o,r,"self"],relevance:0},A=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,u=/'[^']*'/,l=e.either(A,c,u),d=e.concat(l,"(\\s*\\.\\s*",l,")*",e.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:d,className:"attr",starts:{end:/$/,contains:[n,a,s,i,o,r]}}]}}var Vq=P(()=>{h()});function zq(t,e,r){return r===-1?"":t.replace(e,n=>zq(t,e,r-1))}function Xq(t){let e=t.regex,r="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",n=r+zq("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),A={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"]},c={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:A,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:A,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,Wq,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},Wq,c]}}var hd,iQ,sQ,Wq,Zq=P(()=>{h();hd="[0-9](_*[0-9])*",iQ=`\\.(${hd})`,sQ="[0-9a-fA-F](_*[0-9a-fA-F])*",Wq={className:"number",variants:[{begin:`(\\b(${hd})((${iQ})|\\.)?|(${iQ}))[eE][+-]?(${hd})[fFdD]?\\b`},{begin:`\\b(${hd})((${iQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${iQ})[fFdD]?\\b`},{begin:`\\b(${hd})[fFdD]\\b`},{begin:`\\b0[xX]((${sQ})\\.?|(${sQ})?\\.(${sQ}))[pP][+-]?(${hd})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${sQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function i5(t){let e=t.regex,r=(te,{after:G})=>{let Y="</"+te[0].slice(1);return te.input.indexOf(Y,G)!==-1},n=e5,i={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,G)=>{let Y=te[0].length+te.index,H=te.input[Y];if(H==="<"||H===","){G.ignoreMatch();return}H===">"&&(r(te,{after:Y})||G.ignoreMatch());let Z,ue=te.input.substring(Y);if(Z=ue.match(/^\s*=/)){G.ignoreMatch();return}if((Z=ue.match(/^\s+extends\s+/))&&Z.index===0){G.ignoreMatch();return}}},a={$pattern:e5,keyword:JMe,literal:jMe,built_in:qMe,"variable.language":YMe},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\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:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},I={className:"comment",variants:[t.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}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},y=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,{match:/\$\d+/},l];d.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});let B=[].concat(I,d.contains),E=B.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(B)}]),D={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E},v={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},Q={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...t5,...r5]}},S={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _(te){return e.concat("(?!",te.join("|"),")")}let O={match:e.concat(/\b/,_([...n5,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},J={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:Q},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,I,{match:/\$\d+/},l,Q,{className:"attr",begin:n+e.lookahead(":"),relevance:0},j,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},O,x,v,L,{match:/\$[(.]/}]}}var e5,JMe,jMe,t5,r5,n5,YMe,qMe,s5=P(()=>{h();e5="[A-Za-z$_][0-9A-Za-z$_]*",JMe=["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"],jMe=["true","false","null","undefined","NaN","Infinity"],t5=["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"],r5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],n5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],YMe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],qMe=[].concat(n5,t5,r5)});function o5(t){let e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],i={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[e,r,t.QUOTE_STRING_MODE,i,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var a5=P(()=>{h()});function A5(t){let e={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"},r={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,i]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,s,i]}]};i.contains.push(o);let a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},A={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(o,{className:"string"}),"self"]}]},c=$Me,u=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),l={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=l;return d.variants[1].contains=[l],l.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,u,r,n,a,A,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[l,t.C_LINE_COMMENT_MODE,u],relevance:0},t.C_LINE_COMMENT_MODE,u,a,A,o,t.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,A]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
1105
+ `},c]}}var md,oQ,aQ,$Me,c5=P(()=>{h();md="[0-9](_*[0-9])*",oQ=`\\.(${md})`,aQ="[0-9a-fA-F](_*[0-9a-fA-F])*",$Me={className:"number",variants:[{begin:`(\\b(${md})((${oQ})|\\.)?|(${oQ}))[eE][+-]?(${md})[fFdD]?\\b`},{begin:`\\b(${md})((${oQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${oQ})[fFdD]?\\b`},{begin:`\\b(${md})[fFdD]\\b`},{begin:`\\b0[xX]((${aQ})\\.?|(${aQ})?\\.(${aQ}))[pP][+-]?(${md})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${aQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function g5(t){let e=VMe(t),r=ZMe,n="and or not only",i="[\\w-]+",s="("+i+"|@\\{"+i+"\\})",o=[],a=[],A=function(y){return{className:"string",begin:"~?"+y+".*?"+y}},c=function(y,B,E){return{className:y,begin:B,relevance:E}},u={$pattern:/[a-z-]+/,keyword:n,attribute:zMe.join(" ")},l={begin:"\\(",end:"\\)",contains:a,keywords:u,relevance:0};a.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,A("'"),A('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,l,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);let d=a.concat({begin:/\{/,end:/\}/,contains:o}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},p={begin:s+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+XMe.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:u,returnEnd:!0,contains:a,relevance:0}},m={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:d}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:s,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,g,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+WMe.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,c("selector-tag",s,0),c("selector-id","#"+s),c("selector-class","\\."+s,0),c("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+u5.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+l5.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},e.FUNCTION_DISPATCH]},I={begin:i+`:(:)?(${r.join("|")})`,returnBegin:!0,contains:[C]};return o.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,f,m,I,p,C,g,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}var VMe,WMe,zMe,u5,l5,XMe,ZMe,p5=P(()=>{h();VMe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.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:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.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_-]*/}}),WMe=["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"],zMe=["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"],u5=["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"],l5=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],XMe=["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(),ZMe=u5.concat(l5)});function d5(t){let e="\\[=*\\[",r="\\]=*\\]",n={begin:e,end:r,contains:["self"]},i=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,r,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:r,contains:[n],relevance:5}])}}var f5=P(()=>{h()});function h5(t){let e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e]},n={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:[e]},i={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},s={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[e]};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:[t.HASH_COMMENT_MODE,e,r,n,i,s,o]}}var m5=P(()=>{h()});function C5(t){let e=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={begin:"^[-\\*]{3,}",end:"$"},i={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}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},a=/[A-Za-z][A-Za-z0-9+.-]*/,A={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,a,/:\/\/.*?\)/),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}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},l=t.inherit(c,{contains:[]}),d=t.inherit(u,{contains:[]});c.contains.push(d),u.contains.push(l);let g=[r,A];return[c,u,l,d].forEach(m=>{m.contains=m.contains.concat(g)}),g=g.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},r,s,c,u,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},i,n,A,o]}}var I5=P(()=>{h()});function E5(t){let e={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+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,a={"variable.language":["this","super"],$pattern:r,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"]},A={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"</",contains:[e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.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},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+A.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:A,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}var B5=P(()=>{h()});function y5(t){let e=t.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],n=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:r.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},o={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},A=[t.BACKSLASH_ESCAPE,s,a],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(g,p,f="\\1")=>{let m=f==="\\1"?f:e.concat(f,p);return e.concat(e.concat("(?:",g,")"),p,/(?:\\.|[^\\\/])*?/,m,/(?:\\.|[^\\\/])*?/,f,n)},l=(g,p,f)=>e.concat(e.concat("(?:",g,")"),p,/(?:\\.|[^\\\/])*?/,f,n),d=[a,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:A,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",e.either(...c,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:l("(?:m|qr)?",/\//,/\//)},{begin:l("m|qr",e.either(...c,{capture:!0}),/\1/)},{begin:l("m|qr",/\(/,/\)/)},{begin:l("m|qr",/\[/,/\]/)},{begin:l("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=d,o.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:d}}var Q5=P(()=>{h()});function D5(t){let e=t.regex,r=/(?![A-Za-z0-9])(?![$])/,n=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),i=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),s={scope:"variable",match:"\\$+"+n},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},A=t.inherit(t.APOS_STRING_MODE,{illegal:null}),c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(O,J)=>{J.data._beginMatch=O[1]||O[2]},"on:end":(O,J)=>{J.data._beginMatch!==O[1]&&J.ignoreMatch()}},l=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),d=`[
1106
+ ]`,g={scope:"string",variants:[c,A,u,l]},p={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},f=["false","null","true"],m=["__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"],C=["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"],y={keyword:m,literal:(O=>{let J=[];return O.forEach(L=>{J.push(L),L.toLowerCase()===L?J.push(L.toUpperCase()):J.push(L.toLowerCase())}),J})(f),built_in:C},B=O=>O.map(J=>J.replace(/\|\d+$/,"")),E={variants:[{match:[/new/,e.concat(d,"+"),e.concat("(?!",B(C).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},D=e.concat(n,"\\b(?!\\()"),v={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,e.concat(/::/,e.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[i,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},Q={scope:"attr",match:e.concat(n,e.lookahead(":"),e.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[Q,s,v,t.C_BLOCK_COMMENT_MODE,g,p,E]},w={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",B(m).join("\\b|"),"|",B(C).join("\\b|"),"\\b)"),n,e.concat(d,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(w);let x=[Q,v,t.C_BLOCK_COMMENT_MODE,g,p,E],_={begin:e.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",...x]},...x,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:y,contains:[_,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,w,v,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},E,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",s,v,t.C_BLOCK_COMMENT_MODE,g,p]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},g,p]}}var w5=P(()=>{h()});function b5(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}var v5=P(()=>{h()});function S5(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var x5=P(()=>{h()});function F5(t){let e=t.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["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"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,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"]},A={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},u={begin:/\{\{/,relevance:0},l={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,c]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},d="[0-9](_?[0-9])*",g=`(\\b(${d}))?\\.(${d})|\\b(${d})\\.`,p=`\\b|${n.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${d})|(${g}))[eE][+-]?(${d})[jJ]?(?=${p})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${p})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${p})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`},{begin:`\\b(${d})[jJ](?=${p})`}]},m={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",A,f,l,t.HASH_COMMENT_MODE]}]};return c.contains=[l,f,A],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[A,f,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,m,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[C]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,C,l]}]}}var k5=P(()=>{h()});function R5(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}var T5=P(()=>{h()});function N5(t){let e=t.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=e.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]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[s,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}var M5=P(()=>{h()});function P5(t){let e=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=e.concat(n,/(::\w+)*/),o={"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]+"},A={begin:"#<",end:">"},c=[t.COMMENT("#","$",{contains:[a]}),t.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:o},l={className:"string",contains:[t.BACKSLASH_ESCAPE,u],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:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,u]})]}]},d="[1-9](_?[0-9])*|0",g="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${g}))?([eE][+-]?(${g})|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"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},D=[l,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[l,{begin:r}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,u],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(A,c),relevance:0}].concat(A,c);u.contains=D,f.contains=D;let w=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:D}}];return c.unshift(A),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(w).concat(c).concat(D)}}var L5=P(()=>{h()});function _5(t){let e=t.regex,r={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,t.IDENT_RE,e.lookahead(/\s*\(/))},n="([ui](8|16|32|64|128|size)|f(32|64))?",i=["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"],s=["true","false","Some","None","Ok","Err"],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!"],a=["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:t.IDENT_RE+"!?",type:a,keyword:i,literal:s,built_in:o},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.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_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{begin:[/fn/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,t.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:a}},{className:"punctuation",begin:"->"},r]}}var U5=P(()=>{h()});function G5(t){let e=ePe(t),r=iPe,n=nPe,i="@[a-z-]+",s="and or not only",a={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+tPe.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+sPe.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:[e.BLOCK_COMMENT,a,e.HEXCOLOR,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:rPe.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}var ePe,tPe,rPe,nPe,iPe,sPe,O5=P(()=>{h();ePe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.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:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.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_-]*/}}),tPe=["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"],rPe=["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"],nPe=["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"],iPe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],sPe=["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 K5(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var H5=P(()=>{h()});function J5(t){let e=t.regex,r=t.COMMENT("--","$"),n={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},s=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],a=["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"],A=["add","asc","collation","desc","final","first","last","view"],c=["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"],u=["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"],l=["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"],d=["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"],g=u,p=[...c,...A].filter(y=>!u.includes(y)),f={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},m={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},C={begin:e.concat(/\b/,e.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function I(y,{exceptions:B,when:E}={}){let D=E;return B=B||[],y.map(v=>v.match(/\|\d+$/)||B.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:I(p,{when:y=>y.length<3}),literal:s,type:a,built_in:l},contains:[{begin:e.either(...d),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:p.concat(d),literal:s,type:a}},{className:"type",begin:e.either(...o)},C,f,n,i,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,m]}}var j5=P(()=>{h()});function V5(t){return t?typeof t=="string"?t:t.source:null}function AQ(t){return gr("(?=",t,")")}function gr(...t){return t.map(r=>V5(r)).join("")}function oPe(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function As(...t){return"("+(oPe(t).capture?"":"?:")+t.map(n=>V5(n)).join("|")+")"}function Z5(t){let e={match:/\s+/,relevance:0},r=t.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[t.C_LINE_COMMENT_MODE,r],i={match:[/\./,As(...aPe,...Y5)],className:{2:"keyword"}},s={match:gr(/\./,As(...OR)),relevance:0},o=OR.filter(Qe=>typeof Qe=="string").concat(["_|0"]),a=OR.filter(Qe=>typeof Qe!="string").concat(APe).map(JR),A={variants:[{className:"keyword",match:As(...a,...Y5)}]},c={$pattern:As(/\b\w+/,/#\w+/),keyword:o.concat(uPe),literal:q5},u=[i,s,A],l={match:gr(/\./,As(...$5)),relevance:0},d={className:"built_in",match:gr(/\b/,As(...$5),/(?=\()/)},g=[l,d],p={match:/->/,relevance:0},f={className:"operator",relevance:0,variants:[{match:KR},{match:`\\.(\\.|${z5})+`}]},m=[p,f],C="([0-9]_*)+",I="([0-9a-fA-F]_*)+",y={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${I})(\\.(${I}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=(Qe="")=>({className:"subst",variants:[{match:gr(/\\/,Qe,/[0\\tnr"']/)},{match:gr(/\\/,Qe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),E=(Qe="")=>({className:"subst",match:gr(/\\/,Qe,/[\t ]*(?:[\r\n]|\r\n)/)}),D=(Qe="")=>({className:"subst",label:"interpol",begin:gr(/\\/,Qe,/\(/),end:/\)/}),v=(Qe="")=>({begin:gr(Qe,/"""/),end:gr(/"""/,Qe),contains:[B(Qe),E(Qe),D(Qe)]}),Q=(Qe="")=>({begin:gr(Qe,/"/),end:gr(/"/,Qe),contains:[B(Qe),D(Qe)]}),S={className:"string",variants:[v(),v("#"),v("##"),v("###"),Q(),Q("#"),Q("##"),Q("###")]},w=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:w},_=Qe=>{let tt=gr(Qe,/\//),rt=gr(/\//,Qe);return{begin:tt,end:rt,contains:[...w,{scope:"comment",begin:`#(?!.*${rt})`,end:/$/}]}},O={scope:"regexp",variants:[_("###"),_("##"),_("#"),x]},J={match:gr(/`/,nc,/`/)},L={className:"variable",match:/\$\d+/},K={className:"variable",match:`\\$${cQ}+`},j=[J,L,K],te={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:gPe,contains:[...m,y,S]}]}},G={scope:"keyword",match:gr(/@/,As(...lPe))},Y={scope:"meta",match:gr(/@/,nc)},H=[te,G,Y],Z={match:AQ(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:gr(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,cQ,"+")},{className:"type",match:HR,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:gr(/\s+&\s+/,AQ(HR)),relevance:0}]},ue={begin:/</,end:/>/,keywords:c,contains:[...n,...u,...H,p,Z]};Z.contains.push(ue);let ge={match:gr(nc,/\s*:/),keywords:"_|0",relevance:0},he={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",ge,...n,O,...u,...g,...m,y,S,...j,...H,Z]},X={begin:/</,end:/>/,keywords:"repeat each",contains:[...n,Z]},we={begin:As(AQ(gr(nc,/\s*:/)),AQ(gr(nc,/\s+/,nc,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:nc}]},Je={begin:/\(/,end:/\)/,keywords:c,contains:[we,...n,...u,...m,y,S,...H,Z,he],endsParent:!0,illegal:/["']/},le={match:[/(func|macro)/,/\s+/,As(J.match,nc,KR)],className:{1:"keyword",3:"title.function"},contains:[X,Je,e],illegal:[/\[/,/%/]},be={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[X,Je,e],illegal:/\[|%/},de={match:[/operator/,/\s+/,KR],className:{1:"keyword",3:"title"}},Fe={begin:[/precedencegroup/,/\s+/,HR],className:{1:"keyword",3:"title"},contains:[Z],keywords:[...cPe,...q5],end:/}/};for(let Qe of S.variants){let tt=Qe.contains.find(_t=>_t.label==="interpol");tt.keywords=c;let rt=[...u,...g,...m,y,S,...j];tt.contains=[...rt,{begin:/\(/,end:/\)/,contains:["self",...rt]}]}return{name:"Swift",keywords:c,contains:[...n,le,be,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[t.inherit(t.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},de,Fe,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},O,...u,...g,...m,y,S,...j,...H,Z,he]}}var JR,aPe,Y5,APe,OR,q5,cPe,uPe,$5,W5,z5,KR,X5,cQ,nc,HR,lPe,gPe,e$=P(()=>{h();JR=t=>gr(/\b/,t,/\w$/.test(t)?/\b/:/\B/),aPe=["Protocol","Type"].map(JR),Y5=["init","self"].map(JR),APe=["Any","Self"],OR=["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"],q5=["false","nil","true"],cPe=["assignment","associativity","higherThan","left","lowerThan","none","right"],uPe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],$5=["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"],W5=As(/[/=\-+!*%<>&|^~?]/,/[\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]/),z5=As(W5,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),KR=gr(W5,z5,"*"),X5=As(/[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]/),cQ=As(X5,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),nc=gr(X5,cQ,"*"),HR=gr(/[A-Z]/,cQ,"*"),lPe=["attached","autoclosure",gr(/convention\(/,As("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",gr(/objc\(/,nc,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],gPe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]});function pPe(t){let e=t.regex,r=(te,{after:G})=>{let Y="</"+te[0].slice(1);return te.input.indexOf(Y,G)!==-1},n=uQ,i={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,G)=>{let Y=te[0].length+te.index,H=te.input[Y];if(H==="<"||H===","){G.ignoreMatch();return}H===">"&&(r(te,{after:Y})||G.ignoreMatch());let Z,ue=te.input.substring(Y);if(Z=ue.match(/^\s*=/)){G.ignoreMatch();return}if((Z=ue.match(/^\s+extends\s+/))&&Z.index===0){G.ignoreMatch();return}}},a={$pattern:uQ,keyword:t$,literal:r$,built_in:a$,"variable.language":o$},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\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:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},I={className:"comment",variants:[t.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}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},y=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,{match:/\$\d+/},l];d.contains=y.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(y)});let B=[].concat(I,d.contains),E=B.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(B)}]),D={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E},v={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},Q={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...n$,...i$]}},S={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _(te){return e.concat("(?!",te.join("|"),")")}let O={match:e.concat(/\b/,_([...s$,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},J={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:Q},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),S,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,p,f,m,I,{match:/\$\d+/},l,Q,{className:"attr",begin:n+e.lookahead(":"),relevance:0},j,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},O,x,v,L,{match:/\$[(.]/}]}}function A$(t){let e=pPe(t),r=uQ,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[e.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],A={$pattern:uQ,keyword:t$.concat(a),literal:r$,built_in:a$.concat(n),"variable.language":o$},c={className:"meta",begin:"@"+r},u=(d,g,p)=>{let f=d.contains.findIndex(m=>m.label===g);if(f===-1)throw new Error("can not find mode to replace");d.contains.splice(f,1,p)};Object.assign(e.keywords,A),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,i,s]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",o);let l=e.contains.find(d=>d.label==="func.def");return l.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}var uQ,t$,r$,n$,i$,s$,o$,a$,c$=P(()=>{h();uQ="[A-Za-z$_][0-9A-Za-z$_]*",t$=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r$=["true","false","null","undefined","NaN","Infinity"],n$=["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"],i$=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s$=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o$=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a$=[].concat(s$,n$,i$)});function u$(t){let e=t.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},n={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,s=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,A={className:"literal",variants:[{begin:e.concat(/# */,e.either(s,i),/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,o,/ *#/)},{begin:e.concat(/# */,e.either(s,i),/ +/,e.either(o,a),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},l=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),d=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,n,A,c,u,l,d,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[d]}]}}var l$=P(()=>{h()});function g$(t){t.regex;let e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");let r=t.COMMENT(/;;/,/$/),n=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},s={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},a={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},A={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:n},contains:[r,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},s,o,i,t.QUOTE_STRING_MODE,A,c,a]}}var p$=P(()=>{h()});function d$(t){let e=t.regex,r=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=t.inherit(s,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),A=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{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:[s,A,a,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,o,A,a]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[A]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(r,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var f$=P(()=>{h()});function h$(t){let e="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},o=t.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={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"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},g={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},f=[n,{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+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},l,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,p,s],m=[...f];return m.pop(),m.push(o),d.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}var m$=P(()=>{h()});var lQ,C$=P(()=>{h();kq();Tq();Mq();Lq();Uq();Oq();Hq();jq();qq();Vq();Zq();s5();a5();c5();p5();f5();m5();I5();B5();Q5();w5();v5();x5();k5();T5();M5();L5();U5();O5();H5();j5();e$();c$();l$();p$();f$();m$();lQ={arduino:Fq,bash:Rq,c:Nq,cpp:Pq,csharp:_q,css:Gq,diff:Kq,go:Jq,graphql:Yq,ini:$q,java:Xq,javascript:i5,json:o5,kotlin:A5,less:g5,lua:d5,makefile:h5,markdown:C5,objectivec:E5,perl:y5,php:D5,"php-template":b5,plaintext:S5,python:F5,"python-repl":R5,r:N5,ruby:P5,rust:_5,scss:G5,shell:K5,sql:J5,swift:Z5,typescript:A$,vbnet:u$,wasm:g$,xml:d$,yaml:h$}});var _$=N((o1t,L$)=>{h();function w$(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{let r=t[e],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&w$(r)}),t}var pQ=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function b$(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function hu(t,...e){let r=Object.create(null);for(let n in t)r[n]=t[n];return e.forEach(function(n){for(let i in n)r[i]=n[i]}),r}var dPe="</span>",I$=t=>!!t.scope,fPe=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let r=t.split(".");return[`${e}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`},YR=class{constructor(e,r){this.buffer="",this.classPrefix=r.classPrefix,e.walk(this)}addText(e){this.buffer+=b$(e)}openNode(e){if(!I$(e))return;let r=fPe(e.scope,{prefix:this.classPrefix});this.span(r)}closeNode(e){I$(e)&&(this.buffer+=dPe)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},E$=(t={})=>{let e={children:[]};return Object.assign(e,t),e},qR=class t{constructor(){this.rootNode=E$(),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){let r=E$({scope:e});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,r){return typeof r=="string"?e.addText(r):r.children&&(e.openNode(r),r.children.forEach(n=>this._walk(e,n)),e.closeNode(r)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(r=>typeof r=="string")?e.children=[e.children.join("")]:e.children.forEach(r=>{t._collapse(r)}))}},$R=class extends qR{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,r){let n=e.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new YR(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function nC(t){return t?typeof t=="string"?t:t.source:null}function v$(t){return gg("(?=",t,")")}function hPe(t){return gg("(?:",t,")*")}function mPe(t){return gg("(?:",t,")?")}function gg(...t){return t.map(r=>nC(r)).join("")}function CPe(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function WR(...t){return"("+(CPe(t).capture?"":"?:")+t.map(n=>nC(n)).join("|")+")"}function S$(t){return new RegExp(t.toString()+"|").exec("").length-1}function IPe(t,e){let r=t&&t.exec(e);return r&&r.index===0}var EPe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function zR(t,{joinWith:e}){let r=0;return t.map(n=>{r+=1;let i=r,s=nC(n),o="";for(;s.length>0;){let a=EPe.exec(s);if(!a){o+=s;break}o+=s.substring(0,a.index),s=s.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+i):(o+=a[0],a[0]==="("&&r++)}return o}).map(n=>`(${n})`).join(e)}var BPe=/\b\B/,x$="[a-zA-Z]\\w*",XR="[a-zA-Z_]\\w*",F$="\\b\\d+(\\.\\d+)?",k$="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",R$="\\b(0b[01]+)",yPe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",QPe=(t={})=>{let e=/^#![ ]*\//;return t.binary&&(t.begin=gg(e,/.*\b/,t.binary,/\b.*/)),hu({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},t)},iC={begin:"\\\\[\\s\\S]",relevance:0},DPe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[iC]},wPe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[iC]},bPe={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/},fQ=function(t,e,r={}){let n=hu({scope:"comment",begin:t,end:e,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=WR("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 n.contains.push({begin:gg(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},vPe=fQ("//","$"),SPe=fQ("/\\*","\\*/"),xPe=fQ("#","$"),FPe={scope:"number",begin:F$,relevance:0},kPe={scope:"number",begin:k$,relevance:0},RPe={scope:"number",begin:R$,relevance:0},TPe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[iC,{begin:/\[/,end:/\]/,relevance:0,contains:[iC]}]},NPe={scope:"title",begin:x$,relevance:0},MPe={scope:"title",begin:XR,relevance:0},PPe={begin:"\\.\\s*"+XR,relevance:0},LPe=function(t){return Object.assign(t,{"on:begin":(e,r)=>{r.data._beginMatch=e[1]},"on:end":(e,r)=>{r.data._beginMatch!==e[1]&&r.ignoreMatch()}})},gQ=Object.freeze({__proto__:null,APOS_STRING_MODE:DPe,BACKSLASH_ESCAPE:iC,BINARY_NUMBER_MODE:RPe,BINARY_NUMBER_RE:R$,COMMENT:fQ,C_BLOCK_COMMENT_MODE:SPe,C_LINE_COMMENT_MODE:vPe,C_NUMBER_MODE:kPe,C_NUMBER_RE:k$,END_SAME_AS_BEGIN:LPe,HASH_COMMENT_MODE:xPe,IDENT_RE:x$,MATCH_NOTHING_RE:BPe,METHOD_GUARD:PPe,NUMBER_MODE:FPe,NUMBER_RE:F$,PHRASAL_WORDS_MODE:bPe,QUOTE_STRING_MODE:wPe,REGEXP_MODE:TPe,RE_STARTERS_RE:yPe,SHEBANG:QPe,TITLE_MODE:NPe,UNDERSCORE_IDENT_RE:XR,UNDERSCORE_TITLE_MODE:MPe});function _Pe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function UPe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function GPe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=_Pe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function OPe(t,e){Array.isArray(t.illegal)&&(t.illegal=WR(...t.illegal))}function KPe(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function HPe(t,e){t.relevance===void 0&&(t.relevance=1)}var JPe=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let r=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=r.keywords,t.begin=gg(r.beforeMatch,v$(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},jPe=["of","and","for","in","not","or","if","then","parent","list","value"],YPe="keyword";function T$(t,e,r=YPe){let n=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(s){Object.assign(n,T$(t[s],e,s))}),n;function i(s,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){let A=a.split("|");n[A[0]]=[s,qPe(A[0],A[1])]})}}function qPe(t,e){return e?Number(e):$Pe(t)?0:1}function $Pe(t){return jPe.includes(t.toLowerCase())}var B$={},lg=t=>{console.error(t)},y$=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Cd=(t,e)=>{B$[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),B$[`${t}/${e}`]=!0)},dQ=new Error;function N$(t,e,{key:r}){let n=0,i=t[r],s={},o={};for(let a=1;a<=e.length;a++)o[a+n]=i[a],s[a+n]=!0,n+=S$(e[a-1]);t[r]=o,t[r]._emit=s,t[r]._multi=!0}function VPe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw lg("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),dQ;if(typeof t.beginScope!="object"||t.beginScope===null)throw lg("beginScope must be object"),dQ;N$(t,t.begin,{key:"beginScope"}),t.begin=zR(t.begin,{joinWith:""})}}function WPe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw lg("skip, excludeEnd, returnEnd not compatible with endScope: {}"),dQ;if(typeof t.endScope!="object"||t.endScope===null)throw lg("endScope must be object"),dQ;N$(t,t.end,{key:"endScope"}),t.end=zR(t.end,{joinWith:""})}}function zPe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function XPe(t){zPe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),VPe(t),WPe(t)}function ZPe(t){function e(o,a){return new RegExp(nC(o),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,A){A.position=this.position++,this.matchIndexes[this.matchAt]=A,this.regexes.push([A,a]),this.matchAt+=S$(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let a=this.regexes.map(A=>A[1]);this.matcherRe=e(zR(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;let A=this.matcherRe.exec(a);if(!A)return null;let c=A.findIndex((l,d)=>d>0&&l!==void 0),u=this.matchIndexes[c];return A.splice(0,c),Object.assign(A,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];let A=new r;return this.rules.slice(a).forEach(([c,u])=>A.addRule(c,u)),A.compile(),this.multiRegexes[a]=A,A}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,A){this.rules.push([a,A]),A.type==="begin"&&this.count++}exec(a){let A=this.getMatcher(this.regexIndex);A.lastIndex=this.lastIndex;let c=A.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){let u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(o){let a=new n;return o.contains.forEach(A=>a.addRule(A.begin,{rule:A,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function s(o,a){let A=o;if(o.isCompiled)return A;[UPe,KPe,XPe,JPe].forEach(u=>u(o,a)),t.compilerExtensions.forEach(u=>u(o,a)),o.__beforeBegin=null,[GPe,OPe,HPe].forEach(u=>u(o,a)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=T$(o.keywords,t.case_insensitive)),A.keywordPatternRe=e(c,!0),a&&(o.begin||(o.begin=/\B|\b/),A.beginRe=e(A.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(A.endRe=e(A.end)),A.terminatorEnd=nC(A.end)||"",o.endsWithParent&&a.terminatorEnd&&(A.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(A.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return e1e(u==="self"?o:u)})),o.contains.forEach(function(u){s(u,A)}),o.starts&&s(o.starts,a),A.matcher=i(A),A}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=hu(t.classNameAliases||{}),s(t)}function M$(t){return t?t.endsWithParent||M$(t.starts):!1}function e1e(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return hu(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:M$(t)?hu(t,{starts:t.starts?hu(t.starts):null}):Object.isFrozen(t)?hu(t):t}var t1e="11.9.0",VR=class extends Error{constructor(e,r){super(e),this.name="HTMLInjectionError",this.html=r}},jR=b$,Q$=hu,D$=Symbol("nomatch"),r1e=7,P$=function(t){let e=Object.create(null),r=Object.create(null),n=[],i=!0,s="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]},a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:$R};function A(j){return a.noHighlightRe.test(j)}function c(j){let te=j.className+" ";te+=j.parentNode?j.parentNode.className:"";let G=a.languageDetectRe.exec(te);if(G){let Y=S(G[1]);return Y||(y$(s.replace("{}",G[1])),y$("Falling back to no-highlight mode for this block.",j)),Y?G[1]:"no-highlight"}return te.split(/\s+/).find(Y=>A(Y)||S(Y))}function u(j,te,G){let Y="",H="";typeof te=="object"?(Y=j,G=te.ignoreIllegals,H=te.language):(Cd("10.7.0","highlight(lang, code, ...args) has been deprecated."),Cd("10.7.0",`Please use highlight(code, options) instead.
1107
+ https://github.com/highlightjs/highlight.js/issues/2277`),H=j,Y=te),G===void 0&&(G=!0);let Z={code:Y,language:H};L("before:highlight",Z);let ue=Z.result?Z.result:l(Z.language,Z.code,G);return ue.code=Z.code,L("after:highlight",ue),ue}function l(j,te,G,Y){let H=Object.create(null);function Z(Be,Ce){return Be.keywords[Ce]}function ue(){if(!Ge.keywords){at.addText(It);return}let Be=0;Ge.keywordPatternRe.lastIndex=0;let Ce=Ge.keywordPatternRe.exec(It),V="";for(;Ce;){V+=It.substring(Be,Ce.index);let ee=_t.case_insensitive?Ce[0].toLowerCase():Ce[0],oe=Z(Ge,ee);if(oe){let[me,ke]=oe;if(at.addText(V),V="",H[ee]=(H[ee]||0)+1,H[ee]<=r1e&&(cr+=ke),me.startsWith("_"))V+=Ce[0];else{let _e=_t.classNameAliases[me]||me;X(Ce[0],_e)}}else V+=Ce[0];Be=Ge.keywordPatternRe.lastIndex,Ce=Ge.keywordPatternRe.exec(It)}V+=It.substring(Be),at.addText(V)}function ge(){if(It==="")return;let Be=null;if(typeof Ge.subLanguage=="string"){if(!e[Ge.subLanguage]){at.addText(It);return}Be=l(Ge.subLanguage,It,!0,rn[Ge.subLanguage]),rn[Ge.subLanguage]=Be._top}else Be=g(It,Ge.subLanguage.length?Ge.subLanguage:null);Ge.relevance>0&&(cr+=Be.relevance),at.__addSublanguage(Be._emitter,Be.language)}function he(){Ge.subLanguage!=null?ge():ue(),It=""}function X(Be,Ce){Be!==""&&(at.startScope(Ce),at.addText(Be),at.endScope())}function we(Be,Ce){let V=1,ee=Ce.length-1;for(;V<=ee;){if(!Be._emit[V]){V++;continue}let oe=_t.classNameAliases[Be[V]]||Be[V],me=Ce[V];oe?X(me,oe):(It=me,ue(),It=""),V++}}function Je(Be,Ce){return Be.scope&&typeof Be.scope=="string"&&at.openNode(_t.classNameAliases[Be.scope]||Be.scope),Be.beginScope&&(Be.beginScope._wrap?(X(It,_t.classNameAliases[Be.beginScope._wrap]||Be.beginScope._wrap),It=""):Be.beginScope._multi&&(we(Be.beginScope,Ce),It="")),Ge=Object.create(Be,{parent:{value:Ge}}),Ge}function le(Be,Ce,V){let ee=IPe(Be.endRe,V);if(ee){if(Be["on:end"]){let oe=new pQ(Be);Be["on:end"](Ce,oe),oe.isMatchIgnored&&(ee=!1)}if(ee){for(;Be.endsParent&&Be.parent;)Be=Be.parent;return Be}}if(Be.endsWithParent)return le(Be.parent,Ce,V)}function be(Be){return Ge.matcher.regexIndex===0?(It+=Be[0],1):(Oe=!0,0)}function de(Be){let Ce=Be[0],V=Be.rule,ee=new pQ(V),oe=[V.__beforeBegin,V["on:begin"]];for(let me of oe)if(me&&(me(Be,ee),ee.isMatchIgnored))return be(Ce);return V.skip?It+=Ce:(V.excludeBegin&&(It+=Ce),he(),!V.returnBegin&&!V.excludeBegin&&(It=Ce)),Je(V,Be),V.returnBegin?0:Ce.length}function Fe(Be){let Ce=Be[0],V=te.substring(Be.index),ee=le(Ge,Be,V);if(!ee)return D$;let oe=Ge;Ge.endScope&&Ge.endScope._wrap?(he(),X(Ce,Ge.endScope._wrap)):Ge.endScope&&Ge.endScope._multi?(he(),we(Ge.endScope,Be)):oe.skip?It+=Ce:(oe.returnEnd||oe.excludeEnd||(It+=Ce),he(),oe.excludeEnd&&(It=Ce));do Ge.scope&&at.closeNode(),!Ge.skip&&!Ge.subLanguage&&(cr+=Ge.relevance),Ge=Ge.parent;while(Ge!==ee.parent);return ee.starts&&Je(ee.starts,Be),oe.returnEnd?0:Ce.length}function Qe(){let Be=[];for(let Ce=Ge;Ce!==_t;Ce=Ce.parent)Ce.scope&&Be.unshift(Ce.scope);Be.forEach(Ce=>at.openNode(Ce))}let tt={};function rt(Be,Ce){let V=Ce&&Ce[0];if(It+=Be,V==null)return he(),0;if(tt.type==="begin"&&Ce.type==="end"&&tt.index===Ce.index&&V===""){if(It+=te.slice(Ce.index,Ce.index+1),!i){let ee=new Error(`0 width match regex (${j})`);throw ee.languageName=j,ee.badRule=tt.rule,ee}return 1}if(tt=Ce,Ce.type==="begin")return de(Ce);if(Ce.type==="illegal"&&!G){let ee=new Error('Illegal lexeme "'+V+'" for mode "'+(Ge.scope||"<unnamed>")+'"');throw ee.mode=Ge,ee}else if(Ce.type==="end"){let ee=Fe(Ce);if(ee!==D$)return ee}if(Ce.type==="illegal"&&V==="")return 1;if(Yt>1e5&&Yt>Ce.index*3)throw new Error("potential infinite loop, way more iterations than matches");return It+=V,V.length}let _t=S(j);if(!_t)throw lg(s.replace("{}",j)),new Error('Unknown language: "'+j+'"');let qr=ZPe(_t),Kt="",Ge=Y||qr,rn={},at=new a.__emitter(a);Qe();let It="",cr=0,ze=0,Yt=0,Oe=!1;try{if(_t.__emitTokens)_t.__emitTokens(te,at);else{for(Ge.matcher.considerAll();;){Yt++,Oe?Oe=!1:Ge.matcher.considerAll(),Ge.matcher.lastIndex=ze;let Be=Ge.matcher.exec(te);if(!Be)break;let Ce=te.substring(ze,Be.index),V=rt(Ce,Be);ze=Be.index+V}rt(te.substring(ze))}return at.finalize(),Kt=at.toHTML(),{language:j,value:Kt,relevance:cr,illegal:!1,_emitter:at,_top:Ge}}catch(Be){if(Be.message&&Be.message.includes("Illegal"))return{language:j,value:jR(te),illegal:!0,relevance:0,_illegalBy:{message:Be.message,index:ze,context:te.slice(ze-100,ze+100),mode:Be.mode,resultSoFar:Kt},_emitter:at};if(i)return{language:j,value:jR(te),illegal:!1,relevance:0,errorRaised:Be,_emitter:at,_top:Ge};throw Be}}function d(j){let te={value:jR(j),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return te._emitter.addText(j),te}function g(j,te){te=te||a.languages||Object.keys(e);let G=d(j),Y=te.filter(S).filter(x).map(he=>l(he,j,!1));Y.unshift(G);let H=Y.sort((he,X)=>{if(he.relevance!==X.relevance)return X.relevance-he.relevance;if(he.language&&X.language){if(S(he.language).supersetOf===X.language)return 1;if(S(X.language).supersetOf===he.language)return-1}return 0}),[Z,ue]=H,ge=Z;return ge.secondBest=ue,ge}function p(j,te,G){let Y=te&&r[te]||G;j.classList.add("hljs"),j.classList.add(`language-${Y}`)}function f(j){let te=null,G=c(j);if(A(G))return;if(L("before:highlightElement",{el:j,language:G}),j.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",j);return}if(j.children.length>0&&(a.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(j)),a.throwUnescapedHTML))throw new VR("One of your code blocks includes unescaped HTML.",j.innerHTML);te=j;let Y=te.textContent,H=G?u(Y,{language:G,ignoreIllegals:!0}):g(Y);j.innerHTML=H.value,j.dataset.highlighted="yes",p(j,G,H.language),j.result={language:H.language,re:H.relevance,relevance:H.relevance},H.secondBest&&(j.secondBest={language:H.secondBest.language,relevance:H.secondBest.relevance}),L("after:highlightElement",{el:j,result:H,text:Y})}function m(j){a=Q$(a,j)}let C=()=>{B(),Cd("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function I(){B(),Cd("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let y=!1;function B(){if(document.readyState==="loading"){y=!0;return}document.querySelectorAll(a.cssSelector).forEach(f)}function E(){y&&B()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",E,!1);function D(j,te){let G=null;try{G=te(t)}catch(Y){if(lg("Language definition for '{}' could not be registered.".replace("{}",j)),i)lg(Y);else throw Y;G=o}G.name||(G.name=j),e[j]=G,G.rawDefinition=te.bind(null,t),G.aliases&&w(G.aliases,{languageName:j})}function v(j){delete e[j];for(let te of Object.keys(r))r[te]===j&&delete r[te]}function Q(){return Object.keys(e)}function S(j){return j=(j||"").toLowerCase(),e[j]||e[r[j]]}function w(j,{languageName:te}){typeof j=="string"&&(j=[j]),j.forEach(G=>{r[G.toLowerCase()]=te})}function x(j){let te=S(j);return te&&!te.disableAutodetect}function _(j){j["before:highlightBlock"]&&!j["before:highlightElement"]&&(j["before:highlightElement"]=te=>{j["before:highlightBlock"](Object.assign({block:te.el},te))}),j["after:highlightBlock"]&&!j["after:highlightElement"]&&(j["after:highlightElement"]=te=>{j["after:highlightBlock"](Object.assign({block:te.el},te))})}function O(j){_(j),n.push(j)}function J(j){let te=n.indexOf(j);te!==-1&&n.splice(te,1)}function L(j,te){let G=j;n.forEach(function(Y){Y[G]&&Y[G](te)})}function K(j){return Cd("10.7.0","highlightBlock will be removed entirely in v12.0"),Cd("10.7.0","Please use highlightElement now."),f(j)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:B,highlightElement:f,highlightBlock:K,configure:m,initHighlighting:C,initHighlightingOnLoad:I,registerLanguage:D,unregisterLanguage:v,listLanguages:Q,getLanguage:S,registerAliases:w,autoDetection:x,inherit:Q$,addPlugin:O,removePlugin:J}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=t1e,t.regex={concat:gg,lookahead:v$,either:WR,optional:mPe,anyNumberOfTimes:hPe};for(let j in gQ)typeof gQ[j]=="object"&&w$(gQ[j]);return Object.assign(t,gQ),t},Id=P$({});Id.newInstance=()=>P$({});L$.exports=Id;Id.HighlightJS=Id;Id.default=Id});var U$,G$,O$=P(()=>{h();U$=z(_$(),1),G$=U$.default});function eT(t){let e=G$.newInstance();return t&&s(t),{highlight:r,highlightAuto:n,listLanguages:i,register:s,registerAlias:o,registered:a};function r(A,c,u){let l=u||K$,d=typeof l.prefix=="string"?l.prefix:n1e;if(!e.getLanguage(A))throw new Error("Unknown language: `"+A+"` is not registered");e.configure({__emitter:ZR,classPrefix:d});let g=e.highlight(c,{ignoreIllegals:!0,language:A});if(g.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:g.errorRaised});let p=g._emitter.root,f=p.data;return f.language=g.language,f.relevance=g.relevance,p}function n(A,c){let l=(c||K$).subset||i(),d=-1,g=0,p;for(;++d<l.length;){let f=l[d];if(!e.getLanguage(f))continue;let m=r(f,A,c);m.data&&m.data.relevance!==void 0&&m.data.relevance>g&&(g=m.data.relevance,p=m)}return p||{type:"root",children:[],data:{language:void 0,relevance:g}}}function i(){return e.listLanguages()}function s(A,c){if(typeof A=="string")e.registerLanguage(A,c);else{let u;for(u in A)Object.hasOwn(A,u)&&e.registerLanguage(u,A[u])}}function o(A,c){if(typeof A=="string")e.registerAliases(typeof c=="string"?c:[...c],{languageName:A});else{let u;for(u in A)if(Object.hasOwn(A,u)){let l=A[u];e.registerAliases(typeof l=="string"?l:[...l],{languageName:u})}}}function a(A){return!!e.getLanguage(A)}}var K$,n1e,ZR,H$=P(()=>{h();O$();K$={},n1e="hljs-";ZR=class{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;let r=this.stack[this.stack.length-1],n=r.children[r.children.length-1];n&&n.type==="text"?n.value+=e:r.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,r){let n=this.stack[this.stack.length-1],i=e.root.children;r?n.children.push({type:"element",tagName:"span",properties:{className:[r]},children:i}):n.children.push(...i)}openNode(e){let r=this,n=e.split(".").map(function(o,a){return a?o+"_".repeat(a):r.options.classPrefix+o}),i=this.stack[this.stack.length-1],s={type:"element",tagName:"span",properties:{className:n},children:[]};i.children.push(s),this.stack.push(s)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}});var tT=P(()=>{h();C$();H$()});function o1e(){let t=new Map;for(let[e,r]of Object.entries(Nr)){for(let[n,i]of Object.entries(r))Nr[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=Nr[n],t.set(i[0],i[1]);Object.defineProperty(Nr,e,{value:r,enumerable:!1})}return Object.defineProperty(Nr,"codes",{value:t,enumerable:!1}),Nr.color.close="\x1B[39m",Nr.bgColor.close="\x1B[49m",Nr.color.ansi=J$(),Nr.color.ansi256=j$(),Nr.color.ansi16m=Y$(),Nr.bgColor.ansi=J$(10),Nr.bgColor.ansi256=j$(10),Nr.bgColor.ansi16m=Y$(10),Object.defineProperties(Nr,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>Nr.rgbToAnsi256(...Nr.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>Nr.ansi256ToAnsi(Nr.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>Nr.ansi256ToAnsi(Nr.hexToAnsi256(e)),enumerable:!1}}),Nr}var J$,j$,Y$,Nr,m1t,i1e,s1e,C1t,a1e,zo,q$=P(()=>{h();J$=(t=0)=>e=>`\x1B[${e+t}m`,j$=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,Y$=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,Nr={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},m1t=Object.keys(Nr.modifier),i1e=Object.keys(Nr.color),s1e=Object.keys(Nr.bgColor),C1t=[...i1e,...s1e];a1e=o1e(),zo=a1e});function to(t,e=globalThis.Deno?globalThis.Deno.args:mQ.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}function A1e(){if("FORCE_COLOR"in Mr)return Mr.FORCE_COLOR==="true"?1:Mr.FORCE_COLOR==="false"?0:Mr.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Mr.FORCE_COLOR,10),3)}function c1e(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function u1e(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=A1e();n!==void 0&&(hQ=n);let i=r?hQ:n;if(i===0)return 0;if(r){if(to("color=16m")||to("color=full")||to("color=truecolor"))return 3;if(to("color=256"))return 2}if("TF_BUILD"in Mr&&"AGENT_NAME"in Mr)return 1;if(t&&!e&&i===void 0)return 0;let s=i||0;if(Mr.TERM==="dumb")return s;if(mQ.default.platform==="win32"){let o=V$.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Mr)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(o=>o in Mr)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Mr)||Mr.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Mr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Mr.TEAMCITY_VERSION)?1:0;if(Mr.COLORTERM==="truecolor"||Mr.TERM==="xterm-kitty"||Mr.TERM==="xterm-ghostty"||Mr.TERM==="wezterm")return 3;if("TERM_PROGRAM"in Mr){let o=Number.parseInt((Mr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Mr.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Mr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Mr.TERM)||"COLORTERM"in Mr?1:s}function $$(t,e={}){let r=u1e(t,{streamIsTTY:t&&t.isTTY,...e});return c1e(r)}var mQ,V$,rT,Mr,hQ,l1e,W$,z$=P(()=>{h();mQ=z(require("node:process"),1),V$=z(require("node:os"),1),rT=z(require("node:tty"),1);({env:Mr}=mQ.default);to("no-color")||to("no-colors")||to("color=false")||to("color=never")?hQ=0:(to("color")||to("colors")||to("color=true")||to("color=always"))&&(hQ=1);l1e={stdout:$$({isTTY:rT.default.isatty(1)}),stderr:$$({isTTY:rT.default.isatty(2)})},W$=l1e});function X$(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,s=0,o="";do o+=t.slice(s,n)+e+r,s=n+i,n=t.indexOf(e,s);while(n!==-1);return o+=t.slice(s),o}function Z$(t,e,r,n){let i=0,s="";do{let o=t[n-1]==="\r";s+=t.slice(i,o?n-1:n)+e+(o?`\r
1108
1108
  `:`
1109
1109
  `)+r,i=n+1,n=t.indexOf(`
1110
- `,i)}while(n!==-1);return s+=t.slice(i),s}var eV=P(()=>{h()});function oC(t){return iV(t)}var tV,rV,nT,Ed,sC,nV,Bd,g1e,CQ,iV,iT,p1e,d1e,sT,IQ,f1e,S1t,x1t,sV=P(()=>{h();q5();z5();eV();({stdout:tV,stderr:rV}=W5),nT=Symbol("GENERATOR"),Ed=Symbol("STYLER"),sC=Symbol("IS_EMPTY"),nV=["ansi","ansi","ansi256","ansi16m"],Bd=Object.create(null),g1e=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=tV?tV.level:0;t.level=e.level===void 0?r:e.level},CQ=class{constructor(e){return iV(e)}},iV=t=>{let e=(...r)=>r.join(" ");return g1e(e,t),Object.setPrototypeOf(e,oC.prototype),e};Object.setPrototypeOf(oC.prototype,Function.prototype);for(let[t,e]of Object.entries(zo))Bd[t]={get(){let r=IQ(this,sT(e.open,e.close,this[Ed]),this[sC]);return Object.defineProperty(this,t,{value:r}),r}};Bd.visible={get(){let t=IQ(this,this[Ed],!0);return Object.defineProperty(this,"visible",{value:t}),t}};iT=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?zo[r].ansi16m(...n):e==="ansi256"?zo[r].ansi256(zo.rgbToAnsi256(...n)):zo[r].ansi(zo.rgbToAnsi(...n)):t==="hex"?iT("rgb",e,r,...zo.hexToRgb(...n)):zo[r][t](...n),p1e=["rgb","hex","ansi256"];for(let t of p1e){Bd[t]={get(){let{level:r}=this;return function(...n){let i=sT(iT(t,nV[r],"color",...n),zo.color.close,this[Ed]);return IQ(this,i,this[sC])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);Bd[e]={get(){let{level:r}=this;return function(...n){let i=sT(iT(t,nV[r],"bgColor",...n),zo.bgColor.close,this[Ed]);return IQ(this,i,this[sC])}}}}d1e=Object.defineProperties(()=>{},{...Bd,level:{enumerable:!0,get(){return this[nT].level},set(t){this[nT].level=t}}}),sT=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},IQ=(t,e,r)=>{let n=(...i)=>f1e(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,d1e),n[nT]=t,n[Ed]=e,n[sC]=r,n},f1e=(t,e)=>{if(t.level<=0||!e)return t[sC]?"":e;let r=t[Ed];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=X5(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
1111
- `);return s!==-1&&(e=Z5(e,i,n,s)),n+e+i};Object.defineProperties(oC.prototype,Bd);S1t=oC(),x1t=oC({level:rV?rV.level:0})});function aT(t){let e=eT(t);return{highlight:r,highlightAuto:n,listLanguages:e.listLanguages,register:e.register,registerAlias:e.registerAlias,registered:e.registered};function r(i,s,o){let a=e.highlight(i,s),A=a.data;return{language:A.language,relevance:A.relevance,value:oT(o||oV,a)}}function n(i,s){let o,a;if(s&&("subset"in s||"sheet"in s)){let u=s;a={subset:u.subset},o=u.sheet}else o=s;let A=e.highlightAuto(i,a),c=A.data;return{language:c.language,relevance:c.relevance,value:oT(o||oV,A)}}}function oT(t,e){let r=new Set(e.type==="element"&&Array.isArray(e.properties.className)?e.properties.className.map(function(a){return String(a).replace(/^hljs-/,"")}):[]),n={},i,s="",o;for(o in t)if(Object.hasOwn(t,o)){let a=o.split(" "),A=t[o];r.has(a[0])?a.length===1?i=A:n[a.slice(1).join(" ")]=A:n[o]=A}return"value"in e?s=e.value:"children"in e&&(s=h1e(n,e.children)),i&&(s=i(s)),s}function h1e(t,e){let r=[],n=-1;for(;++n<e.length;)r.push(oT(t,e[n]));return r.join("")}var Ht,oV,aV=P(()=>{h();sV();tT();Ht=new CQ({level:2}),oV={comment:Ht.gray,quote:Ht.gray,keyword:Ht.green,"selector-tag":Ht.green,addition:Ht.green,number:Ht.cyan,string:Ht.cyan,"meta meta-string":Ht.cyan,literal:Ht.cyan,doctag:Ht.cyan,regexp:Ht.cyan,title:Ht.blue,section:Ht.blue,name:Ht.blue,"selector-id":Ht.blue,"selector-class":Ht.blue,attribute:Ht.yellow,attr:Ht.yellow,variable:Ht.yellow,"template-variable":Ht.yellow,"class title":Ht.yellow,type:Ht.yellow,symbol:Ht.magenta,bullet:Ht.magenta,subst:Ht.magenta,meta:Ht.magenta,"meta keyword":Ht.magenta,"selector-attr":Ht.magenta,"selector-pseudo":Ht.magenta,link:Ht.magenta,built_in:Ht.red,deletion:Ht.red,emphasis:Ht.italic,strong:Ht.bold,formula:Ht.inverse}});var AV=P(()=>{h();tT();aV()});async function Me(t){if(process.env.NODE_ENV!=="test")try{let e=process.env.BUILDER_DISABLE_AMPLITUDE==="true",r=[cV.flush(2e3)];e||r.push(uV.flush().promise),await Promise.allSettled(r)}catch(e){m1e.error(e)}process.exit(t)}var cV,uV,m1e,ks=P(()=>{"use strict";h();cV=z(require("@sentry/node"),1),uV=z(require("@amplitude/analytics-node"),1);Et();m1e=ve("Exit")});var Ne,vr=P(()=>{"use strict";h();Ne=process.env.AIR_HOST||process.env.BUILDER_HOST||"https://api.builder.io"});var gV,lV=P(()=>{gV="1.61.3"});var KV=N(hC=>{"use strict";h();Object.defineProperty(hC,"__esModule",{value:!0});function I1e(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}var rA=class{constructor(e,r,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=r,this.index=n}},wd=class{constructor(e,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=r}};function Ji(t,e){let{line:r,column:n,index:i}=t;return new rA(r,n+e,i+e)}var pV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",E1e={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:pV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:pV}},dV={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},yQ=t=>t.type==="UpdateExpression"?dV.UpdateExpression[`${t.prefix}`]:dV[t.type],B1e={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:t})=>`\`${t}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
1110
+ `,i)}while(n!==-1);return s+=t.slice(i),s}var eV=P(()=>{h()});function oC(t){return iV(t)}var tV,rV,nT,Ed,sC,nV,Bd,g1e,CQ,iV,iT,p1e,d1e,sT,IQ,f1e,S1t,x1t,sV=P(()=>{h();q$();z$();eV();({stdout:tV,stderr:rV}=W$),nT=Symbol("GENERATOR"),Ed=Symbol("STYLER"),sC=Symbol("IS_EMPTY"),nV=["ansi","ansi","ansi256","ansi16m"],Bd=Object.create(null),g1e=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=tV?tV.level:0;t.level=e.level===void 0?r:e.level},CQ=class{constructor(e){return iV(e)}},iV=t=>{let e=(...r)=>r.join(" ");return g1e(e,t),Object.setPrototypeOf(e,oC.prototype),e};Object.setPrototypeOf(oC.prototype,Function.prototype);for(let[t,e]of Object.entries(zo))Bd[t]={get(){let r=IQ(this,sT(e.open,e.close,this[Ed]),this[sC]);return Object.defineProperty(this,t,{value:r}),r}};Bd.visible={get(){let t=IQ(this,this[Ed],!0);return Object.defineProperty(this,"visible",{value:t}),t}};iT=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?zo[r].ansi16m(...n):e==="ansi256"?zo[r].ansi256(zo.rgbToAnsi256(...n)):zo[r].ansi(zo.rgbToAnsi(...n)):t==="hex"?iT("rgb",e,r,...zo.hexToRgb(...n)):zo[r][t](...n),p1e=["rgb","hex","ansi256"];for(let t of p1e){Bd[t]={get(){let{level:r}=this;return function(...n){let i=sT(iT(t,nV[r],"color",...n),zo.color.close,this[Ed]);return IQ(this,i,this[sC])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);Bd[e]={get(){let{level:r}=this;return function(...n){let i=sT(iT(t,nV[r],"bgColor",...n),zo.bgColor.close,this[Ed]);return IQ(this,i,this[sC])}}}}d1e=Object.defineProperties(()=>{},{...Bd,level:{enumerable:!0,get(){return this[nT].level},set(t){this[nT].level=t}}}),sT=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},IQ=(t,e,r)=>{let n=(...i)=>f1e(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,d1e),n[nT]=t,n[Ed]=e,n[sC]=r,n},f1e=(t,e)=>{if(t.level<=0||!e)return t[sC]?"":e;let r=t[Ed];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=X$(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
1111
+ `);return s!==-1&&(e=Z$(e,i,n,s)),n+e+i};Object.defineProperties(oC.prototype,Bd);S1t=oC(),x1t=oC({level:rV?rV.level:0})});function aT(t){let e=eT(t);return{highlight:r,highlightAuto:n,listLanguages:e.listLanguages,register:e.register,registerAlias:e.registerAlias,registered:e.registered};function r(i,s,o){let a=e.highlight(i,s),A=a.data;return{language:A.language,relevance:A.relevance,value:oT(o||oV,a)}}function n(i,s){let o,a;if(s&&("subset"in s||"sheet"in s)){let u=s;a={subset:u.subset},o=u.sheet}else o=s;let A=e.highlightAuto(i,a),c=A.data;return{language:c.language,relevance:c.relevance,value:oT(o||oV,A)}}}function oT(t,e){let r=new Set(e.type==="element"&&Array.isArray(e.properties.className)?e.properties.className.map(function(a){return String(a).replace(/^hljs-/,"")}):[]),n={},i,s="",o;for(o in t)if(Object.hasOwn(t,o)){let a=o.split(" "),A=t[o];r.has(a[0])?a.length===1?i=A:n[a.slice(1).join(" ")]=A:n[o]=A}return"value"in e?s=e.value:"children"in e&&(s=h1e(n,e.children)),i&&(s=i(s)),s}function h1e(t,e){let r=[],n=-1;for(;++n<e.length;)r.push(oT(t,e[n]));return r.join("")}var Ht,oV,aV=P(()=>{h();sV();tT();Ht=new CQ({level:2}),oV={comment:Ht.gray,quote:Ht.gray,keyword:Ht.green,"selector-tag":Ht.green,addition:Ht.green,number:Ht.cyan,string:Ht.cyan,"meta meta-string":Ht.cyan,literal:Ht.cyan,doctag:Ht.cyan,regexp:Ht.cyan,title:Ht.blue,section:Ht.blue,name:Ht.blue,"selector-id":Ht.blue,"selector-class":Ht.blue,attribute:Ht.yellow,attr:Ht.yellow,variable:Ht.yellow,"template-variable":Ht.yellow,"class title":Ht.yellow,type:Ht.yellow,symbol:Ht.magenta,bullet:Ht.magenta,subst:Ht.magenta,meta:Ht.magenta,"meta keyword":Ht.magenta,"selector-attr":Ht.magenta,"selector-pseudo":Ht.magenta,link:Ht.magenta,built_in:Ht.red,deletion:Ht.red,emphasis:Ht.italic,strong:Ht.bold,formula:Ht.inverse}});var AV=P(()=>{h();tT();aV()});async function Me(t){if(process.env.NODE_ENV!=="test")try{let e=process.env.BUILDER_DISABLE_AMPLITUDE==="true",r=[cV.flush(2e3)];e||r.push(uV.flush().promise),await Promise.allSettled(r)}catch(e){m1e.error(e)}process.exit(t)}var cV,uV,m1e,ks=P(()=>{"use strict";h();cV=z(require("@sentry/node"),1),uV=z(require("@amplitude/analytics-node"),1);Et();m1e=ve("Exit")});var Ne,vr=P(()=>{"use strict";h();Ne=process.env.AIR_HOST||process.env.BUILDER_HOST||"https://api.builder.io"});var gV,lV=P(()=>{gV="1.61.3"});var KV=N(hC=>{"use strict";h();Object.defineProperty(hC,"__esModule",{value:!0});function I1e(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}var rA=class{constructor(e,r,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=r,this.index=n}},wd=class{constructor(e,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=r}};function Ji(t,e){let{line:r,column:n,index:i}=t;return new rA(r,n+e,i+e)}var pV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",E1e={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:pV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:pV}},dV={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},yQ=t=>t.type==="UpdateExpression"?dV.UpdateExpression[`${t.prefix}`]:dV[t.type],B1e={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:t})=>`\`${t}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
1112
1112
  - Did you mean \`export { '${t}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:t})=>`'${t==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:t})=>`Unsyntactic ${t==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:t})=>`A string literal cannot be used as an imported binding.
1113
1113
  - Did you mean \`import { "${t}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:t})=>`Expected number in radix ${t}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:t})=>`Escape sequence in keyword ${t}.`,InvalidIdentifier:({identifierName:t})=>`Invalid identifier ${t}.`,InvalidLhs:({ancestor:t})=>`Invalid left-hand side in ${yQ(t)}.`,InvalidLhsBinding:({ancestor:t})=>`Binding invalid left-hand side in ${yQ(t)}.`,InvalidLhsOptionalChaining:({ancestor:t})=>`Invalid optional chaining in the left-hand side of ${yQ(t)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:t})=>`Unexpected character '${t}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:t})=>`Private name #${t} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:t})=>`Label '${t}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:t})=>`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:t})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:t})=>`Duplicate key "${t}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:t})=>`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`,ModuleExportUndefined:({localName:t})=>`Export '${t}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:t})=>`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`,PrivateNameRedeclaration:({identifierName:t})=>`Duplicate private name #${t}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:t})=>`Unexpected keyword '${t}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:t})=>`Unexpected reserved word '${t}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:t,unexpected:e})=>`Unexpected token${e?` '${e}'.`:""}${t?`, expected "${t}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:t,onlyValidPropertyName:e})=>`The only valid meta property for ${t} is ${t}.${e}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:t})=>`Identifier '${t}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},y1e={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:t})=>`Assigning to '${t}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:t})=>`Binding '${t}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Q1e={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:t})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(t)}\`.`},D1e=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),w1e=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:t})=>`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:t})=>`Hack-style pipe body cannot be an unparenthesized ${yQ({type:t})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),b1e=["message"];function fV(t,e,r){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,value:r})}function v1e({toMessage:t,code:e,reasonCode:r,syntaxPlugin:n}){let i=r==="MissingPlugin"||r==="MissingOneOfPlugins",s={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return s[r]&&(r=s[r]),function o(a,A){let c=new SyntaxError;return c.code=e,c.reasonCode=r,c.loc=a,c.pos=a.index,c.syntaxPlugin=n,i&&(c.missingPlugin=A.missingPlugin),fV(c,"clone",function(l={}){var d;let{line:g,column:p,index:f}=(d=l.loc)!=null?d:a;return o(new rA(g,p,f),Object.assign({},A,l.details))}),fV(c,"details",A),Object.defineProperty(c,"message",{configurable:!0,get(){let u=`${t(A)} (${a.line}:${a.column})`;return this.message=u,u},set(u){Object.defineProperty(this,"message",{value:u,writable:!0})}}),c}}function eA(t,e){if(Array.isArray(t))return n=>eA(n,t[0]);let r={};for(let n of Object.keys(t)){let i=t[n],s=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:o}=s,a=I1e(s,b1e),A=typeof o=="string"?()=>o:o;r[n]=v1e(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:A},e?{syntaxPlugin:e}:{},a))}return r}var W=Object.assign({},eA(E1e),eA(B1e),eA(y1e),eA(Q1e),eA`pipelineOperator`(w1e));function S1e(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function x1e(t){let e=S1e();if(t==null)return e;if(t.annexB!=null&&t.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let r of Object.keys(e))t[r]!=null&&(e[r]=t[r]);if(e.startLine===1)t.startIndex==null&&e.startColumn>0?e.startIndex=e.startColumn:t.startColumn==null&&e.startIndex>0&&(e.startColumn=e.startIndex);else if((t.startColumn==null||t.startIndex==null)&&t.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(e.sourceType==="commonjs"){if(t.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(t.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(t.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return e}var{defineProperty:F1e}=Object,hV=(t,e)=>{t&&F1e(t,e,{enumerable:!1,value:t[e]})};function aC(t){return hV(t.loc.start,"index"),hV(t.loc.end,"index"),t}var k1e=t=>class extends t{parse(){let r=aC(super.parse());return this.optionFlags&256&&(r.tokens=r.tokens.map(aC)),r}parseRegExpLiteral({pattern:r,flags:n}){let i=null;try{i=new RegExp(r,n)}catch{}let s=this.estreeParseLiteral(i);return s.regex={pattern:r,flags:n},s}parseBigIntLiteral(r){let n;try{n=BigInt(r)}catch{n=null}let i=this.estreeParseLiteral(n);return i.bigint=String(i.value||r),i}parseDecimalLiteral(r){let i=this.estreeParseLiteral(null);return i.decimal=String(i.value||r),i}estreeParseLiteral(r){return this.parseLiteral(r,"Literal")}parseStringLiteral(r){return this.estreeParseLiteral(r)}parseNumericLiteral(r){return this.estreeParseLiteral(r)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(r){return this.estreeParseLiteral(r)}estreeParseChainExpression(r,n){let i=this.startNodeAtNode(r);return i.expression=r,this.finishNodeAt(i,"ChainExpression",n)}directiveToStmt(r){let n=r.value;delete r.value,this.castNodeTo(n,"Literal"),n.raw=n.extra.raw,n.value=n.extra.expressionValue;let i=this.castNodeTo(r,"ExpressionStatement");return i.expression=n,i.directive=n.extra.rawValue,delete n.extra,i}fillOptionalPropertiesForTSESLint(r){}cloneEstreeStringLiteral(r){let{start:n,end:i,loc:s,range:o,raw:a,value:A}=r,c=Object.create(r.constructor.prototype);return c.type="Literal",c.start=n,c.end=i,c.loc=s,c.range=o,c.raw=a,c.value=A,c}initFunction(r,n){super.initFunction(r,n),r.expression=!1}checkDeclaration(r){r!=null&&this.isObjectProperty(r)?this.checkDeclaration(r.value):super.checkDeclaration(r)}getObjectOrClassMethodParams(r){return r.value.params}isValidDirective(r){var n;return r.type==="ExpressionStatement"&&r.expression.type==="Literal"&&typeof r.expression.value=="string"&&!((n=r.expression.extra)!=null&&n.parenthesized)}parseBlockBody(r,n,i,s,o){super.parseBlockBody(r,n,i,s,o);let a=r.directives.map(A=>this.directiveToStmt(A));r.body=a.concat(r.body),delete r.directives}parsePrivateName(){let r=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(r):r}convertPrivateNameToPrivateIdentifier(r){let n=super.getPrivateNameSV(r);return delete r.id,r.name=n,this.castNodeTo(r,"PrivateIdentifier")}isPrivateName(r){return this.getPluginOption("estree","classFeatures")?r.type==="PrivateIdentifier":super.isPrivateName(r)}getPrivateNameSV(r){return this.getPluginOption("estree","classFeatures")?r.name:super.getPrivateNameSV(r)}parseLiteral(r,n){let i=super.parseLiteral(r,n);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(r,n,i=!1){super.parseFunctionBody(r,n,i),r.expression=r.body.type!=="BlockStatement"}parseMethod(r,n,i,s,o,a,A=!1){let c=this.startNode();c.kind=r.kind,c=super.parseMethod(c,n,i,s,o,a,A),delete c.kind;let{typeParameters:u}=r;u&&(delete r.typeParameters,c.typeParameters=u,this.resetStartLocationFromNode(c,u));let l=this.castNodeTo(c,"FunctionExpression");return r.value=l,a==="ClassPrivateMethod"&&(r.computed=!1),a==="ObjectMethod"?(r.kind==="method"&&(r.kind="init"),r.shorthand=!1,this.finishNode(r,"Property")):this.finishNode(r,"MethodDefinition")}nameIsConstructor(r){return r.type==="Literal"?r.value==="constructor":super.nameIsConstructor(r)}parseClassProperty(...r){let n=super.parseClassProperty(...r);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(n,"PropertyDefinition"),n}parseClassPrivateProperty(...r){let n=super.parseClassPrivateProperty(...r);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(n,"PropertyDefinition"),n.computed=!1),n}parseClassAccessorProperty(r){let n=super.parseClassAccessorProperty(r);return this.getPluginOption("estree","classFeatures")&&(n.abstract&&this.hasPlugin("typescript")?(delete n.abstract,this.castNodeTo(n,"TSAbstractAccessorProperty")):this.castNodeTo(n,"AccessorProperty")),n}parseObjectProperty(r,n,i,s){let o=super.parseObjectProperty(r,n,i,s);return o&&(o.kind="init",this.castNodeTo(o,"Property")),o}finishObjectProperty(r){return r.kind="init",this.finishNode(r,"Property")}isValidLVal(r,n,i,s){return r==="Property"?"value":super.isValidLVal(r,n,i,s)}isAssignable(r,n){return r!=null&&this.isObjectProperty(r)?this.isAssignable(r.value,n):super.isAssignable(r,n)}toAssignable(r,n=!1){if(r!=null&&this.isObjectProperty(r)){let{key:i,value:s}=r;this.isPrivateName(i)&&this.classScope.usePrivateName(this.getPrivateNameSV(i),i.loc.start),this.toAssignable(s,n)}else super.toAssignable(r,n)}toAssignableObjectExpressionProp(r,n,i){r.type==="Property"&&(r.kind==="get"||r.kind==="set")?this.raise(W.PatternHasAccessor,r.key):r.type==="Property"&&r.method?this.raise(W.PatternHasMethod,r.key):super.toAssignableObjectExpressionProp(r,n,i)}finishCallExpression(r,n){let i=super.finishCallExpression(r,n);if(i.callee.type==="Import"){var s,o;this.castNodeTo(i,"ImportExpression"),i.source=i.arguments[0],i.options=(s=i.arguments[1])!=null?s:null,i.attributes=(o=i.arguments[1])!=null?o:null,delete i.arguments,delete i.callee}else i.type==="OptionalCallExpression"?this.castNodeTo(i,"CallExpression"):i.optional=!1;return i}toReferencedArguments(r){r.type!=="ImportExpression"&&super.toReferencedArguments(r)}parseExport(r,n){let i=this.state.lastTokStartLoc,s=super.parseExport(r,n);switch(s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":s.specifiers.length===1&&s.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(s,"ExportAllDeclaration"),s.exported=s.specifiers[0].exported,delete s.specifiers);case"ExportDefaultDeclaration":{var o;let{declaration:a}=s;a?.type==="ClassDeclaration"&&((o=a.decorators)==null?void 0:o.length)>0&&a.start===s.start&&this.resetStartLocation(s,i)}break}return s}stopParseSubscript(r,n){let i=super.stopParseSubscript(r,n);return n.optionalChainMember?this.estreeParseChainExpression(i,r.loc.end):i}parseMember(r,n,i,s,o){let a=super.parseMember(r,n,i,s,o);return a.type==="OptionalMemberExpression"?this.castNodeTo(a,"MemberExpression"):a.optional=!1,a}isOptionalMemberExpression(r){return r.type==="ChainExpression"?r.expression.type==="MemberExpression":super.isOptionalMemberExpression(r)}hasPropertyAsPrivateName(r){return r.type==="ChainExpression"&&(r=r.expression),super.hasPropertyAsPrivateName(r)}isObjectProperty(r){return r.type==="Property"&&r.kind==="init"&&!r.method}isObjectMethod(r){return r.type==="Property"&&(r.method||r.kind==="get"||r.kind==="set")}castNodeTo(r,n){let i=super.castNodeTo(r,n);return this.fillOptionalPropertiesForTSESLint(i),i}cloneIdentifier(r){let n=super.cloneIdentifier(r);return this.fillOptionalPropertiesForTSESLint(n),n}cloneStringLiteral(r){return r.type==="Literal"?this.cloneEstreeStringLiteral(r):super.cloneStringLiteral(r)}finishNodeAt(r,n,i){return aC(super.finishNodeAt(r,n,i))}finishNode(r,n){let i=super.finishNode(r,n);return this.fillOptionalPropertiesForTSESLint(i),i}resetStartLocation(r,n){super.resetStartLocation(r,n),aC(r)}resetEndLocation(r,n=this.state.lastTokEndLoc){super.resetEndLocation(r,n),aC(r)}},dg=class{constructor(e,r){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!r}},nr={brace:new dg("{"),j_oTag:new dg("<tag"),j_cTag:new dg("</tag"),j_expr:new dg("<tag>...</tag>",!0)};nr.template=new dg("`",!0);var bt=!0,Se=!0,AT=!0,AC=!0,mu=!0,R1e=!0,wQ=class{constructor(e,r={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop!=null?r.binop:null,this.updateContext=null}},MT=new Map;function Jt(t,e={}){e.keyword=t;let r=Ye(t,e);return MT.set(t,r),r}function Hi(t,e){return Ye(t,{beforeExpr:bt,binop:e})}var gC=-1,sc=[],PT=[],LT=[],_T=[],UT=[],GT=[];function Ye(t,e={}){var r,n,i,s;return++gC,PT.push(t),LT.push((r=e.binop)!=null?r:-1),_T.push((n=e.beforeExpr)!=null?n:!1),UT.push((i=e.startsExpr)!=null?i:!1),GT.push((s=e.prefix)!=null?s:!1),sc.push(new wQ(t,e)),gC}function xt(t,e={}){var r,n,i,s;return++gC,MT.set(t,gC),PT.push(t),LT.push((r=e.binop)!=null?r:-1),_T.push((n=e.beforeExpr)!=null?n:!1),UT.push((i=e.startsExpr)!=null?i:!1),GT.push((s=e.prefix)!=null?s:!1),sc.push(new wQ("name",e)),gC}var T1e={bracketL:Ye("[",{beforeExpr:bt,startsExpr:Se}),bracketHashL:Ye("#[",{beforeExpr:bt,startsExpr:Se}),bracketBarL:Ye("[|",{beforeExpr:bt,startsExpr:Se}),bracketR:Ye("]"),bracketBarR:Ye("|]"),braceL:Ye("{",{beforeExpr:bt,startsExpr:Se}),braceBarL:Ye("{|",{beforeExpr:bt,startsExpr:Se}),braceHashL:Ye("#{",{beforeExpr:bt,startsExpr:Se}),braceR:Ye("}"),braceBarR:Ye("|}"),parenL:Ye("(",{beforeExpr:bt,startsExpr:Se}),parenR:Ye(")"),comma:Ye(",",{beforeExpr:bt}),semi:Ye(";",{beforeExpr:bt}),colon:Ye(":",{beforeExpr:bt}),doubleColon:Ye("::",{beforeExpr:bt}),dot:Ye("."),question:Ye("?",{beforeExpr:bt}),questionDot:Ye("?."),arrow:Ye("=>",{beforeExpr:bt}),template:Ye("template"),ellipsis:Ye("...",{beforeExpr:bt}),backQuote:Ye("`",{startsExpr:Se}),dollarBraceL:Ye("${",{beforeExpr:bt,startsExpr:Se}),templateTail:Ye("...`",{startsExpr:Se}),templateNonTail:Ye("...${",{beforeExpr:bt,startsExpr:Se}),at:Ye("@"),hash:Ye("#",{startsExpr:Se}),interpreterDirective:Ye("#!..."),eq:Ye("=",{beforeExpr:bt,isAssign:AC}),assign:Ye("_=",{beforeExpr:bt,isAssign:AC}),slashAssign:Ye("_=",{beforeExpr:bt,isAssign:AC}),xorAssign:Ye("_=",{beforeExpr:bt,isAssign:AC}),moduloAssign:Ye("_=",{beforeExpr:bt,isAssign:AC}),incDec:Ye("++/--",{prefix:mu,postfix:R1e,startsExpr:Se}),bang:Ye("!",{beforeExpr:bt,prefix:mu,startsExpr:Se}),tilde:Ye("~",{beforeExpr:bt,prefix:mu,startsExpr:Se}),doubleCaret:Ye("^^",{startsExpr:Se}),doubleAt:Ye("@@",{startsExpr:Se}),pipeline:Hi("|>",0),nullishCoalescing:Hi("??",1),logicalOR:Hi("||",1),logicalAND:Hi("&&",2),bitwiseOR:Hi("|",3),bitwiseXOR:Hi("^",4),bitwiseAND:Hi("&",5),equality:Hi("==/!=/===/!==",6),lt:Hi("</>/<=/>=",7),gt:Hi("</>/<=/>=",7),relational:Hi("</>/<=/>=",7),bitShift:Hi("<</>>/>>>",8),bitShiftL:Hi("<</>>/>>>",8),bitShiftR:Hi("<</>>/>>>",8),plusMin:Ye("+/-",{beforeExpr:bt,binop:9,prefix:mu,startsExpr:Se}),modulo:Ye("%",{binop:10,startsExpr:Se}),star:Ye("*",{binop:10}),slash:Hi("/",10),exponent:Ye("**",{beforeExpr:bt,binop:11,rightAssociative:!0}),_in:Jt("in",{beforeExpr:bt,binop:7}),_instanceof:Jt("instanceof",{beforeExpr:bt,binop:7}),_break:Jt("break"),_case:Jt("case",{beforeExpr:bt}),_catch:Jt("catch"),_continue:Jt("continue"),_debugger:Jt("debugger"),_default:Jt("default",{beforeExpr:bt}),_else:Jt("else",{beforeExpr:bt}),_finally:Jt("finally"),_function:Jt("function",{startsExpr:Se}),_if:Jt("if"),_return:Jt("return",{beforeExpr:bt}),_switch:Jt("switch"),_throw:Jt("throw",{beforeExpr:bt,prefix:mu,startsExpr:Se}),_try:Jt("try"),_var:Jt("var"),_const:Jt("const"),_with:Jt("with"),_new:Jt("new",{beforeExpr:bt,startsExpr:Se}),_this:Jt("this",{startsExpr:Se}),_super:Jt("super",{startsExpr:Se}),_class:Jt("class",{startsExpr:Se}),_extends:Jt("extends",{beforeExpr:bt}),_export:Jt("export"),_import:Jt("import",{startsExpr:Se}),_null:Jt("null",{startsExpr:Se}),_true:Jt("true",{startsExpr:Se}),_false:Jt("false",{startsExpr:Se}),_typeof:Jt("typeof",{beforeExpr:bt,prefix:mu,startsExpr:Se}),_void:Jt("void",{beforeExpr:bt,prefix:mu,startsExpr:Se}),_delete:Jt("delete",{beforeExpr:bt,prefix:mu,startsExpr:Se}),_do:Jt("do",{isLoop:AT,beforeExpr:bt}),_for:Jt("for",{isLoop:AT}),_while:Jt("while",{isLoop:AT}),_as:xt("as",{startsExpr:Se}),_assert:xt("assert",{startsExpr:Se}),_async:xt("async",{startsExpr:Se}),_await:xt("await",{startsExpr:Se}),_defer:xt("defer",{startsExpr:Se}),_from:xt("from",{startsExpr:Se}),_get:xt("get",{startsExpr:Se}),_let:xt("let",{startsExpr:Se}),_meta:xt("meta",{startsExpr:Se}),_of:xt("of",{startsExpr:Se}),_sent:xt("sent",{startsExpr:Se}),_set:xt("set",{startsExpr:Se}),_source:xt("source",{startsExpr:Se}),_static:xt("static",{startsExpr:Se}),_using:xt("using",{startsExpr:Se}),_yield:xt("yield",{startsExpr:Se}),_asserts:xt("asserts",{startsExpr:Se}),_checks:xt("checks",{startsExpr:Se}),_exports:xt("exports",{startsExpr:Se}),_global:xt("global",{startsExpr:Se}),_implements:xt("implements",{startsExpr:Se}),_intrinsic:xt("intrinsic",{startsExpr:Se}),_infer:xt("infer",{startsExpr:Se}),_is:xt("is",{startsExpr:Se}),_mixins:xt("mixins",{startsExpr:Se}),_proto:xt("proto",{startsExpr:Se}),_require:xt("require",{startsExpr:Se}),_satisfies:xt("satisfies",{startsExpr:Se}),_keyof:xt("keyof",{startsExpr:Se}),_readonly:xt("readonly",{startsExpr:Se}),_unique:xt("unique",{startsExpr:Se}),_abstract:xt("abstract",{startsExpr:Se}),_declare:xt("declare",{startsExpr:Se}),_enum:xt("enum",{startsExpr:Se}),_module:xt("module",{startsExpr:Se}),_namespace:xt("namespace",{startsExpr:Se}),_interface:xt("interface",{startsExpr:Se}),_type:xt("type",{startsExpr:Se}),_opaque:xt("opaque",{startsExpr:Se}),name:Ye("name",{startsExpr:Se}),placeholder:Ye("%%",{startsExpr:Se}),string:Ye("string",{startsExpr:Se}),num:Ye("num",{startsExpr:Se}),bigint:Ye("bigint",{startsExpr:Se}),decimal:Ye("decimal",{startsExpr:Se}),regexp:Ye("regexp",{startsExpr:Se}),privateName:Ye("#name",{startsExpr:Se}),eof:Ye("eof"),jsxName:Ye("jsxName"),jsxText:Ye("jsxText",{beforeExpr:bt}),jsxTagStart:Ye("jsxTagStart",{startsExpr:Se}),jsxTagEnd:Ye("jsxTagEnd")};function ar(t){return t>=93&&t<=133}function N1e(t){return t<=92}function Xo(t){return t>=58&&t<=133}function SV(t){return t>=58&&t<=137}function M1e(t){return _T[t]}function uC(t){return UT[t]}function P1e(t){return t>=29&&t<=33}function mV(t){return t>=129&&t<=131}function L1e(t){return t>=90&&t<=92}function OT(t){return t>=58&&t<=92}function _1e(t){return t>=39&&t<=59}function U1e(t){return t===34}function G1e(t){return GT[t]}function O1e(t){return t>=121&&t<=123}function K1e(t){return t>=124&&t<=130}function Iu(t){return PT[t]}function QQ(t){return LT[t]}function H1e(t){return t===57}function bQ(t){return t>=24&&t<=25}function ic(t){return sc[t]}sc[8].updateContext=t=>{t.pop()};sc[5].updateContext=sc[7].updateContext=sc[23].updateContext=t=>{t.push(nr.brace)};sc[22].updateContext=t=>{t[t.length-1]===nr.template?t.pop():t.push(nr.template)};sc[143].updateContext=t=>{t.push(nr.j_expr,nr.j_oTag)};var KT="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",xV="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",J1e=new RegExp("["+KT+"]"),j1e=new RegExp("["+KT+xV+"]");KT=xV=null;var FV=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Y1e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function dT(t,e){let r=65536;for(let n=0,i=e.length;n<i;n+=2){if(r+=e[n],r>t)return!1;if(r+=e[n+1],r>=t)return!0}return!1}function tA(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&J1e.test(String.fromCharCode(t)):dT(t,FV)}function fg(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&j1e.test(String.fromCharCode(t)):dT(t,FV)||dT(t,Y1e)}var HT={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},q1e=new Set(HT.keyword),$1e=new Set(HT.strict),V1e=new Set(HT.strictBind);function kV(t,e){return e&&t==="await"||t==="enum"}function RV(t,e){return kV(t,e)||$1e.has(t)}function TV(t){return V1e.has(t)}function NV(t,e){return RV(t,e)||TV(t)}function W1e(t){return q1e.has(t)}function z1e(t,e,r){return t===64&&e===64&&tA(r)}var X1e=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Z1e(t){return X1e.has(t)}var pC=class{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}},dC=class{constructor(e,r){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=r}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&64)>0&&(e&2)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:r}=this.scopeStack[e];if(r&128)return!0;if(r&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new pC(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&130||!this.parser.inModule&&e.flags&1)}declareName(e,r,n){let i=this.currentScope();if(r&8||r&16){this.checkRedeclarationInScope(i,e,r,n);let s=i.names.get(e)||0;r&16?s=s|4:(i.firstLexicalName||(i.firstLexicalName=e),s=s|2),i.names.set(e,s),r&8&&this.maybeExportDefined(i,e)}else if(r&4)for(let s=this.scopeStack.length-1;s>=0&&(i=this.scopeStack[s],this.checkRedeclarationInScope(i,e,r,n),i.names.set(e,(i.names.get(e)||0)|1),this.maybeExportDefined(i,e),!(i.flags&1667));--s);this.parser.inModule&&i.flags&1&&this.undefinedExports.delete(e)}maybeExportDefined(e,r){this.parser.inModule&&e.flags&1&&this.undefinedExports.delete(r)}checkRedeclarationInScope(e,r,n,i){this.isRedeclaredInScope(e,r,n)&&this.parser.raise(W.VarRedeclaration,i,{identifierName:r})}isRedeclaredInScope(e,r,n){if(!(n&1))return!1;if(n&8)return e.names.has(r);let i=e.names.get(r)||0;return n&16?(i&2)>0||!this.treatFunctionsAsVarInScope(e)&&(i&1)>0:(i&2)>0&&!(e.flags&8&&e.firstLexicalName===r)||!this.treatFunctionsAsVarInScope(e)&&(i&4)>0}checkLocalExport(e){let{name:r}=e;this.scopeStack[0].names.has(r)||this.undefinedExports.set(r,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:r}=this.scopeStack[e];if(r&1667)return r}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:r}=this.scopeStack[e];if(r&1731&&!(r&4))return r}}},fT=class extends pC{constructor(...e){super(...e),this.declareFunctions=new Set}},hT=class extends dC{createScope(e){return new fT(e)}declareName(e,r,n){let i=this.currentScope();if(r&2048){this.checkRedeclarationInScope(i,e,r,n),this.maybeExportDefined(i,e),i.declareFunctions.add(e);return}super.declareName(e,r,n)}isRedeclaredInScope(e,r,n){if(super.isRedeclaredInScope(e,r,n))return!0;if(n&2048&&!e.declareFunctions.has(r)){let i=e.names.get(r);return(i&4)>0||(i&2)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},eLe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),We=eA`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:t})=>`Cannot overwrite reserved type ${t}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:t,enumName:e})=>`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${e}\`.`,EnumDuplicateMemberName:({memberName:t,enumName:e})=>`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${e}\`.`,EnumInconsistentMemberValues:({enumName:t})=>`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:t,enumName:e})=>`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:t})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:t,memberName:e,explicitType:r})=>`Enum \`${t}\` has type \`${r}\`, so the initializer of \`${e}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:t,memberName:e})=>`Symbol enum members cannot be initialized. Use \`${e},\` in enum \`${t}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:t,memberName:e})=>`The enum member initializer for \`${e}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`,EnumInvalidMemberName:({enumName:t,memberName:e,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${e}\`, consider using \`${r}\`, in enum \`${t}\`.`,EnumNumberMemberNotInitialized:({enumName:t,memberName:e})=>`Number enum members need to be initialized, e.g. \`${e} = 1\` in enum \`${t}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:t})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:t})=>`Unexpected reserved type ${t}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:t,suggestion:e})=>`\`declare export ${t}\` is not supported. Use \`${e}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function tLe(t){return t.type==="DeclareExportAllDeclaration"||t.type==="DeclareExportDeclaration"&&(!t.declaration||t.declaration.type!=="TypeAlias"&&t.declaration.type!=="InterfaceDeclaration")}function CV(t){return t.importKind==="type"||t.importKind==="typeof"}var rLe={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function nLe(t,e){let r=[],n=[];for(let i=0;i<t.length;i++)(e(t[i],i,t)?r:n).push(t[i]);return[r,n]}var iLe=/\*?\s*@((?:no)?flow)\b/,sLe=t=>class extends t{constructor(...r){super(...r),this.flowPragma=void 0}getScopeHandler(){return hT}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(r,n){r!==134&&r!==13&&r!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(r,n)}addComment(r){if(this.flowPragma===void 0){let n=iLe.exec(r.value);if(n)if(n[1]==="flow")this.flowPragma="flow";else if(n[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(r)}flowParseTypeInitialiser(r){let n=this.state.inType;this.state.inType=!0,this.expect(r||14);let i=this.flowParseType();return this.state.inType=n,i}flowParsePredicate(){let r=this.startNode(),n=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>n.index+1&&this.raise(We.UnexpectedSpaceBetweenModuloChecks,n),this.eat(10)?(r.value=super.parseExpression(),this.expect(11),this.finishNode(r,"DeclaredPredicate")):this.finishNode(r,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let r=this.state.inType;this.state.inType=!0,this.expect(14);let n=null,i=null;return this.match(54)?(this.state.inType=r,i=this.flowParsePredicate()):(n=this.flowParseType(),this.state.inType=r,this.match(54)&&(i=this.flowParsePredicate())),[n,i]}flowParseDeclareClass(r){return this.next(),this.flowParseInterfaceish(r,!0),this.finishNode(r,"DeclareClass")}flowParseDeclareFunction(r){this.next();let n=r.id=this.parseIdentifier(),i=this.startNode(),s=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);let o=this.flowParseFunctionTypeParams();return i.params=o.params,i.rest=o.rest,i.this=o._this,this.expect(11),[i.returnType,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),n.typeAnnotation=this.finishNode(s,"TypeAnnotation"),this.resetEndLocation(n),this.semicolon(),this.scope.declareName(r.id.name,2048,r.id.loc.start),this.finishNode(r,"DeclareFunction")}flowParseDeclare(r,n){if(this.match(80))return this.flowParseDeclareClass(r);if(this.match(68))return this.flowParseDeclareFunction(r);if(this.match(74))return this.flowParseDeclareVariable(r);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(r):(n&&this.raise(We.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(r));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(r);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(r);if(this.isContextual(129))return this.flowParseDeclareInterface(r);if(this.match(82))return this.flowParseDeclareExportDeclaration(r,n);throw this.unexpected()}flowParseDeclareVariable(r){return this.next(),r.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(r.id.name,5,r.id.loc.start),this.semicolon(),this.finishNode(r,"DeclareVariable")}flowParseDeclareModule(r){this.scope.enter(0),this.match(134)?r.id=super.parseExprAtom():r.id=this.parseIdentifier();let n=r.body=this.startNode(),i=n.body=[];for(this.expect(5);!this.match(8);){let a=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(We.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),i.push(super.parseImport(a))):(this.expectContextual(125,We.UnsupportedStatementInDeclareModule),i.push(this.flowParseDeclare(a,!0)))}this.scope.exit(),this.expect(8),this.finishNode(n,"BlockStatement");let s=null,o=!1;return i.forEach(a=>{tLe(a)?(s==="CommonJS"&&this.raise(We.AmbiguousDeclareModuleKind,a),s="ES"):a.type==="DeclareModuleExports"&&(o&&this.raise(We.DuplicateDeclareModuleExports,a),s==="ES"&&this.raise(We.AmbiguousDeclareModuleKind,a),s="CommonJS",o=!0)}),r.kind=s||"CommonJS",this.finishNode(r,"DeclareModule")}flowParseDeclareExportDeclaration(r,n){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?r.declaration=this.flowParseDeclare(this.startNode()):(r.declaration=this.flowParseType(),this.semicolon()),r.default=!0,this.finishNode(r,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!n){let i=this.state.value;throw this.raise(We.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:i,suggestion:rLe[i]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return r.declaration=this.flowParseDeclare(this.startNode()),r.default=!1,this.finishNode(r,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return r=this.parseExport(r,null),r.type==="ExportNamedDeclaration"?(r.default=!1,delete r.exportKind,this.castNodeTo(r,"DeclareExportDeclaration")):this.castNodeTo(r,"DeclareExportAllDeclaration");throw this.unexpected()}flowParseDeclareModuleExports(r){return this.next(),this.expectContextual(111),r.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(r,"DeclareModuleExports")}flowParseDeclareTypeAlias(r){this.next();let n=this.flowParseTypeAlias(r);return this.castNodeTo(n,"DeclareTypeAlias"),n}flowParseDeclareOpaqueType(r){this.next();let n=this.flowParseOpaqueType(r,!0);return this.castNodeTo(n,"DeclareOpaqueType"),n}flowParseDeclareInterface(r){return this.next(),this.flowParseInterfaceish(r,!1),this.finishNode(r,"DeclareInterface")}flowParseInterfaceish(r,n){if(r.id=this.flowParseRestrictedIdentifier(!n,!0),this.scope.declareName(r.id.name,n?17:8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(!n&&this.eat(12));if(n){if(r.implements=[],r.mixins=[],this.eatContextual(117))do r.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do r.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}r.body=this.flowParseObjectType({allowStatic:n,allowExact:!1,allowSpread:!1,allowProto:n,allowInexact:!1})}flowParseInterfaceExtends(){let r=this.startNode();return r.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,this.finishNode(r,"InterfaceExtends")}flowParseInterface(r){return this.flowParseInterfaceish(r,!1),this.finishNode(r,"InterfaceDeclaration")}checkNotUnderscore(r){r==="_"&&this.raise(We.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(r,n,i){eLe.has(r)&&this.raise(i?We.AssignReservedType:We.UnexpectedReservedType,n,{reservedType:r})}flowParseRestrictedIdentifier(r,n){return this.checkReservedType(this.state.value,this.state.startLoc,n),this.parseIdentifier(r)}flowParseTypeAlias(r){return r.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(r,"TypeAlias")}flowParseOpaqueType(r,n){return this.expectContextual(130),r.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.supertype=null,this.match(14)&&(r.supertype=this.flowParseTypeInitialiser(14)),r.impltype=null,n||(r.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(r,"OpaqueType")}flowParseTypeParameter(r=!1){let n=this.state.startLoc,i=this.startNode(),s=this.flowParseVariance(),o=this.flowParseTypeAnnotatableIdentifier();return i.name=o.name,i.variance=s,i.bound=o.typeAnnotation,this.match(29)?(this.eat(29),i.default=this.flowParseType()):r&&this.raise(We.MissingTypeParamDefault,n),this.finishNode(i,"TypeParameter")}flowParseTypeParameterDeclaration(){let r=this.state.inType,n=this.startNode();n.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let i=!1;do{let s=this.flowParseTypeParameter(i);n.params.push(s),s.default&&(i=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=r,this.finishNode(n,"TypeParameterDeclaration")}flowInTopLevelContext(r){if(this.curContext()!==nr.brace){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}else return r()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let r=this.startNode(),n=this.state.inType;return this.state.inType=!0,r.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let i=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)r.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=i}),this.state.inType=n,!this.state.inType&&this.curContext()===nr.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return null;let r=this.startNode(),n=this.state.inType;for(r.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)r.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseInterfaceType(){let r=this.startNode();if(this.expectContextual(129),r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return r.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(r,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(r,n,i){return r.static=n,this.lookahead().type===14?(r.id=this.flowParseObjectPropertyKey(),r.key=this.flowParseTypeInitialiser()):(r.id=null,r.key=this.flowParseType()),this.expect(3),r.value=this.flowParseTypeInitialiser(),r.variance=i,this.finishNode(r,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(r,n){return r.static=n,r.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(r.method=!0,r.optional=!1,r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start))):(r.method=!1,this.eat(17)&&(r.optional=!0),r.value=this.flowParseTypeInitialiser()),this.finishNode(r,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(r){for(r.params=[],r.rest=null,r.typeParameters=null,r.this=null,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(r.this=this.flowParseFunctionTypeParam(!0),r.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),r.returnType=this.flowParseTypeInitialiser(),this.finishNode(r,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(r,n){let i=this.startNode();return r.static=n,r.value=this.flowParseObjectTypeMethodish(i),this.finishNode(r,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:r,allowExact:n,allowSpread:i,allowProto:s,allowInexact:o}){let a=this.state.inType;this.state.inType=!0;let A=this.startNode();A.callProperties=[],A.properties=[],A.indexers=[],A.internalSlots=[];let c,u,l=!1;for(n&&this.match(6)?(this.expect(6),c=9,u=!0):(this.expect(5),c=8,u=!1),A.exact=u;!this.match(c);){let g=!1,p=null,f=null,m=this.startNode();if(s&&this.isContextual(118)){let I=this.lookahead();I.type!==14&&I.type!==17&&(this.next(),p=this.state.startLoc,r=!1)}if(r&&this.isContextual(106)){let I=this.lookahead();I.type!==14&&I.type!==17&&(this.next(),g=!0)}let C=this.flowParseVariance();if(this.eat(0))p!=null&&this.unexpected(p),this.eat(0)?(C&&this.unexpected(C.loc.start),A.internalSlots.push(this.flowParseObjectTypeInternalSlot(m,g))):A.indexers.push(this.flowParseObjectTypeIndexer(m,g,C));else if(this.match(10)||this.match(47))p!=null&&this.unexpected(p),C&&this.unexpected(C.loc.start),A.callProperties.push(this.flowParseObjectTypeCallProperty(m,g));else{let I="init";if(this.isContextual(99)||this.isContextual(104)){let B=this.lookahead();SV(B.type)&&(I=this.state.value,this.next())}let y=this.flowParseObjectTypeProperty(m,g,p,C,I,i,o??!u);y===null?(l=!0,f=this.state.lastTokStartLoc):A.properties.push(y)}this.flowObjectTypeSemicolon(),f&&!this.match(8)&&!this.match(9)&&this.raise(We.UnexpectedExplicitInexactInObject,f)}this.expect(c),i&&(A.inexact=l);let d=this.finishNode(A,"ObjectTypeAnnotation");return this.state.inType=a,d}flowParseObjectTypeProperty(r,n,i,s,o,a,A){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?A||this.raise(We.InexactInsideExact,this.state.lastTokStartLoc):this.raise(We.InexactInsideNonObject,this.state.lastTokStartLoc),s&&this.raise(We.InexactVariance,s),null):(a||this.raise(We.UnexpectedSpreadType,this.state.lastTokStartLoc),i!=null&&this.unexpected(i),s&&this.raise(We.SpreadVariance,s),r.argument=this.flowParseType(),this.finishNode(r,"ObjectTypeSpreadProperty"));{r.key=this.flowParseObjectPropertyKey(),r.static=n,r.proto=i!=null,r.kind=o;let c=!1;return this.match(47)||this.match(10)?(r.method=!0,i!=null&&this.unexpected(i),s&&this.unexpected(s.loc.start),r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start)),(o==="get"||o==="set")&&this.flowCheckGetterSetterParams(r),!a&&r.key.name==="constructor"&&r.value.this&&this.raise(We.ThisParamBannedInConstructor,r.value.this)):(o!=="init"&&this.unexpected(),r.method=!1,this.eat(17)&&(c=!0),r.value=this.flowParseTypeInitialiser(),r.variance=s),r.optional=c,this.finishNode(r,"ObjectTypeProperty")}}flowCheckGetterSetterParams(r){let n=r.kind==="get"?0:1,i=r.value.params.length+(r.value.rest?1:0);r.value.this&&this.raise(r.kind==="get"?We.GetterMayNotHaveThisParam:We.SetterMayNotHaveThisParam,r.value.this),i!==n&&this.raise(r.kind==="get"?W.BadGetterArity:W.BadSetterArity,r),r.kind==="set"&&r.value.rest&&this.raise(W.BadSetterRestParameter,r)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(r,n){r??(r=this.state.startLoc);let i=n||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let s=this.startNodeAt(r);s.qualification=i,s.id=this.flowParseRestrictedIdentifier(!0),i=this.finishNode(s,"QualifiedTypeIdentifier")}return i}flowParseGenericType(r,n){let i=this.startNodeAt(r);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(r,n),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}flowParseTypeofType(){let r=this.startNode();return this.expect(87),r.argument=this.flowParsePrimaryType(),this.finishNode(r,"TypeofTypeAnnotation")}flowParseTupleType(){let r=this.startNode();for(r.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(r.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(r,"TupleTypeAnnotation")}flowParseFunctionTypeParam(r){let n=null,i=!1,s=null,o=this.startNode(),a=this.lookahead(),A=this.state.type===78;return a.type===14||a.type===17?(A&&!r&&this.raise(We.ThisParamMustBeFirst,o),n=this.parseIdentifier(A),this.eat(17)&&(i=!0,A&&this.raise(We.ThisParamMayNotBeOptional,o)),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),o.name=n,o.optional=i,o.typeAnnotation=s,this.finishNode(o,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(r){let n=this.startNodeAt(r.loc.start);return n.name=null,n.optional=!1,n.typeAnnotation=r,this.finishNode(n,"FunctionTypeParam")}flowParseFunctionTypeParams(r=[]){let n=null,i=null;for(this.match(78)&&(i=this.flowParseFunctionTypeParam(!0),i.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(n=this.flowParseFunctionTypeParam(!1)),{params:r,rest:n,_this:i}}flowIdentToTypeAnnotation(r,n,i){switch(i.name){case"any":return this.finishNode(n,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(n,"BooleanTypeAnnotation");case"mixed":return this.finishNode(n,"MixedTypeAnnotation");case"empty":return this.finishNode(n,"EmptyTypeAnnotation");case"number":return this.finishNode(n,"NumberTypeAnnotation");case"string":return this.finishNode(n,"StringTypeAnnotation");case"symbol":return this.finishNode(n,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(i.name),this.flowParseGenericType(r,i)}}flowParsePrimaryType(){let r=this.state.startLoc,n=this.startNode(),i,s,o=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,s=this.flowParseTupleType(),this.state.noAnonFunctionType=a,s;case 47:{let A=this.startNode();return A.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),i=this.flowParseFunctionTypeParams(),A.params=i.params,A.rest=i.rest,A.this=i._this,this.expect(11),this.expect(19),A.returnType=this.flowParseType(),this.finishNode(A,"FunctionTypeAnnotation")}case 10:{let A=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(ar(this.state.type)||this.match(78)){let c=this.lookahead().type;o=c!==17&&c!==14}else o=!0;if(o){if(this.state.noAnonFunctionType=!1,s=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),s;this.eat(12)}return s?i=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(s)]):i=this.flowParseFunctionTypeParams(),A.params=i.params,A.rest=i.rest,A.this=i._this,this.expect(11),this.expect(19),A.returnType=this.flowParseType(),A.typeParameters=null,this.finishNode(A,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(We.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(OT(this.state.type)){let A=Iu(this.state.type);return this.next(),super.createIdentifier(n,A)}else if(ar(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let r=this.state.startLoc,n=this.flowParsePrimaryType(),i=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let s=this.startNodeAt(r),o=this.eat(18);i=i||o,this.expect(0),!o&&this.match(3)?(s.elementType=n,this.next(),n=this.finishNode(s,"ArrayTypeAnnotation")):(s.objectType=n,s.indexType=this.flowParseType(),this.expect(3),i?(s.optional=o,n=this.finishNode(s,"OptionalIndexedAccessType")):n=this.finishNode(s,"IndexedAccessType"))}return n}flowParsePrefixType(){let r=this.startNode();return this.eat(17)?(r.typeAnnotation=this.flowParsePrefixType(),this.finishNode(r,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let r=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let n=this.startNodeAt(r.loc.start);return n.params=[this.reinterpretTypeAsFunctionTypeParam(r)],n.rest=null,n.this=null,n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation")}return r}flowParseIntersectionType(){let r=this.startNode();this.eat(45);let n=this.flowParseAnonFunctionWithoutParens();for(r.types=[n];this.eat(45);)r.types.push(this.flowParseAnonFunctionWithoutParens());return r.types.length===1?n:this.finishNode(r,"IntersectionTypeAnnotation")}flowParseUnionType(){let r=this.startNode();this.eat(43);let n=this.flowParseIntersectionType();for(r.types=[n];this.eat(43);)r.types.push(this.flowParseIntersectionType());return r.types.length===1?n:this.finishNode(r,"UnionTypeAnnotation")}flowParseType(){let r=this.state.inType;this.state.inType=!0;let n=this.flowParseUnionType();return this.state.inType=r,n}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let r=this.state.startLoc,n=this.parseIdentifier();return this.flowParseGenericType(r,n)}else return this.flowParseType()}flowParseTypeAnnotation(){let r=this.startNode();return r.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(r,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(r){let n=r?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(n)),n}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}flowParseVariance(){let r=null;return this.match(53)?(r=this.startNode(),this.state.value==="+"?r.kind="plus":r.kind="minus",this.next(),this.finishNode(r,"Variance")):r}parseFunctionBody(r,n,i=!1){if(n){this.forwardNoArrowParamsConversionAt(r,()=>super.parseFunctionBody(r,!0,i));return}super.parseFunctionBody(r,!1,i)}parseFunctionBodyAndFinish(r,n,i=!1){if(this.match(14)){let s=this.startNode();[s.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.returnType=s.typeAnnotation?this.finishNode(s,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(r,n,i)}parseStatementLike(r){if(this.state.strict&&this.isContextual(129)){let i=this.lookahead();if(Xo(i.type)){let s=this.startNode();return this.next(),this.flowParseInterface(s)}}else if(this.isContextual(126)){let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}let n=super.parseStatementLike(r);return this.flowPragma===void 0&&!this.isValidDirective(n)&&(this.flowPragma=null),n}parseExpressionStatement(r,n,i){if(n.type==="Identifier"){if(n.name==="declare"){if(this.match(80)||ar(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(r)}else if(ar(this.state.type)){if(n.name==="interface")return this.flowParseInterface(r);if(n.name==="type")return this.flowParseTypeAlias(r);if(n.name==="opaque")return this.flowParseOpaqueType(r,!1)}}return super.parseExpressionStatement(r,n,i)}shouldParseExportDeclaration(){let{type:r}=this.state;return r===126||mV(r)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:r}=this.state;return r===126||mV(r)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}return super.parseExportDefaultExpression()}parseConditional(r,n,i){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(i),r}this.expect(17);let s=this.state.clone(),o=this.state.noArrowAt,a=this.startNodeAt(n),{consequent:A,failed:c}=this.tryParseConditionalConsequent(),[u,l]=this.getArrowLikeExpressions(A);if(c||l.length>0){let d=[...o];if(l.length>0){this.state=s,this.state.noArrowAt=d;for(let g=0;g<l.length;g++)d.push(l[g].start);({consequent:A,failed:c}=this.tryParseConditionalConsequent()),[u,l]=this.getArrowLikeExpressions(A)}c&&u.length>1&&this.raise(We.AmbiguousConditionalArrow,s.startLoc),c&&u.length===1&&(this.state=s,d.push(u[0].start),this.state.noArrowAt=d,{consequent:A,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(A,!0),this.state.noArrowAt=o,this.expect(14),a.test=r,a.consequent=A,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let r=this.parseMaybeAssignAllowIn(),n=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:r,failed:n}}getArrowLikeExpressions(r,n){let i=[r],s=[];for(;i.length!==0;){let o=i.pop();o.type==="ArrowFunctionExpression"&&o.body.type!=="BlockStatement"?(o.typeParameters||!o.returnType?this.finishArrowValidation(o):s.push(o),i.push(o.body)):o.type==="ConditionalExpression"&&(i.push(o.consequent),i.push(o.alternate))}return n?(s.forEach(o=>this.finishArrowValidation(o)),[s,[]]):nLe(s,o=>o.params.every(a=>this.isAssignable(a,!0)))}finishArrowValidation(r){var n;this.toAssignableList(r.params,(n=r.extra)==null?void 0:n.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(r,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(r,n){let i;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),i=n(),this.state.noArrowParamsConversionAt.pop()):i=n(),i}parseParenItem(r,n){let i=super.parseParenItem(r,n);if(this.eat(17)&&(i.optional=!0,this.resetEndLocation(r)),this.match(14)){let s=this.startNodeAt(n);return s.expression=i,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"TypeCastExpression")}return i}assertModuleNodeAllowed(r){r.type==="ImportDeclaration"&&(r.importKind==="type"||r.importKind==="typeof")||r.type==="ExportNamedDeclaration"&&r.exportKind==="type"||r.type==="ExportAllDeclaration"&&r.exportKind==="type"||super.assertModuleNodeAllowed(r)}parseExportDeclaration(r){if(this.isContextual(130)){r.exportKind="type";let n=this.startNode();return this.next(),this.match(5)?(r.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(r),null):this.flowParseTypeAlias(n)}else if(this.isContextual(131)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseOpaqueType(n,!1)}else if(this.isContextual(129)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseInterface(n)}else if(this.isContextual(126)){r.exportKind="value";let n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}else return super.parseExportDeclaration(r)}eatExportStar(r){return super.eatExportStar(r)?!0:this.isContextual(130)&&this.lookahead().type===55?(r.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(r){let{startLoc:n}=this.state,i=super.maybeParseExportNamespaceSpecifier(r);return i&&r.exportKind==="type"&&this.unexpected(n),i}parseClassId(r,n,i){super.parseClassId(r,n,i),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(r,n,i){let{startLoc:s}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(r,n))return;n.declare=!0}super.parseClassMember(r,n,i),n.declare&&(n.type!=="ClassProperty"&&n.type!=="ClassPrivateProperty"&&n.type!=="PropertyDefinition"?this.raise(We.DeclareClassElement,s):n.value&&this.raise(We.DeclareClassFieldInitializer,n.value))}isIterator(r){return r==="iterator"||r==="asyncIterator"}readIterator(){let r=super.readWord1(),n="@@"+r;(!this.isIterator(r)||!this.state.inType)&&this.raise(W.InvalidIdentifier,this.state.curPosition(),{identifierName:n}),this.finishToken(132,n)}getTokenFromCode(r){let n=this.input.charCodeAt(this.state.pos+1);r===123&&n===124?this.finishOp(6,2):this.state.inType&&(r===62||r===60)?this.finishOp(r===62?48:47,1):this.state.inType&&r===63?n===46?this.finishOp(18,2):this.finishOp(17,1):z1e(r,n,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(r)}isAssignable(r,n){return r.type==="TypeCastExpression"?this.isAssignable(r.expression,n):super.isAssignable(r,n)}toAssignable(r,n=!1){!n&&r.type==="AssignmentExpression"&&r.left.type==="TypeCastExpression"&&(r.left=this.typeCastToParameter(r.left)),super.toAssignable(r,n)}toAssignableList(r,n,i){for(let s=0;s<r.length;s++){let o=r[s];o?.type==="TypeCastExpression"&&(r[s]=this.typeCastToParameter(o))}super.toAssignableList(r,n,i)}toReferencedList(r,n){for(let s=0;s<r.length;s++){var i;let o=r[s];o&&o.type==="TypeCastExpression"&&!((i=o.extra)!=null&&i.parenthesized)&&(r.length>1||!n)&&this.raise(We.TypeCastInPattern,o.typeAnnotation)}return r}parseArrayLike(r,n,i){let s=super.parseArrayLike(r,n,i);return i!=null&&!this.state.maybeInArrowParameters&&this.toReferencedList(s.elements),s}isValidLVal(r,n,i,s){return r==="TypeCastExpression"||super.isValidLVal(r,n,i,s)}parseClassProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(r)}parseClassPrivateProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(r){return!this.match(14)&&super.isNonstaticConstructor(r)}pushClassMethod(r,n,i,s,o,a){if(n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(r,n,i,s,o,a),n.params&&o){let A=n.params;A.length>0&&this.isThisParam(A[0])&&this.raise(We.ThisParamBannedInConstructor,n)}else if(n.type==="MethodDefinition"&&o&&n.value.params){let A=n.value.params;A.length>0&&this.isThisParam(A[0])&&this.raise(We.ThisParamBannedInConstructor,n)}}pushClassPrivateMethod(r,n,i,s){n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(r,n,i,s)}parseClassSuper(r){if(super.parseClassSuper(r),r.superClass&&(this.match(47)||this.match(51))&&(r.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let n=r.implements=[];do{let i=this.startNode();i.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?i.typeParameters=this.flowParseTypeParameterInstantiation():i.typeParameters=null,n.push(this.finishNode(i,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(r){super.checkGetterSetterParams(r);let n=this.getObjectOrClassMethodParams(r);if(n.length>0){let i=n[0];this.isThisParam(i)&&r.kind==="get"?this.raise(We.GetterMayNotHaveThisParam,i):this.isThisParam(i)&&this.raise(We.SetterMayNotHaveThisParam,i)}}parsePropertyNamePrefixOperator(r){r.variance=this.flowParseVariance()}parseObjPropValue(r,n,i,s,o,a,A){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance;let c;this.match(47)&&!a&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let u=super.parseObjPropValue(r,n,i,s,o,a,A);return c&&((u.value||u).typeParameters=c),u}parseFunctionParamType(r){return this.eat(17)&&(r.type!=="Identifier"&&this.raise(We.PatternIsOptional,r),this.isThisParam(r)&&this.raise(We.ThisParamMayNotBeOptional,r),r.optional=!0),this.match(14)?r.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(r)&&this.raise(We.ThisParamAnnotationRequired,r),this.match(29)&&this.isThisParam(r)&&this.raise(We.ThisParamNoDefault,r),this.resetEndLocation(r),r}parseMaybeDefault(r,n){let i=super.parseMaybeDefault(r,n);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(We.TypeBeforeInitializer,i.typeAnnotation),i}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(We.ImportReflectionHasImportType,r.specifiers[0].loc.start)}parseImportSpecifierLocal(r,n,i){n.local=CV(r)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(n,i))}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){if(!r)return!0;let n=this.lookaheadCharCode();return n===123||n===42}return!r&&this.isContextual(87)}applyImportPhase(r,n,i,s){if(super.applyImportPhase(r,n,i,s),n){if(!i&&this.match(65))return;r.exportKind=i==="type"?i:"value"}else i==="type"&&this.match(55)&&this.unexpected(),r.importKind=i==="type"||i==="typeof"?i:"value"}parseImportSpecifier(r,n,i,s,o){let a=r.imported,A=null;a.type==="Identifier"&&(a.name==="type"?A="type":a.name==="typeof"&&(A="typeof"));let c=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let l=this.parseIdentifier(!0);A!==null&&!Xo(this.state.type)?(r.imported=l,r.importKind=A,r.local=this.cloneIdentifier(l)):(r.imported=a,r.importKind=null,r.local=this.parseIdentifier())}else{if(A!==null&&Xo(this.state.type))r.imported=this.parseIdentifier(!0),r.importKind=A;else{if(n)throw this.raise(W.ImportBindingIsString,r,{importName:a.value});r.imported=a,r.importKind=null}this.eatContextual(93)?r.local=this.parseIdentifier():(c=!0,r.local=this.cloneIdentifier(r.imported))}let u=CV(r);return i&&u&&this.raise(We.ImportTypeShorthandOnlyInPureImport,r),(i||u)&&this.checkReservedType(r.local.name,r.local.loc.start,!0),c&&!i&&!u&&this.checkReservedWord(r.local.name,r.loc.start,!0,!0),this.finishImportSpecifier(r,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(r,n){let i=r.kind;i!=="get"&&i!=="set"&&this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),this.match(14)&&(r.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){if(this.match(14)){let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,r.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=i}return super.parseAsyncArrowFromCallExpression(r,n)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(r,n){var i;let s=null,o;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(s=this.state.clone(),o=this.tryParse(()=>super.parseMaybeAssign(r,n),s),!o.error)return o.node;let{context:c}=this.state,u=c[c.length-1];(u===nr.j_oTag||u===nr.j_expr)&&c.pop()}if((i=o)!=null&&i.error||this.match(47)){var a,A;s=s||this.state.clone();let c,u=this.tryParse(d=>{var g;c=this.flowParseTypeParameterDeclaration();let p=this.forwardNoArrowParamsConversionAt(c,()=>{let m=super.parseMaybeAssign(r,n);return this.resetStartLocationFromNode(m,c),m});(g=p.extra)!=null&&g.parenthesized&&d();let f=this.maybeUnwrapTypeCastExpression(p);return f.type!=="ArrowFunctionExpression"&&d(),f.typeParameters=c,this.resetStartLocationFromNode(f,c),p},s),l=null;if(u.node&&this.maybeUnwrapTypeCastExpression(u.node).type==="ArrowFunctionExpression"){if(!u.error&&!u.aborted)return u.node.async&&this.raise(We.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),u.node;l=u.node}if((a=o)!=null&&a.node)return this.state=o.failState,o.node;if(l)return this.state=u.failState,l;throw(A=o)!=null&&A.thrown?o.error:u.thrown?u.error:this.raise(We.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(()=>{let i=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let s=this.startNode();return[s.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=i,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s});if(n.thrown)return null;n.error&&(this.state=n.failState),r.returnType=n.node.typeAnnotation?this.finishNode(n.node,"TypeAnnotation"):null}return super.parseArrow(r)}shouldParseArrow(r){return this.match(14)||super.shouldParseArrow(r)}setArrowFunctionParameters(r,n){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start))?r.params=n:super.setArrowFunctionParameters(r,n)}checkParams(r,n,i,s=!0){if(!(i&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start)))){for(let o=0;o<r.params.length;o++)this.isThisParam(r.params[o])&&o>0&&this.raise(We.ThisParamMustBeFirst,r.params[o]);super.checkParams(r,n,i,s)}}parseParenAndDistinguishExpression(r){return super.parseParenAndDistinguishExpression(r&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(r,n,i){if(r.type==="Identifier"&&r.name==="async"&&this.state.noArrowAt.includes(n.index)){this.next();let s=this.startNodeAt(n);s.callee=r,s.arguments=super.parseCallExpressionArguments(),r=this.finishNode(s,"CallExpression")}else if(r.type==="Identifier"&&r.name==="async"&&this.match(47)){let s=this.state.clone(),o=this.tryParse(A=>this.parseAsyncArrowWithTypeParameters(n)||A(),s);if(!o.error&&!o.aborted)return o.node;let a=this.tryParse(()=>super.parseSubscripts(r,n,i),s);if(a.node&&!a.error)return a.node;if(o.node)return this.state=o.failState,o.node;if(a.node)return this.state=a.failState,a.node;throw o.error||a.error}return super.parseSubscripts(r,n,i)}parseSubscript(r,n,i,s){if(this.match(18)&&this.isLookaheadToken_lt()){if(s.optionalChainMember=!0,i)return s.stop=!0,r;this.next();let o=this.startNodeAt(n);return o.callee=r,o.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),o.arguments=this.parseCallExpressionArguments(),o.optional=!0,this.finishCallExpression(o,!0)}else if(!i&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let o=this.startNodeAt(n);o.callee=r;let a=this.tryParse(()=>(o.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),o.arguments=super.parseCallExpressionArguments(),s.optionalChainMember&&(o.optional=!1),this.finishCallExpression(o,s.optionalChainMember)));if(a.node)return a.error&&(this.state=a.failState),a.node}return super.parseSubscript(r,n,i,s)}parseNewCallee(r){super.parseNewCallee(r);let n=null;this.shouldParseTypes()&&this.match(47)&&(n=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),r.typeArguments=n}parseAsyncArrowWithTypeParameters(r){let n=this.startNodeAt(r);if(this.parseFunctionParams(n,!1),!!this.parseArrow(n))return super.parseArrowExpression(n,void 0,!0)}readToken_mult_modulo(r){let n=this.input.charCodeAt(this.state.pos+1);if(r===42&&n===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(r)}readToken_pipe_amp(r){let n=this.input.charCodeAt(this.state.pos+1);if(r===124&&n===125){this.finishOp(9,2);return}super.readToken_pipe_amp(r)}parseTopLevel(r,n){let i=super.parseTopLevel(r,n);return this.state.hasFlowComment&&this.raise(We.UnterminatedFlowComment,this.state.curPosition()),i}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(We.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let r=this.skipFlowComment();r&&(this.state.pos+=r,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:r}=this.state,n=2;for(;[32,9].includes(this.input.charCodeAt(r+n));)n++;let i=this.input.charCodeAt(n+r),s=this.input.charCodeAt(n+r+1);return i===58&&s===58?n+2:this.input.slice(n+r,n+r+12)==="flow-include"?n+12:i===58&&s!==58?n:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(W.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(r,{enumName:n,memberName:i}){this.raise(We.EnumBooleanMemberNotInitialized,r,{memberName:i,enumName:n})}flowEnumErrorInvalidMemberInitializer(r,n){return this.raise(n.explicitType?n.explicitType==="symbol"?We.EnumInvalidMemberInitializerSymbolType:We.EnumInvalidMemberInitializerPrimaryType:We.EnumInvalidMemberInitializerUnknownType,r,n)}flowEnumErrorNumberMemberNotInitialized(r,n){this.raise(We.EnumNumberMemberNotInitialized,r,n)}flowEnumErrorStringMemberInconsistentlyInitialized(r,n){this.raise(We.EnumStringMemberInconsistentlyInitialized,r,n)}flowEnumMemberInit(){let r=this.state.startLoc,n=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let i=this.parseNumericLiteral(this.state.value);return n()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:r}}case 134:{let i=this.parseStringLiteral(this.state.value);return n()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:r}}case 85:case 86:{let i=this.parseBooleanLiteral(this.match(85));return n()?{type:"boolean",loc:i.loc.start,value:i}:{type:"invalid",loc:r}}default:return{type:"invalid",loc:r}}}flowEnumMemberRaw(){let r=this.state.startLoc,n=this.parseIdentifier(!0),i=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:r};return{id:n,init:i}}flowEnumCheckExplicitTypeMismatch(r,n,i){let{explicitType:s}=n;s!==null&&s!==i&&this.flowEnumErrorInvalidMemberInitializer(r,n)}flowEnumMembers({enumName:r,explicitType:n}){let i=new Set,s={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},o=!1;for(;!this.match(8);){if(this.eat(21)){o=!0;break}let a=this.startNode(),{id:A,init:c}=this.flowEnumMemberRaw(),u=A.name;if(u==="")continue;/^[a-z]/.test(u)&&this.raise(We.EnumInvalidMemberName,A,{memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:r}),i.has(u)&&this.raise(We.EnumDuplicateMemberName,A,{memberName:u,enumName:r}),i.add(u);let l={enumName:r,explicitType:n,memberName:u};switch(a.id=A,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,l,"boolean"),a.init=c.value,s.booleanMembers.push(this.finishNode(a,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,l,"number"),a.init=c.value,s.numberMembers.push(this.finishNode(a,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,l,"string"),a.init=c.value,s.stringMembers.push(this.finishNode(a,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,l);case"none":switch(n){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,l);break;default:s.defaultedMembers.push(this.finishNode(a,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:s,hasUnknownMembers:o}}flowEnumStringMembers(r,n,{enumName:i}){if(r.length===0)return n;if(n.length===0)return r;if(n.length>r.length){for(let s of r)this.flowEnumErrorStringMemberInconsistentlyInitialized(s,{enumName:i});return n}else{for(let s of n)this.flowEnumErrorStringMemberInconsistentlyInitialized(s,{enumName:i});return r}}flowEnumParseExplicitType({enumName:r}){if(!this.eatContextual(102))return null;if(!ar(this.state.type))throw this.raise(We.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:r});let{value:n}=this.state;return this.next(),n!=="boolean"&&n!=="number"&&n!=="string"&&n!=="symbol"&&this.raise(We.EnumInvalidExplicitType,this.state.startLoc,{enumName:r,invalidEnumType:n}),n}flowEnumBody(r,n){let i=n.name,s=n.loc.start,o=this.flowEnumParseExplicitType({enumName:i});this.expect(5);let{members:a,hasUnknownMembers:A}=this.flowEnumMembers({enumName:i,explicitType:o});switch(r.hasUnknownMembers=A,o){case"boolean":return r.explicitType=!0,r.members=a.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody");case"number":return r.explicitType=!0,r.members=a.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody");case"string":return r.explicitType=!0,r.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(r,"EnumStringBody");case"symbol":return r.members=a.defaultedMembers,this.expect(8),this.finishNode(r,"EnumSymbolBody");default:{let c=()=>(r.members=[],this.expect(8),this.finishNode(r,"EnumStringBody"));r.explicitType=!1;let u=a.booleanMembers.length,l=a.numberMembers.length,d=a.stringMembers.length,g=a.defaultedMembers.length;if(!u&&!l&&!d&&!g)return c();if(!u&&!l)return r.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(r,"EnumStringBody");if(!l&&!d&&u>=g){for(let p of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(p.loc.start,{enumName:i,memberName:p.id.name});return r.members=a.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody")}else if(!u&&!d&&l>=g){for(let p of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(p.loc.start,{enumName:i,memberName:p.id.name});return r.members=a.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody")}else return this.raise(We.EnumInconsistentMemberValues,s,{enumName:i}),c()}}}flowParseEnumDeclaration(r){let n=this.parseIdentifier();return r.id=n,r.body=this.flowEnumBody(this.startNode(),n),this.finishNode(r,"EnumDeclaration")}jsxParseOpeningElementAfterName(r){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(r.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(r)}isLookaheadToken_lt(){let r=this.nextTokenStart();if(this.input.charCodeAt(r)===60){let n=this.input.charCodeAt(r+1);return n!==60&&n!==61}return!1}reScan_lt_gt(){let{type:r}=this.state;r===47?(this.state.pos-=1,this.readToken_lt()):r===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:r}=this.state;return r===51?(this.state.pos-=2,this.finishOp(47,1),47):r}maybeUnwrapTypeCastExpression(r){return r.type==="TypeCastExpression"?r.expression:r}},oLe={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},aLe=/\r\n|[\r\n\u2028\u2029]/,EQ=new RegExp(aLe.source,"g");function Qd(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function IV(t,e,r){for(let n=e;n<r;n++)if(Qd(t.charCodeAt(n)))return!0;return!1}var cT=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,uT=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function ALe(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var pg=eA`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:t})=>`Expected corresponding JSX closing tag for <${t}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:t,HTMLEntity:e})=>`Unexpected token \`${t}\`. Did you mean \`${e}\` or \`{'${t}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Cu(t){return t?t.type==="JSXOpeningFragment"||t.type==="JSXClosingFragment":!1}function yd(t){if(t.type==="JSXIdentifier")return t.name;if(t.type==="JSXNamespacedName")return t.namespace.name+":"+t.name.name;if(t.type==="JSXMemberExpression")return yd(t.object)+"."+yd(t.property);throw new Error("Node had unexpected type: "+t.type)}var cLe=t=>class extends t{jsxReadToken(){let r="",n=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(pg.UnterminatedJsxContent,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);switch(i){case 60:case 123:if(this.state.pos===this.state.start){i===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(i);return}r+=this.input.slice(n,this.state.pos),this.finishToken(142,r);return;case 38:r+=this.input.slice(n,this.state.pos),r+=this.jsxReadEntity(),n=this.state.pos;break;default:Qd(i)?(r+=this.input.slice(n,this.state.pos),r+=this.jsxReadNewLine(!0),n=this.state.pos):++this.state.pos}}}jsxReadNewLine(r){let n=this.input.charCodeAt(this.state.pos),i;return++this.state.pos,n===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,i=r?`
1114
1114
  `:`\r
@@ -1276,7 +1276,7 @@ Restarting server after Builder Devtools update...
1276
1276
  <h3>How's Devtools working for you?</h3>
1277
1277
  <p>We'd love your feedback!</p>
1278
1278
  </div>
1279
- \`,t.appendChild(e),setTimeout(()=>{e.classList.add("menu-toggle-tooltip-show"),e.addEventListener("click",()=>{e.classList.remove("menu-toggle-tooltip-show")})},1e3)};function ui(t){t.getElementById("go-to-builder").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Ee(t,!1),window.open(Ur(),"builder")}),t.getElementById("components-link").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation();let c=t.querySelector(".nav-cmp-list .section-content");c.scrollTop=0,oe(t,"nav-cmp-list"),ai(t)}),t.getElementById("settings-link").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),oe(t,"nav-settings")}),t.getElementById("add-page-link").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Ee(t,!1),window.open(je(),"builder")}),t.getElementById("import-from-figma").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Ee(t,!1),window.open("https://www.figma.com/community/plugin/747985167520967365/builder-io-ai-powered-figma-to-code-react-vue-tailwind-more")})}function ci(t){let e=t.getElementById("enable-edit");e.addEventListener("change",r=>{r.stopPropagation(),Ht(e.checked)}),e.checked=it(),Ht(e.checked)}var Dt=class extends HTMLElement{constructor(){super()}connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=\`<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}.menu-toggle{position:absolute;right:0;bottom:0;pointer-events:auto;padding:8px;background:transparent;border:none;appearance:none}.menu-toggle div{position:relative;width:64px;height:64px;pointer-events:none;border-radius:50%;background:#000;border:1px solid white;box-shadow:#00000054 0 0 8px}.menu-toggle:hover div{background-color:var(--background-color);border:1px solid rgb(220,220,220)}.menu-toggle svg{position:absolute;top:15px;left:15px;width:33px;height:32px}div.highlight-bg{position:absolute;top:-1px;left:-1px;background-color:#1a1a1a;pointer-events:none;transition:all .4s ease-out;opacity:0}.menu-toggle-highlight-no-transition div.highlight-bg{transition:none}.menu-toggle-highlight div.highlight-bg{opacity:1}.menu-toggle-tooltip{position:absolute;bottom:0;right:0;width:382px;height:72px;padding:0;text-align:left;appearance:none;background-color:transparent;border:none;pointer-events:none;transform:translate3d(320px,0,0);opacity:0;transition:all .15s ease-in-out;color:#fff}.menu-toggle-tooltip.menu-toggle-tooltip-show{pointer-events:auto;opacity:1;transform:translateZ(0)}.menu-toggle-tooltip-content{position:absolute;inset:0 95px 10px 0;padding:8px 12px;background-color:var(--primary-color);box-shadow:#00000054 0 0 20px;border-radius:2px}.menu-toggle-tooltip-content:before{content:"";position:absolute;bottom:15px;right:-6px;width:30px;height:30px;background-color:var(--primary-color);transform:rotate(45deg)}.menu-toggle-tooltip:hover .menu-toggle-tooltip-content,.menu-toggle-tooltip:hover .menu-toggle-tooltip-content:before{background-color:var(--primary-color-highlight)}.menu-toggle-tooltip-content h3{margin:0;font-size:16px}.menu-toggle-tooltip-content p{margin:0;font-size:12px}section{position:absolute;display:grid;grid-template-rows:64px auto 64px;top:0;left:0;width:100%;height:100%;padding:0;pointer-events:none}.section-content{margin:0;padding:0 0 10px;font-weight:300;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;overflow-y:auto}.section-content .error{color:var(--error-color);font-weight:700}section a{text-decoration:none;color:var(--text-color)}section h3,section p{margin-left:16px;margin-right:16px}.info{font-size:12px}ul.list{list-style:none;padding:0;margin:0}ul.list li{display:block;padding:0;margin:0}ul.list a,ul.list button{display:grid;grid-template-columns:24px auto;grid-gap:16px;padding:12px;margin:8px 0;border:none;background:transparent;appearance:none;width:100%;font-weight:300;text-align:left;text-decoration:none;color:var(--text-color)}ul.list a:hover,ul.list button:hover{text-decoration:none;color:var(--text-color);background-color:var(--button-background-color-hover)}ul.list a span,ul.list button span{display:block;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header{position:relative;display:grid;grid-template-columns:44px 1fr;gap:8px;padding-left:8px;border-bottom:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}header>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-home header>div{margin-right:56px}header h2{margin:7px 0 0;font-size:18px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p{margin:2px 0 0;font-size:12px;font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button{display:block;margin:0;padding:0;width:100%;font-size:12px;font-weight:300;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button:hover{text-decoration:underline;color:var(--primary-color)}.builder-logo{margin:12px 0 0 8px}#close{display:block;position:absolute;appearance:none;background:transparent;border:none;border-radius:50%;margin:0;padding:0;right:4px;top:8px;width:48px;height:48px;z-index:1;opacity:.7}#close:hover{opacity:1;background-color:var(--button-background-color-hover)}#close svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}.back-button{position:relative;display:block;margin:7px 0 0 -2px;width:48px;height:48px;background:transparent;border:none;appearance:none;border-radius:50%}.back-button:hover{background-color:var(--button-background-color-hover)}.back-button svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}footer{border-top:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}section.nav-cmp-list{grid-template-rows:64px auto 120px}footer a{text-decoration:underline;color:var(--primary-color)}footer a:hover{color:var(--primary-color);text-decoration:none}.nav-list{padding:2px 0}.nav-loading{pointer-events:none}.nav-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.nav-loading .nav-loading-icon{opacity:.5}.nav-list h4{margin:8px 8px 8px 10px;font-size:14px;font-weight:600}.nav-list .nav-list-item+h4{margin-top:30px}.nav-list-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin:2px 0;padding:8px 28px 8px 46px;width:100%;font-size:14px;font-weight:300;text-align:left;border:none;background:transparent;appearance:none}.nav-list-item:hover{background-color:var(--button-background-color-hover)}.nav-list-item-icon{position:absolute;top:4px;left:10px;width:24px;height:24px;object-fit:contain;filter:invert(100%);background-size:24px 24px;background-repeat:no-repeat;background-position:center center}.nav-list-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.nav-list-item:after{display:block;position:absolute;content:"";background-image:url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23F2F2F2" stroke-opacity="0.5" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');background-repeat:no-repeat;background-position:12px 9px;top:0;right:0;width:32px;height:32px;pointer-events:none}.nav-list-item-note{opacity:0;font-size:12px;padding-top:1px;text-align:right}.nav-list-item:hover .nav-list-item-note{opacity:.5}.ui-select{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-select h3{margin:0;font-size:14px;font-weight:500}.ui-select p{margin:8px 0;font-size:12px;font-weight:300}.ui-select .select{position:relative;margin:8px 0;border-radius:4px;padding:0;line-height:1.1;overflow:hidden;border:1px solid var(--border-color)}.ui-select select{appearance:none;background-color:transparent;border:none;outline:none;padding:8px 32px 8px 8px;margin:0;width:100%;font-size:14px;cursor:pointer;text-overflow:ellipsis;opacity:.6;color:var(--text-color)}.ui-select .select:after{content:"";top:6px;right:5px;width:24px;height:24px;position:absolute;background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F2F2" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>');background-repeat:no-repeat;background-position:center;pointer-events:none;opacity:.6}.ui-select .select:hover{border-color:var(--primary-color-subdued)}.ui-text-input .select:focus-within{border-color:var(--primary-color)}.ui-text-input .select:focus-within select{opacity:1}.spinner:after{content:" ";display:block;width:32px;height:32px;margin:0 auto;pointer-events:auto;border-radius:50%;border:3px solid var(--text-color);border-color:var(--text-color) transparent var(--text-color) transparent;animation:spinner .75s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-switch{display:grid;grid-template-columns:auto 48px;grid-gap:20px;margin:8px 0 16px;padding:8px 0 8px 16px;cursor:pointer}.ui-switch>*{pointer-events:none}.ui-switch input{display:none;visibility:hidden}.ui-switch .switcher{display:inline-block;border-radius:100px;width:35px;height:14px;background-color:#ccc;position:relative;top:6px;vertical-align:middle;cursor:pointer}.ui-switch input[type=checkbox]:checked+.switcher{background-color:var(--primary-color-subdued)}.ui-switch .switcher:before{content:"";display:block;width:20px;height:20px;background-color:var(--text-color);box-shadow:0 1px 3px #0009;border-radius:50%;position:absolute;top:-3px;left:0;margin-right:0;transition:all .15s}.ui-switch input[type=checkbox]:checked+.switcher:before{left:100%;margin-left:-20px;background-color:var(--primary-color)}.ui-switch h3{margin:0;font-size:14px;font-weight:500}.ui-switch p{margin:4px 0 0;font-size:12px;font-weight:300}.ui-text-input{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-text-input h3{margin:0;font-size:14px;font-weight:500}.ui-text-input p{margin:8px 0;font-size:12px;font-weight:300}.ui-text-input .input{position:relative;margin:8px 0;border:1px solid var(--border-color);border-radius:4px;background:transparent;padding:2px;overflow:hidden}.ui-text-input input{display:block;width:235px;font-size:14px;border:none;background:transparent;padding:6px;appearance:none;color:var(--text-color);opacity:.6;outline:none}.ui-text-input .input:hover{border-color:var(--primary-color-subdued)}.ui-text-input .input:focus-within{border-color:var(--primary-color)}.ui-text-input .input:focus-within input{opacity:1}.ui-text-input .input:after{content:"";position:absolute;top:5px;right:14px;width:8px;height:17px;border:2px solid rgba(51,181,51,1);border-top:none;border-left:none;transform:rotate(45deg);opacity:0;transition:opacity 80ms ease-in-out;pointer-events:none}.ui-text-input.saved .input:after{opacity:1}.ui-toast{position:fixed;bottom:8px;left:8px;right:8px;padding:6px 12px;font-size:14px;border-radius:4px;transform:translate3d(0,150%,0);opacity:0;transition:all var(--transition-time) ease-in-out;background-color:var(--primary-color-subdued);color:var(--text-color);pointer-events:none}.ui-toast.ui-toast-show{transform:translateZ(0);opacity:1;pointer-events:auto}[data-view=nav-home] .nav-home .section-content,[data-view=nav-cmp-list] .nav-cmp-list .section-content,[data-view=nav-cmp-detail] .nav-cmp-detail .section-content,[data-view=nav-cmp-input] .nav-cmp-input .section-content,[data-view=nav-settings] .nav-settings .section-content{transform:translateZ(0);pointer-events:auto}[data-view=nav-home] .nav-home header,[data-view=nav-home] .nav-home footer,[data-view=nav-cmp-list] .nav-cmp-list header,[data-view=nav-cmp-list] .nav-cmp-list footer,[data-view=nav-cmp-detail] .nav-cmp-detail header,[data-view=nav-cmp-detail] .nav-cmp-detail footer,[data-view=nav-cmp-input] .nav-cmp-input header,[data-view=nav-cmp-input] .nav-cmp-input footer,[data-view=nav-settings] .nav-settings header,[data-view=nav-settings] .nav-settings footer{opacity:1;pointer-events:auto}[data-view=nav-cmp-list] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-home .section-content,[data-view=nav-cmp-input] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-cmp-detail .section-content,[data-view=nav-settings] .nav-home .section-content{transform:translate3d(-105%,0,0)}.cmp-item .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.83 16.809C20.94 16.561 21 16.289 21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L7.988 3.99001M5.441 5.44801L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L18.544 18.56" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.532 10.538L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.27002 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3L21 21" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');opacity:.3}.cmp-item.registered .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /></svg>');opacity:.8}.search-highlight{background-color:var(--primary-color-alpha);padding:0 2px;border-radius:2px;font-weight:500}.search-container{position:sticky;top:0;z-index:10;padding:12px 16px;background:var(--background-color);border-bottom:1px solid var(--border-color)}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:var(--text-color-secondary);pointer-events:none}.component-search-input{width:100%;height:36px;padding:8px 36px;border:1px solid var(--border-color);border-radius:6px;background:var(--input-background);color:var(--text-color);font-size:14px;transition:border-color .2s,box-shadow .2s}.component-search-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px var(--primary-color-alpha)}.component-search-input::placeholder{color:var(--text-color-tertiary)}.clear-search-button{position:absolute;right:8px;padding:4px;color:var(--text-color-secondary);border:none;background:transparent;border-radius:4px;cursor:pointer;opacity:0;transition:opacity .2s,background-color .2s;display:flex;align-items:center;justify-content:center}.clear-search-button:hover{background-color:var(--hover-color)}.component-search-input:not(:placeholder-shown)+.clear-search-button{opacity:1}.no-results{padding:32px 16px;text-align:center;color:var(--text-color-secondary);font-size:14px}#cmp-detail{position:relative}.cmp-loading{pointer-events:none!important}.cmp-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.cmp-loading .cmp-loading-icon{opacity:.5}.cmp-cover{position:absolute;top:160px;left:0;width:100%;height:100vh;background:var(--background-color);transform:translateZ(0);pointer-events:none;display:none}[data-view=nav-cmp-detail] .cmp-cover{display:block;pointer-events:auto}.cmp-enabled .cmp-cover{transform:translate3d(0,105%,0);pointer-events:none}.section-ready .cmp-cover{transition:all var(--transition-time) ease-in-out}.cmp-detail-inputs-container{margin:8px 0 16px;padding:0}.cmp-detail-inputs-container h3{margin:0 0 6px;padding-left:16px;padding-right:8px;font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}.cmp-detail-inputs-reload{font-weight:300;font-size:.9em;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-detail-inputs-reload:hover{text-decoration:underline;color:var(--primary-color)}.cmp-detail-inputs-container .cmp-inputs-empty{padding:0;margin-top:12px;font-size:12px;font-weight:300;opacity:.5;font-style:italic}.cmp-detail-inputs-container .nav-list-item-icon{opacity:.8;background-size:20px 20px;background-position:4px center}.input-icon{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path></svg>')}.input-icon-array{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-6a2 2 0 1 1 4 0v6"></path> <path d="M10 13h4"></path></svg>')}.input-icon-boolean{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16h2a2 2 0 1 0 0 -4h-2h2a2 2 0 1 0 0 -4h-2v8z"></path></svg>')}.input-icon-number{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-8l4 8v-8"></path></svg>')}.input-icon-object{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2z"></path></svg>')}.input-icon-string{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1"></path></svg>')}.cmp-input-item-unregistered{opacity:.4}.cmp-input-item-unregistered .input-icon:after{content:"";position:absolute;top:11px;left:4px;width:20px;height:2px;background-color:#000;transform:rotate(-45deg)}.cmp-prop-info{border-bottom:1px solid var(--border-color)}.cmp-input-readonly{margin:16px 0;padding:0 16px;display:grid;grid-template-columns:50% 50%;gap:12px}.cmp-input-readonly h3{margin:0;font-size:14px;font-weight:500}.cmp-input-readonly span{margin-top:2px;font-size:12px;font-weight:300;opacity:.8}.cmp-input-detail{margin:16px 0}.cmp-input-detail a{color:var(--primary-color);text-decoration:none}.cmp-input-detail a:hover{text-decoration:underline}.input-cover{position:absolute;top:175px;left:0;width:100%;height:100%;background:var(--background-color);transform:translateZ(0);transition:all var(--transition-time) ease-in-out;pointer-events:auto}.input-enabled .input-cover{transform:translate3d(0,105%,0);pointer-events:none}.input-loading-icon{position:absolute;display:inline-block;top:190px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.input-loading .input-loading-icon{opacity:.5}:host{position:fixed;inset:0;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}aside{position:absolute;top:0;right:0;width:var(--menu-width);height:100%;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;background:var(--background-color);box-shadow:#000000c9 5px 0 20px;overflow:hidden;z-index:1}:host(.show-builder-menu) aside{pointer-events:auto;transform:translateZ(0)}#hit{position:absolute;inset:0;display:none}:host(.show-builder-menu) #hit{display:block;pointer-events:auto}#version{position:absolute;bottom:6px;right:6px;font-size:8px;color:#9b9b9b}</style><div id="hit"></div> <aside data-view="nav-home"> <section class="nav-home"> <header> <svg class="builder-logo" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> <div> <h2 class="builder-home-title">Builder Devtools</h2> <p><button id="go-to-builder">Go to Builder</button></p> </div> <button id="close" aria-label="Close Menu"> <svg viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M18 6l-12 12" /> <path d="M6 6l12 12" /> </svg> </button> </header> <div class="section-content"> <ul class="list"> <li> <button id="components-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Components</span> </button> </li> <li> <button id="settings-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Settings</span> </button> </li> <li> <button id="add-page-link"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M14 3v4a1 1 0 0 0 1 1h4" /> <path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /> <path d="M12 11l0 6" /> <path d="M9 14l6 0" /> </svg> <span>Add Builder Page</span> </button> </li> <li> <button id="import-from-figma"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-figma" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /> <path d="M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z" /> <path d="M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15" /> </svg> <span>Import From Figma</span> </button> </li> </ul> </div> <footer> <ul class="list"> <li> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdqZcJpRtm_Ia5DTHP6SDY9Xa6LID3KiTjRWkjMzWyJRUtSHw/viewform" target="_blank" > <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M11.013 17.0114L10.013 18.0114L2.513 10.5834C2.0183 10.102 1.62864 9.52342 1.36854 8.88404C1.10845 8.24466 0.983558 7.55836 1.00173 6.86834C1.01991 6.17832 1.18076 5.49954 1.47415 4.87474C1.76755 4.24994 2.18713 3.69266 2.70648 3.23799C3.22583 2.78331 3.8337 2.4411 4.49181 2.23289C5.14991 2.02468 5.844 1.95499 6.53036 2.02821C7.21673 2.10143 7.8805 2.31596 8.47987 2.65831C9.07925 3.00066 9.60124 3.46341 10.013 4.01741C10.8086 2.95654 11.9931 2.2552 13.3059 2.06766C14.6186 1.88012 15.9521 2.22176 17.013 3.01741C18.0739 3.81306 18.7752 4.99755 18.9627 6.3103C19.1503 7.62305 18.8086 8.95654 18.013 10.0174" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M18.2006 19.8175L16.0286 20.9555C15.9642 20.989 15.8917 21.004 15.8192 20.9987C15.7467 20.9934 15.6771 20.9681 15.6182 20.9256C15.5593 20.8831 15.5134 20.825 15.4855 20.7579C15.4577 20.6907 15.4491 20.6172 15.4606 20.5455L15.8756 18.1345L14.1186 16.4275C14.0662 16.3768 14.0291 16.3123 14.0115 16.2416C13.9939 16.1708 13.9966 16.0965 14.0192 16.0271C14.0418 15.9578 14.0835 15.8962 14.1394 15.8494C14.1954 15.8026 14.2634 15.7725 14.3356 15.7625L16.7636 15.4105L17.8496 13.2175C17.8821 13.1521 17.9322 13.0972 17.9942 13.0588C18.0562 13.0204 18.1277 13 18.2006 13C18.2736 13 18.3451 13.0204 18.4071 13.0588C18.4691 13.0972 18.5191 13.1521 18.5516 13.2175L19.6376 15.4105L22.0656 15.7625C22.1377 15.7728 22.2054 15.8031 22.2611 15.85C22.3168 15.8968 22.3583 15.9583 22.3809 16.0275C22.4034 16.0967 22.4062 16.1708 22.3888 16.2415C22.3715 16.3122 22.3347 16.3766 22.2826 16.4275L20.5256 18.1345L20.9396 20.5445C20.9521 20.6163 20.9441 20.6902 20.9166 20.7578C20.8891 20.8254 20.8433 20.8839 20.7842 20.9267C20.7252 20.9695 20.6553 20.9949 20.5825 21C20.5098 21.005 20.4371 20.9896 20.3726 20.9555L18.2006 19.8175Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Give Feedback</span> </a> </li> </ul> <div id="version"></div> </footer> </section> <section class="nav-cmp-list"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div class="search-container"> <div class="search-input-wrapper"> <svg class="search-icon" viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M15.5 15.5L20 20M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z" /> </svg> <input type="text" id="component-search" class="component-search-input" placeholder="Search components..." autocomplete="off" spellcheck="false" /> <button id="clear-search" class="clear-search-button" type="button" aria-label="Clear search" > <svg viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M6 6l12 12M6 18L18 6" /> </svg> </button> </div> </div> <div> <h2>Custom Components</h2> <p> <button id="open-builder-registry"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-list" class="cmp-list nav-list"></div> </div> <div class="nav-loading-icon spinner"></div> <footer> <p class="info"> Expand on Builder's selection of built-in blocks by <a target="_blank" href="https://www.builder.io/c/docs/custom-components-intro" >registering components</a > from your codebase. This way, teammates can drag and drop your components within Builder's Visual Editor just like any other block. </p> </footer> </section> <section class="nav-cmp-detail"> <header> <button class="back-button" data-back="nav-cmp-list"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-detail-title"></h2> <p> <button id="cmp-open-source"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-error"></div> <label class="ui-switch"> <div> <h3>Register Component</h3> <p> Registers this component so it can be used within Builder Visual CMS </p> </div> <input type="checkbox" role="switch" id="cmp-register" /> <span class="switcher"></span> </label> <div id="cmp-detail"> <label class="ui-text-input"> <h3>Component Name</h3> <div class="input"> <input type="text" id="cmp-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="2" maxlength="30" required placeholder="e.g. My Counter" /> </div> <p> Unique name to identify this custom component within Builder. Press ESC to cancel </p> </label> <div class="cmp-detail-inputs-container"> <h3> <span>Builder Inputs (Props)</span> <button class="cmp-detail-inputs-reload" id="btn-inputs-reload"> Reload </button> </h3> <div id="cmp-detail-inputs"></div> </div> </div> </div> <div class="cmp-cover"></div> <div class="cmp-loading-icon spinner"></div> </section> <section class="nav-cmp-input"> <header> <button class="back-button" data-back="nav-cmp-detail"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-input-title"></h2> <p> <button id="input-open-source"></button> </p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable Input</h3> <p>Add this component prop as a Builder input</p> </div> <input type="checkbox" role="switch" id="input-register" /> <span class="switcher"></span> </label> <div class="cmp-prop-info"> <div class="cmp-input-readonly"> <h3>Prop Name</h3> <span id="cmp-prop-name"></span> </div> <div class="cmp-input-readonly"> <h3>Prop Type</h3> <span id="cmp-prop-type"></span> </div> </div> <div class="cmp-input-detail"> <label class="ui-text-input"> <h3>Builder Input Name</h3> <div class="input"> <input type="text" id="input-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="1" maxlength="30" required placeholder="e.g. Text" /> </div> <p> Friendly name to identify this component prop as a Builder input. Press ESC to cancel </p> </label> <label class="ui-select"> <h3>Builder Input Type</h3> <div class="select"> <select id="input-type"></select> </div> <p> Correlate to what editing UI is appropriate for this Builder input. <a href="https://www.builder.io/c/docs/custom-components-input-types" target="_blank" >Read more about input types.</a > </p> </label> </div> <div class="input-cover"></div> <div class="input-loading-icon spinner"></div> </div> </section> <section class="nav-settings"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Settings</h2> <p>Configure Builder's Devtools</p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable edit button in UI</h3> <p>Enables the edit button so you can edit content in Builder</p> </div> <input type="checkbox" role="switch" id="enable-edit" /> <span class="switcher"></span> </label> </div> </section> <div class="ui-toast" id="toast"></div> </aside> <button class="menu-toggle" aria-label="Toggle Builder Devtools"> <div> <div class="highlight-bg"></div> <svg viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> </div> </button>\`,si(e),ui(e),oi(e),ri(e),ti(e),ci(e),this.setAttribute("aria-hidden","true"),e.getElementById("version").textContent="v1.61.3-beta.202605291258.f681e36"}highlightOpener(){let e=this.shadowRoot.querySelector(".menu-toggle");e.classList.add("menu-toggle-highlight"),e.classList.add("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight")},20)},20)}};var lo=\`<style>*,*:before,*:after{box-sizing:border-box}html,body,:host{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:2147483646;margin:0;padding:0;line-height:1.8;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";background-color:#252525;color:#fff;transition:opacity .25s ease-in-out}:host([aria-hidden="true"]){opacity:0;pointer-events:none}main{position:absolute;top:0;left:0;width:100%;height:100vh}h1{margin-top:0;font-size:24px;font-weight:300;line-height:1.4}p{margin:20px 0;font-weight:300}button{cursor:pointer}aside{position:absolute;top:0;left:0;width:350px;height:100vh;padding:60px 0 0 50px;background-color:#121212}aside ul{margin:30px 0 0;padding:0;list-style:none}aside li{position:relative;margin:0;padding:20px 10px;font-weight:300}aside li.highlight{color:#48a1ff}aside li.active{font-weight:700}aside li .circle{position:absolute;top:20px;left:10px;width:24px;height:24px;border:3px solid white;border-radius:50%;font-size:14px}aside li.highlight .circle{border-color:#48a1ff}aside li.active .circle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background-color:#48a1ff}aside li.completed .circle{background-color:#48a1ff}aside li.completed .circle:after{content:"";position:absolute;top:2px;left:6px;width:6px;height:13px;border:3px solid black;border-top:none;border-left:none;transform:rotate(45deg)}aside li .line{position:absolute;top:44px;left:21px;width:3px;height:45px;background-color:#fff}aside li.completed .line{background-color:#48a1ff}aside li span{display:block;margin-left:44px}nav{margin-top:30px}section{position:absolute;top:135px;left:350px;padding:0 80px 0 140px;transition:opacity .15s ease-in-out}section[aria-hidden=true]{pointer-events:none;opacity:0}section h1,section p{min-width:300px;max-width:600px}.button{position:relative;display:inline-block;color:#fff;background-color:#48a1ff;border-radius:4px;text-decoration:none;padding:10px 40px 10px 20px;white-space:nowrap}.button:hover{background-color:#48a1ffd9}#button-icon{position:absolute;top:1px;right:5px;bottom:0;width:30px;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="white" stroke-linecap="square" stroke-miterlimit="10" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');background-repeat:no-repeat;background-position:center;background-size:24px 24px}.button[aria-disabled=true]{opacity:.9;background-color:#ffffff4d;pointer-events:none;padding-right:60px}.button[aria-disabled=true] #button-icon{top:21px;right:29px;width:8px;height:8px;border-radius:4px;background:#fff;color:#fff;animation:dot-flashing .5s infinite linear alternate;animation-delay:.25s}.button[aria-disabled=true] #button-icon:before,.button[aria-disabled=true] #button-icon:after{content:"";display:inline-block;position:absolute;top:0}.button[aria-disabled=true] #button-icon:before{left:-12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:0s}.button[aria-disabled=true] #button-icon:after{left:12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:.5s}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:#ffffff4d}}.logo{margin-left:9px;background:url('data:image/svg+xml,<svg viewBox="0 0 150 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <g clip-path="url(%23clip0_4_304)"> <path d="M27.9858 8.99927C27.9872 10.3415 27.688 11.667 27.1101 12.8783C26.5321 14.0896 25.6902 15.156 24.6462 15.9989V15.9989L0.634502 2.36355C0.542657 2.31119 0.457444 2.24796 0.380701 2.17523C0.260289 2.05715 0.164605 1.91624 0.0992389 1.76075C0.0338732 1.60525 0.000136546 1.43828 0 1.26959C0 0.932873 0.133698 0.609948 0.371683 0.371854C0.609667 0.13376 0.932443 0 1.269 0L18.9906 0C21.3763 0 23.6642 0.948135 25.3512 2.63583C27.0381 4.32352 27.9858 6.61252 27.9858 8.99927V8.99927Z" fill="%2318B4F4" /> <path d="M27.9858 22.9986C27.9861 24.1806 27.7536 25.351 27.3017 26.4431C26.8498 27.5352 26.1873 28.5275 25.352 29.3634C24.5167 30.1993 23.5249 30.8624 22.4335 31.3147C21.342 31.7671 20.1721 32 18.9907 32H1.26906C1.01802 31.9973 0.77343 31.9202 0.566221 31.7784C0.359012 31.6366 0.198499 31.4364 0.104989 31.2034C0.0114791 30.9703 -0.0108254 30.7147 0.0408974 30.4689C0.0926201 30.2231 0.216046 29.9982 0.395559 29.8226V29.8226C0.467112 29.7508 0.547407 29.6882 0.634555 29.6364L10.0844 24.2703L24.6441 16.001C25.688 16.8438 26.53 17.9097 27.1083 19.1206C27.6866 20.3315 27.9864 21.6566 27.9858 22.9986V22.9986Z" fill="%23FD6B3C" /> <path d="M24.6461 15.9989L10.0843 24.2703L0.634458 29.6365C0.54372 29.6868 0.459841 29.7487 0.384888 29.8205C3.98804 26.1233 6.00266 21.1627 5.99812 15.9989C6.0049 10.8346 3.99085 5.87268 0.387003 2.17523C0.463746 2.24796 0.548959 2.31119 0.640803 2.36355L24.6461 15.9989Z" fill="%23A97FF2" /> <path d="M47.6659 11.7352C51.8177 11.7352 54.1632 15.0531 54.1632 19.0714C54.1632 23.0896 51.8177 26.3821 47.6659 26.3821C45.5086 26.3821 43.8589 25.5188 42.9473 24.0545L42.5709 26.052H39.9736V6.77115H43.1884V13.8914C43.971 12.6959 45.5086 11.7352 47.6659 11.7352ZM47.0187 23.5488C49.4446 23.5488 50.9547 21.5809 50.9547 19.0714C50.9547 16.5089 49.4446 14.5664 47.0187 14.5664C44.5928 14.5664 43.0806 16.5047 43.0806 19.0714C43.0806 21.583 44.5653 23.5488 47.0187 23.5488V23.5488Z" fill="white" /> <path d="M65.4595 20.2859V12.0611H68.668V20.123C68.668 23.7202 67.0246 26.3821 62.4943 26.3821C57.9639 26.3821 56.3206 23.7117 56.3206 20.123V12.0611H59.529V20.2859C59.529 22.4696 60.5527 23.5488 62.49 23.5488C64.4274 23.5488 65.4595 22.4696 65.4595 20.2859Z" fill="white" /> <path d="M71.2355 7.74451C71.2247 7.46284 71.2724 7.18199 71.3755 6.91968C71.4787 6.65737 71.6351 6.41929 71.8348 6.22047C72.0345 6.02165 72.2732 5.8664 72.5359 5.76452C72.7986 5.66264 73.0796 5.61633 73.3611 5.62853C74.5793 5.62853 75.4571 6.50666 75.4571 7.75509C75.4571 9.00352 74.5793 9.8224 73.3611 9.8224C72.1428 9.8224 71.2355 8.9612 71.2355 7.74451Z" fill="white" /> <path d="M128.476 7.74451C128.465 7.46376 128.513 7.18383 128.615 6.92227C128.718 6.66071 128.873 6.42315 129.072 6.22449C129.27 6.02583 129.508 5.87035 129.769 5.7678C130.031 5.66524 130.31 5.61783 130.591 5.62852C131.809 5.62852 132.687 6.50666 132.687 7.75509C132.687 9.00352 131.809 9.8224 130.591 9.8224C129.373 9.8224 128.476 8.9612 128.476 7.74451Z" fill="white" /> <path d="M122.302 24.1031C122.291 23.8223 122.339 23.5422 122.441 23.2805C122.543 23.0188 122.699 22.7811 122.897 22.5824C123.096 22.3837 123.334 22.2282 123.595 22.1258C123.857 22.0233 124.137 21.9761 124.417 21.9872C125.636 21.9872 126.513 22.8653 126.513 24.1031C126.513 25.341 125.636 26.1726 124.417 26.1726C123.199 26.1726 122.302 25.3219 122.302 24.1031Z" fill="white" /> <path d="M74.9516 12.059H71.7432V26.0583H74.9516V12.059Z" fill="white" /> <path d="M78.16 26.0583V6.77115H81.3685V26.0626L78.16 26.0583Z" fill="white" /> <path d="M94.6063 6.77115H97.8148V26.0626H95.2239L94.8474 24.0651C93.9591 25.523 92.3094 26.3927 90.131 26.3927C86.0046 26.3927 83.6591 23.0748 83.6591 19.0819C83.6591 15.0891 86.0046 11.7458 90.131 11.7458C92.3137 11.7458 93.8238 12.7149 94.6063 13.902V6.77115ZM90.7993 14.5707C88.3734 14.5707 86.8633 16.5131 86.8633 19.0756C86.8633 21.5851 88.3734 23.553 90.7993 23.553C93.2252 23.553 94.7354 21.5851 94.7354 19.0756C94.7396 16.5047 93.257 14.5664 90.8036 14.5664L90.7993 14.5707Z" fill="white" /> <path d="M113.479 22.2284C112.482 24.7359 110.162 26.3821 107.117 26.3821C102.887 26.3821 100.137 23.225 100.137 19.0439C100.137 14.9706 102.942 11.7353 107.093 11.7353C111.245 11.7353 113.969 14.8902 113.969 18.991C113.982 19.3255 113.953 19.6604 113.883 19.9876H103.288C103.53 22.2009 104.959 23.6292 107.197 23.6292C108.735 23.6292 110.001 22.8738 110.594 21.473L113.479 22.2284ZM103.341 17.6156H110.784C110.513 15.6731 109.166 14.3506 107.089 14.3506C105.012 14.3506 103.665 15.7006 103.341 17.6156V17.6156Z" fill="white" /> <path d="M123.779 14.9452C123.538 14.9117 123.295 14.8933 123.051 14.8902C120.786 14.8902 119.439 16.0772 119.439 18.7751V26.0583H116.23V12.0611H118.821L119.195 14.0014C119.707 13.1127 120.887 11.9257 123.322 11.9257C123.455 11.9257 123.779 11.9532 123.779 11.9532V14.9452Z" fill="white" /> <path d="M132.192 12.059H128.984V26.0583H132.192V12.059Z" fill="white" /> <path d="M134.483 19.0714C134.483 15.1335 137.287 11.7353 141.735 11.7353C146.183 11.7353 149.015 15.1335 149.015 19.0714C149.015 23.0092 146.213 26.3821 141.735 26.3821C137.258 26.3821 134.483 23.0092 134.483 19.0714ZM141.735 23.5488C144.083 23.5488 145.806 21.7692 145.806 19.0714C145.806 16.3735 144.083 14.5664 141.735 14.5664C139.387 14.5664 137.687 16.346 137.687 19.0714C137.687 21.7968 139.417 23.5488 141.735 23.5488V23.5488Z" fill="white" /> </g> <defs> <clipPath id="clip0_4_304"> <rect width="149.015" height="32" fill="white" /> </clipPath> </defs> </svg>');background-repeat:no-repeat;width:150px;height:32px}@media(max-width:840px){aside{width:250px;padding:60px 0 0 20px}section{left:250px;padding:0 80px}}@media(max-width:590px){aside{width:230px;padding:60px 0 0 10px}section{left:230px;padding:0 40px}}#modified-files-message a{color:#cbcbcb;font-weight:300;text-decoration:underline}#modified-files-message a:hover{color:#fff;text-decoration:none}#restart-warning{border-radius:4px;padding:8px 16px;border:1px solid #fd6b3c;background:#fd6b3c1a}#react-router-steps{margin:0 0 5px;padding:0 20px}#need-help{color:#48a1ff;text-decoration:none}#router-message{border-radius:4px;padding:16px;border:1px solid #48a1ff}#router-finish-button{margin-top:12px}#router-checkbox-div{display:flex;align-items:center}#router-checkbox{margin-right:10px;width:15px;height:15px}#success-title{display:flex;align-items:center;gap:10px}#success-title .check-icon{display:inline-block;width:24px;height:24px;border:2px solid #28a745;border-radius:50%;position:relative}#success-title .check-icon:before{content:"";position:absolute;top:50%;left:50%;width:6px;height:12px;border:solid #28a745;border-width:0 2px 2px 0;transform:translate(-50%,-60%) rotate(45deg)}
1279
+ \`,t.appendChild(e),setTimeout(()=>{e.classList.add("menu-toggle-tooltip-show"),e.addEventListener("click",()=>{e.classList.remove("menu-toggle-tooltip-show")})},1e3)};function ui(t){t.getElementById("go-to-builder").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Ee(t,!1),window.open(Ur(),"builder")}),t.getElementById("components-link").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation();let c=t.querySelector(".nav-cmp-list .section-content");c.scrollTop=0,oe(t,"nav-cmp-list"),ai(t)}),t.getElementById("settings-link").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),oe(t,"nav-settings")}),t.getElementById("add-page-link").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Ee(t,!1),window.open(je(),"builder")}),t.getElementById("import-from-figma").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Ee(t,!1),window.open("https://www.figma.com/community/plugin/747985167520967365/builder-io-ai-powered-figma-to-code-react-vue-tailwind-more")})}function ci(t){let e=t.getElementById("enable-edit");e.addEventListener("change",r=>{r.stopPropagation(),Ht(e.checked)}),e.checked=it(),Ht(e.checked)}var Dt=class extends HTMLElement{constructor(){super()}connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=\`<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}.menu-toggle{position:absolute;right:0;bottom:0;pointer-events:auto;padding:8px;background:transparent;border:none;appearance:none}.menu-toggle div{position:relative;width:64px;height:64px;pointer-events:none;border-radius:50%;background:#000;border:1px solid white;box-shadow:#00000054 0 0 8px}.menu-toggle:hover div{background-color:var(--background-color);border:1px solid rgb(220,220,220)}.menu-toggle svg{position:absolute;top:15px;left:15px;width:33px;height:32px}div.highlight-bg{position:absolute;top:-1px;left:-1px;background-color:#1a1a1a;pointer-events:none;transition:all .4s ease-out;opacity:0}.menu-toggle-highlight-no-transition div.highlight-bg{transition:none}.menu-toggle-highlight div.highlight-bg{opacity:1}.menu-toggle-tooltip{position:absolute;bottom:0;right:0;width:382px;height:72px;padding:0;text-align:left;appearance:none;background-color:transparent;border:none;pointer-events:none;transform:translate3d(320px,0,0);opacity:0;transition:all .15s ease-in-out;color:#fff}.menu-toggle-tooltip.menu-toggle-tooltip-show{pointer-events:auto;opacity:1;transform:translateZ(0)}.menu-toggle-tooltip-content{position:absolute;inset:0 95px 10px 0;padding:8px 12px;background-color:var(--primary-color);box-shadow:#00000054 0 0 20px;border-radius:2px}.menu-toggle-tooltip-content:before{content:"";position:absolute;bottom:15px;right:-6px;width:30px;height:30px;background-color:var(--primary-color);transform:rotate(45deg)}.menu-toggle-tooltip:hover .menu-toggle-tooltip-content,.menu-toggle-tooltip:hover .menu-toggle-tooltip-content:before{background-color:var(--primary-color-highlight)}.menu-toggle-tooltip-content h3{margin:0;font-size:16px}.menu-toggle-tooltip-content p{margin:0;font-size:12px}section{position:absolute;display:grid;grid-template-rows:64px auto 64px;top:0;left:0;width:100%;height:100%;padding:0;pointer-events:none}.section-content{margin:0;padding:0 0 10px;font-weight:300;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;overflow-y:auto}.section-content .error{color:var(--error-color);font-weight:700}section a{text-decoration:none;color:var(--text-color)}section h3,section p{margin-left:16px;margin-right:16px}.info{font-size:12px}ul.list{list-style:none;padding:0;margin:0}ul.list li{display:block;padding:0;margin:0}ul.list a,ul.list button{display:grid;grid-template-columns:24px auto;grid-gap:16px;padding:12px;margin:8px 0;border:none;background:transparent;appearance:none;width:100%;font-weight:300;text-align:left;text-decoration:none;color:var(--text-color)}ul.list a:hover,ul.list button:hover{text-decoration:none;color:var(--text-color);background-color:var(--button-background-color-hover)}ul.list a span,ul.list button span{display:block;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header{position:relative;display:grid;grid-template-columns:44px 1fr;gap:8px;padding-left:8px;border-bottom:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}header>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-home header>div{margin-right:56px}header h2{margin:7px 0 0;font-size:18px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p{margin:2px 0 0;font-size:12px;font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button{display:block;margin:0;padding:0;width:100%;font-size:12px;font-weight:300;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button:hover{text-decoration:underline;color:var(--primary-color)}.builder-logo{margin:12px 0 0 8px}#close{display:block;position:absolute;appearance:none;background:transparent;border:none;border-radius:50%;margin:0;padding:0;right:4px;top:8px;width:48px;height:48px;z-index:1;opacity:.7}#close:hover{opacity:1;background-color:var(--button-background-color-hover)}#close svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}.back-button{position:relative;display:block;margin:7px 0 0 -2px;width:48px;height:48px;background:transparent;border:none;appearance:none;border-radius:50%}.back-button:hover{background-color:var(--button-background-color-hover)}.back-button svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}footer{border-top:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}section.nav-cmp-list{grid-template-rows:64px auto 120px}footer a{text-decoration:underline;color:var(--primary-color)}footer a:hover{color:var(--primary-color);text-decoration:none}.nav-list{padding:2px 0}.nav-loading{pointer-events:none}.nav-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.nav-loading .nav-loading-icon{opacity:.5}.nav-list h4{margin:8px 8px 8px 10px;font-size:14px;font-weight:600}.nav-list .nav-list-item+h4{margin-top:30px}.nav-list-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin:2px 0;padding:8px 28px 8px 46px;width:100%;font-size:14px;font-weight:300;text-align:left;border:none;background:transparent;appearance:none}.nav-list-item:hover{background-color:var(--button-background-color-hover)}.nav-list-item-icon{position:absolute;top:4px;left:10px;width:24px;height:24px;object-fit:contain;filter:invert(100%);background-size:24px 24px;background-repeat:no-repeat;background-position:center center}.nav-list-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.nav-list-item:after{display:block;position:absolute;content:"";background-image:url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23F2F2F2" stroke-opacity="0.5" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');background-repeat:no-repeat;background-position:12px 9px;top:0;right:0;width:32px;height:32px;pointer-events:none}.nav-list-item-note{opacity:0;font-size:12px;padding-top:1px;text-align:right}.nav-list-item:hover .nav-list-item-note{opacity:.5}.ui-select{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-select h3{margin:0;font-size:14px;font-weight:500}.ui-select p{margin:8px 0;font-size:12px;font-weight:300}.ui-select .select{position:relative;margin:8px 0;border-radius:4px;padding:0;line-height:1.1;overflow:hidden;border:1px solid var(--border-color)}.ui-select select{appearance:none;background-color:transparent;border:none;outline:none;padding:8px 32px 8px 8px;margin:0;width:100%;font-size:14px;cursor:pointer;text-overflow:ellipsis;opacity:.6;color:var(--text-color)}.ui-select .select:after{content:"";top:6px;right:5px;width:24px;height:24px;position:absolute;background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F2F2" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>');background-repeat:no-repeat;background-position:center;pointer-events:none;opacity:.6}.ui-select .select:hover{border-color:var(--primary-color-subdued)}.ui-text-input .select:focus-within{border-color:var(--primary-color)}.ui-text-input .select:focus-within select{opacity:1}.spinner:after{content:" ";display:block;width:32px;height:32px;margin:0 auto;pointer-events:auto;border-radius:50%;border:3px solid var(--text-color);border-color:var(--text-color) transparent var(--text-color) transparent;animation:spinner .75s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-switch{display:grid;grid-template-columns:auto 48px;grid-gap:20px;margin:8px 0 16px;padding:8px 0 8px 16px;cursor:pointer}.ui-switch>*{pointer-events:none}.ui-switch input{display:none;visibility:hidden}.ui-switch .switcher{display:inline-block;border-radius:100px;width:35px;height:14px;background-color:#ccc;position:relative;top:6px;vertical-align:middle;cursor:pointer}.ui-switch input[type=checkbox]:checked+.switcher{background-color:var(--primary-color-subdued)}.ui-switch .switcher:before{content:"";display:block;width:20px;height:20px;background-color:var(--text-color);box-shadow:0 1px 3px #0009;border-radius:50%;position:absolute;top:-3px;left:0;margin-right:0;transition:all .15s}.ui-switch input[type=checkbox]:checked+.switcher:before{left:100%;margin-left:-20px;background-color:var(--primary-color)}.ui-switch h3{margin:0;font-size:14px;font-weight:500}.ui-switch p{margin:4px 0 0;font-size:12px;font-weight:300}.ui-text-input{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-text-input h3{margin:0;font-size:14px;font-weight:500}.ui-text-input p{margin:8px 0;font-size:12px;font-weight:300}.ui-text-input .input{position:relative;margin:8px 0;border:1px solid var(--border-color);border-radius:4px;background:transparent;padding:2px;overflow:hidden}.ui-text-input input{display:block;width:235px;font-size:14px;border:none;background:transparent;padding:6px;appearance:none;color:var(--text-color);opacity:.6;outline:none}.ui-text-input .input:hover{border-color:var(--primary-color-subdued)}.ui-text-input .input:focus-within{border-color:var(--primary-color)}.ui-text-input .input:focus-within input{opacity:1}.ui-text-input .input:after{content:"";position:absolute;top:5px;right:14px;width:8px;height:17px;border:2px solid rgba(51,181,51,1);border-top:none;border-left:none;transform:rotate(45deg);opacity:0;transition:opacity 80ms ease-in-out;pointer-events:none}.ui-text-input.saved .input:after{opacity:1}.ui-toast{position:fixed;bottom:8px;left:8px;right:8px;padding:6px 12px;font-size:14px;border-radius:4px;transform:translate3d(0,150%,0);opacity:0;transition:all var(--transition-time) ease-in-out;background-color:var(--primary-color-subdued);color:var(--text-color);pointer-events:none}.ui-toast.ui-toast-show{transform:translateZ(0);opacity:1;pointer-events:auto}[data-view=nav-home] .nav-home .section-content,[data-view=nav-cmp-list] .nav-cmp-list .section-content,[data-view=nav-cmp-detail] .nav-cmp-detail .section-content,[data-view=nav-cmp-input] .nav-cmp-input .section-content,[data-view=nav-settings] .nav-settings .section-content{transform:translateZ(0);pointer-events:auto}[data-view=nav-home] .nav-home header,[data-view=nav-home] .nav-home footer,[data-view=nav-cmp-list] .nav-cmp-list header,[data-view=nav-cmp-list] .nav-cmp-list footer,[data-view=nav-cmp-detail] .nav-cmp-detail header,[data-view=nav-cmp-detail] .nav-cmp-detail footer,[data-view=nav-cmp-input] .nav-cmp-input header,[data-view=nav-cmp-input] .nav-cmp-input footer,[data-view=nav-settings] .nav-settings header,[data-view=nav-settings] .nav-settings footer{opacity:1;pointer-events:auto}[data-view=nav-cmp-list] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-home .section-content,[data-view=nav-cmp-input] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-cmp-detail .section-content,[data-view=nav-settings] .nav-home .section-content{transform:translate3d(-105%,0,0)}.cmp-item .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.83 16.809C20.94 16.561 21 16.289 21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L7.988 3.99001M5.441 5.44801L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L18.544 18.56" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.532 10.538L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.27002 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3L21 21" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');opacity:.3}.cmp-item.registered .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /></svg>');opacity:.8}.search-highlight{background-color:var(--primary-color-alpha);padding:0 2px;border-radius:2px;font-weight:500}.search-container{position:sticky;top:0;z-index:10;padding:12px 16px;background:var(--background-color);border-bottom:1px solid var(--border-color)}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:var(--text-color-secondary);pointer-events:none}.component-search-input{width:100%;height:36px;padding:8px 36px;border:1px solid var(--border-color);border-radius:6px;background:var(--input-background);color:var(--text-color);font-size:14px;transition:border-color .2s,box-shadow .2s}.component-search-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px var(--primary-color-alpha)}.component-search-input::placeholder{color:var(--text-color-tertiary)}.clear-search-button{position:absolute;right:8px;padding:4px;color:var(--text-color-secondary);border:none;background:transparent;border-radius:4px;cursor:pointer;opacity:0;transition:opacity .2s,background-color .2s;display:flex;align-items:center;justify-content:center}.clear-search-button:hover{background-color:var(--hover-color)}.component-search-input:not(:placeholder-shown)+.clear-search-button{opacity:1}.no-results{padding:32px 16px;text-align:center;color:var(--text-color-secondary);font-size:14px}#cmp-detail{position:relative}.cmp-loading{pointer-events:none!important}.cmp-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.cmp-loading .cmp-loading-icon{opacity:.5}.cmp-cover{position:absolute;top:160px;left:0;width:100%;height:100vh;background:var(--background-color);transform:translateZ(0);pointer-events:none;display:none}[data-view=nav-cmp-detail] .cmp-cover{display:block;pointer-events:auto}.cmp-enabled .cmp-cover{transform:translate3d(0,105%,0);pointer-events:none}.section-ready .cmp-cover{transition:all var(--transition-time) ease-in-out}.cmp-detail-inputs-container{margin:8px 0 16px;padding:0}.cmp-detail-inputs-container h3{margin:0 0 6px;padding-left:16px;padding-right:8px;font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}.cmp-detail-inputs-reload{font-weight:300;font-size:.9em;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-detail-inputs-reload:hover{text-decoration:underline;color:var(--primary-color)}.cmp-detail-inputs-container .cmp-inputs-empty{padding:0;margin-top:12px;font-size:12px;font-weight:300;opacity:.5;font-style:italic}.cmp-detail-inputs-container .nav-list-item-icon{opacity:.8;background-size:20px 20px;background-position:4px center}.input-icon{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path></svg>')}.input-icon-array{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-6a2 2 0 1 1 4 0v6"></path> <path d="M10 13h4"></path></svg>')}.input-icon-boolean{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16h2a2 2 0 1 0 0 -4h-2h2a2 2 0 1 0 0 -4h-2v8z"></path></svg>')}.input-icon-number{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-8l4 8v-8"></path></svg>')}.input-icon-object{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2z"></path></svg>')}.input-icon-string{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1"></path></svg>')}.cmp-input-item-unregistered{opacity:.4}.cmp-input-item-unregistered .input-icon:after{content:"";position:absolute;top:11px;left:4px;width:20px;height:2px;background-color:#000;transform:rotate(-45deg)}.cmp-prop-info{border-bottom:1px solid var(--border-color)}.cmp-input-readonly{margin:16px 0;padding:0 16px;display:grid;grid-template-columns:50% 50%;gap:12px}.cmp-input-readonly h3{margin:0;font-size:14px;font-weight:500}.cmp-input-readonly span{margin-top:2px;font-size:12px;font-weight:300;opacity:.8}.cmp-input-detail{margin:16px 0}.cmp-input-detail a{color:var(--primary-color);text-decoration:none}.cmp-input-detail a:hover{text-decoration:underline}.input-cover{position:absolute;top:175px;left:0;width:100%;height:100%;background:var(--background-color);transform:translateZ(0);transition:all var(--transition-time) ease-in-out;pointer-events:auto}.input-enabled .input-cover{transform:translate3d(0,105%,0);pointer-events:none}.input-loading-icon{position:absolute;display:inline-block;top:190px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.input-loading .input-loading-icon{opacity:.5}:host{position:fixed;inset:0;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}aside{position:absolute;top:0;right:0;width:var(--menu-width);height:100%;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;background:var(--background-color);box-shadow:#000000c9 5px 0 20px;overflow:hidden;z-index:1}:host(.show-builder-menu) aside{pointer-events:auto;transform:translateZ(0)}#hit{position:absolute;inset:0;display:none}:host(.show-builder-menu) #hit{display:block;pointer-events:auto}#version{position:absolute;bottom:6px;right:6px;font-size:8px;color:#9b9b9b}</style><div id="hit"></div> <aside data-view="nav-home"> <section class="nav-home"> <header> <svg class="builder-logo" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> <div> <h2 class="builder-home-title">Builder Devtools</h2> <p><button id="go-to-builder">Go to Builder</button></p> </div> <button id="close" aria-label="Close Menu"> <svg viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M18 6l-12 12" /> <path d="M6 6l12 12" /> </svg> </button> </header> <div class="section-content"> <ul class="list"> <li> <button id="components-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Components</span> </button> </li> <li> <button id="settings-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Settings</span> </button> </li> <li> <button id="add-page-link"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M14 3v4a1 1 0 0 0 1 1h4" /> <path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /> <path d="M12 11l0 6" /> <path d="M9 14l6 0" /> </svg> <span>Add Builder Page</span> </button> </li> <li> <button id="import-from-figma"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-figma" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /> <path d="M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z" /> <path d="M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15" /> </svg> <span>Import From Figma</span> </button> </li> </ul> </div> <footer> <ul class="list"> <li> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdqZcJpRtm_Ia5DTHP6SDY9Xa6LID3KiTjRWkjMzWyJRUtSHw/viewform" target="_blank" > <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M11.013 17.0114L10.013 18.0114L2.513 10.5834C2.0183 10.102 1.62864 9.52342 1.36854 8.88404C1.10845 8.24466 0.983558 7.55836 1.00173 6.86834C1.01991 6.17832 1.18076 5.49954 1.47415 4.87474C1.76755 4.24994 2.18713 3.69266 2.70648 3.23799C3.22583 2.78331 3.8337 2.4411 4.49181 2.23289C5.14991 2.02468 5.844 1.95499 6.53036 2.02821C7.21673 2.10143 7.8805 2.31596 8.47987 2.65831C9.07925 3.00066 9.60124 3.46341 10.013 4.01741C10.8086 2.95654 11.9931 2.2552 13.3059 2.06766C14.6186 1.88012 15.9521 2.22176 17.013 3.01741C18.0739 3.81306 18.7752 4.99755 18.9627 6.3103C19.1503 7.62305 18.8086 8.95654 18.013 10.0174" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M18.2006 19.8175L16.0286 20.9555C15.9642 20.989 15.8917 21.004 15.8192 20.9987C15.7467 20.9934 15.6771 20.9681 15.6182 20.9256C15.5593 20.8831 15.5134 20.825 15.4855 20.7579C15.4577 20.6907 15.4491 20.6172 15.4606 20.5455L15.8756 18.1345L14.1186 16.4275C14.0662 16.3768 14.0291 16.3123 14.0115 16.2416C13.9939 16.1708 13.9966 16.0965 14.0192 16.0271C14.0418 15.9578 14.0835 15.8962 14.1394 15.8494C14.1954 15.8026 14.2634 15.7725 14.3356 15.7625L16.7636 15.4105L17.8496 13.2175C17.8821 13.1521 17.9322 13.0972 17.9942 13.0588C18.0562 13.0204 18.1277 13 18.2006 13C18.2736 13 18.3451 13.0204 18.4071 13.0588C18.4691 13.0972 18.5191 13.1521 18.5516 13.2175L19.6376 15.4105L22.0656 15.7625C22.1377 15.7728 22.2054 15.8031 22.2611 15.85C22.3168 15.8968 22.3583 15.9583 22.3809 16.0275C22.4034 16.0967 22.4062 16.1708 22.3888 16.2415C22.3715 16.3122 22.3347 16.3766 22.2826 16.4275L20.5256 18.1345L20.9396 20.5445C20.9521 20.6163 20.9441 20.6902 20.9166 20.7578C20.8891 20.8254 20.8433 20.8839 20.7842 20.9267C20.7252 20.9695 20.6553 20.9949 20.5825 21C20.5098 21.005 20.4371 20.9896 20.3726 20.9555L18.2006 19.8175Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Give Feedback</span> </a> </li> </ul> <div id="version"></div> </footer> </section> <section class="nav-cmp-list"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div class="search-container"> <div class="search-input-wrapper"> <svg class="search-icon" viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M15.5 15.5L20 20M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z" /> </svg> <input type="text" id="component-search" class="component-search-input" placeholder="Search components..." autocomplete="off" spellcheck="false" /> <button id="clear-search" class="clear-search-button" type="button" aria-label="Clear search" > <svg viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M6 6l12 12M6 18L18 6" /> </svg> </button> </div> </div> <div> <h2>Custom Components</h2> <p> <button id="open-builder-registry"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-list" class="cmp-list nav-list"></div> </div> <div class="nav-loading-icon spinner"></div> <footer> <p class="info"> Expand on Builder's selection of built-in blocks by <a target="_blank" href="https://www.builder.io/c/docs/custom-components-intro" >registering components</a > from your codebase. This way, teammates can drag and drop your components within Builder's Visual Editor just like any other block. </p> </footer> </section> <section class="nav-cmp-detail"> <header> <button class="back-button" data-back="nav-cmp-list"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-detail-title"></h2> <p> <button id="cmp-open-source"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-error"></div> <label class="ui-switch"> <div> <h3>Register Component</h3> <p> Registers this component so it can be used within Builder Visual CMS </p> </div> <input type="checkbox" role="switch" id="cmp-register" /> <span class="switcher"></span> </label> <div id="cmp-detail"> <label class="ui-text-input"> <h3>Component Name</h3> <div class="input"> <input type="text" id="cmp-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="2" maxlength="30" required placeholder="e.g. My Counter" /> </div> <p> Unique name to identify this custom component within Builder. Press ESC to cancel </p> </label> <div class="cmp-detail-inputs-container"> <h3> <span>Builder Inputs (Props)</span> <button class="cmp-detail-inputs-reload" id="btn-inputs-reload"> Reload </button> </h3> <div id="cmp-detail-inputs"></div> </div> </div> </div> <div class="cmp-cover"></div> <div class="cmp-loading-icon spinner"></div> </section> <section class="nav-cmp-input"> <header> <button class="back-button" data-back="nav-cmp-detail"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-input-title"></h2> <p> <button id="input-open-source"></button> </p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable Input</h3> <p>Add this component prop as a Builder input</p> </div> <input type="checkbox" role="switch" id="input-register" /> <span class="switcher"></span> </label> <div class="cmp-prop-info"> <div class="cmp-input-readonly"> <h3>Prop Name</h3> <span id="cmp-prop-name"></span> </div> <div class="cmp-input-readonly"> <h3>Prop Type</h3> <span id="cmp-prop-type"></span> </div> </div> <div class="cmp-input-detail"> <label class="ui-text-input"> <h3>Builder Input Name</h3> <div class="input"> <input type="text" id="input-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="1" maxlength="30" required placeholder="e.g. Text" /> </div> <p> Friendly name to identify this component prop as a Builder input. Press ESC to cancel </p> </label> <label class="ui-select"> <h3>Builder Input Type</h3> <div class="select"> <select id="input-type"></select> </div> <p> Correlate to what editing UI is appropriate for this Builder input. <a href="https://www.builder.io/c/docs/custom-components-input-types" target="_blank" >Read more about input types.</a > </p> </label> </div> <div class="input-cover"></div> <div class="input-loading-icon spinner"></div> </div> </section> <section class="nav-settings"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Settings</h2> <p>Configure Builder's Devtools</p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable edit button in UI</h3> <p>Enables the edit button so you can edit content in Builder</p> </div> <input type="checkbox" role="switch" id="enable-edit" /> <span class="switcher"></span> </label> </div> </section> <div class="ui-toast" id="toast"></div> </aside> <button class="menu-toggle" aria-label="Toggle Builder Devtools"> <div> <div class="highlight-bg"></div> <svg viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> </div> </button>\`,si(e),ui(e),oi(e),ri(e),ti(e),ci(e),this.setAttribute("aria-hidden","true"),e.getElementById("version").textContent="v1.61.3-beta.202605291504.30c154d"}highlightOpener(){let e=this.shadowRoot.querySelector(".menu-toggle");e.classList.add("menu-toggle-highlight"),e.classList.add("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight")},20)},20)}};var lo=\`<style>*,*:before,*:after{box-sizing:border-box}html,body,:host{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:2147483646;margin:0;padding:0;line-height:1.8;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";background-color:#252525;color:#fff;transition:opacity .25s ease-in-out}:host([aria-hidden="true"]){opacity:0;pointer-events:none}main{position:absolute;top:0;left:0;width:100%;height:100vh}h1{margin-top:0;font-size:24px;font-weight:300;line-height:1.4}p{margin:20px 0;font-weight:300}button{cursor:pointer}aside{position:absolute;top:0;left:0;width:350px;height:100vh;padding:60px 0 0 50px;background-color:#121212}aside ul{margin:30px 0 0;padding:0;list-style:none}aside li{position:relative;margin:0;padding:20px 10px;font-weight:300}aside li.highlight{color:#48a1ff}aside li.active{font-weight:700}aside li .circle{position:absolute;top:20px;left:10px;width:24px;height:24px;border:3px solid white;border-radius:50%;font-size:14px}aside li.highlight .circle{border-color:#48a1ff}aside li.active .circle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background-color:#48a1ff}aside li.completed .circle{background-color:#48a1ff}aside li.completed .circle:after{content:"";position:absolute;top:2px;left:6px;width:6px;height:13px;border:3px solid black;border-top:none;border-left:none;transform:rotate(45deg)}aside li .line{position:absolute;top:44px;left:21px;width:3px;height:45px;background-color:#fff}aside li.completed .line{background-color:#48a1ff}aside li span{display:block;margin-left:44px}nav{margin-top:30px}section{position:absolute;top:135px;left:350px;padding:0 80px 0 140px;transition:opacity .15s ease-in-out}section[aria-hidden=true]{pointer-events:none;opacity:0}section h1,section p{min-width:300px;max-width:600px}.button{position:relative;display:inline-block;color:#fff;background-color:#48a1ff;border-radius:4px;text-decoration:none;padding:10px 40px 10px 20px;white-space:nowrap}.button:hover{background-color:#48a1ffd9}#button-icon{position:absolute;top:1px;right:5px;bottom:0;width:30px;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="white" stroke-linecap="square" stroke-miterlimit="10" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');background-repeat:no-repeat;background-position:center;background-size:24px 24px}.button[aria-disabled=true]{opacity:.9;background-color:#ffffff4d;pointer-events:none;padding-right:60px}.button[aria-disabled=true] #button-icon{top:21px;right:29px;width:8px;height:8px;border-radius:4px;background:#fff;color:#fff;animation:dot-flashing .5s infinite linear alternate;animation-delay:.25s}.button[aria-disabled=true] #button-icon:before,.button[aria-disabled=true] #button-icon:after{content:"";display:inline-block;position:absolute;top:0}.button[aria-disabled=true] #button-icon:before{left:-12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:0s}.button[aria-disabled=true] #button-icon:after{left:12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:.5s}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:#ffffff4d}}.logo{margin-left:9px;background:url('data:image/svg+xml,<svg viewBox="0 0 150 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <g clip-path="url(%23clip0_4_304)"> <path d="M27.9858 8.99927C27.9872 10.3415 27.688 11.667 27.1101 12.8783C26.5321 14.0896 25.6902 15.156 24.6462 15.9989V15.9989L0.634502 2.36355C0.542657 2.31119 0.457444 2.24796 0.380701 2.17523C0.260289 2.05715 0.164605 1.91624 0.0992389 1.76075C0.0338732 1.60525 0.000136546 1.43828 0 1.26959C0 0.932873 0.133698 0.609948 0.371683 0.371854C0.609667 0.13376 0.932443 0 1.269 0L18.9906 0C21.3763 0 23.6642 0.948135 25.3512 2.63583C27.0381 4.32352 27.9858 6.61252 27.9858 8.99927V8.99927Z" fill="%2318B4F4" /> <path d="M27.9858 22.9986C27.9861 24.1806 27.7536 25.351 27.3017 26.4431C26.8498 27.5352 26.1873 28.5275 25.352 29.3634C24.5167 30.1993 23.5249 30.8624 22.4335 31.3147C21.342 31.7671 20.1721 32 18.9907 32H1.26906C1.01802 31.9973 0.77343 31.9202 0.566221 31.7784C0.359012 31.6366 0.198499 31.4364 0.104989 31.2034C0.0114791 30.9703 -0.0108254 30.7147 0.0408974 30.4689C0.0926201 30.2231 0.216046 29.9982 0.395559 29.8226V29.8226C0.467112 29.7508 0.547407 29.6882 0.634555 29.6364L10.0844 24.2703L24.6441 16.001C25.688 16.8438 26.53 17.9097 27.1083 19.1206C27.6866 20.3315 27.9864 21.6566 27.9858 22.9986V22.9986Z" fill="%23FD6B3C" /> <path d="M24.6461 15.9989L10.0843 24.2703L0.634458 29.6365C0.54372 29.6868 0.459841 29.7487 0.384888 29.8205C3.98804 26.1233 6.00266 21.1627 5.99812 15.9989C6.0049 10.8346 3.99085 5.87268 0.387003 2.17523C0.463746 2.24796 0.548959 2.31119 0.640803 2.36355L24.6461 15.9989Z" fill="%23A97FF2" /> <path d="M47.6659 11.7352C51.8177 11.7352 54.1632 15.0531 54.1632 19.0714C54.1632 23.0896 51.8177 26.3821 47.6659 26.3821C45.5086 26.3821 43.8589 25.5188 42.9473 24.0545L42.5709 26.052H39.9736V6.77115H43.1884V13.8914C43.971 12.6959 45.5086 11.7352 47.6659 11.7352ZM47.0187 23.5488C49.4446 23.5488 50.9547 21.5809 50.9547 19.0714C50.9547 16.5089 49.4446 14.5664 47.0187 14.5664C44.5928 14.5664 43.0806 16.5047 43.0806 19.0714C43.0806 21.583 44.5653 23.5488 47.0187 23.5488V23.5488Z" fill="white" /> <path d="M65.4595 20.2859V12.0611H68.668V20.123C68.668 23.7202 67.0246 26.3821 62.4943 26.3821C57.9639 26.3821 56.3206 23.7117 56.3206 20.123V12.0611H59.529V20.2859C59.529 22.4696 60.5527 23.5488 62.49 23.5488C64.4274 23.5488 65.4595 22.4696 65.4595 20.2859Z" fill="white" /> <path d="M71.2355 7.74451C71.2247 7.46284 71.2724 7.18199 71.3755 6.91968C71.4787 6.65737 71.6351 6.41929 71.8348 6.22047C72.0345 6.02165 72.2732 5.8664 72.5359 5.76452C72.7986 5.66264 73.0796 5.61633 73.3611 5.62853C74.5793 5.62853 75.4571 6.50666 75.4571 7.75509C75.4571 9.00352 74.5793 9.8224 73.3611 9.8224C72.1428 9.8224 71.2355 8.9612 71.2355 7.74451Z" fill="white" /> <path d="M128.476 7.74451C128.465 7.46376 128.513 7.18383 128.615 6.92227C128.718 6.66071 128.873 6.42315 129.072 6.22449C129.27 6.02583 129.508 5.87035 129.769 5.7678C130.031 5.66524 130.31 5.61783 130.591 5.62852C131.809 5.62852 132.687 6.50666 132.687 7.75509C132.687 9.00352 131.809 9.8224 130.591 9.8224C129.373 9.8224 128.476 8.9612 128.476 7.74451Z" fill="white" /> <path d="M122.302 24.1031C122.291 23.8223 122.339 23.5422 122.441 23.2805C122.543 23.0188 122.699 22.7811 122.897 22.5824C123.096 22.3837 123.334 22.2282 123.595 22.1258C123.857 22.0233 124.137 21.9761 124.417 21.9872C125.636 21.9872 126.513 22.8653 126.513 24.1031C126.513 25.341 125.636 26.1726 124.417 26.1726C123.199 26.1726 122.302 25.3219 122.302 24.1031Z" fill="white" /> <path d="M74.9516 12.059H71.7432V26.0583H74.9516V12.059Z" fill="white" /> <path d="M78.16 26.0583V6.77115H81.3685V26.0626L78.16 26.0583Z" fill="white" /> <path d="M94.6063 6.77115H97.8148V26.0626H95.2239L94.8474 24.0651C93.9591 25.523 92.3094 26.3927 90.131 26.3927C86.0046 26.3927 83.6591 23.0748 83.6591 19.0819C83.6591 15.0891 86.0046 11.7458 90.131 11.7458C92.3137 11.7458 93.8238 12.7149 94.6063 13.902V6.77115ZM90.7993 14.5707C88.3734 14.5707 86.8633 16.5131 86.8633 19.0756C86.8633 21.5851 88.3734 23.553 90.7993 23.553C93.2252 23.553 94.7354 21.5851 94.7354 19.0756C94.7396 16.5047 93.257 14.5664 90.8036 14.5664L90.7993 14.5707Z" fill="white" /> <path d="M113.479 22.2284C112.482 24.7359 110.162 26.3821 107.117 26.3821C102.887 26.3821 100.137 23.225 100.137 19.0439C100.137 14.9706 102.942 11.7353 107.093 11.7353C111.245 11.7353 113.969 14.8902 113.969 18.991C113.982 19.3255 113.953 19.6604 113.883 19.9876H103.288C103.53 22.2009 104.959 23.6292 107.197 23.6292C108.735 23.6292 110.001 22.8738 110.594 21.473L113.479 22.2284ZM103.341 17.6156H110.784C110.513 15.6731 109.166 14.3506 107.089 14.3506C105.012 14.3506 103.665 15.7006 103.341 17.6156V17.6156Z" fill="white" /> <path d="M123.779 14.9452C123.538 14.9117 123.295 14.8933 123.051 14.8902C120.786 14.8902 119.439 16.0772 119.439 18.7751V26.0583H116.23V12.0611H118.821L119.195 14.0014C119.707 13.1127 120.887 11.9257 123.322 11.9257C123.455 11.9257 123.779 11.9532 123.779 11.9532V14.9452Z" fill="white" /> <path d="M132.192 12.059H128.984V26.0583H132.192V12.059Z" fill="white" /> <path d="M134.483 19.0714C134.483 15.1335 137.287 11.7353 141.735 11.7353C146.183 11.7353 149.015 15.1335 149.015 19.0714C149.015 23.0092 146.213 26.3821 141.735 26.3821C137.258 26.3821 134.483 23.0092 134.483 19.0714ZM141.735 23.5488C144.083 23.5488 145.806 21.7692 145.806 19.0714C145.806 16.3735 144.083 14.5664 141.735 14.5664C139.387 14.5664 137.687 16.346 137.687 19.0714C137.687 21.7968 139.417 23.5488 141.735 23.5488V23.5488Z" fill="white" /> </g> <defs> <clipPath id="clip0_4_304"> <rect width="149.015" height="32" fill="white" /> </clipPath> </defs> </svg>');background-repeat:no-repeat;width:150px;height:32px}@media(max-width:840px){aside{width:250px;padding:60px 0 0 20px}section{left:250px;padding:0 80px}}@media(max-width:590px){aside{width:230px;padding:60px 0 0 10px}section{left:230px;padding:0 40px}}#modified-files-message a{color:#cbcbcb;font-weight:300;text-decoration:underline}#modified-files-message a:hover{color:#fff;text-decoration:none}#restart-warning{border-radius:4px;padding:8px 16px;border:1px solid #fd6b3c;background:#fd6b3c1a}#react-router-steps{margin:0 0 5px;padding:0 20px}#need-help{color:#48a1ff;text-decoration:none}#router-message{border-radius:4px;padding:16px;border:1px solid #48a1ff}#router-finish-button{margin-top:12px}#router-checkbox-div{display:flex;align-items:center}#router-checkbox{margin-right:10px;width:15px;height:15px}#success-title{display:flex;align-items:center;gap:10px}#success-title .check-icon{display:inline-block;width:24px;height:24px;border:2px solid #28a745;border-radius:50%;position:relative}#success-title .check-icon:before{content:"";position:absolute;top:50%;left:50%;width:6px;height:12px;border:solid #28a745;border-width:0 2px 2px 0;transform:translate(-50%,-60%) rotate(45deg)}
1280
1280
  </style>\`,Nt=class extends HTMLElement{constructor(){super()}connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=lo+\`<main>
1281
1281
  <aside>
1282
1282
  <div class="logo"></div>
@@ -1315,7 +1315,7 @@ Restarting server after Builder Devtools update...
1315
1315
  </nav>
1316
1316
  </section>
1317
1317
  </main>
1318
- \`,po();let r=new URL(Fr,ot);r.searchParams.set(Br,location.href);let n=e.querySelectorAll(".next-step");for(let i of n)i.setAttribute("href",r.href);ye("overview step viewed")}},po=()=>{let t=document.head.querySelector("link[rel='icon'], link[rel='icon shortcut']");t?(t.href="https://cdn.builder.io/favicon.ico",t.removeAttribute("type")):(t=document.createElement("link"),t.rel="icon",t.href="https://cdn.builder.io/favicon.ico",document.head.appendChild(t))};var li=async()=>{(await jr()).isValid||fo()},fo=()=>{customElements.get("builder-dev-tools-overview")||customElements.define("builder-dev-tools-overview",Nt);let t=document.querySelector("builder-dev-tools-overview");t||(t=document.createElement("builder-dev-tools-overview"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),setTimeout(()=>{t.removeAttribute("aria-hidden")},32)};var mo=()=>{try{customElements.get("builder-dev-tools-edit")||customElements.define("builder-dev-tools-edit",at),customElements.get("builder-dev-tools-menu")||customElements.define("builder-dev-tools-menu",Dt);let t=document.querySelector("builder-dev-tools-menu");t||(t=document.createElement("builder-dev-tools-menu"),t.setAttribute("data-version","1.61.3-beta.202605291258.f681e36"),document.body.appendChild(t));let e=document.querySelector("builder-dev-tools-edit");e||(e=document.createElement("builder-dev-tools-edit"),document.body.appendChild(e));let r=document.getElementById("builder-dev-tools-style");r||(r=document.createElement("style"),r.id="builder-dev-tools-style",r.innerHTML=".builder-no-scroll{overflow:hidden !important}",document.head.appendChild(r)),li(),Jn()}catch(t){console.error("Builder Devtools:",t)}};window.location===window.parent.location&&(console.debug("Builder.io Devtools v1.61.3-beta.202605291258.f681e36"),mo());})();`)}async function lne(t){return gne(t,`<!doctype html>
1318
+ \`,po();let r=new URL(Fr,ot);r.searchParams.set(Br,location.href);let n=e.querySelectorAll(".next-step");for(let i of n)i.setAttribute("href",r.href);ye("overview step viewed")}},po=()=>{let t=document.head.querySelector("link[rel='icon'], link[rel='icon shortcut']");t?(t.href="https://cdn.builder.io/favicon.ico",t.removeAttribute("type")):(t=document.createElement("link"),t.rel="icon",t.href="https://cdn.builder.io/favicon.ico",document.head.appendChild(t))};var li=async()=>{(await jr()).isValid||fo()},fo=()=>{customElements.get("builder-dev-tools-overview")||customElements.define("builder-dev-tools-overview",Nt);let t=document.querySelector("builder-dev-tools-overview");t||(t=document.createElement("builder-dev-tools-overview"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),setTimeout(()=>{t.removeAttribute("aria-hidden")},32)};var mo=()=>{try{customElements.get("builder-dev-tools-edit")||customElements.define("builder-dev-tools-edit",at),customElements.get("builder-dev-tools-menu")||customElements.define("builder-dev-tools-menu",Dt);let t=document.querySelector("builder-dev-tools-menu");t||(t=document.createElement("builder-dev-tools-menu"),t.setAttribute("data-version","1.61.3-beta.202605291504.30c154d"),document.body.appendChild(t));let e=document.querySelector("builder-dev-tools-edit");e||(e=document.createElement("builder-dev-tools-edit"),document.body.appendChild(e));let r=document.getElementById("builder-dev-tools-style");r||(r=document.createElement("style"),r.id="builder-dev-tools-style",r.innerHTML=".builder-no-scroll{overflow:hidden !important}",document.head.appendChild(r)),li(),Jn()}catch(t){console.error("Builder Devtools:",t)}};window.location===window.parent.location&&(console.debug("Builder.io Devtools v1.61.3-beta.202605291504.30c154d"),mo());})();`)}async function lne(t){return gne(t,`<!doctype html>
1319
1319
  <html lang="en" dir="ltr">
1320
1320
  <head>
1321
1321
  <meta charset="utf-8" />
@@ -1599,23 +1599,23 @@ ${s.map(o=>G_(o,r)).join(`
1599
1599
  `)&&(n+=`
1600
1600
  `);let i=Kqe(t);if(i&&(n.trim()&&(n+=`
1601
1601
  `),n+=i+`
1602
- `),!Gqe(n)){let o=new Error(`Failed to write to hosts file at ${M0}`);return e?.captureException(o),!1}return!0}catch(r){return e?.captureException(r),!1}}var P0,Ioe,Eoe,M0,yoe=P(()=>{"use strict";h();P0=require("node:fs"),Ioe="# BEGIN BUILDER.IO DEV-TOOLS MANAGED",Eoe="# END BUILDER.IO DEV-TOOLS MANAGED",M0=process.platform==="win32"?"C:\\Windows\\System32\\drivers\\etc\\hosts":"/etc/hosts"});function Doe(t){let e=t??(0,Qoe.homedir)();return[(0,Vu.join)(e,".builder"),(0,Vu.join)(e,".claude"),(0,Vu.join)(e,".cursor"),(0,Vu.join)(e,".agents")]}var Vu,Qoe,_I=P(()=>{"use strict";h();S0();Vu=require("node:path"),Qoe=require("node:os");S0()});function Hqe(t,e){try{let r=t.base64!==void 0?Buffer.from(t.base64,"base64"):Buffer.from(t.content??"","utf-8");return{size:r.byteLength,md5:(0,woe.createHash)("md5").update(new Uint8Array(r)).digest("hex"),buffer:r}}catch(r){return e?.captureException(r),{size:0,md5:"FAILED",buffer:null}}}function boe(t,e){if(!t||typeof t!="string")return t;let r=ui(t);return(0,da.isAbsolute)(r)?(0,da.normalize)(r):e?(r=(0,da.join)(e,r),(0,da.normalize)(r)):r}function Jqe(t,e){if(!t||typeof t!="string")return!1;let r=boe(t,e);return!(!(0,da.isAbsolute)(r)||(0,da.normalize)(r)!==r)}function jqe(t){try{let e=(0,da.dirname)(t);return(0,Jg.existsSync)(e)||(0,Jg.mkdirSync)(e,{recursive:!0,mode:493}),!0}catch{return!1}}function Yqe(t,e,r){let n=Hqe(t,r);if(n.buffer===null)return{success:!1,error:"Failed to decode file content",size:n.size,md5:n.md5};try{if(!Jqe(t.path,e))return{success:!1,error:`Invalid file path: ${t.path}. Path must be resolvable to an absolute path.`,size:n.size,md5:n.md5};let i=boe(t.path,e);if(!jqe(i))return{success:!1,error:`Failed to create directory for: ${i}`,size:n.size,md5:n.md5};let s=n.buffer;return(0,Jg.writeFileSync)(i,new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),{success:!0,resolvedPath:i,size:n.size,md5:n.md5}}catch(i){let s=i instanceof Error?i.message:String(i);return r?.captureException(i),{success:!1,error:s,size:n.size,md5:n.md5}}}function L0(t,e,r){let n={success:!0,appliedFiles:[],failedFiles:[]};if(!t||t.length===0)return n;for(let i of t){let s=Yqe(i,e,r);s.success&&s.resolvedPath?n.appliedFiles.push({path:s.resolvedPath,size:s.size,md5:s.md5}):(n.success=!1,n.failedFiles.push({path:i.path,error:s.error||"Unknown error",size:s.size,md5:s.md5}))}return n}var Jg,da,woe,V_=P(()=>{"use strict";h();Jg=require("node:fs"),da=require("node:path"),woe=require("node:crypto");_I();_I()});function Vqe(){let t=Date.now();for(let[e,r]of _0.entries())t-r>$qe&&_0.delete(e)}async function xoe(){Vqe();for(let e=0;e<50;e++){let r=Math.floor(Math.random()*(qqe-voe+1))+voe;if(_0.has(r))continue;if(await W_(r))return _0.set(r,Date.now()),r}throw new Error("Could not find available port after 50 attempts")}function W_(t){return new Promise(e=>{let r=Soe.default.createServer();r.once("error",()=>{e(!1)}),r.once("listening",()=>{r.close(()=>{e(!0)})}),r.listen(t,"127.0.0.1")})}var Soe,voe,qqe,_0,$qe,Foe=P(()=>{"use strict";h();Soe=z(require("node:net"),1),voe=3e4,qqe=4e4,_0=new Map,$qe=6e4});var z_=N((ljt,koe)=>{h();var bf=1e3,vf=bf*60,Sf=vf*60,jg=Sf*24,Wqe=jg*7,zqe=jg*365.25;koe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Xqe(t);if(r==="number"&&isFinite(t))return e.long?e$e(t):Zqe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Xqe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*zqe;case"weeks":case"week":case"w":return r*Wqe;case"days":case"day":case"d":return r*jg;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Sf;case"minutes":case"minute":case"mins":case"min":case"m":return r*vf;case"seconds":case"second":case"secs":case"sec":case"s":return r*bf;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Zqe(t){var e=Math.abs(t);return e>=jg?Math.round(t/jg)+"d":e>=Sf?Math.round(t/Sf)+"h":e>=vf?Math.round(t/vf)+"m":e>=bf?Math.round(t/bf)+"s":t+"ms"}function e$e(t){var e=Math.abs(t);return e>=jg?U0(t,e,jg,"day"):e>=Sf?U0(t,e,Sf,"hour"):e>=vf?U0(t,e,vf,"minute"):e>=bf?U0(t,e,bf,"second"):t+" ms"}function U0(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var X_=N((pjt,Roe)=>{h();function t$e(t){r.debug=r,r.default=r,r.coerce=A,r.disable=o,r.enable=i,r.enabled=a,r.humanize=z_(),r.destroy=c,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let l=0;for(let d=0;d<u.length;d++)l=(l<<5)-l+u.charCodeAt(d),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=e;function r(u){let l,d=null,g,p;function f(...m){if(!f.enabled)return;let C=f,I=Number(new Date),y=I-(l||I);C.diff=y,C.prev=l,C.curr=I,l=I,m[0]=r.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");let B=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,(D,v)=>{if(D==="%%")return"%";B++;let Q=r.formatters[v];if(typeof Q=="function"){let S=m[B];D=Q.call(C,S),m.splice(B,1),B--}return D}),r.formatArgs.call(C,m),(C.log||r.log).apply(C,m)}return f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(g!==r.namespaces&&(g=r.namespaces,p=r.enabled(u)),p),set:m=>{d=m}}),typeof r.init=="function"&&r.init(f),f}function n(u,l){let d=r(this.namespace+(typeof l>"u"?":":l)+u);return d.log=this.log,d}function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let l=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of l)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function s(u,l){let d=0,g=0,p=-1,f=0;for(;d<u.length;)if(g<l.length&&(l[g]===u[d]||l[g]==="*"))l[g]==="*"?(p=g,f=d,g++):(d++,g++);else if(p!==-1)g=p+1,f++,d=f;else return!1;for(;g<l.length&&l[g]==="*";)g++;return g===l.length}function o(){let u=[...r.names,...r.skips.map(l=>"-"+l)].join(",");return r.enable(""),u}function a(u){for(let l of r.skips)if(s(u,l))return!1;for(let l of r.names)if(s(u,l))return!0;return!1}function A(u){return u instanceof Error?u.stack||u.message:u}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}Roe.exports=t$e});var Toe=N((ls,G0)=>{h();ls.formatArgs=n$e;ls.save=i$e;ls.load=s$e;ls.useColors=r$e;ls.storage=o$e();ls.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ls.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r$e(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n$e(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+G0.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}ls.log=console.debug||console.log||(()=>{});function i$e(t){try{t?ls.storage.setItem("debug",t):ls.storage.removeItem("debug")}catch{}}function s$e(){let t;try{t=ls.storage.getItem("debug")||ls.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function o$e(){try{return localStorage}catch{}}G0.exports=X_()(ls);var{formatters:a$e}=G0.exports;a$e.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Moe=N((hjt,Noe)=>{"use strict";h();Noe.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}});var _oe=N((Cjt,Loe)=>{"use strict";h();var A$e=require("os"),Poe=require("tty"),fo=Moe(),{env:Yn}=process,O0;fo("no-color")||fo("no-colors")||fo("color=false")||fo("color=never")?O0=0:(fo("color")||fo("colors")||fo("color=true")||fo("color=always"))&&(O0=1);function c$e(){if("FORCE_COLOR"in Yn)return Yn.FORCE_COLOR==="true"?1:Yn.FORCE_COLOR==="false"?0:Yn.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Yn.FORCE_COLOR,10),3)}function u$e(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function l$e(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=c$e();n!==void 0&&(O0=n);let i=r?O0:n;if(i===0)return 0;if(r){if(fo("color=16m")||fo("color=full")||fo("color=truecolor"))return 3;if(fo("color=256"))return 2}if(t&&!e&&i===void 0)return 0;let s=i||0;if(Yn.TERM==="dumb")return s;if(process.platform==="win32"){let o=A$e.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Yn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in Yn)||Yn.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Yn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Yn.TEAMCITY_VERSION)?1:0;if(Yn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Yn){let o=Number.parseInt((Yn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Yn.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Yn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Yn.TERM)||"COLORTERM"in Yn?1:s}function Z_(t,e={}){let r=l$e(t,{streamIsTTY:t&&t.isTTY,...e});return u$e(r)}Loe.exports={supportsColor:Z_,stdout:Z_({isTTY:Poe.isatty(1)}),stderr:Z_({isTTY:Poe.isatty(2)})}});var Goe=N((qn,H0)=>{h();var g$e=require("tty"),K0=require("util");qn.init=I$e;qn.log=h$e;qn.formatArgs=d$e;qn.save=m$e;qn.load=C$e;qn.useColors=p$e;qn.destroy=K0.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");qn.colors=[6,2,3,4,5,1];try{let t=_oe();t&&(t.stderr||t).level>=2&&(qn.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}qn.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function p$e(){return"colors"in qn.inspectOpts?!!qn.inspectOpts.colors:g$e.isatty(process.stderr.fd)}function d$e(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
1602
+ `),!Gqe(n)){let o=new Error(`Failed to write to hosts file at ${M0}`);return e?.captureException(o),!1}return!0}catch(r){return e?.captureException(r),!1}}var P0,Ioe,Eoe,M0,yoe=P(()=>{"use strict";h();P0=require("node:fs"),Ioe="# BEGIN BUILDER.IO DEV-TOOLS MANAGED",Eoe="# END BUILDER.IO DEV-TOOLS MANAGED",M0=process.platform==="win32"?"C:\\Windows\\System32\\drivers\\etc\\hosts":"/etc/hosts"});function Doe(t){let e=t??(0,Qoe.homedir)();return[(0,Vu.join)(e,".builder"),(0,Vu.join)(e,".claude"),(0,Vu.join)(e,".cursor"),(0,Vu.join)(e,".agents")]}var Vu,Qoe,_I=P(()=>{"use strict";h();S0();Vu=require("node:path"),Qoe=require("node:os");S0()});function Hqe(t,e){try{let r=t.base64!==void 0?Buffer.from(t.base64,"base64"):Buffer.from(t.content??"","utf-8");return{size:r.byteLength,md5:(0,woe.createHash)("md5").update(new Uint8Array(r)).digest("hex"),buffer:r}}catch(r){return e?.captureException(r),{size:0,md5:"FAILED",buffer:null}}}function boe(t,e){if(!t||typeof t!="string")return t;let r=ui(t);return(0,da.isAbsolute)(r)?(0,da.normalize)(r):e?(r=(0,da.join)(e,r),(0,da.normalize)(r)):r}function Jqe(t,e){if(!t||typeof t!="string")return!1;let r=boe(t,e);return!(!(0,da.isAbsolute)(r)||(0,da.normalize)(r)!==r)}function jqe(t){try{let e=(0,da.dirname)(t);return(0,Jg.existsSync)(e)||(0,Jg.mkdirSync)(e,{recursive:!0,mode:493}),!0}catch{return!1}}function Yqe(t,e,r){let n=Hqe(t,r);if(n.buffer===null)return{success:!1,error:"Failed to decode file content",size:n.size,md5:n.md5};try{if(!Jqe(t.path,e))return{success:!1,error:`Invalid file path: ${t.path}. Path must be resolvable to an absolute path.`,size:n.size,md5:n.md5};let i=boe(t.path,e);if(!jqe(i))return{success:!1,error:`Failed to create directory for: ${i}`,size:n.size,md5:n.md5};let s=n.buffer;return(0,Jg.writeFileSync)(i,new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),{success:!0,resolvedPath:i,size:n.size,md5:n.md5}}catch(i){let s=i instanceof Error?i.message:String(i);return r?.captureException(i),{success:!1,error:s,size:n.size,md5:n.md5}}}function L0(t,e,r){let n={success:!0,appliedFiles:[],failedFiles:[]};if(!t||t.length===0)return n;for(let i of t){let s=Yqe(i,e,r);s.success&&s.resolvedPath?n.appliedFiles.push({path:s.resolvedPath,size:s.size,md5:s.md5}):(n.success=!1,n.failedFiles.push({path:i.path,error:s.error||"Unknown error",size:s.size,md5:s.md5}))}return n}var Jg,da,woe,V_=P(()=>{"use strict";h();Jg=require("node:fs"),da=require("node:path"),woe=require("node:crypto");_I();_I()});function Vqe(){let t=Date.now();for(let[e,r]of _0.entries())t-r>$qe&&_0.delete(e)}async function xoe(){Vqe();for(let e=0;e<50;e++){let r=Math.floor(Math.random()*(qqe-voe+1))+voe;if(_0.has(r))continue;if(await W_(r))return _0.set(r,Date.now()),r}throw new Error("Could not find available port after 50 attempts")}function W_(t){return new Promise(e=>{let r=Soe.default.createServer();r.once("error",()=>{e(!1)}),r.once("listening",()=>{r.close(()=>{e(!0)})}),r.listen(t,"127.0.0.1")})}var Soe,voe,qqe,_0,$qe,Foe=P(()=>{"use strict";h();Soe=z(require("node:net"),1),voe=3e4,qqe=4e4,_0=new Map,$qe=6e4});var z_=N((ljt,koe)=>{h();var bf=1e3,vf=bf*60,Sf=vf*60,jg=Sf*24,Wqe=jg*7,zqe=jg*365.25;koe.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Xqe(t);if(r==="number"&&isFinite(t))return e.long?e5e(t):Zqe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Xqe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*zqe;case"weeks":case"week":case"w":return r*Wqe;case"days":case"day":case"d":return r*jg;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Sf;case"minutes":case"minute":case"mins":case"min":case"m":return r*vf;case"seconds":case"second":case"secs":case"sec":case"s":return r*bf;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Zqe(t){var e=Math.abs(t);return e>=jg?Math.round(t/jg)+"d":e>=Sf?Math.round(t/Sf)+"h":e>=vf?Math.round(t/vf)+"m":e>=bf?Math.round(t/bf)+"s":t+"ms"}function e5e(t){var e=Math.abs(t);return e>=jg?U0(t,e,jg,"day"):e>=Sf?U0(t,e,Sf,"hour"):e>=vf?U0(t,e,vf,"minute"):e>=bf?U0(t,e,bf,"second"):t+" ms"}function U0(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var X_=N((pjt,Roe)=>{h();function t5e(t){r.debug=r,r.default=r,r.coerce=A,r.disable=o,r.enable=i,r.enabled=a,r.humanize=z_(),r.destroy=c,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let l=0;for(let d=0;d<u.length;d++)l=(l<<5)-l+u.charCodeAt(d),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=e;function r(u){let l,d=null,g,p;function f(...m){if(!f.enabled)return;let C=f,I=Number(new Date),y=I-(l||I);C.diff=y,C.prev=l,C.curr=I,l=I,m[0]=r.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");let B=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,(D,v)=>{if(D==="%%")return"%";B++;let Q=r.formatters[v];if(typeof Q=="function"){let S=m[B];D=Q.call(C,S),m.splice(B,1),B--}return D}),r.formatArgs.call(C,m),(C.log||r.log).apply(C,m)}return f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(g!==r.namespaces&&(g=r.namespaces,p=r.enabled(u)),p),set:m=>{d=m}}),typeof r.init=="function"&&r.init(f),f}function n(u,l){let d=r(this.namespace+(typeof l>"u"?":":l)+u);return d.log=this.log,d}function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let l=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of l)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function s(u,l){let d=0,g=0,p=-1,f=0;for(;d<u.length;)if(g<l.length&&(l[g]===u[d]||l[g]==="*"))l[g]==="*"?(p=g,f=d,g++):(d++,g++);else if(p!==-1)g=p+1,f++,d=f;else return!1;for(;g<l.length&&l[g]==="*";)g++;return g===l.length}function o(){let u=[...r.names,...r.skips.map(l=>"-"+l)].join(",");return r.enable(""),u}function a(u){for(let l of r.skips)if(s(u,l))return!1;for(let l of r.names)if(s(u,l))return!0;return!1}function A(u){return u instanceof Error?u.stack||u.message:u}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}Roe.exports=t5e});var Toe=N((ls,G0)=>{h();ls.formatArgs=n5e;ls.save=i5e;ls.load=s5e;ls.useColors=r5e;ls.storage=o5e();ls.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ls.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r5e(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n5e(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+G0.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}ls.log=console.debug||console.log||(()=>{});function i5e(t){try{t?ls.storage.setItem("debug",t):ls.storage.removeItem("debug")}catch{}}function s5e(){let t;try{t=ls.storage.getItem("debug")||ls.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function o5e(){try{return localStorage}catch{}}G0.exports=X_()(ls);var{formatters:a5e}=G0.exports;a5e.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Moe=N((hjt,Noe)=>{"use strict";h();Noe.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}});var _oe=N((Cjt,Loe)=>{"use strict";h();var A5e=require("os"),Poe=require("tty"),fo=Moe(),{env:Yn}=process,O0;fo("no-color")||fo("no-colors")||fo("color=false")||fo("color=never")?O0=0:(fo("color")||fo("colors")||fo("color=true")||fo("color=always"))&&(O0=1);function c5e(){if("FORCE_COLOR"in Yn)return Yn.FORCE_COLOR==="true"?1:Yn.FORCE_COLOR==="false"?0:Yn.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Yn.FORCE_COLOR,10),3)}function u5e(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function l5e(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=c5e();n!==void 0&&(O0=n);let i=r?O0:n;if(i===0)return 0;if(r){if(fo("color=16m")||fo("color=full")||fo("color=truecolor"))return 3;if(fo("color=256"))return 2}if(t&&!e&&i===void 0)return 0;let s=i||0;if(Yn.TERM==="dumb")return s;if(process.platform==="win32"){let o=A5e.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Yn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in Yn)||Yn.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Yn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Yn.TEAMCITY_VERSION)?1:0;if(Yn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Yn){let o=Number.parseInt((Yn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Yn.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Yn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Yn.TERM)||"COLORTERM"in Yn?1:s}function Z_(t,e={}){let r=l5e(t,{streamIsTTY:t&&t.isTTY,...e});return u5e(r)}Loe.exports={supportsColor:Z_,stdout:Z_({isTTY:Poe.isatty(1)}),stderr:Z_({isTTY:Poe.isatty(2)})}});var Goe=N((qn,H0)=>{h();var g5e=require("tty"),K0=require("util");qn.init=I5e;qn.log=h5e;qn.formatArgs=d5e;qn.save=m5e;qn.load=C5e;qn.useColors=p5e;qn.destroy=K0.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");qn.colors=[6,2,3,4,5,1];try{let t=_oe();t&&(t.stderr||t).level>=2&&(qn.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}qn.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function p5e(){return"colors"in qn.inspectOpts?!!qn.inspectOpts.colors:g5e.isatty(process.stderr.fd)}function d5e(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
1603
1603
  `).join(`
1604
- `+s),t.push(i+"m+"+H0.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=f$e()+e+" "+t[0]}function f$e(){return qn.inspectOpts.hideDate?"":new Date().toISOString()+" "}function h$e(...t){return process.stderr.write(K0.formatWithOptions(qn.inspectOpts,...t)+`
1605
- `)}function m$e(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function C$e(){return process.env.DEBUG}function I$e(t){t.inspectOpts={};let e=Object.keys(qn.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=qn.inspectOpts[e[r]]}H0.exports=X_()(qn);var{formatters:Uoe}=H0.exports;Uoe.o=function(t){return this.inspectOpts.colors=this.useColors,K0.inspect(t,this.inspectOpts).split(`
1606
- `).map(e=>e.trim()).join(" ")};Uoe.O=function(t){return this.inspectOpts.colors=this.useColors,K0.inspect(t,this.inspectOpts)}});var Yi=N((Bjt,eU)=>{h();typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?eU.exports=Toe():eU.exports=Goe()});var Koe=N((Qjt,Ooe)=>{h();var UI;Ooe.exports=function(){if(!UI){try{UI=Yi()("follow-redirects")}catch{}typeof UI!="function"&&(UI=function(){})}UI.apply(null,arguments)}});var qoe=N((wjt,gU)=>{h();var OI=require("url"),GI=OI.URL,E$e=require("http"),B$e=require("https"),sU=require("stream").Writable,oU=require("assert"),Hoe=Koe();(function(){var e=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=qg(Error.captureStackTrace);!e&&(r||!n)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var aU=!1;try{oU(new GI(""))}catch(t){aU=t.code==="ERR_INVALID_URL"}var y$e=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],AU=["abort","aborted","connect","error","socket","timeout"],cU=Object.create(null);AU.forEach(function(t){cU[t]=function(e,r,n){this._redirectable.emit(t,e,r,n)}});var rU=KI("ERR_INVALID_URL","Invalid URL",TypeError),nU=KI("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Q$e=KI("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",nU),D$e=KI("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w$e=KI("ERR_STREAM_WRITE_AFTER_END","write after end"),b$e=sU.prototype.destroy||joe;function gs(t,e){sU.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var r=this;this._onNativeResponse=function(n){try{r._processResponse(n)}catch(i){r.emit("error",i instanceof nU?i:new nU({cause:i}))}},this._performRequest()}gs.prototype=Object.create(sU.prototype);gs.prototype.abort=function(){lU(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};gs.prototype.destroy=function(t){return lU(this._currentRequest,t),b$e.call(this,t),this};gs.prototype.write=function(t,e,r){if(this._ending)throw new w$e;if(!Yg(t)&&!x$e(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(qg(e)&&(r=e,e=null),t.length===0){r&&r();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,r)):(this.emit("error",new D$e),this.abort())};gs.prototype.end=function(t,e,r){if(qg(t)?(r=t,t=e=null):qg(e)&&(r=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(t,e,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};gs.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};gs.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};gs.prototype.setTimeout=function(t,e){var r=this;function n(o){o.setTimeout(t),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function i(o){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},t),n(o)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),r.removeListener("close",s),e&&r.removeListener("timeout",e),r.socket||r._currentRequest.removeListener("socket",i)}return e&&this.on("timeout",e),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",n),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){gs.prototype[t]=function(e,r){return this._currentRequest[t](e,r)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(gs.prototype,t,{get:function(){return this._currentRequest[t]}})});gs.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};gs.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var r=t.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of AU)n.on(i,cU[i]);if(this._currentUrl=/^\//.test(this._options.path)?OI.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function A(c){if(n===o._currentRequest)if(c)o.emit("error",c);else if(s<a.length){var u=a[s++];n.finished||n.write(u.data,u.encoding,A)}else o._ended&&n.end()})()}};gs.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var r=t.headers.location;if(!r||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(lU(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Q$e;var n,i=this._options.beforeRedirect;i&&(n=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var s=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],tU(/^content-/i,this._options.headers));var o=tU(/^host$/i,this._options.headers),a=uU(this._currentUrl),A=o||a.host,c=/^\w+:/.test(r)?this._currentUrl:OI.format(Object.assign(a,{host:A})),u=v$e(r,c);if(Hoe("redirecting to",u.href),this._isRedirect=!0,iU(u,this._options),(u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==A&&!S$e(u.host,A))&&tU(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),qg(i)){var l={headers:t.headers,statusCode:e},d={url:c,method:s,headers:n};i(this._options,l,d),this._sanitizeOptions(this._options)}this._performRequest()};function Joe(t){var e={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(t).forEach(function(n){var i=n+":",s=r[i]=t[n],o=e[n]=Object.create(s);function a(c,u,l){return F$e(c)?c=iU(c):Yg(c)?c=iU(uU(c)):(l=u,u=Yoe(c),c={protocol:i}),qg(u)&&(l=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,u),u.nativeProtocols=r,!Yg(u.host)&&!Yg(u.hostname)&&(u.hostname="::1"),oU.equal(u.protocol,i,"protocol mismatch"),Hoe("options",u),new gs(u,l)}function A(c,u,l){var d=o.request(c,u,l);return d.end(),d}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:A,configurable:!0,enumerable:!0,writable:!0}})}),e}function joe(){}function uU(t){var e;if(aU)e=new GI(t);else if(e=Yoe(OI.parse(t)),!Yg(e.protocol))throw new rU({input:t});return e}function v$e(t,e){return aU?new GI(t,e):uU(OI.resolve(e,t))}function Yoe(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new rU({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new rU({input:t.href||t});return t}function iU(t,e){var r=e||{};for(var n of y$e)r[n]=t[n];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function tU(t,e){var r;for(var n in e)t.test(n)&&(r=e[n],delete e[n]);return r===null||typeof r>"u"?void 0:String(r).trim()}function KI(t,e,r){function n(i){qg(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(r||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),n}function lU(t,e){for(var r of AU)t.removeListener(r,cU[r]);t.on("error",joe),t.destroy(e)}function S$e(t,e){oU(Yg(t)&&Yg(e));var r=t.length-e.length-1;return r>0&&t[r]==="."&&t.endsWith(e)}function Yg(t){return typeof t=="string"||t instanceof String}function qg(t){return typeof t=="function"}function x$e(t){return typeof t=="object"&&"length"in t}function F$e(t){return GI&&t instanceof GI}gU.exports=Joe({http:E$e,https:B$e});gU.exports.wrap=Joe});var HI=N(Os=>{"use strict";h();Object.defineProperty(Os,"__esModule",{value:!0});Os.isSSL=void 0;Os.setupOutgoing=N$e;Os.setupSocket=M$e;Os.getPort=P$e;Os.hasEncryptedConnection=Woe;Os.urlJoin=zoe;Os.rewriteCookieProperty=Xoe;Os.toURL=Zoe;var k$e=require("node:tls"),R$e=/(^|,)\s*upgrade\s*($|,)/i;Os.isSSL=/^https|wss/;var T$e="trailer",$oe=[":method",":path",":scheme",":authority","connection","keep-alive"];function N$e(t,e,r,n){let i=e[n||"target"];t.port=+(i.port??(i.protocol!==void 0&&Os.isSSL.test(i.protocol)?443:80));for(let a of["host","hostname","socketPath","pfx","key","passphrase","cert","ca","ciphers","secureProtocol"])t[a]=i[a];t.method=e.method||r.method,t.headers={...r.headers},r.headers?.[":authority"]&&(t.headers.host=r.headers[":authority"]),e.headers&&(t.headers={...t.headers,...e.headers});for(let a in t.headers)if(T$e==a.toLowerCase()){delete t.headers[a];break}if(r.httpVersionMajor>1)for(let a of $oe)delete t.headers[a];e.auth&&(delete t.headers.authorization,t.auth=e.auth),e.ca&&(t.ca=e.ca),i.protocol!==void 0&&Os.isSSL.test(i.protocol)&&(t.rejectUnauthorized=typeof e.secure>"u"?!0:e.secure),t.agent=e.agent||!1,t.localAddress=e.localAddress,t.agent||(t.headers=t.headers||{},(typeof t.headers.connection!="string"||!R$e.test(t.headers.connection))&&(t.headers.connection="close"));let s=i&&e.prependPath!==!1&&"pathname"in i?Voe(`${i.pathname}${i.search??""}`):"/",o=e.toProxy?r.url:Voe(r.url);if(o=e.ignorePath?"":o,t.path=zoe(s,o??""),e.changeOrigin&&(t.headers.host=i.protocol!==void 0&&_$e(t.port,i.protocol)&&!L$e(t.host)?t.host+":"+t.port:t.host),t.url="href"in i&&i.href||(i.protocol==="https"?"https":"http")+"://"+t.host+(t.port?":"+t.port:""),r.httpVersionMajor>1)for(let a of $oe)delete t.headers[a];return t}function M$e(t){return t.setTimeout(0),t.setNoDelay(!0),t.setKeepAlive(!0,0),t}function P$e(t){let e=t.headers[":authority"]||t.headers.host,r=e?e.match(/:(\d+)/):"";return r?r[1]:Woe(t)?"443":"80"}function Woe(t){let e=t.connection;return e instanceof k$e.TLSSocket&&e.encrypted||!!e.pair}function zoe(...t){let e=[],r="";t.forEach((i,s)=>{let o=i.indexOf("?");o!==-1&&(e.push(i.substring(o+1)),t[s]=i.substring(0,o))}),r=e.filter(Boolean).join("&");let n="";for(let i of t)i&&(n.endsWith("/")?i.startsWith("/")?n+=i.slice(1):n+=i:i.startsWith("/")?n+=i:n+="/"+i);return r?n+"?"+r:n}function Xoe(t,e,r){return Array.isArray(t)?t.map(n=>Xoe(n,e,r)):t.replace(new RegExp("(;\\s*"+r+"=)([^;]+)","i"),(n,i,s)=>{let o;if(s in e)o=e[s];else if("*"in e)o=e["*"];else return n;return o?i+o:""})}function L$e(t){return!!~t.indexOf(":")}function Voe(t){if(t===""||t?.startsWith("?"))return t;let e=Zoe(t);return`${e.pathname??""}${e.search??""}`}function Zoe(t){return t instanceof URL?t:(typeof t=="object"&&"href"in t&&typeof t.href=="string"&&(t=t.href),t||(t=""),typeof t!="string"&&(t=`${t}`),t.startsWith("//")&&(t=`http://base.invalid${t}`),new URL(t,"http://base.invalid"))}function _$e(t,e){if(e=e.split(":")[0],t=+t,!t)return!1;switch(e){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443}return t!==0}});var pU=N(qi=>{"use strict";h();var U$e=qi&&qi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),G$e=qi&&qi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),O$e=qi&&qi.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&U$e(r,e,n[i]);return G$e(r,e),r}})();Object.defineProperty(qi,"__esModule",{value:!0});qi.OUTGOING_PASSES=void 0;qi.removeChunked=eae;qi.setConnection=tae;qi.setRedirectHostRewrite=rae;qi.writeHeaders=nae;qi.writeStatusCode=iae;var J0=O$e(HI()),K$e=/^201|30(1|2|7|8)$/;function eae(t,e,r){delete r.headers["transfer-encoding"]}function tae(t,e,r){t.httpVersion==="1.0"?r.headers.connection=t.headers.connection||"close":t.httpVersion!=="2.0"&&!r.headers.connection&&(r.headers.connection=t.headers.connection||"keep-alive")}function rae(t,e,r,n){if((n.hostRewrite||n.autoRewrite||n.protocolRewrite)&&r.headers.location&&K$e.test(`${r.statusCode}`)){let i=J0.toURL(n.target),s=r.headers.location;if(typeof s!="string")return;let o=J0.toURL(s);if(i.host!=o.host)return;n.hostRewrite?o.host=n.hostRewrite:n.autoRewrite&&(o.host=t.headers[":authority"]??t.headers.host??""),n.protocolRewrite&&(o.protocol=n.protocolRewrite),r.headers.location=o.toString()}}function nae(t,e,r,n){let i=typeof n.cookieDomainRewrite=="string"?{"*":n.cookieDomainRewrite}:n.cookieDomainRewrite,s=typeof n.cookiePathRewrite=="string"?{"*":n.cookiePathRewrite}:n.cookiePathRewrite,o=n.preserveHeaderKeyCase,a=(c,u)=>{u!=null&&(i&&c.toLowerCase()==="set-cookie"&&(u=J0.rewriteCookieProperty(u,i,"domain")),s&&c.toLowerCase()==="set-cookie"&&(u=J0.rewriteCookieProperty(u,s,"path")),e.setHeader(String(c).trim(),u))},A;if(o&&r.rawHeaders!=null){A={};for(let c=0;c<r.rawHeaders.length;c+=2){let u=r.rawHeaders[c];A[u.toLowerCase()]=u}}for(let c in r.headers){let u=c;if(t.httpVersionMajor>1&&(u==="connection"||u==="keep-alive"))continue;let l=r.headers[u];o&&A&&(u=A[u]??u),a(u,l)}}function iae(t,e,r){e.statusCode=r.statusCode,r.statusMessage&&t.httpVersionMajor===1&&(e.statusMessage=r.statusMessage)}qi.OUTGOING_PASSES={removeChunked:eae,setConnection:tae,setRedirectHostRewrite:rae,writeHeaders:nae,writeStatusCode:iae}});var uae=N(ps=>{"use strict";h();var H$e=ps&&ps.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),J$e=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),j0=ps&&ps.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&H$e(r,e,n[i]);return J$e(r,e),r}})();Object.defineProperty(ps,"__esModule",{value:!0});ps.WEB_PASSES=void 0;ps.deleteLength=oae;ps.timeout=aae;ps.XHeaders=Aae;ps.stream=cae;var j$e=j0(require("node:http")),Y$e=j0(require("node:https")),q$e=j0(qoe()),xf=j0(HI()),$$e=pU(),V$e=require("node:stream"),sae=Object.values($$e.OUTGOING_PASSES),W$e={http:j$e,https:Y$e};function oae(t){(t.method==="DELETE"||t.method==="OPTIONS")&&!t.headers["content-length"]&&(t.headers["content-length"]="0",delete t.headers["transfer-encoding"])}function aae(t,e,r){r.timeout&&t.socket.setTimeout(r.timeout)}function Aae(t,e,r){if(!r.xfwd)return;let n=xf.hasEncryptedConnection(t),i={for:t.connection.remoteAddress||t.socket.remoteAddress,port:xf.getPort(t),proto:n?"https":"http"};for(let s of["for","port","proto"])t.headers["x-forwarded-"+s]=(t.headers["x-forwarded-"+s]||"")+(t.headers["x-forwarded-"+s]?",":"")+i[s];t.headers["x-forwarded-host"]=t.headers["x-forwarded-host"]||t.headers[":authority"]||t.headers.host||""}function cae(t,e,r,n,i,s){if(i.emit("start",t,e,r.target||r.forward),r.fetch||r.fetchOptions||process.env.FORCE_FETCH_PATH==="true")return z$e(t,e,r,n,i,s);let o=r.followRedirects?q$e:W$e,a=o.http,A=o.https;if(r.forward){let p=r.forward.protocol==="https:"?A:a,f=xf.setupOutgoing(r.ssl||{},r,t,"forward"),m=p.request(f),C=g(m,r.forward);if(t.on("error",C),m.on("error",C),(r.buffer||t).pipe(m),!r.target)return e.end()}let c=r.target.protocol==="https:"?A:a,u=xf.setupOutgoing(r.ssl||{},r,t),l=c.request(u);l.on("socket",p=>{i&&!l.getHeader("expect")&&i.emit("proxyReq",l,t,e,r,p)}),r.proxyTimeout&&l.setTimeout(r.proxyTimeout,()=>{l.destroy()}),e.on("close",()=>{!e.writableFinished&&l.destroy()});let d=g(l,r.target);t.on("error",d),l.on("error",d);function g(p,f){return m=>{if(t.socket.destroyed&&m.code==="ECONNRESET"){i.emit("econnreset",m,t,e,f),p.destroy();return}s?s(m,t,e,f):i.emit("error",m,t,e,f)}}(r.buffer||t).pipe(l),l.on("response",p=>{if(i?.emit("proxyRes",p,t,e),!e.headersSent&&!r.selfHandleResponse)for(let f of sae)f(t,e,p,r);e.finished?i?.emit("end",t,e,p):(p.on("end",()=>{i?.emit("end",t,e,p)}),r.selfHandleResponse||p.pipe(e))})}async function z$e(t,e,r,n,i,s){let o=(g,p)=>{let f=g;f.code===void 0&&f.cause?.code&&(f.code=f.cause.code),s?s(g,t,e,p):i.emit("error",g,t,e,p)};t.on("error",g=>{if(t.socket.destroyed&&g.code==="ECONNRESET"){let p=r.target||r.forward;p&&i.emit("econnreset",g,t,e,p);return}o(g)});let a=r.fetch||fetch,A=r.fetchOptions??{},c=g=>{let p={method:g.method,...A.requestOptions},f=new Headers(A.requestOptions?.headers);if(!A.requestOptions?.headers&&g.headers){for(let[m,C]of Object.entries(g.headers))if(typeof m=="string")if(Array.isArray(C))for(let I of C)f.append(m,I);else C!=null&&f.append(m,C)}return r.auth&&f.set("authorization",`Basic ${Buffer.from(r.auth).toString("base64")}`),r.proxyTimeout&&(p.signal=AbortSignal.timeout(r.proxyTimeout)),p.headers=f,r.buffer?p.body=r.buffer:t.method!=="GET"&&t.method!=="HEAD"&&(p.body=t,p.duplex="half"),p};if(r.forward){let g=xf.setupOutgoing(r.ssl||{},r,t,"forward"),p=c(g),f=new URL(g.url).origin+g.path;if(f.startsWith("ws")&&(f=f.replace("ws","http")),A.onBeforeRequest)try{await A.onBeforeRequest(p,t,e,r)}catch(m){o(m,r.forward);return}try{let m=await a(f,p);if(A.onAfterResponse)try{await A.onAfterResponse(m,t,e,r)}catch(C){o(C,r.forward);return}}catch(m){o(m,r.forward)}if(!r.target)return e.end()}let u=xf.setupOutgoing(r.ssl||{},r,t),l=c(u),d=new URL(u.url).origin+u.path;if(d.startsWith("ws")&&(d=d.replace("ws","http")),A.onBeforeRequest)try{await A.onBeforeRequest(l,t,e,r)}catch(g){o(g,r.target);return}try{let g=await a(d,l);if(A.onAfterResponse)try{await A.onAfterResponse(g,t,e,r)}catch(f){o(f,r.target);return}let p={statusCode:g.status,statusMessage:g.statusText,headers:Object.fromEntries(g.headers.entries()),rawHeaders:Object.entries(g.headers).flatMap(([f,m])=>Array.isArray(m)?m.flatMap(C=>C!=null?[f,C]:[]):m!=null?[f,m]:[])};if(i?.emit("proxyRes",p,t,e),!e.headersSent&&!r.selfHandleResponse)for(let f of sae)f(t,e,p,r);if(e.writableEnded)i?.emit("end",t,e,p);else{let f=g.body?V$e.Readable.from(g.body):null;f?(f.on("error",m=>{o(m,r.target)}),f.on("end",()=>{i?.emit("end",t,e,p)}),r.selfHandleResponse?f.resume():f.pipe(e,{end:!0})):i?.emit("end",t,e,p)}}catch(g){o(g,r.target)}}ps.WEB_PASSES={deleteLength:oae,timeout:aae,XHeaders:Aae,stream:cae}});var CU=N(Ti=>{"use strict";h();var X$e=Ti&&Ti.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Z$e=Ti&&Ti.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mU=Ti&&Ti.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&X$e(r,e,n[i]);return Z$e(r,e),r}})(),e5e=Ti&&Ti.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.WS_PASSES=void 0;Ti.numOpenSockets=o5e;Ti.checkMethodAndHeader=gae;Ti.XHeaders=pae;Ti.stream=dae;var t5e=mU(require("node:http")),r5e=mU(require("node:https")),Ff=mU(HI()),n5e=pU(),i5e=e5e(Yi()),kf=(0,i5e.default)("http-proxy-3:ws-incoming"),s5e=Object.values(n5e.OUTGOING_PASSES);function lae(t){let e=new Set;return({add:r,rm:n}={})=>(r&&(r.id||(r.id=Math.random()),e.has(r.id)||e.add(r.id)),n&&(n.id||(n.id=Math.random()),e.has(n.id)&&e.delete(n.id)),kf("socket counter:",{[t]:e.size},r?"add":n?"rm":""),e.size)}var dU=lae("socket"),fU=lae("proxySocket"),hU=class{constructor(){this.headers={},this.statusCode=200,this.statusMessage=""}setHeader(e,r){return this.headers[e]=r,this}};function o5e(){return dU()+fU()}function gae(t,e){if(kf("websocket: checkMethodAndHeader"),t.method!=="GET"||!t.headers.upgrade||t.headers.upgrade.toLowerCase()!=="websocket")return e.destroy(),!0}function pae(t,e,r){if(!r.xfwd)return;kf("websocket: XHeaders");let n={for:t.connection.remoteAddress||t.socket.remoteAddress,port:Ff.getPort(t),proto:Ff.hasEncryptedConnection(t)?"wss":"ws"};for(let i of["for","port","proto"])t.headers["x-forwarded-"+i]=(t.headers["x-forwarded-"+i]||"")+(t.headers["x-forwarded-"+i]?",":"")+n[i]}function dae(t,e,r,n,i,s){kf("websocket: new stream");let o=[];dU({add:e});let a=()=>{for(let g of o)g.end()};e.on("close",()=>{dU({rm:e}),a()}),e.on("error",a);let A=(g,p)=>Object.keys(p).reduce((f,m)=>{let C=p[m];if(!Array.isArray(C))return f.push(m+": "+C),f;for(let I=0;I<C.length;I++)f.push(m+": "+C[I]);return f},[g]).join(`\r
1604
+ `+s),t.push(i+"m+"+H0.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=f5e()+e+" "+t[0]}function f5e(){return qn.inspectOpts.hideDate?"":new Date().toISOString()+" "}function h5e(...t){return process.stderr.write(K0.formatWithOptions(qn.inspectOpts,...t)+`
1605
+ `)}function m5e(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function C5e(){return process.env.DEBUG}function I5e(t){t.inspectOpts={};let e=Object.keys(qn.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=qn.inspectOpts[e[r]]}H0.exports=X_()(qn);var{formatters:Uoe}=H0.exports;Uoe.o=function(t){return this.inspectOpts.colors=this.useColors,K0.inspect(t,this.inspectOpts).split(`
1606
+ `).map(e=>e.trim()).join(" ")};Uoe.O=function(t){return this.inspectOpts.colors=this.useColors,K0.inspect(t,this.inspectOpts)}});var Yi=N((Bjt,eU)=>{h();typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?eU.exports=Toe():eU.exports=Goe()});var Koe=N((Qjt,Ooe)=>{h();var UI;Ooe.exports=function(){if(!UI){try{UI=Yi()("follow-redirects")}catch{}typeof UI!="function"&&(UI=function(){})}UI.apply(null,arguments)}});var qoe=N((wjt,gU)=>{h();var OI=require("url"),GI=OI.URL,E5e=require("http"),B5e=require("https"),sU=require("stream").Writable,oU=require("assert"),Hoe=Koe();(function(){var e=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=qg(Error.captureStackTrace);!e&&(r||!n)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var aU=!1;try{oU(new GI(""))}catch(t){aU=t.code==="ERR_INVALID_URL"}var y5e=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],AU=["abort","aborted","connect","error","socket","timeout"],cU=Object.create(null);AU.forEach(function(t){cU[t]=function(e,r,n){this._redirectable.emit(t,e,r,n)}});var rU=KI("ERR_INVALID_URL","Invalid URL",TypeError),nU=KI("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Q5e=KI("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",nU),D5e=KI("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w5e=KI("ERR_STREAM_WRITE_AFTER_END","write after end"),b5e=sU.prototype.destroy||joe;function gs(t,e){sU.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var r=this;this._onNativeResponse=function(n){try{r._processResponse(n)}catch(i){r.emit("error",i instanceof nU?i:new nU({cause:i}))}},this._performRequest()}gs.prototype=Object.create(sU.prototype);gs.prototype.abort=function(){lU(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};gs.prototype.destroy=function(t){return lU(this._currentRequest,t),b5e.call(this,t),this};gs.prototype.write=function(t,e,r){if(this._ending)throw new w5e;if(!Yg(t)&&!x5e(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(qg(e)&&(r=e,e=null),t.length===0){r&&r();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,r)):(this.emit("error",new D5e),this.abort())};gs.prototype.end=function(t,e,r){if(qg(t)?(r=t,t=e=null):qg(e)&&(r=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(t,e,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};gs.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};gs.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};gs.prototype.setTimeout=function(t,e){var r=this;function n(o){o.setTimeout(t),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function i(o){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},t),n(o)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),r.removeListener("close",s),e&&r.removeListener("timeout",e),r.socket||r._currentRequest.removeListener("socket",i)}return e&&this.on("timeout",e),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",n),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){gs.prototype[t]=function(e,r){return this._currentRequest[t](e,r)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(gs.prototype,t,{get:function(){return this._currentRequest[t]}})});gs.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};gs.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var r=t.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of AU)n.on(i,cU[i]);if(this._currentUrl=/^\//.test(this._options.path)?OI.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function A(c){if(n===o._currentRequest)if(c)o.emit("error",c);else if(s<a.length){var u=a[s++];n.finished||n.write(u.data,u.encoding,A)}else o._ended&&n.end()})()}};gs.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var r=t.headers.location;if(!r||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(lU(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Q5e;var n,i=this._options.beforeRedirect;i&&(n=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var s=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],tU(/^content-/i,this._options.headers));var o=tU(/^host$/i,this._options.headers),a=uU(this._currentUrl),A=o||a.host,c=/^\w+:/.test(r)?this._currentUrl:OI.format(Object.assign(a,{host:A})),u=v5e(r,c);if(Hoe("redirecting to",u.href),this._isRedirect=!0,iU(u,this._options),(u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==A&&!S5e(u.host,A))&&tU(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),qg(i)){var l={headers:t.headers,statusCode:e},d={url:c,method:s,headers:n};i(this._options,l,d),this._sanitizeOptions(this._options)}this._performRequest()};function Joe(t){var e={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(t).forEach(function(n){var i=n+":",s=r[i]=t[n],o=e[n]=Object.create(s);function a(c,u,l){return F5e(c)?c=iU(c):Yg(c)?c=iU(uU(c)):(l=u,u=Yoe(c),c={protocol:i}),qg(u)&&(l=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,u),u.nativeProtocols=r,!Yg(u.host)&&!Yg(u.hostname)&&(u.hostname="::1"),oU.equal(u.protocol,i,"protocol mismatch"),Hoe("options",u),new gs(u,l)}function A(c,u,l){var d=o.request(c,u,l);return d.end(),d}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:A,configurable:!0,enumerable:!0,writable:!0}})}),e}function joe(){}function uU(t){var e;if(aU)e=new GI(t);else if(e=Yoe(OI.parse(t)),!Yg(e.protocol))throw new rU({input:t});return e}function v5e(t,e){return aU?new GI(t,e):uU(OI.resolve(e,t))}function Yoe(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new rU({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new rU({input:t.href||t});return t}function iU(t,e){var r=e||{};for(var n of y5e)r[n]=t[n];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function tU(t,e){var r;for(var n in e)t.test(n)&&(r=e[n],delete e[n]);return r===null||typeof r>"u"?void 0:String(r).trim()}function KI(t,e,r){function n(i){qg(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(r||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),n}function lU(t,e){for(var r of AU)t.removeListener(r,cU[r]);t.on("error",joe),t.destroy(e)}function S5e(t,e){oU(Yg(t)&&Yg(e));var r=t.length-e.length-1;return r>0&&t[r]==="."&&t.endsWith(e)}function Yg(t){return typeof t=="string"||t instanceof String}function qg(t){return typeof t=="function"}function x5e(t){return typeof t=="object"&&"length"in t}function F5e(t){return GI&&t instanceof GI}gU.exports=Joe({http:E5e,https:B5e});gU.exports.wrap=Joe});var HI=N(Os=>{"use strict";h();Object.defineProperty(Os,"__esModule",{value:!0});Os.isSSL=void 0;Os.setupOutgoing=N5e;Os.setupSocket=M5e;Os.getPort=P5e;Os.hasEncryptedConnection=Woe;Os.urlJoin=zoe;Os.rewriteCookieProperty=Xoe;Os.toURL=Zoe;var k5e=require("node:tls"),R5e=/(^|,)\s*upgrade\s*($|,)/i;Os.isSSL=/^https|wss/;var T5e="trailer",$oe=[":method",":path",":scheme",":authority","connection","keep-alive"];function N5e(t,e,r,n){let i=e[n||"target"];t.port=+(i.port??(i.protocol!==void 0&&Os.isSSL.test(i.protocol)?443:80));for(let a of["host","hostname","socketPath","pfx","key","passphrase","cert","ca","ciphers","secureProtocol"])t[a]=i[a];t.method=e.method||r.method,t.headers={...r.headers},r.headers?.[":authority"]&&(t.headers.host=r.headers[":authority"]),e.headers&&(t.headers={...t.headers,...e.headers});for(let a in t.headers)if(T5e==a.toLowerCase()){delete t.headers[a];break}if(r.httpVersionMajor>1)for(let a of $oe)delete t.headers[a];e.auth&&(delete t.headers.authorization,t.auth=e.auth),e.ca&&(t.ca=e.ca),i.protocol!==void 0&&Os.isSSL.test(i.protocol)&&(t.rejectUnauthorized=typeof e.secure>"u"?!0:e.secure),t.agent=e.agent||!1,t.localAddress=e.localAddress,t.agent||(t.headers=t.headers||{},(typeof t.headers.connection!="string"||!R5e.test(t.headers.connection))&&(t.headers.connection="close"));let s=i&&e.prependPath!==!1&&"pathname"in i?Voe(`${i.pathname}${i.search??""}`):"/",o=e.toProxy?r.url:Voe(r.url);if(o=e.ignorePath?"":o,t.path=zoe(s,o??""),e.changeOrigin&&(t.headers.host=i.protocol!==void 0&&_5e(t.port,i.protocol)&&!L5e(t.host)?t.host+":"+t.port:t.host),t.url="href"in i&&i.href||(i.protocol==="https"?"https":"http")+"://"+t.host+(t.port?":"+t.port:""),r.httpVersionMajor>1)for(let a of $oe)delete t.headers[a];return t}function M5e(t){return t.setTimeout(0),t.setNoDelay(!0),t.setKeepAlive(!0,0),t}function P5e(t){let e=t.headers[":authority"]||t.headers.host,r=e?e.match(/:(\d+)/):"";return r?r[1]:Woe(t)?"443":"80"}function Woe(t){let e=t.connection;return e instanceof k5e.TLSSocket&&e.encrypted||!!e.pair}function zoe(...t){let e=[],r="";t.forEach((i,s)=>{let o=i.indexOf("?");o!==-1&&(e.push(i.substring(o+1)),t[s]=i.substring(0,o))}),r=e.filter(Boolean).join("&");let n="";for(let i of t)i&&(n.endsWith("/")?i.startsWith("/")?n+=i.slice(1):n+=i:i.startsWith("/")?n+=i:n+="/"+i);return r?n+"?"+r:n}function Xoe(t,e,r){return Array.isArray(t)?t.map(n=>Xoe(n,e,r)):t.replace(new RegExp("(;\\s*"+r+"=)([^;]+)","i"),(n,i,s)=>{let o;if(s in e)o=e[s];else if("*"in e)o=e["*"];else return n;return o?i+o:""})}function L5e(t){return!!~t.indexOf(":")}function Voe(t){if(t===""||t?.startsWith("?"))return t;let e=Zoe(t);return`${e.pathname??""}${e.search??""}`}function Zoe(t){return t instanceof URL?t:(typeof t=="object"&&"href"in t&&typeof t.href=="string"&&(t=t.href),t||(t=""),typeof t!="string"&&(t=`${t}`),t.startsWith("//")&&(t=`http://base.invalid${t}`),new URL(t,"http://base.invalid"))}function _5e(t,e){if(e=e.split(":")[0],t=+t,!t)return!1;switch(e){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443}return t!==0}});var pU=N(qi=>{"use strict";h();var U5e=qi&&qi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),G5e=qi&&qi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),O5e=qi&&qi.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&U5e(r,e,n[i]);return G5e(r,e),r}})();Object.defineProperty(qi,"__esModule",{value:!0});qi.OUTGOING_PASSES=void 0;qi.removeChunked=eae;qi.setConnection=tae;qi.setRedirectHostRewrite=rae;qi.writeHeaders=nae;qi.writeStatusCode=iae;var J0=O5e(HI()),K5e=/^201|30(1|2|7|8)$/;function eae(t,e,r){delete r.headers["transfer-encoding"]}function tae(t,e,r){t.httpVersion==="1.0"?r.headers.connection=t.headers.connection||"close":t.httpVersion!=="2.0"&&!r.headers.connection&&(r.headers.connection=t.headers.connection||"keep-alive")}function rae(t,e,r,n){if((n.hostRewrite||n.autoRewrite||n.protocolRewrite)&&r.headers.location&&K5e.test(`${r.statusCode}`)){let i=J0.toURL(n.target),s=r.headers.location;if(typeof s!="string")return;let o=J0.toURL(s);if(i.host!=o.host)return;n.hostRewrite?o.host=n.hostRewrite:n.autoRewrite&&(o.host=t.headers[":authority"]??t.headers.host??""),n.protocolRewrite&&(o.protocol=n.protocolRewrite),r.headers.location=o.toString()}}function nae(t,e,r,n){let i=typeof n.cookieDomainRewrite=="string"?{"*":n.cookieDomainRewrite}:n.cookieDomainRewrite,s=typeof n.cookiePathRewrite=="string"?{"*":n.cookiePathRewrite}:n.cookiePathRewrite,o=n.preserveHeaderKeyCase,a=(c,u)=>{u!=null&&(i&&c.toLowerCase()==="set-cookie"&&(u=J0.rewriteCookieProperty(u,i,"domain")),s&&c.toLowerCase()==="set-cookie"&&(u=J0.rewriteCookieProperty(u,s,"path")),e.setHeader(String(c).trim(),u))},A;if(o&&r.rawHeaders!=null){A={};for(let c=0;c<r.rawHeaders.length;c+=2){let u=r.rawHeaders[c];A[u.toLowerCase()]=u}}for(let c in r.headers){let u=c;if(t.httpVersionMajor>1&&(u==="connection"||u==="keep-alive"))continue;let l=r.headers[u];o&&A&&(u=A[u]??u),a(u,l)}}function iae(t,e,r){e.statusCode=r.statusCode,r.statusMessage&&t.httpVersionMajor===1&&(e.statusMessage=r.statusMessage)}qi.OUTGOING_PASSES={removeChunked:eae,setConnection:tae,setRedirectHostRewrite:rae,writeHeaders:nae,writeStatusCode:iae}});var uae=N(ps=>{"use strict";h();var H5e=ps&&ps.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),J5e=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),j0=ps&&ps.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&H5e(r,e,n[i]);return J5e(r,e),r}})();Object.defineProperty(ps,"__esModule",{value:!0});ps.WEB_PASSES=void 0;ps.deleteLength=oae;ps.timeout=aae;ps.XHeaders=Aae;ps.stream=cae;var j5e=j0(require("node:http")),Y5e=j0(require("node:https")),q5e=j0(qoe()),xf=j0(HI()),$5e=pU(),V5e=require("node:stream"),sae=Object.values($5e.OUTGOING_PASSES),W5e={http:j5e,https:Y5e};function oae(t){(t.method==="DELETE"||t.method==="OPTIONS")&&!t.headers["content-length"]&&(t.headers["content-length"]="0",delete t.headers["transfer-encoding"])}function aae(t,e,r){r.timeout&&t.socket.setTimeout(r.timeout)}function Aae(t,e,r){if(!r.xfwd)return;let n=xf.hasEncryptedConnection(t),i={for:t.connection.remoteAddress||t.socket.remoteAddress,port:xf.getPort(t),proto:n?"https":"http"};for(let s of["for","port","proto"])t.headers["x-forwarded-"+s]=(t.headers["x-forwarded-"+s]||"")+(t.headers["x-forwarded-"+s]?",":"")+i[s];t.headers["x-forwarded-host"]=t.headers["x-forwarded-host"]||t.headers[":authority"]||t.headers.host||""}function cae(t,e,r,n,i,s){if(i.emit("start",t,e,r.target||r.forward),r.fetch||r.fetchOptions||process.env.FORCE_FETCH_PATH==="true")return z5e(t,e,r,n,i,s);let o=r.followRedirects?q5e:W5e,a=o.http,A=o.https;if(r.forward){let p=r.forward.protocol==="https:"?A:a,f=xf.setupOutgoing(r.ssl||{},r,t,"forward"),m=p.request(f),C=g(m,r.forward);if(t.on("error",C),m.on("error",C),(r.buffer||t).pipe(m),!r.target)return e.end()}let c=r.target.protocol==="https:"?A:a,u=xf.setupOutgoing(r.ssl||{},r,t),l=c.request(u);l.on("socket",p=>{i&&!l.getHeader("expect")&&i.emit("proxyReq",l,t,e,r,p)}),r.proxyTimeout&&l.setTimeout(r.proxyTimeout,()=>{l.destroy()}),e.on("close",()=>{!e.writableFinished&&l.destroy()});let d=g(l,r.target);t.on("error",d),l.on("error",d);function g(p,f){return m=>{if(t.socket.destroyed&&m.code==="ECONNRESET"){i.emit("econnreset",m,t,e,f),p.destroy();return}s?s(m,t,e,f):i.emit("error",m,t,e,f)}}(r.buffer||t).pipe(l),l.on("response",p=>{if(i?.emit("proxyRes",p,t,e),!e.headersSent&&!r.selfHandleResponse)for(let f of sae)f(t,e,p,r);e.finished?i?.emit("end",t,e,p):(p.on("end",()=>{i?.emit("end",t,e,p)}),r.selfHandleResponse||p.pipe(e))})}async function z5e(t,e,r,n,i,s){let o=(g,p)=>{let f=g;f.code===void 0&&f.cause?.code&&(f.code=f.cause.code),s?s(g,t,e,p):i.emit("error",g,t,e,p)};t.on("error",g=>{if(t.socket.destroyed&&g.code==="ECONNRESET"){let p=r.target||r.forward;p&&i.emit("econnreset",g,t,e,p);return}o(g)});let a=r.fetch||fetch,A=r.fetchOptions??{},c=g=>{let p={method:g.method,...A.requestOptions},f=new Headers(A.requestOptions?.headers);if(!A.requestOptions?.headers&&g.headers){for(let[m,C]of Object.entries(g.headers))if(typeof m=="string")if(Array.isArray(C))for(let I of C)f.append(m,I);else C!=null&&f.append(m,C)}return r.auth&&f.set("authorization",`Basic ${Buffer.from(r.auth).toString("base64")}`),r.proxyTimeout&&(p.signal=AbortSignal.timeout(r.proxyTimeout)),p.headers=f,r.buffer?p.body=r.buffer:t.method!=="GET"&&t.method!=="HEAD"&&(p.body=t,p.duplex="half"),p};if(r.forward){let g=xf.setupOutgoing(r.ssl||{},r,t,"forward"),p=c(g),f=new URL(g.url).origin+g.path;if(f.startsWith("ws")&&(f=f.replace("ws","http")),A.onBeforeRequest)try{await A.onBeforeRequest(p,t,e,r)}catch(m){o(m,r.forward);return}try{let m=await a(f,p);if(A.onAfterResponse)try{await A.onAfterResponse(m,t,e,r)}catch(C){o(C,r.forward);return}}catch(m){o(m,r.forward)}if(!r.target)return e.end()}let u=xf.setupOutgoing(r.ssl||{},r,t),l=c(u),d=new URL(u.url).origin+u.path;if(d.startsWith("ws")&&(d=d.replace("ws","http")),A.onBeforeRequest)try{await A.onBeforeRequest(l,t,e,r)}catch(g){o(g,r.target);return}try{let g=await a(d,l);if(A.onAfterResponse)try{await A.onAfterResponse(g,t,e,r)}catch(f){o(f,r.target);return}let p={statusCode:g.status,statusMessage:g.statusText,headers:Object.fromEntries(g.headers.entries()),rawHeaders:Object.entries(g.headers).flatMap(([f,m])=>Array.isArray(m)?m.flatMap(C=>C!=null?[f,C]:[]):m!=null?[f,m]:[])};if(i?.emit("proxyRes",p,t,e),!e.headersSent&&!r.selfHandleResponse)for(let f of sae)f(t,e,p,r);if(e.writableEnded)i?.emit("end",t,e,p);else{let f=g.body?V5e.Readable.from(g.body):null;f?(f.on("error",m=>{o(m,r.target)}),f.on("end",()=>{i?.emit("end",t,e,p)}),r.selfHandleResponse?f.resume():f.pipe(e,{end:!0})):i?.emit("end",t,e,p)}}catch(g){o(g,r.target)}}ps.WEB_PASSES={deleteLength:oae,timeout:aae,XHeaders:Aae,stream:cae}});var CU=N(Ti=>{"use strict";h();var X5e=Ti&&Ti.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Z5e=Ti&&Ti.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mU=Ti&&Ti.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&X5e(r,e,n[i]);return Z5e(r,e),r}})(),e$e=Ti&&Ti.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.WS_PASSES=void 0;Ti.numOpenSockets=o$e;Ti.checkMethodAndHeader=gae;Ti.XHeaders=pae;Ti.stream=dae;var t$e=mU(require("node:http")),r$e=mU(require("node:https")),Ff=mU(HI()),n$e=pU(),i$e=e$e(Yi()),kf=(0,i$e.default)("http-proxy-3:ws-incoming"),s$e=Object.values(n$e.OUTGOING_PASSES);function lae(t){let e=new Set;return({add:r,rm:n}={})=>(r&&(r.id||(r.id=Math.random()),e.has(r.id)||e.add(r.id)),n&&(n.id||(n.id=Math.random()),e.has(n.id)&&e.delete(n.id)),kf("socket counter:",{[t]:e.size},r?"add":n?"rm":""),e.size)}var dU=lae("socket"),fU=lae("proxySocket"),hU=class{constructor(){this.headers={},this.statusCode=200,this.statusMessage=""}setHeader(e,r){return this.headers[e]=r,this}};function o$e(){return dU()+fU()}function gae(t,e){if(kf("websocket: checkMethodAndHeader"),t.method!=="GET"||!t.headers.upgrade||t.headers.upgrade.toLowerCase()!=="websocket")return e.destroy(),!0}function pae(t,e,r){if(!r.xfwd)return;kf("websocket: XHeaders");let n={for:t.connection.remoteAddress||t.socket.remoteAddress,port:Ff.getPort(t),proto:Ff.hasEncryptedConnection(t)?"wss":"ws"};for(let i of["for","port","proto"])t.headers["x-forwarded-"+i]=(t.headers["x-forwarded-"+i]||"")+(t.headers["x-forwarded-"+i]?",":"")+n[i]}function dae(t,e,r,n,i,s){kf("websocket: new stream");let o=[];dU({add:e});let a=()=>{for(let g of o)g.end()};e.on("close",()=>{dU({rm:e}),a()}),e.on("error",a);let A=(g,p)=>Object.keys(p).reduce((f,m)=>{let C=p[m];if(!Array.isArray(C))return f.push(m+": "+C),f;for(let I=0;I<C.length;I++)f.push(m+": "+C[I]);return f},[g]).join(`\r
1607
1607
  `)+`\r
1608
1608
  \r
1609
- `;Ff.setupSocket(e),n&&n.length&&e.unshift(n);let c=Ff.isSSL.test(r.target.protocol)?r5e:t5e,u=Ff.setupOutgoing(r.ssl||{},r,t),l=c.request(u);i&&i.emit("proxyReqWs",l,t,e,r,n),l.on("error",d),l.on("upgrade",(g,p,f)=>{kf("upgrade"),fU({add:p}),o.push(p),p.on("close",()=>{fU({rm:p})}),p.on("error",d),p.on("end",()=>{i.emit("close",g,p,f)}),p.on("close",()=>{e.end()}),Ff.setupSocket(p),f&&f.length&&p.unshift(f),e.write(A("HTTP/1.1 101 Switching Protocols",g.headers)),p.pipe(e).pipe(p),i.emit("open",p)});function d(g){s?s(g,t,e):i.emit("error",g,t,e),e.destroySoon()}l.on("response",g=>{kf("got non-ws HTTP response",{statusCode:g.statusCode,statusMessage:g.statusMessage});let p=new hU;for(let C of s5e)C(t,p,g,r);let f=C=>{e.write(C)};t.httpVersion==="1.1"&&g.headers["content-length"]===void 0&&(p.headers["transfer-encoding"]="chunked",f=C=>{e.write(C.length.toString(16)),e.write(`\r
1609
+ `;Ff.setupSocket(e),n&&n.length&&e.unshift(n);let c=Ff.isSSL.test(r.target.protocol)?r$e:t$e,u=Ff.setupOutgoing(r.ssl||{},r,t),l=c.request(u);i&&i.emit("proxyReqWs",l,t,e,r,n),l.on("error",d),l.on("upgrade",(g,p,f)=>{kf("upgrade"),fU({add:p}),o.push(p),p.on("close",()=>{fU({rm:p})}),p.on("error",d),p.on("end",()=>{i.emit("close",g,p,f)}),p.on("close",()=>{e.end()}),Ff.setupSocket(p),f&&f.length&&p.unshift(f),e.write(A("HTTP/1.1 101 Switching Protocols",g.headers)),p.pipe(e).pipe(p),i.emit("open",p)});function d(g){s?s(g,t,e):i.emit("error",g,t,e),e.destroySoon()}l.on("response",g=>{kf("got non-ws HTTP response",{statusCode:g.statusCode,statusMessage:g.statusMessage});let p=new hU;for(let C of s$e)C(t,p,g,r);let f=C=>{e.write(C)};t.httpVersion==="1.1"&&g.headers["content-length"]===void 0&&(p.headers["transfer-encoding"]="chunked",f=C=>{e.write(C.length.toString(16)),e.write(`\r
1610
1610
  `),e.write(C),e.write(`\r
1611
- `)});let m=A(`HTTP/${t.httpVersion} ${g.statusCode} ${g.statusMessage}`,p.headers);e.destroyed?g.resume():(e.write(m),g.on("data",C=>{f(C)}),g.on("end",()=>{f(""),e.destroySoon()}))}),l.end()}Ti.WS_PASSES={checkMethodAndHeader:gae,XHeaders:pae,stream:dae}});var hae=N(ho=>{"use strict";h();var a5e=ho&&ho.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),A5e=ho&&ho.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fae=ho&&ho.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&a5e(r,e,n[i]);return A5e(r,e),r}})(),c5e=ho&&ho.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ho,"__esModule",{value:!0});ho.ProxyServer=void 0;var u5e=fae(require("node:http")),l5e=fae(require("node:http2")),g5e=uae(),p5e=CU(),d5e=require("node:events"),f5e=c5e(Yi()),h5e=HI(),Y0=(0,f5e.default)("http-proxy-3"),IU=class t extends d5e.EventEmitter{constructor(e={}){super(),this.createRightProxy=r=>(Y0("createRightProxy",{type:r}),n=>(...i)=>{let s=i[0];Y0("proxy: ",{type:r,path:s.url});let o=i[1],a=r==="ws"?this.wsPasses:this.webPasses;r=="ws"&&o.on("error",d=>{this.emit("error",d,s,o)});let A=i.length-1,c,u;typeof i[A]=="function"&&(u=i[A],A--);let l;!(i[A]instanceof Buffer)&&i[A]!==o?(l={...n,...i[A]},A--):l={...n},i[A]instanceof Buffer&&(c=i[A]);for(let d of["target","forward"])typeof l[d]=="string"&&(l[d]=(0,h5e.toURL)(l[d]));if(!l.target&&!l.forward){this.emit("error",new Error("Must set target or forward"),s,o);return}for(let d of a)if(d(s,o,l,c,this,u))break}),this.onError=r=>{if(this.listeners("error").length===1)throw r},this.listen=(r,n)=>{Y0("listen",{port:r,hostname:n});let i=(s,o)=>{this.web(s,o)};return this._server=this.options.ssl?l5e.createSecureServer({...this.options.ssl,allowHTTP1:!0},i):u5e.createServer(i),this.options.ws&&this._server.on("upgrade",(s,o,a)=>{this.ws(s,o,a)}),this._server.listen(r,n),this},this.address=()=>this._server?.address(),this.close=r=>{if(this._server==null){r?.();return}this._server.close(n=>{this._server=null,r?.(n)})},this.before=(r,n,i)=>{if(r!=="ws"&&r!=="web")throw new Error("type must be `web` or `ws`");let s=r==="ws"?this.wsPasses:this.webPasses,o=!1;if(s.forEach((a,A)=>{a.name===n&&(o=A)}),o===!1)throw new Error("No such pass");s.splice(o,0,i)},this.after=(r,n,i)=>{if(r!=="ws"&&r!=="web")throw new Error("type must be `web` or `ws`");let s=r==="ws"?this.wsPasses:this.webPasses,o=!1;if(s.forEach((a,A)=>{a.name===n&&(o=A)}),o===!1)throw new Error("No such pass");s.splice(o++,0,i)},Y0("creating a ProxyServer",e),e.prependPath=e.prependPath!==!1,this.options=e,this.web=this.createRightProxy("web")(e),this.ws=this.createRightProxy("ws")(e),this.webPasses=Object.values(g5e.WEB_PASSES),this.wsPasses=Object.values(p5e.WS_PASSES),this.on("error",this.onError)}static createProxyServer(e){return new t(e)}static createServer(e){return new t(e)}static createProxy(e){return new t(e)}};ho.ProxyServer=IU});var mae=N(mA=>{"use strict";h();Object.defineProperty(mA,"__esModule",{value:!0});mA.numOpenSockets=mA.ProxyServer=void 0;mA.createProxyServer=BU;mA.createServer=BU;mA.createProxy=BU;var EU=hae();Object.defineProperty(mA,"ProxyServer",{enumerable:!0,get:function(){return EU.ProxyServer}});var m5e=CU();Object.defineProperty(mA,"numOpenSockets",{enumerable:!0,get:function(){return m5e.numOpenSockets}});function BU(t={}){return new EU.ProxyServer(t)}mA.default=EU.ProxyServer});var Eae=N(yU=>{"use strict";h();yU.parse=D5e;yU.serialize=w5e;var C5e=Object.prototype.toString,I5e=Object.prototype.hasOwnProperty,E5e=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,B5e=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,y5e=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,Q5e=/^[\u0020-\u003A\u003D-\u007E]*$/;function D5e(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");var r={},n=t.length;if(n<2)return r;var i=e&&e.decode||b5e,s=0,o=0,a=0;do{if(o=t.indexOf("=",s),o===-1)break;if(a=t.indexOf(";",s),a===-1)a=n;else if(o>a){s=t.lastIndexOf(";",o-1)+1;continue}var A=Cae(t,s,o),c=Iae(t,o,A),u=t.slice(A,c);if(!I5e.call(r,u)){var l=Cae(t,o+1,a),d=Iae(t,a,l);t.charCodeAt(l)===34&&t.charCodeAt(d-1)===34&&(l++,d--);var g=t.slice(l,d);r[u]=S5e(g,i)}s=a+1}while(s<n);return r}function Cae(t,e,r){do{var n=t.charCodeAt(e);if(n!==32&&n!==9)return e}while(++e<r);return r}function Iae(t,e,r){for(;e>r;){var n=t.charCodeAt(--e);if(n!==32&&n!==9)return e+1}return r}function w5e(t,e,r){var n=r&&r.encode||encodeURIComponent;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!E5e.test(t))throw new TypeError("argument name is invalid");var i=n(e);if(!B5e.test(i))throw new TypeError("argument val is invalid");var s=t+"="+i;if(!r)return s;if(r.maxAge!=null){var o=Math.floor(r.maxAge);if(!isFinite(o))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+o}if(r.domain){if(!y5e.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!Q5e.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var a=r.expires;if(!v5e(a)||isNaN(a.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+a.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority){var A=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(A){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var c=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(c){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function b5e(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}function v5e(t){return C5e.call(t)==="[object Date]"}function S5e(t,e){try{return e(t)}catch{return t}}});var Qae=N(q0=>{h();var yae=require("crypto");q0.sign=function(t,e){if(typeof t!="string")throw new TypeError("Cookie value must be provided as a string.");if(typeof e!="string")throw new TypeError("Secret string must be provided.");return t+"."+yae.createHmac("sha256",e).update(t).digest("base64").replace(/\=+$/,"")};q0.unsign=function(t,e){if(typeof t!="string")throw new TypeError("Signed cookie string must be provided.");if(typeof e!="string")throw new TypeError("Secret string must be provided.");var r=t.slice(0,t.lastIndexOf(".")),n=q0.sign(r,e);return Bae(n)==Bae(t)?r:!1};function Bae(t){return yae.createHash("sha1").update(t).digest("hex")}});var vae=N((Hjt,Rf)=>{"use strict";h();var x5e=Eae(),F5e=Qae();Rf.exports=k5e;Rf.exports.JSONCookie=Dae;Rf.exports.JSONCookies=QU;Rf.exports.signedCookie=wae;Rf.exports.signedCookies=bae;function k5e(t,e){var r=!t||Array.isArray(t)?t||[]:[t];return function(i,s,o){if(i.cookies)return o();var a=i.headers.cookie;if(i.secret=r[0],i.cookies=Object.create(null),i.signedCookies=Object.create(null),!a)return o();i.cookies=x5e.parse(a,e),r.length!==0&&(i.signedCookies=bae(i.cookies,r),i.signedCookies=QU(i.signedCookies)),i.cookies=QU(i.cookies),o()}}function Dae(t){if(!(typeof t!="string"||t.substr(0,2)!=="j:"))try{return JSON.parse(t.slice(2))}catch{return}}function QU(t){for(var e=Object.keys(t),r,n,i=0;i<e.length;i++)r=e[i],n=Dae(t[r]),n&&(t[r]=n);return t}function wae(t,e){if(typeof t=="string"){if(t.substr(0,2)!=="s:")return t;for(var r=!e||Array.isArray(e)?e||[]:[e],n=0;n<r.length;n++){var i=F5e.unsign(t.slice(2),r[n]);if(i!==!1)return i}return!1}}function bae(t,e){for(var r=Object.keys(t),n,i,s=Object.create(null),o,a=0;a<r.length;a++)i=r[a],o=t[i],n=wae(o,e),o!==n&&(s[i]=n,delete t[i]);return s}});function $0(t){if(!t)return;let e=structuredClone(t);return e.privacyMode?.encryptKey&&(e.privacyMode.encryptKey="*****"),e}function R5e(t){if(t.startsWith("ai/")){let e=t.split("/");if(e.length<3)return{sessionId:void 0,featureBranch:t};let r=e.pop();e.shift();let n=e.join("/");return{sessionId:r,featureBranch:n}}else if(t.startsWith("ai_")){let e=t.split("_");if(e.length<3)return{sessionId:void 0,featureBranch:t};let r=e.pop();e.shift();let n=e.join("_");return{sessionId:r,featureBranch:n}}return{sessionId:void 0,featureBranch:t}}function xae(t,e){return`ai_${t}_${e}`.trim()}var Sae,V0,W0,z0,$g=P(()=>{"use strict";h();Sae=z(require("node:path"),1);V0=()=>process.env.FLY_APP_NAME!==void 0||["cloud","cloud-v2"].includes(process.env.FUSION_ENVIRONMENT??""),W0=t=>Sae.default.resolve(process.cwd(),t.workingDirectory??".");z0=async({sys:t,gitWorkingDirectory:e,strict:r})=>{let n=await t.getRepoInfo(e);if(!n.hasGit)throw new Error("Git is not initialized");let i=n.currentBranch,s=R5e(i);if(r&&s.featureBranch===""&&i.startsWith("ai__"))throw new Error("AI branch is corrupted");return{currentBranch:i,featureBranch:s.featureBranch,sessionId:s.sessionId,currentCommitHash:n.commit}}});var JI={};fy(JI,{VSCodeTunnelManager:()=>Wg,generateCursorDeepLink:()=>M5e,generateVSCodeDeepLink:()=>N5e,generateWebEditorLink:()=>P5e,getTunnelManager:()=>wU});function T5e(){try{let t=process.platform==="win32"?"where code":"which code";return(0,Fae.execSync)(t,{stdio:"ignore"}),!0}catch{return!1}}function wU(){return DU||(DU=new Wg),DU}function N5e(t,e=Tf){return`vscode://vscode-remote/tunnel+${t}${e}`}function M5e(t,e=Tf){return`cursor://cursor-remote/tunnel+${t}${e}`}function P5e(t,e=Tf){return`https://vscode.dev/tunnel/${t}${e}`}var Fae,kae,Vg,Tf,Wg,DU,Nf=P(()=>{"use strict";h();Fae=require("node:child_process"),kae=require("node:events");ca();Et();Vg=ve("VSCodeTunnel");Tf="/root/app/code",Wg=class extends kae.EventEmitter{process=null;status="stopped";tunnelName=null;tunnelUrl=null;error=null;workspacePath=Tf;autoRestart=!1;restartAttempts=0;maxRestartAttempts=3;restartDelay=5e3;isShuttingDown=!1;constructor(){super()}async start(e){return this.status==="running"||this.status==="starting"?this.getInfo():(this.status="starting",this.tunnelName=e.name,this.workspacePath=e.workspacePath||Tf,this.autoRestart=e.autoRestart??!0,this.isShuttingDown=!1,this.restartAttempts=0,this.spawnTunnel(e))}async spawnTunnel(e){if(this.status="starting",this.error=null,this.emit("status",this.getInfo()),!T5e())return this.status="stopped",this.tunnelName=null,this.error="VS Code CLI ('code' command) is not installed or not in PATH.",Vg.info(`Skipping: ${this.error} Set VSCODE_TUNNEL_ENABLED=false to suppress this message.`),this.emit("status",this.getInfo()),this.getInfo();let r=["tunnel","--name",e.name,"--accept-server-license-terms"];try{return this.process=dc({command:"code",args:r,options:{stdio:["ignore","pipe","pipe"],env:{...process.env,VSCODE_CLI_DISABLE_INTERACTIVE:"1"}}}),this.process.stdout?.on("data",n=>{let i=n.toString();this.parseOutput(i)}),this.process.stderr?.on("data",n=>{let i=n.toString();this.parseOutput(i),Vg.debug("stderr:",i,{loggerOptions:{stderr:!0}})}),this.process.on("exit",(n,i)=>{let s=this.status==="running";if(this.process=null,this.isShuttingDown){this.status="stopped",this.emit("status",this.getInfo());return}n!==0?(this.status="error",this.error=`Tunnel process exited with code ${n}`,this.emit("error",this.error),this.emit("status",this.getInfo()),this.autoRestart&&s&&this.restartAttempts<this.maxRestartAttempts&&(this.restartAttempts++,Vg.info(`Restarting (attempt ${this.restartAttempts}/${this.maxRestartAttempts})...`),setTimeout(()=>{!this.isShuttingDown&&this.status!=="running"&&this.status!=="starting"&&this.spawnTunnel(e).catch(o=>{Vg.error("Restart failed:",o.message)})},this.restartDelay))):(this.status="stopped",this.emit("status",this.getInfo()))}),this.process.on("error",n=>{this.status="error",this.error=n.message,this.process=null,this.emit("error",this.error),this.emit("status",this.getInfo())}),new Promise((n,i)=>{let s=()=>{clearTimeout(o),this.off("status",a)},o=setTimeout(()=>{this.status==="starting"&&(s(),this.tunnelUrl?(this.status="running",this.restartAttempts=0,n(this.getInfo())):(this.isShuttingDown=!0,this.process&&(this.process.kill("SIGTERM"),this.process=null),this.status="error",this.error="Tunnel startup timeout",this.emit("error",this.error),i(new Error(this.error))))},6e4),a=()=>{this.status==="running"?(s(),n(this.getInfo())):this.status==="error"?(s(),i(new Error(this.error||"Unknown tunnel error"))):this.status==="stopped"&&(s(),i(new Error("Tunnel process exited before becoming ready")))};this.on("status",a)})}catch(n){throw this.status="error",this.error=n instanceof Error?n.message:"Failed to start tunnel",this.emit("error",this.error),n}}parseOutput(e){let r=e.match(/https:\/\/vscode\.dev\/tunnel\/([a-zA-Z0-9_-]+)/);r&&(this.tunnelUrl=r[0],this.tunnelName=r[1],this.status="running",this.restartAttempts=0,Vg.info(`Connected: ${this.tunnelUrl}`),this.emit("ready",this.getInfo()),this.emit("status",this.getInfo()));let n=e.match(/Connected to tunnel:\s*([a-zA-Z0-9_-]+)/i);n&&(this.tunnelName=n[1]),e.includes("Hosting")&&this.tunnelName&&this.status!=="running"&&(this.tunnelUrl=`https://vscode.dev/tunnel/${this.tunnelName}`,this.status="running",this.restartAttempts=0,Vg.info(`Connected: ${this.tunnelUrl}`),this.emit("ready",this.getInfo()),this.emit("status",this.getInfo())),(e.toLowerCase().includes("error")||e.toLowerCase().includes("failed"))&&Vg.warn("Warning:",e)}async stop(){this.isShuttingDown=!0,this.autoRestart=!1;let e=this.process;if(e)return new Promise(r=>{let n=!1,i=()=>{n||(n=!0,this.process=null,this.status="stopped",this.tunnelName=null,this.tunnelUrl=null,this.error=null,this.emit("status",this.getInfo()),r())},s=setTimeout(()=>{this.process&&this.process.kill("SIGKILL"),i()},5e3);e.once("exit",()=>{clearTimeout(s),i()}),e.kill("SIGTERM")});this.status="stopped",this.tunnelName=null,this.tunnelUrl=null,this.error=null,this.emit("status",this.getInfo())}getInfo(){let e=this.tunnelName,r=this.workspacePath;return{status:this.status,name:e,url:this.tunnelUrl,vscodeUri:e?`vscode://vscode-remote/tunnel+${e}${r}`:null,cursorUri:e?`cursor://cursor-remote/tunnel+${e}${r}`:null,webUrl:e?`https://vscode.dev/tunnel/${e}${r}`:null,error:this.error,workspacePath:r}}getStatus(){return this.status}static isEnabled(){let e=process.env.VSCODE_TUNNEL_ENABLED;return!(e==="false"||e==="0")}static isAutoStartEnabled(){let e=process.env.VSCODE_TUNNEL_AUTO_START;return e==="true"||e==="1"}static getTunnelName(e,r){let n=process.env.VSCODE_TUNNEL_NAME;return n||e&&r&&`${e}-${r}`.toLowerCase().replace(/[^a-z0-9-]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").substring(0,63)||"builder-tunnel"}static getWorkspacePath(){return process.env.VSCODE_TUNNEL_WORKSPACE||Tf}},DU=null});var jI=N((Wjt,Mae)=>{h();var L5e=require("path").relative;Mae.exports=K5e;var _5e=process.cwd();function Tae(t,e){for(var r=t.split(/[ ,]+/),n=String(e).toLowerCase(),i=0;i<r.length;i++){var s=r[i];if(s&&(s==="*"||s.toLowerCase()===n))return!0}return!1}function U5e(t,e,r){var n=Object.getOwnPropertyDescriptor(t,e),i=n.value;return n.get=function(){return i},n.writable&&(n.set=function(o){return i=o}),delete n.value,delete n.writable,Object.defineProperty(t,e,n),n}function G5e(t){for(var e="",r=0;r<t;r++)e+=", arg"+r;return e.substr(2)}function O5e(t){var e=this.name+": "+this.namespace;this.message&&(e+=" deprecated "+this.message);for(var r=0;r<t.length;r++)e+=`
1612
- at `+t[r].toString();return e}function K5e(t){if(!t)throw new TypeError("argument namespace is required");var e=Z0(),r=Mf(e[1]),n=r[0];function i(s){X0.call(i,s)}return i._file=n,i._ignored=J5e(t),i._namespace=t,i._traced=j5e(t),i._warned=Object.create(null),i.function=V5e,i.property=W5e,i}function H5e(t,e){var r=typeof t.listenerCount!="function"?t.listeners(e).length:t.listenerCount(e);return r>0}function J5e(t){if(process.noDeprecation)return!0;var e=process.env.NO_DEPRECATION||"";return Tae(e,t)}function j5e(t){if(process.traceDeprecation)return!0;var e=process.env.TRACE_DEPRECATION||"";return Tae(e,t)}function X0(t,e){var r=H5e(process,"deprecation");if(!(!r&&this._ignored)){var n,i,s,o,a=0,A=!1,c=Z0(),u=this._file;for(e?(o=e,s=Mf(c[1]),s.name=o.name,u=s[0]):(a=2,o=Mf(c[a]),s=o);a<c.length;a++)if(n=Mf(c[a]),i=n[0],i===u)A=!0;else if(i===this._file)u=this._file;else if(A)break;var l=n?o.join(":")+"__"+n.join(":"):void 0;if(!(l!==void 0&&l in this._warned)){this._warned[l]=!0;var d=t;if(d||(d=s===o||!s.name?Rae(o):Rae(s)),r){var g=Nae(this._namespace,d,c.slice(a));process.emit("deprecation",g);return}var p=process.stderr.isTTY?q5e:Y5e,f=p.call(this,d,n,c.slice(a));process.stderr.write(f+`
1613
- `,"utf8")}}}function Mf(t){var e=t.getFileName()||"<anonymous>",r=t.getLineNumber(),n=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var i=[e,r,n];return i.callSite=t,i.name=t.getFunctionName(),i}function Rae(t){var e=t.callSite,r=t.name;r||(r="<anonymous@"+bU(t)+">");var n=e.getThis(),i=n&&e.getTypeName();return i==="Object"&&(i=void 0),i==="Function"&&(i=n.name||i),i&&e.getMethodName()?i+"."+r:r}function Y5e(t,e,r){var n=new Date().toUTCString(),i=n+" "+this._namespace+" deprecated "+t;if(this._traced){for(var s=0;s<r.length;s++)i+=`
1614
- at `+r[s].toString();return i}return e&&(i+=" at "+bU(e)),i}function q5e(t,e,r){var n="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+t+"\x1B[39m";if(this._traced){for(var i=0;i<r.length;i++)n+=`
1615
- \x1B[36mat `+r[i].toString()+"\x1B[39m";return n}return e&&(n+=" \x1B[36m"+bU(e)+"\x1B[39m"),n}function bU(t){return L5e(_5e,t[0])+":"+t[1]+":"+t[2]}function Z0(){var t=Error.stackTraceLimit,e={},r=Error.prepareStackTrace;Error.prepareStackTrace=$5e,Error.stackTraceLimit=Math.max(10,t),Error.captureStackTrace(e);var n=e.stack.slice(1);return Error.prepareStackTrace=r,Error.stackTraceLimit=t,n}function $5e(t,e){return e}function V5e(t,e){if(typeof t!="function")throw new TypeError("argument fn must be a function");var r=G5e(t.length),n=Z0(),i=Mf(n[1]);i.name=t.name;var s=new Function("fn","log","deprecate","message","site",`"use strict"
1611
+ `)});let m=A(`HTTP/${t.httpVersion} ${g.statusCode} ${g.statusMessage}`,p.headers);e.destroyed?g.resume():(e.write(m),g.on("data",C=>{f(C)}),g.on("end",()=>{f(""),e.destroySoon()}))}),l.end()}Ti.WS_PASSES={checkMethodAndHeader:gae,XHeaders:pae,stream:dae}});var hae=N(ho=>{"use strict";h();var a$e=ho&&ho.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),A$e=ho&&ho.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fae=ho&&ho.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&a$e(r,e,n[i]);return A$e(r,e),r}})(),c$e=ho&&ho.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ho,"__esModule",{value:!0});ho.ProxyServer=void 0;var u$e=fae(require("node:http")),l$e=fae(require("node:http2")),g$e=uae(),p$e=CU(),d$e=require("node:events"),f$e=c$e(Yi()),h$e=HI(),Y0=(0,f$e.default)("http-proxy-3"),IU=class t extends d$e.EventEmitter{constructor(e={}){super(),this.createRightProxy=r=>(Y0("createRightProxy",{type:r}),n=>(...i)=>{let s=i[0];Y0("proxy: ",{type:r,path:s.url});let o=i[1],a=r==="ws"?this.wsPasses:this.webPasses;r=="ws"&&o.on("error",d=>{this.emit("error",d,s,o)});let A=i.length-1,c,u;typeof i[A]=="function"&&(u=i[A],A--);let l;!(i[A]instanceof Buffer)&&i[A]!==o?(l={...n,...i[A]},A--):l={...n},i[A]instanceof Buffer&&(c=i[A]);for(let d of["target","forward"])typeof l[d]=="string"&&(l[d]=(0,h$e.toURL)(l[d]));if(!l.target&&!l.forward){this.emit("error",new Error("Must set target or forward"),s,o);return}for(let d of a)if(d(s,o,l,c,this,u))break}),this.onError=r=>{if(this.listeners("error").length===1)throw r},this.listen=(r,n)=>{Y0("listen",{port:r,hostname:n});let i=(s,o)=>{this.web(s,o)};return this._server=this.options.ssl?l$e.createSecureServer({...this.options.ssl,allowHTTP1:!0},i):u$e.createServer(i),this.options.ws&&this._server.on("upgrade",(s,o,a)=>{this.ws(s,o,a)}),this._server.listen(r,n),this},this.address=()=>this._server?.address(),this.close=r=>{if(this._server==null){r?.();return}this._server.close(n=>{this._server=null,r?.(n)})},this.before=(r,n,i)=>{if(r!=="ws"&&r!=="web")throw new Error("type must be `web` or `ws`");let s=r==="ws"?this.wsPasses:this.webPasses,o=!1;if(s.forEach((a,A)=>{a.name===n&&(o=A)}),o===!1)throw new Error("No such pass");s.splice(o,0,i)},this.after=(r,n,i)=>{if(r!=="ws"&&r!=="web")throw new Error("type must be `web` or `ws`");let s=r==="ws"?this.wsPasses:this.webPasses,o=!1;if(s.forEach((a,A)=>{a.name===n&&(o=A)}),o===!1)throw new Error("No such pass");s.splice(o++,0,i)},Y0("creating a ProxyServer",e),e.prependPath=e.prependPath!==!1,this.options=e,this.web=this.createRightProxy("web")(e),this.ws=this.createRightProxy("ws")(e),this.webPasses=Object.values(g$e.WEB_PASSES),this.wsPasses=Object.values(p$e.WS_PASSES),this.on("error",this.onError)}static createProxyServer(e){return new t(e)}static createServer(e){return new t(e)}static createProxy(e){return new t(e)}};ho.ProxyServer=IU});var mae=N(mA=>{"use strict";h();Object.defineProperty(mA,"__esModule",{value:!0});mA.numOpenSockets=mA.ProxyServer=void 0;mA.createProxyServer=BU;mA.createServer=BU;mA.createProxy=BU;var EU=hae();Object.defineProperty(mA,"ProxyServer",{enumerable:!0,get:function(){return EU.ProxyServer}});var m$e=CU();Object.defineProperty(mA,"numOpenSockets",{enumerable:!0,get:function(){return m$e.numOpenSockets}});function BU(t={}){return new EU.ProxyServer(t)}mA.default=EU.ProxyServer});var Eae=N(yU=>{"use strict";h();yU.parse=D$e;yU.serialize=w$e;var C$e=Object.prototype.toString,I$e=Object.prototype.hasOwnProperty,E$e=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,B$e=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,y$e=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,Q$e=/^[\u0020-\u003A\u003D-\u007E]*$/;function D$e(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");var r={},n=t.length;if(n<2)return r;var i=e&&e.decode||b$e,s=0,o=0,a=0;do{if(o=t.indexOf("=",s),o===-1)break;if(a=t.indexOf(";",s),a===-1)a=n;else if(o>a){s=t.lastIndexOf(";",o-1)+1;continue}var A=Cae(t,s,o),c=Iae(t,o,A),u=t.slice(A,c);if(!I$e.call(r,u)){var l=Cae(t,o+1,a),d=Iae(t,a,l);t.charCodeAt(l)===34&&t.charCodeAt(d-1)===34&&(l++,d--);var g=t.slice(l,d);r[u]=S$e(g,i)}s=a+1}while(s<n);return r}function Cae(t,e,r){do{var n=t.charCodeAt(e);if(n!==32&&n!==9)return e}while(++e<r);return r}function Iae(t,e,r){for(;e>r;){var n=t.charCodeAt(--e);if(n!==32&&n!==9)return e+1}return r}function w$e(t,e,r){var n=r&&r.encode||encodeURIComponent;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!E$e.test(t))throw new TypeError("argument name is invalid");var i=n(e);if(!B$e.test(i))throw new TypeError("argument val is invalid");var s=t+"="+i;if(!r)return s;if(r.maxAge!=null){var o=Math.floor(r.maxAge);if(!isFinite(o))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+o}if(r.domain){if(!y$e.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!Q$e.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var a=r.expires;if(!v$e(a)||isNaN(a.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+a.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority){var A=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(A){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var c=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(c){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function b$e(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}function v$e(t){return C$e.call(t)==="[object Date]"}function S$e(t,e){try{return e(t)}catch{return t}}});var Qae=N(q0=>{h();var yae=require("crypto");q0.sign=function(t,e){if(typeof t!="string")throw new TypeError("Cookie value must be provided as a string.");if(typeof e!="string")throw new TypeError("Secret string must be provided.");return t+"."+yae.createHmac("sha256",e).update(t).digest("base64").replace(/\=+$/,"")};q0.unsign=function(t,e){if(typeof t!="string")throw new TypeError("Signed cookie string must be provided.");if(typeof e!="string")throw new TypeError("Secret string must be provided.");var r=t.slice(0,t.lastIndexOf(".")),n=q0.sign(r,e);return Bae(n)==Bae(t)?r:!1};function Bae(t){return yae.createHash("sha1").update(t).digest("hex")}});var vae=N((Hjt,Rf)=>{"use strict";h();var x$e=Eae(),F$e=Qae();Rf.exports=k$e;Rf.exports.JSONCookie=Dae;Rf.exports.JSONCookies=QU;Rf.exports.signedCookie=wae;Rf.exports.signedCookies=bae;function k$e(t,e){var r=!t||Array.isArray(t)?t||[]:[t];return function(i,s,o){if(i.cookies)return o();var a=i.headers.cookie;if(i.secret=r[0],i.cookies=Object.create(null),i.signedCookies=Object.create(null),!a)return o();i.cookies=x$e.parse(a,e),r.length!==0&&(i.signedCookies=bae(i.cookies,r),i.signedCookies=QU(i.signedCookies)),i.cookies=QU(i.cookies),o()}}function Dae(t){if(!(typeof t!="string"||t.substr(0,2)!=="j:"))try{return JSON.parse(t.slice(2))}catch{return}}function QU(t){for(var e=Object.keys(t),r,n,i=0;i<e.length;i++)r=e[i],n=Dae(t[r]),n&&(t[r]=n);return t}function wae(t,e){if(typeof t=="string"){if(t.substr(0,2)!=="s:")return t;for(var r=!e||Array.isArray(e)?e||[]:[e],n=0;n<r.length;n++){var i=F$e.unsign(t.slice(2),r[n]);if(i!==!1)return i}return!1}}function bae(t,e){for(var r=Object.keys(t),n,i,s=Object.create(null),o,a=0;a<r.length;a++)i=r[a],o=t[i],n=wae(o,e),o!==n&&(s[i]=n,delete t[i]);return s}});function $0(t){if(!t)return;let e=structuredClone(t);return e.privacyMode?.encryptKey&&(e.privacyMode.encryptKey="*****"),e}function R$e(t){if(t.startsWith("ai/")){let e=t.split("/");if(e.length<3)return{sessionId:void 0,featureBranch:t};let r=e.pop();e.shift();let n=e.join("/");return{sessionId:r,featureBranch:n}}else if(t.startsWith("ai_")){let e=t.split("_");if(e.length<3)return{sessionId:void 0,featureBranch:t};let r=e.pop();e.shift();let n=e.join("_");return{sessionId:r,featureBranch:n}}return{sessionId:void 0,featureBranch:t}}function xae(t,e){return`ai_${t}_${e}`.trim()}var Sae,V0,W0,z0,$g=P(()=>{"use strict";h();Sae=z(require("node:path"),1);V0=()=>process.env.FLY_APP_NAME!==void 0||["cloud","cloud-v2"].includes(process.env.FUSION_ENVIRONMENT??""),W0=t=>Sae.default.resolve(process.cwd(),t.workingDirectory??".");z0=async({sys:t,gitWorkingDirectory:e,strict:r})=>{let n=await t.getRepoInfo(e);if(!n.hasGit)throw new Error("Git is not initialized");let i=n.currentBranch,s=R$e(i);if(r&&s.featureBranch===""&&i.startsWith("ai__"))throw new Error("AI branch is corrupted");return{currentBranch:i,featureBranch:s.featureBranch,sessionId:s.sessionId,currentCommitHash:n.commit}}});var JI={};fy(JI,{VSCodeTunnelManager:()=>Wg,generateCursorDeepLink:()=>M$e,generateVSCodeDeepLink:()=>N$e,generateWebEditorLink:()=>P$e,getTunnelManager:()=>wU});function T$e(){try{let t=process.platform==="win32"?"where code":"which code";return(0,Fae.execSync)(t,{stdio:"ignore"}),!0}catch{return!1}}function wU(){return DU||(DU=new Wg),DU}function N$e(t,e=Tf){return`vscode://vscode-remote/tunnel+${t}${e}`}function M$e(t,e=Tf){return`cursor://cursor-remote/tunnel+${t}${e}`}function P$e(t,e=Tf){return`https://vscode.dev/tunnel/${t}${e}`}var Fae,kae,Vg,Tf,Wg,DU,Nf=P(()=>{"use strict";h();Fae=require("node:child_process"),kae=require("node:events");ca();Et();Vg=ve("VSCodeTunnel");Tf="/root/app/code",Wg=class extends kae.EventEmitter{process=null;status="stopped";tunnelName=null;tunnelUrl=null;error=null;workspacePath=Tf;autoRestart=!1;restartAttempts=0;maxRestartAttempts=3;restartDelay=5e3;isShuttingDown=!1;constructor(){super()}async start(e){return this.status==="running"||this.status==="starting"?this.getInfo():(this.status="starting",this.tunnelName=e.name,this.workspacePath=e.workspacePath||Tf,this.autoRestart=e.autoRestart??!0,this.isShuttingDown=!1,this.restartAttempts=0,this.spawnTunnel(e))}async spawnTunnel(e){if(this.status="starting",this.error=null,this.emit("status",this.getInfo()),!T$e())return this.status="stopped",this.tunnelName=null,this.error="VS Code CLI ('code' command) is not installed or not in PATH.",Vg.info(`Skipping: ${this.error} Set VSCODE_TUNNEL_ENABLED=false to suppress this message.`),this.emit("status",this.getInfo()),this.getInfo();let r=["tunnel","--name",e.name,"--accept-server-license-terms"];try{return this.process=dc({command:"code",args:r,options:{stdio:["ignore","pipe","pipe"],env:{...process.env,VSCODE_CLI_DISABLE_INTERACTIVE:"1"}}}),this.process.stdout?.on("data",n=>{let i=n.toString();this.parseOutput(i)}),this.process.stderr?.on("data",n=>{let i=n.toString();this.parseOutput(i),Vg.debug("stderr:",i,{loggerOptions:{stderr:!0}})}),this.process.on("exit",(n,i)=>{let s=this.status==="running";if(this.process=null,this.isShuttingDown){this.status="stopped",this.emit("status",this.getInfo());return}n!==0?(this.status="error",this.error=`Tunnel process exited with code ${n}`,this.emit("error",this.error),this.emit("status",this.getInfo()),this.autoRestart&&s&&this.restartAttempts<this.maxRestartAttempts&&(this.restartAttempts++,Vg.info(`Restarting (attempt ${this.restartAttempts}/${this.maxRestartAttempts})...`),setTimeout(()=>{!this.isShuttingDown&&this.status!=="running"&&this.status!=="starting"&&this.spawnTunnel(e).catch(o=>{Vg.error("Restart failed:",o.message)})},this.restartDelay))):(this.status="stopped",this.emit("status",this.getInfo()))}),this.process.on("error",n=>{this.status="error",this.error=n.message,this.process=null,this.emit("error",this.error),this.emit("status",this.getInfo())}),new Promise((n,i)=>{let s=()=>{clearTimeout(o),this.off("status",a)},o=setTimeout(()=>{this.status==="starting"&&(s(),this.tunnelUrl?(this.status="running",this.restartAttempts=0,n(this.getInfo())):(this.isShuttingDown=!0,this.process&&(this.process.kill("SIGTERM"),this.process=null),this.status="error",this.error="Tunnel startup timeout",this.emit("error",this.error),i(new Error(this.error))))},6e4),a=()=>{this.status==="running"?(s(),n(this.getInfo())):this.status==="error"?(s(),i(new Error(this.error||"Unknown tunnel error"))):this.status==="stopped"&&(s(),i(new Error("Tunnel process exited before becoming ready")))};this.on("status",a)})}catch(n){throw this.status="error",this.error=n instanceof Error?n.message:"Failed to start tunnel",this.emit("error",this.error),n}}parseOutput(e){let r=e.match(/https:\/\/vscode\.dev\/tunnel\/([a-zA-Z0-9_-]+)/);r&&(this.tunnelUrl=r[0],this.tunnelName=r[1],this.status="running",this.restartAttempts=0,Vg.info(`Connected: ${this.tunnelUrl}`),this.emit("ready",this.getInfo()),this.emit("status",this.getInfo()));let n=e.match(/Connected to tunnel:\s*([a-zA-Z0-9_-]+)/i);n&&(this.tunnelName=n[1]),e.includes("Hosting")&&this.tunnelName&&this.status!=="running"&&(this.tunnelUrl=`https://vscode.dev/tunnel/${this.tunnelName}`,this.status="running",this.restartAttempts=0,Vg.info(`Connected: ${this.tunnelUrl}`),this.emit("ready",this.getInfo()),this.emit("status",this.getInfo())),(e.toLowerCase().includes("error")||e.toLowerCase().includes("failed"))&&Vg.warn("Warning:",e)}async stop(){this.isShuttingDown=!0,this.autoRestart=!1;let e=this.process;if(e)return new Promise(r=>{let n=!1,i=()=>{n||(n=!0,this.process=null,this.status="stopped",this.tunnelName=null,this.tunnelUrl=null,this.error=null,this.emit("status",this.getInfo()),r())},s=setTimeout(()=>{this.process&&this.process.kill("SIGKILL"),i()},5e3);e.once("exit",()=>{clearTimeout(s),i()}),e.kill("SIGTERM")});this.status="stopped",this.tunnelName=null,this.tunnelUrl=null,this.error=null,this.emit("status",this.getInfo())}getInfo(){let e=this.tunnelName,r=this.workspacePath;return{status:this.status,name:e,url:this.tunnelUrl,vscodeUri:e?`vscode://vscode-remote/tunnel+${e}${r}`:null,cursorUri:e?`cursor://cursor-remote/tunnel+${e}${r}`:null,webUrl:e?`https://vscode.dev/tunnel/${e}${r}`:null,error:this.error,workspacePath:r}}getStatus(){return this.status}static isEnabled(){let e=process.env.VSCODE_TUNNEL_ENABLED;return!(e==="false"||e==="0")}static isAutoStartEnabled(){let e=process.env.VSCODE_TUNNEL_AUTO_START;return e==="true"||e==="1"}static getTunnelName(e,r){let n=process.env.VSCODE_TUNNEL_NAME;return n||e&&r&&`${e}-${r}`.toLowerCase().replace(/[^a-z0-9-]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").substring(0,63)||"builder-tunnel"}static getWorkspacePath(){return process.env.VSCODE_TUNNEL_WORKSPACE||Tf}},DU=null});var jI=N((Wjt,Mae)=>{h();var L$e=require("path").relative;Mae.exports=K$e;var _$e=process.cwd();function Tae(t,e){for(var r=t.split(/[ ,]+/),n=String(e).toLowerCase(),i=0;i<r.length;i++){var s=r[i];if(s&&(s==="*"||s.toLowerCase()===n))return!0}return!1}function U$e(t,e,r){var n=Object.getOwnPropertyDescriptor(t,e),i=n.value;return n.get=function(){return i},n.writable&&(n.set=function(o){return i=o}),delete n.value,delete n.writable,Object.defineProperty(t,e,n),n}function G$e(t){for(var e="",r=0;r<t;r++)e+=", arg"+r;return e.substr(2)}function O$e(t){var e=this.name+": "+this.namespace;this.message&&(e+=" deprecated "+this.message);for(var r=0;r<t.length;r++)e+=`
1612
+ at `+t[r].toString();return e}function K$e(t){if(!t)throw new TypeError("argument namespace is required");var e=Z0(),r=Mf(e[1]),n=r[0];function i(s){X0.call(i,s)}return i._file=n,i._ignored=J$e(t),i._namespace=t,i._traced=j$e(t),i._warned=Object.create(null),i.function=V$e,i.property=W$e,i}function H$e(t,e){var r=typeof t.listenerCount!="function"?t.listeners(e).length:t.listenerCount(e);return r>0}function J$e(t){if(process.noDeprecation)return!0;var e=process.env.NO_DEPRECATION||"";return Tae(e,t)}function j$e(t){if(process.traceDeprecation)return!0;var e=process.env.TRACE_DEPRECATION||"";return Tae(e,t)}function X0(t,e){var r=H$e(process,"deprecation");if(!(!r&&this._ignored)){var n,i,s,o,a=0,A=!1,c=Z0(),u=this._file;for(e?(o=e,s=Mf(c[1]),s.name=o.name,u=s[0]):(a=2,o=Mf(c[a]),s=o);a<c.length;a++)if(n=Mf(c[a]),i=n[0],i===u)A=!0;else if(i===this._file)u=this._file;else if(A)break;var l=n?o.join(":")+"__"+n.join(":"):void 0;if(!(l!==void 0&&l in this._warned)){this._warned[l]=!0;var d=t;if(d||(d=s===o||!s.name?Rae(o):Rae(s)),r){var g=Nae(this._namespace,d,c.slice(a));process.emit("deprecation",g);return}var p=process.stderr.isTTY?q$e:Y$e,f=p.call(this,d,n,c.slice(a));process.stderr.write(f+`
1613
+ `,"utf8")}}}function Mf(t){var e=t.getFileName()||"<anonymous>",r=t.getLineNumber(),n=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var i=[e,r,n];return i.callSite=t,i.name=t.getFunctionName(),i}function Rae(t){var e=t.callSite,r=t.name;r||(r="<anonymous@"+bU(t)+">");var n=e.getThis(),i=n&&e.getTypeName();return i==="Object"&&(i=void 0),i==="Function"&&(i=n.name||i),i&&e.getMethodName()?i+"."+r:r}function Y$e(t,e,r){var n=new Date().toUTCString(),i=n+" "+this._namespace+" deprecated "+t;if(this._traced){for(var s=0;s<r.length;s++)i+=`
1614
+ at `+r[s].toString();return i}return e&&(i+=" at "+bU(e)),i}function q$e(t,e,r){var n="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+t+"\x1B[39m";if(this._traced){for(var i=0;i<r.length;i++)n+=`
1615
+ \x1B[36mat `+r[i].toString()+"\x1B[39m";return n}return e&&(n+=" \x1B[36m"+bU(e)+"\x1B[39m"),n}function bU(t){return L$e(_$e,t[0])+":"+t[1]+":"+t[2]}function Z0(){var t=Error.stackTraceLimit,e={},r=Error.prepareStackTrace;Error.prepareStackTrace=$$e,Error.stackTraceLimit=Math.max(10,t),Error.captureStackTrace(e);var n=e.stack.slice(1);return Error.prepareStackTrace=r,Error.stackTraceLimit=t,n}function $$e(t,e){return e}function V$e(t,e){if(typeof t!="function")throw new TypeError("argument fn must be a function");var r=G$e(t.length),n=Z0(),i=Mf(n[1]);i.name=t.name;var s=new Function("fn","log","deprecate","message","site",`"use strict"
1616
1616
  return function (`+r+`) {log.call(deprecate, message, site)
1617
1617
  return fn.apply(this, arguments)
1618
- }`)(t,X0,this,e,i);return s}function W5e(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("argument obj must be object");var n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw new TypeError("must call property on owner object");if(!n.configurable)throw new TypeError("property must be configurable");var i=this,s=Z0(),o=Mf(s[1]);o.name=e,"value"in n&&(n=U5e(t,e,r));var a=n.get,A=n.set;typeof a=="function"&&(n.get=function(){return X0.call(i,r,o),a.apply(this,arguments)}),typeof A=="function"&&(n.set=function(){return X0.call(i,r,o),A.apply(this,arguments)}),Object.defineProperty(t,e,n)}function Nae(t,e,r){var n=new Error,i;return Object.defineProperty(n,"constructor",{value:Nae}),Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{enumerable:!1,configurable:!0,value:"DeprecationError",writable:!0}),Object.defineProperty(n,"namespace",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,get:function(){return i!==void 0?i:i=O5e.call(this,r)},set:function(o){i=o}}),n}});var Lae=N((Xjt,Pae)=>{"use strict";h();Pae.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?z5e:X5e);function z5e(t,e){return t.__proto__=e,t}function X5e(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=e[r]);return t}});var _ae=N((eYt,Z5e)=>{Z5e.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}});var YI=N((tYt,Gae)=>{"use strict";h();var vU=_ae();Gae.exports=fa;fa.message=vU;fa.code=eVe(vU);fa.codes=tVe(vU);fa.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0};fa.empty={204:!0,205:!0,304:!0};fa.retry={502:!0,503:!0,504:!0};function eVe(t){var e={};return Object.keys(t).forEach(function(n){var i=t[n],s=Number(n);e[i.toLowerCase()]=s}),e}function tVe(t){return Object.keys(t).map(function(r){return Number(r)})}function rVe(t){var e=t.toLowerCase();if(!Object.prototype.hasOwnProperty.call(fa.code,e))throw new Error('invalid status message: "'+t+'"');return fa.code[e]}function Uae(t){if(!Object.prototype.hasOwnProperty.call(fa.message,t))throw new Error("invalid status code: "+t);return fa.message[t]}function fa(t){if(typeof t=="number")return Uae(t);if(typeof t!="string")throw new TypeError("code must be a number or string");var e=parseInt(t,10);return isNaN(e)?rVe(t):Uae(e)}});var Oae=N((nYt,SU)=>{h();typeof Object.create=="function"?SU.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:SU.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Kae=N((sYt,FU)=>{h();try{if(xU=require("util"),typeof xU.inherits!="function")throw"";FU.exports=xU.inherits}catch{FU.exports=Oae()}var xU});var Jae=N((aYt,Hae)=>{"use strict";h();Hae.exports=nVe;function nVe(t){return t.split(" ").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join("").replace(/[^ _0-9a-z]/gi,"")}});var Lf=N((cYt,zg)=>{"use strict";h();var iVe=jI()("http-errors"),jae=Lae(),Pf=YI(),kU=Kae(),sVe=Jae();zg.exports=eb;zg.exports.HttpError=oVe();zg.exports.isHttpError=AVe(zg.exports.HttpError);uVe(zg.exports,Pf.codes,zg.exports.HttpError);function Yae(t){return+(String(t).charAt(0)+"00")}function eb(){for(var t,e,r=500,n={},i=0;i<arguments.length;i++){var s=arguments[i],o=typeof s;if(o==="object"&&s instanceof Error)t=s,r=t.status||t.statusCode||r;else if(o==="number"&&i===0)r=s;else if(o==="string")e=s;else if(o==="object")n=s;else throw new TypeError("argument #"+(i+1)+" unsupported type "+o)}typeof r=="number"&&(r<400||r>=600)&&iVe("non-error status code; use only 4xx or 5xx status codes"),(typeof r!="number"||!Pf.message[r]&&(r<400||r>=600))&&(r=500);var a=eb[r]||eb[Yae(r)];t||(t=a?new a(e):new Error(e||Pf.message[r]),Error.captureStackTrace(t,eb)),(!a||!(t instanceof a)||t.status!==r)&&(t.expose=r<500,t.status=t.statusCode=r);for(var A in n)A!=="status"&&A!=="statusCode"&&(t[A]=n[A]);return t}function oVe(){function t(){throw new TypeError("cannot construct abstract class")}return kU(t,Error),t}function aVe(t,e,r){var n=$ae(e);function i(s){var o=s??Pf.message[r],a=new Error(o);return Error.captureStackTrace(a,i),jae(a,i.prototype),Object.defineProperty(a,"message",{enumerable:!0,configurable:!0,value:o,writable:!0}),Object.defineProperty(a,"name",{enumerable:!1,configurable:!0,value:n,writable:!0}),a}return kU(i,t),qae(i,n),i.prototype.status=r,i.prototype.statusCode=r,i.prototype.expose=!0,i}function AVe(t){return function(r){return!r||typeof r!="object"?!1:r instanceof t?!0:r instanceof Error&&typeof r.expose=="boolean"&&typeof r.statusCode=="number"&&r.status===r.statusCode}}function cVe(t,e,r){var n=$ae(e);function i(s){var o=s??Pf.message[r],a=new Error(o);return Error.captureStackTrace(a,i),jae(a,i.prototype),Object.defineProperty(a,"message",{enumerable:!0,configurable:!0,value:o,writable:!0}),Object.defineProperty(a,"name",{enumerable:!1,configurable:!0,value:n,writable:!0}),a}return kU(i,t),qae(i,n),i.prototype.status=r,i.prototype.statusCode=r,i.prototype.expose=!1,i}function qae(t,e){var r=Object.getOwnPropertyDescriptor(t,"name");r&&r.configurable&&(r.value=e,Object.defineProperty(t,"name",r))}function uVe(t,e,r){e.forEach(function(i){var s,o=sVe(Pf.message[i]);switch(Yae(i)){case 400:s=aVe(r,o,i);break;case 500:s=cVe(r,o,i);break}s&&(t[i]=s,t[o]=s)})}function $ae(t){return t.slice(-5)==="Error"?t:t+"Error"}});var RU=N((lYt,tb)=>{"use strict";h();tb.exports=dVe;tb.exports.format=Vae;tb.exports.parse=Wae;var lVe=/\B(?=(\d{3})+(?!\d))/g,gVe=/(?:\.0*|(\.[^0]+)0+)$/,Wu={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},pVe=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function dVe(t,e){return typeof t=="string"?Wae(t):typeof t=="number"?Vae(t,e):null}function Vae(t,e){if(!Number.isFinite(t))return null;var r=Math.abs(t),n=e&&e.thousandsSeparator||"",i=e&&e.unitSeparator||"",s=e&&e.decimalPlaces!==void 0?e.decimalPlaces:2,o=!!(e&&e.fixedDecimals),a=e&&e.unit||"";(!a||!Wu[a.toLowerCase()])&&(r>=Wu.pb?a="PB":r>=Wu.tb?a="TB":r>=Wu.gb?a="GB":r>=Wu.mb?a="MB":r>=Wu.kb?a="KB":a="B");var A=t/Wu[a.toLowerCase()],c=A.toFixed(s);return o||(c=c.replace(gVe,"$1")),n&&(c=c.split(".").map(function(u,l){return l===0?u.replace(lVe,n):u}).join(".")),c+i+a}function Wae(t){if(typeof t=="number"&&!isNaN(t))return t;if(typeof t!="string")return null;var e=pVe.exec(t),r,n="b";return e?(r=parseFloat(e[1]),n=e[4].toLowerCase()):(r=parseInt(t,10),n="b"),isNaN(r)?null:Math.floor(Wu[n]*r)}});var Bc=N((pYt,zae)=>{"use strict";h();var rb=require("buffer"),_f=rb.Buffer,mo={},Co;for(Co in rb)rb.hasOwnProperty(Co)&&(Co==="SlowBuffer"||Co==="Buffer"||(mo[Co]=rb[Co]));var Uf=mo.Buffer={};for(Co in _f)_f.hasOwnProperty(Co)&&(Co==="allocUnsafe"||Co==="allocUnsafeSlow"||(Uf[Co]=_f[Co]));mo.Buffer.prototype=_f.prototype;(!Uf.from||Uf.from===Uint8Array.from)&&(Uf.from=function(t,e,r){if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&typeof t.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return _f(t,e,r)});Uf.alloc||(Uf.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=_f(t);return!e||e.length===0?n.fill(0):typeof r=="string"?n.fill(e,r):n.fill(e),n});if(!mo.kStringMaxLength)try{mo.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}mo.constants||(mo.constants={MAX_LENGTH:mo.kMaxLength},mo.kStringMaxLength&&(mo.constants.MAX_STRING_LENGTH=mo.kStringMaxLength));zae.exports=mo});var Zae=N(MU=>{"use strict";h();var Xae="\uFEFF";MU.PrependBOM=TU;function TU(t,e){this.encoder=t,this.addBOM=!0}TU.prototype.write=function(t){return this.addBOM&&(t=Xae+t,this.addBOM=!1),this.encoder.write(t)};TU.prototype.end=function(){return this.encoder.end()};MU.StripBOM=NU;function NU(t,e){this.decoder=t,this.pass=!1,this.options=e||{}}NU.prototype.write=function(t){var e=this.decoder.write(t);return this.pass||!e||(e[0]===Xae&&(e=e.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),e};NU.prototype.end=function(){return this.decoder.end()}});var PU=N((mYt,eAe)=>{"use strict";h();var fVe=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function hVe(t,e){for(var r in e)fVe(e,r)&&(t[r]=e[r])}eAe.exports=hVe});var rAe=N((IYt,tAe)=>{"use strict";h();var yc=Bc().Buffer;tAe.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:LU};function LU(t,e){this.enc=t.encodingName,this.bomAware=t.bomAware,this.enc==="base64"?this.encoder=GU:this.enc==="utf8"?this.encoder=HU:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=OU,yc.from("eda0bdedb2a9","hex").toString()!=="\u{1F4A9}"&&(this.decoder=KU,this.defaultCharUnicode=e.defaultCharUnicode))}LU.prototype.encoder=UU;LU.prototype.decoder=_U;var mVe=require("string_decoder").StringDecoder;function _U(t,e){this.decoder=new mVe(e.enc)}_U.prototype.write=function(t){return yc.isBuffer(t)||(t=yc.from(t)),this.decoder.write(t)};_U.prototype.end=function(){return this.decoder.end()};function UU(t,e){this.enc=e.enc}UU.prototype.write=function(t){return yc.from(t,this.enc)};UU.prototype.end=function(){};function GU(t,e){this.prevStr=""}GU.prototype.write=function(t){t=this.prevStr+t;var e=t.length-t.length%4;return this.prevStr=t.slice(e),t=t.slice(0,e),yc.from(t,"base64")};GU.prototype.end=function(){return yc.from(this.prevStr,"base64")};function OU(t,e){}OU.prototype.write=function(t){for(var e=yc.alloc(t.length*3),r=0,n=0;n<t.length;n++){var i=t.charCodeAt(n);i<128?e[r++]=i:i<2048?(e[r++]=192+(i>>>6),e[r++]=128+(i&63)):(e[r++]=224+(i>>>12),e[r++]=128+(i>>>6&63),e[r++]=128+(i&63))}return e.slice(0,r)};OU.prototype.end=function(){};function KU(t,e){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=e.defaultCharUnicode}KU.prototype.write=function(t){for(var e=this.acc,r=this.contBytes,n=this.accBytes,i="",s=0;s<t.length;s++){var o=t[s];(o&192)!==128?(r>0&&(i+=this.defaultCharUnicode,r=0),o<128?i+=String.fromCharCode(o):o<224?(e=o&31,r=1,n=1):o<240?(e=o&15,r=2,n=1):i+=this.defaultCharUnicode):r>0?(e=e<<6|o&63,r--,n++,r===0&&(n===2&&e<128&&e>0?i+=this.defaultCharUnicode:n===3&&e<2048?i+=this.defaultCharUnicode:i+=String.fromCharCode(e))):i+=this.defaultCharUnicode}return this.acc=e,this.contBytes=r,this.accBytes=n,i};KU.prototype.end=function(){var t=0;return this.contBytes>0&&(t+=this.defaultCharUnicode),t};function HU(t,e){this.highSurrogate=""}HU.prototype.write=function(t){if(this.highSurrogate&&(t=this.highSurrogate+t,this.highSurrogate=""),t.length>0){var e=t.charCodeAt(t.length-1);e>=55296&&e<56320&&(this.highSurrogate=t[t.length-1],t=t.slice(0,t.length-1))}return yc.from(t,this.enc)};HU.prototype.end=function(){if(this.highSurrogate){var t=this.highSurrogate;return this.highSurrogate="",yc.from(t,this.enc)}}});var sAe=N(zu=>{"use strict";h();var nb=Bc().Buffer;zu._utf32=JU;function JU(t,e){this.iconv=e,this.bomAware=!0,this.isLE=t.isLE}zu.utf32le={type:"_utf32",isLE:!0};zu.utf32be={type:"_utf32",isLE:!1};zu.ucs4le="utf32le";zu.ucs4be="utf32be";JU.prototype.encoder=jU;JU.prototype.decoder=YU;function jU(t,e){this.isLE=e.isLE,this.highSurrogate=0}jU.prototype.write=function(t){for(var e=nb.from(t,"ucs2"),r=nb.alloc(e.length*2),n=this.isLE?r.writeUInt32LE:r.writeUInt32BE,i=0,s=0;s<e.length;s+=2){var o=e.readUInt16LE(s),a=o>=55296&&o<56320,A=o>=56320&&o<57344;if(this.highSurrogate)if(a||!A)n.call(r,this.highSurrogate,i),i+=4;else{var c=(this.highSurrogate-55296<<10|o-56320)+65536;n.call(r,c,i),i+=4,this.highSurrogate=0;continue}a?this.highSurrogate=o:(n.call(r,o,i),i+=4,this.highSurrogate=0)}return i<r.length&&(r=r.slice(0,i)),r};jU.prototype.end=function(){if(this.highSurrogate){var t=nb.alloc(4);return this.isLE?t.writeUInt32LE(this.highSurrogate,0):t.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,t}};function YU(t,e){this.isLE=e.isLE,this.badChar=e.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}YU.prototype.write=function(t){if(t.length===0)return"";var e=0,r=0,n=nb.alloc(t.length+4),i=0,s=this.isLE,o=this.overflow,a=this.badChar;if(o.length>0){for(;e<t.length&&o.length<4;e++)o.push(t[e]);o.length===4&&(s?r=o[e]|o[e+1]<<8|o[e+2]<<16|o[e+3]<<24:r=o[e+3]|o[e+2]<<8|o[e+1]<<16|o[e]<<24,o.length=0,i=nAe(n,i,r,a))}for(;e<t.length-3;e+=4)s?r=t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24:r=t[e+3]|t[e+2]<<8|t[e+1]<<16|t[e]<<24,i=nAe(n,i,r,a);for(;e<t.length;e++)o.push(t[e]);return n.slice(0,i).toString("ucs2")};function nAe(t,e,r,n){if((r<0||r>1114111)&&(r=n),r>=65536){r-=65536;var i=55296|r>>10;t[e++]=i&255,t[e++]=i>>8;var r=56320|r&1023}return t[e++]=r&255,t[e++]=r>>8,e}YU.prototype.end=function(){this.overflow.length=0};zu.utf32=qU;zu.ucs4="utf32";function qU(t,e){this.iconv=e}qU.prototype.encoder=$U;qU.prototype.decoder=VU;function $U(t,e){t=t||{},t.addBOM===void 0&&(t.addBOM=!0),this.encoder=e.iconv.getEncoder(t.defaultEncoding||"utf-32le",t)}$U.prototype.write=function(t){return this.encoder.write(t)};$U.prototype.end=function(){return this.encoder.end()};function VU(t,e){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=t||{},this.iconv=e.iconv}VU.prototype.write=function(t){if(!this.decoder){if(this.initialBufs.push(t),this.initialBufsLen+=t.length,this.initialBufsLen<32)return"";var e=iAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);for(var r="",n=0;n<this.initialBufs.length;n++)r+=this.decoder.write(this.initialBufs[n]);return this.initialBufs.length=this.initialBufsLen=0,r}return this.decoder.write(t)};VU.prototype.end=function(){if(!this.decoder){var t=iAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var e="",r=0;r<this.initialBufs.length;r++)e+=this.decoder.write(this.initialBufs[r]);var n=this.decoder.end();return n&&(e+=n),this.initialBufs.length=this.initialBufsLen=0,e}return this.decoder.end()};function iAe(t,e){var r=[],n=0,i=0,s=0,o=0,a=0;e:for(var A=0;A<t.length;A++)for(var c=t[A],u=0;u<c.length;u++)if(r.push(c[u]),r.length===4){if(n===0){if(r[0]===255&&r[1]===254&&r[2]===0&&r[3]===0)return"utf-32le";if(r[0]===0&&r[1]===0&&r[2]===254&&r[3]===255)return"utf-32be"}if((r[0]!==0||r[1]>16)&&s++,(r[3]!==0||r[2]>16)&&i++,r[0]===0&&r[1]===0&&(r[2]!==0||r[3]!==0)&&a++,(r[0]!==0||r[1]!==0)&&r[2]===0&&r[3]===0&&o++,r.length=0,n++,n>=100)break e}return a-s>o-i?"utf-32be":a-s<o-i?"utf-32le":e||"utf-32le"}});var AAe=N(t2=>{"use strict";h();var oAe=Bc().Buffer;t2.utf16be=ib;function ib(){}ib.prototype.encoder=WU;ib.prototype.decoder=zU;ib.prototype.bomAware=!0;function WU(){}WU.prototype.write=function(t){for(var e=oAe.from(t,"ucs2"),r=0;r<e.length;r+=2){var n=e[r];e[r]=e[r+1],e[r+1]=n}return e};WU.prototype.end=function(){};function zU(){this.overflowByte=-1}zU.prototype.write=function(t){if(t.length==0)return"";var e=oAe.alloc(t.length+1),r=0,n=0;for(this.overflowByte!==-1&&(e[0]=t[0],e[1]=this.overflowByte,r=1,n=2);r<t.length-1;r+=2,n+=2)e[n]=t[r+1],e[n+1]=t[r];return this.overflowByte=r==t.length-1?t[t.length-1]:-1,e.slice(0,n).toString("ucs2")};zU.prototype.end=function(){this.overflowByte=-1};t2.utf16=XU;function XU(t,e){this.iconv=e}XU.prototype.encoder=ZU;XU.prototype.decoder=e2;function ZU(t,e){t=t||{},t.addBOM===void 0&&(t.addBOM=!0),this.encoder=e.iconv.getEncoder("utf-16le",t)}ZU.prototype.write=function(t){return this.encoder.write(t)};ZU.prototype.end=function(){return this.encoder.end()};function e2(t,e){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=t||{},this.iconv=e.iconv}e2.prototype.write=function(t){if(!this.decoder){if(this.initialBufs.push(t),this.initialBufsLen+=t.length,this.initialBufsLen<16)return"";var e=aAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);for(var r="",n=0;n<this.initialBufs.length;n++)r+=this.decoder.write(this.initialBufs[n]);return this.initialBufs.length=this.initialBufsLen=0,r}return this.decoder.write(t)};e2.prototype.end=function(){if(!this.decoder){var t=aAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var e="",r=0;r<this.initialBufs.length;r++)e+=this.decoder.write(this.initialBufs[r]);var n=this.decoder.end();return n&&(e+=n),this.initialBufs.length=this.initialBufsLen=0,e}return this.decoder.end()};function aAe(t,e){var r=[],n=0,i=0,s=0;e:for(var o=0;o<t.length;o++)for(var a=t[o],A=0;A<a.length;A++)if(r.push(a[A]),r.length===2){if(n===0){if(r[0]===255&&r[1]===254)return"utf-16le";if(r[0]===254&&r[1]===255)return"utf-16be"}if(r[0]===0&&r[1]!==0&&s++,r[0]!==0&&r[1]===0&&i++,r.length=0,n++,n>=100)break e}return s>i?"utf-16be":s<i?"utf-16le":e||"utf-16le"}});var uAe=N(ab=>{"use strict";h();var CA=Bc().Buffer;ab.utf7=sb;ab.unicode11utf7="utf7";function sb(t,e){this.iconv=e}sb.prototype.encoder=n2;sb.prototype.decoder=i2;sb.prototype.bomAware=!0;var CVe=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function n2(t,e){this.iconv=e.iconv}n2.prototype.write=function(t){return CA.from(t.replace(CVe,function(e){return"+"+(e==="+"?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};n2.prototype.end=function(){};function i2(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=""}var IVe=/[A-Za-z0-9\/+]/,s2=[];for(qI=0;qI<256;qI++)s2[qI]=IVe.test(String.fromCharCode(qI));var qI,EVe=43,Xg=45,r2=38;i2.prototype.write=function(t){for(var e="",r=0,n=this.inBase64,i=this.base64Accum,s=0;s<t.length;s++)if(!n)t[s]==EVe&&(e+=this.iconv.decode(t.slice(r,s),"ascii"),r=s+1,n=!0);else if(!s2[t[s]]){if(s==r&&t[s]==Xg)e+="+";else{var o=i+this.iconv.decode(t.slice(r,s),"ascii");e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}t[s]!=Xg&&s--,r=s+1,n=!1,i=""}if(!n)e+=this.iconv.decode(t.slice(r),"ascii");else{var o=i+this.iconv.decode(t.slice(r),"ascii"),a=o.length-o.length%8;i=o.slice(a),o=o.slice(0,a),e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}return this.inBase64=n,this.base64Accum=i,e};i2.prototype.end=function(){var t="";return this.inBase64&&this.base64Accum.length>0&&(t=this.iconv.decode(CA.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",t};ab.utf7imap=ob;function ob(t,e){this.iconv=e}ob.prototype.encoder=o2;ob.prototype.decoder=a2;ob.prototype.bomAware=!0;function o2(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=CA.alloc(6),this.base64AccumIdx=0}o2.prototype.write=function(t){for(var e=this.inBase64,r=this.base64Accum,n=this.base64AccumIdx,i=CA.alloc(t.length*5+10),s=0,o=0;o<t.length;o++){var a=t.charCodeAt(o);a>=32&&a<=126?(e&&(n>0&&(s+=i.write(r.slice(0,n).toString("base64").replace(/\//g,",").replace(/=+$/,""),s),n=0),i[s++]=Xg,e=!1),e||(i[s++]=a,a===r2&&(i[s++]=Xg))):(e||(i[s++]=r2,e=!0),e&&(r[n++]=a>>8,r[n++]=a&255,n==r.length&&(s+=i.write(r.toString("base64").replace(/\//g,","),s),n=0)))}return this.inBase64=e,this.base64AccumIdx=n,i.slice(0,s)};o2.prototype.end=function(){var t=CA.alloc(10),e=0;return this.inBase64&&(this.base64AccumIdx>0&&(e+=t.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),e),this.base64AccumIdx=0),t[e++]=Xg,this.inBase64=!1),t.slice(0,e)};function a2(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=""}var cAe=s2.slice();cAe[44]=!0;a2.prototype.write=function(t){for(var e="",r=0,n=this.inBase64,i=this.base64Accum,s=0;s<t.length;s++)if(!n)t[s]==r2&&(e+=this.iconv.decode(t.slice(r,s),"ascii"),r=s+1,n=!0);else if(!cAe[t[s]]){if(s==r&&t[s]==Xg)e+="&";else{var o=i+this.iconv.decode(t.slice(r,s),"ascii").replace(/,/g,"/");e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}t[s]!=Xg&&s--,r=s+1,n=!1,i=""}if(!n)e+=this.iconv.decode(t.slice(r),"ascii");else{var o=i+this.iconv.decode(t.slice(r),"ascii").replace(/,/g,"/"),a=o.length-o.length%8;i=o.slice(a),o=o.slice(0,a),e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}return this.inBase64=n,this.base64Accum=i,e};a2.prototype.end=function(){var t="";return this.inBase64&&this.base64Accum.length>0&&(t=this.iconv.decode(CA.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",t}});var gAe=N(lAe=>{"use strict";h();var Ab=Bc().Buffer;lAe._sbcs=A2;function A2(t,e){if(!t)throw new Error("SBCS codec is called without the data.");if(!t.chars||t.chars.length!==128&&t.chars.length!==256)throw new Error("Encoding '"+t.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(t.chars.length===128){for(var r="",n=0;n<128;n++)r+=String.fromCharCode(n);t.chars=r+t.chars}this.decodeBuf=Ab.from(t.chars,"ucs2");for(var i=Ab.alloc(65536,e.defaultCharSingleByte.charCodeAt(0)),n=0;n<t.chars.length;n++)i[t.chars.charCodeAt(n)]=n;this.encodeBuf=i}A2.prototype.encoder=c2;A2.prototype.decoder=u2;function c2(t,e){this.encodeBuf=e.encodeBuf}c2.prototype.write=function(t){for(var e=Ab.alloc(t.length),r=0;r<t.length;r++)e[r]=this.encodeBuf[t.charCodeAt(r)];return e};c2.prototype.end=function(){};function u2(t,e){this.decodeBuf=e.decodeBuf}u2.prototype.write=function(t){for(var e=this.decodeBuf,r=Ab.alloc(t.length*2),n=0,i=0,s=0;s<t.length;s++)n=t[s]*2,i=s*2,r[i]=e[n],r[i+1]=e[n+1];return r.toString("ucs2")};u2.prototype.end=function(){}});var dAe=N((xYt,pAe)=>{"use strict";h();pAe.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\u20AC\u25A0\xA0"},mik:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2514\u2534\u252C\u251C\u2500\u253C\u2563\u2551\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2510\u2591\u2592\u2593\u2502\u2524\u2116\xA7\u2557\u255D\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},cp720:{type:"_sbcs",chars:"\x80\x81\xE9\xE2\x84\xE0\x86\xE7\xEA\xEB\xE8\xEF\xEE\x8D\x8E\x8F\x90\u0651\u0652\xF4\xA4\u0640\xFB\xF9\u0621\u0622\u0623\u0624\xA3\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0636\u0637\u0638\u0639\u063A\u0641\xB5\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u2261\u064B\u064C\u064D\u064E\u064F\u0650\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var hAe=N((kYt,fAe)=>{"use strict";h();fAe.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"\u20AC\uFFFD\uFFFD\uFFFD\uFFFD\u2026\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\u0160\u2039\u015A\u0164\u017D\u0179\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0161\u203A\u015B\u0165\u017E\u017A\xA0\u02C7\u02D8\u0141\xA4\u0104\xA6\xA7\xA8\xA9\u015E\xAB\xAC\xAD\xAE\u017B\xB0\xB1\u02DB\u0142\xB4\xB5\xB6\xB7\xB8\u0105\u015F\xBB\u013D\u02DD\u013E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u040C\u040B\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u045C\u045B\u045F\xA0\u040E\u045E\u0408\xA4\u0490\xA6\xA7\u0401\xA9\u0404\xAB\xAC\xAD\xAE\u0407\xB0\xB1\u0406\u0456\u0491\xB5\xB6\xB7\u0451\u2116\u0454\xBB\u0458\u0405\u0455\u0457\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\u017D\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\u017E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0385\u0386\xA3\xA4\xA5\xA6\xA7\xA8\xA9\uFFFD\xAB\xAC\xAD\xAE\u2015\xB0\xB1\xB2\xB3\u0384\xB5\xB6\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\xA1\xA2\xA3\u20AA\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\xBF\u05B0\u05B1\u05B2\u05B3\u05B4\u05B5\u05B6\u05B7\u05B8\u05B9\u05BA\u05BB\u05BC\u05BD\u05BE\u05BF\u05C0\u05C1\u05C2\u05C3\u05F0\u05F1\u05F2\u05F3\u05F4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"\u20AC\u067E\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0679\u2039\u0152\u0686\u0698\u0688\u06AF\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u06A9\u2122\u0691\u203A\u0153\u200C\u200D\u06BA\xA0\u060C\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\u06BE\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\u061B\xBB\xBC\xBD\xBE\u061F\u06C1\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\xD7\u0637\u0638\u0639\u063A\u0640\u0641\u0642\u0643\xE0\u0644\xE2\u0645\u0646\u0647\u0648\xE7\xE8\xE9\xEA\xEB\u0649\u064A\xEE\xEF\u064B\u064C\u064D\u064E\xF4\u064F\u0650\xF7\u0651\xF9\u0652\xFB\xFC\u200E\u200F\u06D2"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\xA8\u02C7\xB8\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\xAF\u02DB\uFFFD\xA0\uFFFD\xA2\xA3\xA4\uFFFD\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u02D9"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u02D8\u0141\xA4\u013D\u015A\xA7\xA8\u0160\u015E\u0164\u0179\xAD\u017D\u017B\xB0\u0105\u02DB\u0142\xB4\u013E\u015B\u02C7\xB8\u0161\u015F\u0165\u017A\u02DD\u017E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0126\u02D8\xA3\xA4\uFFFD\u0124\xA7\xA8\u0130\u015E\u011E\u0134\xAD\uFFFD\u017B\xB0\u0127\xB2\xB3\xB4\xB5\u0125\xB7\xB8\u0131\u015F\u011F\u0135\xBD\uFFFD\u017C\xC0\xC1\xC2\uFFFD\xC4\u010A\u0108\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\uFFFD\xD1\xD2\xD3\xD4\u0120\xD6\xD7\u011C\xD9\xDA\xDB\xDC\u016C\u015C\xDF\xE0\xE1\xE2\uFFFD\xE4\u010B\u0109\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\uFFFD\xF1\xF2\xF3\xF4\u0121\xF6\xF7\u011D\xF9\xFA\xFB\xFC\u016D\u015D\u02D9"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0138\u0156\xA4\u0128\u013B\xA7\xA8\u0160\u0112\u0122\u0166\xAD\u017D\xAF\xB0\u0105\u02DB\u0157\xB4\u0129\u013C\u02C7\xB8\u0161\u0113\u0123\u0167\u014A\u017E\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\u012A\u0110\u0145\u014C\u0136\xD4\xD5\xD6\xD7\xD8\u0172\xDA\xDB\xDC\u0168\u016A\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\u012B\u0111\u0146\u014D\u0137\xF4\xF5\xF6\xF7\xF8\u0173\xFA\xFB\xFC\u0169\u016B\u02D9"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0453\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\uFFFD\uFFFD\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u060C\xAD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u061B\uFFFD\uFFFD\uFFFD\u061F\uFFFD\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u2018\u2019\xA3\u20AC\u20AF\xA6\xA7\xA8\xA9\u037A\xAB\xAC\xAD\uFFFD\u2015\xB0\xB1\xB2\xB3\u0384\u0385\u0386\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2017\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0112\u0122\u012A\u0128\u0136\xA7\u013B\u0110\u0160\u0166\u017D\xAD\u016A\u014A\xB0\u0105\u0113\u0123\u012B\u0129\u0137\xB7\u013C\u0111\u0161\u0167\u017E\u2015\u016B\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\xCF\xD0\u0145\u014C\xD3\xD4\xD5\xD6\u0168\xD8\u0172\xDA\xDB\xDC\xDD\xDE\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\xEF\xF0\u0146\u014D\xF3\xF4\xF5\xF6\u0169\xF8\u0173\xFA\xFB\xFC\xFD\xFE\u0138"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u201D\xA2\xA3\xA4\u201E\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\u201C\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u2019"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u1E02\u1E03\xA3\u010A\u010B\u1E0A\xA7\u1E80\xA9\u1E82\u1E0B\u1EF2\xAD\xAE\u0178\u1E1E\u1E1F\u0120\u0121\u1E40\u1E41\xB6\u1E56\u1E81\u1E57\u1E83\u1E60\u1EF3\u1E84\u1E85\u1E61\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0174\xD1\xD2\xD3\xD4\xD5\xD6\u1E6A\xD8\xD9\xDA\xDB\xDC\xDD\u0176\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0175\xF1\xF2\xF3\xF4\xF5\xF6\u1E6B\xF8\xF9\xFA\xFB\xFC\xFD\u0177\xFF"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\u0160\xA7\u0161\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u017D\xB5\xB6\xB7\u017E\xB9\xBA\xBB\u0152\u0153\u0178\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0105\u0141\u20AC\u201E\u0160\xA7\u0161\xA9\u0218\xAB\u0179\xAD\u017A\u017B\xB0\xB1\u010C\u0142\u017D\u201D\xB6\xB7\u017E\u010D\u0219\xBB\u0152\u0153\u0178\u017C\xC0\xC1\xC2\u0102\xC4\u0106\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0110\u0143\xD2\xD3\xD4\u0150\xD6\u015A\u0170\xD9\xDA\xDB\xDC\u0118\u021A\xDF\xE0\xE1\xE2\u0103\xE4\u0107\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0111\u0144\xF2\xF3\xF4\u0151\xF6\u015B\u0171\xF9\xFA\xFB\xFC\u0119\u021B\xFF"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u03C5\u03C6\u03C7\u03C8\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03C9\u03AC\u03AD\u03AE\u03CA\u03AF\u03CC\u03CD\u03CB\u03CE\u0386\u0388\u0389\u038A\u038C\u038E\u038F\xB1\u2265\u2264\u03AA\u03AB\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"\u0106\xFC\xE9\u0101\xE4\u0123\xE5\u0107\u0142\u0113\u0156\u0157\u012B\u0179\xC4\xC5\xC9\xE6\xC6\u014D\xF6\u0122\xA2\u015A\u015B\xD6\xDC\xF8\xA3\xD8\xD7\xA4\u0100\u012A\xF3\u017B\u017C\u017A\u201D\xA6\xA9\xAE\xAC\xBD\xBC\u0141\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0104\u010C\u0118\u0116\u2563\u2551\u2557\u255D\u012E\u0160\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0172\u016A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u017D\u0105\u010D\u0119\u0117\u012F\u0161\u0173\u016B\u017E\u2518\u250C\u2588\u2584\u258C\u2590\u2580\xD3\xDF\u014C\u0143\xF5\xD5\xB5\u0144\u0136\u0137\u013B\u013C\u0146\u0112\u0145\u2019\xAD\xB1\u201C\xBE\xB6\xA7\xF7\u201E\xB0\u2219\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u0131\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\u016F\u0107\xE7\u0142\xEB\u0150\u0151\xEE\u0179\xC4\u0106\xC9\u0139\u013A\xF4\xF6\u013D\u013E\u015A\u015B\xD6\xDC\u0164\u0165\u0141\xD7\u010D\xE1\xED\xF3\xFA\u0104\u0105\u017D\u017E\u0118\u0119\xAC\u017A\u010C\u015F\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\u011A\u015E\u2563\u2551\u2557\u255D\u017B\u017C\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0102\u0103\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u0111\u0110\u010E\xCB\u010F\u0147\xCD\xCE\u011B\u2518\u250C\u2588\u2584\u0162\u016E\u2580\xD3\xDF\xD4\u0143\u0144\u0148\u0160\u0161\u0154\xDA\u0155\u0170\xFD\xDD\u0163\xB4\xAD\u02DD\u02DB\u02C7\u02D8\xA7\xF7\xB8\xB0\xA8\u02D9\u0171\u0158\u0159\u25A0\xA0"},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"\u0452\u0402\u0453\u0403\u0451\u0401\u0454\u0404\u0455\u0405\u0456\u0406\u0457\u0407\u0458\u0408\u0459\u0409\u045A\u040A\u045B\u040B\u045C\u040C\u045E\u040E\u045F\u040F\u044E\u042E\u044A\u042A\u0430\u0410\u0431\u0411\u0446\u0426\u0434\u0414\u0435\u0415\u0444\u0424\u0433\u0413\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0445\u0425\u0438\u0418\u2563\u2551\u2557\u255D\u0439\u0419\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u043A\u041A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u043B\u041B\u043C\u041C\u043D\u041D\u043E\u041E\u043F\u2518\u250C\u2588\u2584\u041F\u044F\u2580\u042F\u0440\u0420\u0441\u0421\u0442\u0422\u0443\u0423\u0436\u0416\u0432\u0412\u044C\u042C\u2116\xAD\u044B\u042B\u0437\u0417\u0448\u0428\u044D\u042D\u0449\u0429\u0447\u0427\xA7\u25A0\xA0"},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\xA3\uFFFD\xD7\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAE\xAC\xBD\xBC\uFFFD\xAB\xBB\u2591\u2592\u2593\u2502\u2524\uFFFD\uFFFD\uFFFD\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\uFFFD\uFFFD\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2518\u250C\u2588\u2584\xA6\uFFFD\u2580\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xB5\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\u0131\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\u0130\xD6\xDC\xF8\xA3\xD8\u015E\u015F\xE1\xED\xF3\xFA\xF1\xD1\u011E\u011F\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xBA\xAA\xCA\xCB\xC8\uFFFD\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\uFFFD\xD7\xDA\xDB\xD9\xEC\xFF\xAF\xB4\xAD\xB1\uFFFD\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u20AC\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE3\xE0\xC1\xE7\xEA\xCA\xE8\xCD\xD4\xEC\xC3\xC2\xC9\xC0\xC8\xF4\xF5\xF2\xDA\xF9\xCC\xD5\xDC\xA2\xA3\xD9\u20A7\xD3\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xD2\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xD0\xF0\xDE\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xFE\xFB\xDD\xFD\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xC1\xCD\xD3\xDA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xC2\xE0\xB6\xE7\xEA\xEB\xE8\xEF\xEE\u2017\xC0\xA7\xC9\xC8\xCA\xF4\xCB\xCF\xFB\xF9\xA4\xD4\xDC\xA2\xA3\xD9\xDB\u0192\xA6\xB4\xF3\xFA\xA8\xB8\xB3\xAF\xCE\u2310\xAC\xBD\xBC\xBE\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b
1618
+ }`)(t,X0,this,e,i);return s}function W$e(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("argument obj must be object");var n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw new TypeError("must call property on owner object");if(!n.configurable)throw new TypeError("property must be configurable");var i=this,s=Z0(),o=Mf(s[1]);o.name=e,"value"in n&&(n=U$e(t,e,r));var a=n.get,A=n.set;typeof a=="function"&&(n.get=function(){return X0.call(i,r,o),a.apply(this,arguments)}),typeof A=="function"&&(n.set=function(){return X0.call(i,r,o),A.apply(this,arguments)}),Object.defineProperty(t,e,n)}function Nae(t,e,r){var n=new Error,i;return Object.defineProperty(n,"constructor",{value:Nae}),Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{enumerable:!1,configurable:!0,value:"DeprecationError",writable:!0}),Object.defineProperty(n,"namespace",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,get:function(){return i!==void 0?i:i=O$e.call(this,r)},set:function(o){i=o}}),n}});var Lae=N((Xjt,Pae)=>{"use strict";h();Pae.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?z$e:X$e);function z$e(t,e){return t.__proto__=e,t}function X$e(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=e[r]);return t}});var _ae=N((eYt,Z$e)=>{Z$e.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}});var YI=N((tYt,Gae)=>{"use strict";h();var vU=_ae();Gae.exports=fa;fa.message=vU;fa.code=eVe(vU);fa.codes=tVe(vU);fa.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0};fa.empty={204:!0,205:!0,304:!0};fa.retry={502:!0,503:!0,504:!0};function eVe(t){var e={};return Object.keys(t).forEach(function(n){var i=t[n],s=Number(n);e[i.toLowerCase()]=s}),e}function tVe(t){return Object.keys(t).map(function(r){return Number(r)})}function rVe(t){var e=t.toLowerCase();if(!Object.prototype.hasOwnProperty.call(fa.code,e))throw new Error('invalid status message: "'+t+'"');return fa.code[e]}function Uae(t){if(!Object.prototype.hasOwnProperty.call(fa.message,t))throw new Error("invalid status code: "+t);return fa.message[t]}function fa(t){if(typeof t=="number")return Uae(t);if(typeof t!="string")throw new TypeError("code must be a number or string");var e=parseInt(t,10);return isNaN(e)?rVe(t):Uae(e)}});var Oae=N((nYt,SU)=>{h();typeof Object.create=="function"?SU.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:SU.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Kae=N((sYt,FU)=>{h();try{if(xU=require("util"),typeof xU.inherits!="function")throw"";FU.exports=xU.inherits}catch{FU.exports=Oae()}var xU});var Jae=N((aYt,Hae)=>{"use strict";h();Hae.exports=nVe;function nVe(t){return t.split(" ").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join("").replace(/[^ _0-9a-z]/gi,"")}});var Lf=N((cYt,zg)=>{"use strict";h();var iVe=jI()("http-errors"),jae=Lae(),Pf=YI(),kU=Kae(),sVe=Jae();zg.exports=eb;zg.exports.HttpError=oVe();zg.exports.isHttpError=AVe(zg.exports.HttpError);uVe(zg.exports,Pf.codes,zg.exports.HttpError);function Yae(t){return+(String(t).charAt(0)+"00")}function eb(){for(var t,e,r=500,n={},i=0;i<arguments.length;i++){var s=arguments[i],o=typeof s;if(o==="object"&&s instanceof Error)t=s,r=t.status||t.statusCode||r;else if(o==="number"&&i===0)r=s;else if(o==="string")e=s;else if(o==="object")n=s;else throw new TypeError("argument #"+(i+1)+" unsupported type "+o)}typeof r=="number"&&(r<400||r>=600)&&iVe("non-error status code; use only 4xx or 5xx status codes"),(typeof r!="number"||!Pf.message[r]&&(r<400||r>=600))&&(r=500);var a=eb[r]||eb[Yae(r)];t||(t=a?new a(e):new Error(e||Pf.message[r]),Error.captureStackTrace(t,eb)),(!a||!(t instanceof a)||t.status!==r)&&(t.expose=r<500,t.status=t.statusCode=r);for(var A in n)A!=="status"&&A!=="statusCode"&&(t[A]=n[A]);return t}function oVe(){function t(){throw new TypeError("cannot construct abstract class")}return kU(t,Error),t}function aVe(t,e,r){var n=$ae(e);function i(s){var o=s??Pf.message[r],a=new Error(o);return Error.captureStackTrace(a,i),jae(a,i.prototype),Object.defineProperty(a,"message",{enumerable:!0,configurable:!0,value:o,writable:!0}),Object.defineProperty(a,"name",{enumerable:!1,configurable:!0,value:n,writable:!0}),a}return kU(i,t),qae(i,n),i.prototype.status=r,i.prototype.statusCode=r,i.prototype.expose=!0,i}function AVe(t){return function(r){return!r||typeof r!="object"?!1:r instanceof t?!0:r instanceof Error&&typeof r.expose=="boolean"&&typeof r.statusCode=="number"&&r.status===r.statusCode}}function cVe(t,e,r){var n=$ae(e);function i(s){var o=s??Pf.message[r],a=new Error(o);return Error.captureStackTrace(a,i),jae(a,i.prototype),Object.defineProperty(a,"message",{enumerable:!0,configurable:!0,value:o,writable:!0}),Object.defineProperty(a,"name",{enumerable:!1,configurable:!0,value:n,writable:!0}),a}return kU(i,t),qae(i,n),i.prototype.status=r,i.prototype.statusCode=r,i.prototype.expose=!1,i}function qae(t,e){var r=Object.getOwnPropertyDescriptor(t,"name");r&&r.configurable&&(r.value=e,Object.defineProperty(t,"name",r))}function uVe(t,e,r){e.forEach(function(i){var s,o=sVe(Pf.message[i]);switch(Yae(i)){case 400:s=aVe(r,o,i);break;case 500:s=cVe(r,o,i);break}s&&(t[i]=s,t[o]=s)})}function $ae(t){return t.slice(-5)==="Error"?t:t+"Error"}});var RU=N((lYt,tb)=>{"use strict";h();tb.exports=dVe;tb.exports.format=Vae;tb.exports.parse=Wae;var lVe=/\B(?=(\d{3})+(?!\d))/g,gVe=/(?:\.0*|(\.[^0]+)0+)$/,Wu={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},pVe=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function dVe(t,e){return typeof t=="string"?Wae(t):typeof t=="number"?Vae(t,e):null}function Vae(t,e){if(!Number.isFinite(t))return null;var r=Math.abs(t),n=e&&e.thousandsSeparator||"",i=e&&e.unitSeparator||"",s=e&&e.decimalPlaces!==void 0?e.decimalPlaces:2,o=!!(e&&e.fixedDecimals),a=e&&e.unit||"";(!a||!Wu[a.toLowerCase()])&&(r>=Wu.pb?a="PB":r>=Wu.tb?a="TB":r>=Wu.gb?a="GB":r>=Wu.mb?a="MB":r>=Wu.kb?a="KB":a="B");var A=t/Wu[a.toLowerCase()],c=A.toFixed(s);return o||(c=c.replace(gVe,"$1")),n&&(c=c.split(".").map(function(u,l){return l===0?u.replace(lVe,n):u}).join(".")),c+i+a}function Wae(t){if(typeof t=="number"&&!isNaN(t))return t;if(typeof t!="string")return null;var e=pVe.exec(t),r,n="b";return e?(r=parseFloat(e[1]),n=e[4].toLowerCase()):(r=parseInt(t,10),n="b"),isNaN(r)?null:Math.floor(Wu[n]*r)}});var Bc=N((pYt,zae)=>{"use strict";h();var rb=require("buffer"),_f=rb.Buffer,mo={},Co;for(Co in rb)rb.hasOwnProperty(Co)&&(Co==="SlowBuffer"||Co==="Buffer"||(mo[Co]=rb[Co]));var Uf=mo.Buffer={};for(Co in _f)_f.hasOwnProperty(Co)&&(Co==="allocUnsafe"||Co==="allocUnsafeSlow"||(Uf[Co]=_f[Co]));mo.Buffer.prototype=_f.prototype;(!Uf.from||Uf.from===Uint8Array.from)&&(Uf.from=function(t,e,r){if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&typeof t.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return _f(t,e,r)});Uf.alloc||(Uf.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=_f(t);return!e||e.length===0?n.fill(0):typeof r=="string"?n.fill(e,r):n.fill(e),n});if(!mo.kStringMaxLength)try{mo.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}mo.constants||(mo.constants={MAX_LENGTH:mo.kMaxLength},mo.kStringMaxLength&&(mo.constants.MAX_STRING_LENGTH=mo.kStringMaxLength));zae.exports=mo});var Zae=N(MU=>{"use strict";h();var Xae="\uFEFF";MU.PrependBOM=TU;function TU(t,e){this.encoder=t,this.addBOM=!0}TU.prototype.write=function(t){return this.addBOM&&(t=Xae+t,this.addBOM=!1),this.encoder.write(t)};TU.prototype.end=function(){return this.encoder.end()};MU.StripBOM=NU;function NU(t,e){this.decoder=t,this.pass=!1,this.options=e||{}}NU.prototype.write=function(t){var e=this.decoder.write(t);return this.pass||!e||(e[0]===Xae&&(e=e.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),e};NU.prototype.end=function(){return this.decoder.end()}});var PU=N((mYt,eAe)=>{"use strict";h();var fVe=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function hVe(t,e){for(var r in e)fVe(e,r)&&(t[r]=e[r])}eAe.exports=hVe});var rAe=N((IYt,tAe)=>{"use strict";h();var yc=Bc().Buffer;tAe.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:LU};function LU(t,e){this.enc=t.encodingName,this.bomAware=t.bomAware,this.enc==="base64"?this.encoder=GU:this.enc==="utf8"?this.encoder=HU:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=OU,yc.from("eda0bdedb2a9","hex").toString()!=="\u{1F4A9}"&&(this.decoder=KU,this.defaultCharUnicode=e.defaultCharUnicode))}LU.prototype.encoder=UU;LU.prototype.decoder=_U;var mVe=require("string_decoder").StringDecoder;function _U(t,e){this.decoder=new mVe(e.enc)}_U.prototype.write=function(t){return yc.isBuffer(t)||(t=yc.from(t)),this.decoder.write(t)};_U.prototype.end=function(){return this.decoder.end()};function UU(t,e){this.enc=e.enc}UU.prototype.write=function(t){return yc.from(t,this.enc)};UU.prototype.end=function(){};function GU(t,e){this.prevStr=""}GU.prototype.write=function(t){t=this.prevStr+t;var e=t.length-t.length%4;return this.prevStr=t.slice(e),t=t.slice(0,e),yc.from(t,"base64")};GU.prototype.end=function(){return yc.from(this.prevStr,"base64")};function OU(t,e){}OU.prototype.write=function(t){for(var e=yc.alloc(t.length*3),r=0,n=0;n<t.length;n++){var i=t.charCodeAt(n);i<128?e[r++]=i:i<2048?(e[r++]=192+(i>>>6),e[r++]=128+(i&63)):(e[r++]=224+(i>>>12),e[r++]=128+(i>>>6&63),e[r++]=128+(i&63))}return e.slice(0,r)};OU.prototype.end=function(){};function KU(t,e){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=e.defaultCharUnicode}KU.prototype.write=function(t){for(var e=this.acc,r=this.contBytes,n=this.accBytes,i="",s=0;s<t.length;s++){var o=t[s];(o&192)!==128?(r>0&&(i+=this.defaultCharUnicode,r=0),o<128?i+=String.fromCharCode(o):o<224?(e=o&31,r=1,n=1):o<240?(e=o&15,r=2,n=1):i+=this.defaultCharUnicode):r>0?(e=e<<6|o&63,r--,n++,r===0&&(n===2&&e<128&&e>0?i+=this.defaultCharUnicode:n===3&&e<2048?i+=this.defaultCharUnicode:i+=String.fromCharCode(e))):i+=this.defaultCharUnicode}return this.acc=e,this.contBytes=r,this.accBytes=n,i};KU.prototype.end=function(){var t=0;return this.contBytes>0&&(t+=this.defaultCharUnicode),t};function HU(t,e){this.highSurrogate=""}HU.prototype.write=function(t){if(this.highSurrogate&&(t=this.highSurrogate+t,this.highSurrogate=""),t.length>0){var e=t.charCodeAt(t.length-1);e>=55296&&e<56320&&(this.highSurrogate=t[t.length-1],t=t.slice(0,t.length-1))}return yc.from(t,this.enc)};HU.prototype.end=function(){if(this.highSurrogate){var t=this.highSurrogate;return this.highSurrogate="",yc.from(t,this.enc)}}});var sAe=N(zu=>{"use strict";h();var nb=Bc().Buffer;zu._utf32=JU;function JU(t,e){this.iconv=e,this.bomAware=!0,this.isLE=t.isLE}zu.utf32le={type:"_utf32",isLE:!0};zu.utf32be={type:"_utf32",isLE:!1};zu.ucs4le="utf32le";zu.ucs4be="utf32be";JU.prototype.encoder=jU;JU.prototype.decoder=YU;function jU(t,e){this.isLE=e.isLE,this.highSurrogate=0}jU.prototype.write=function(t){for(var e=nb.from(t,"ucs2"),r=nb.alloc(e.length*2),n=this.isLE?r.writeUInt32LE:r.writeUInt32BE,i=0,s=0;s<e.length;s+=2){var o=e.readUInt16LE(s),a=o>=55296&&o<56320,A=o>=56320&&o<57344;if(this.highSurrogate)if(a||!A)n.call(r,this.highSurrogate,i),i+=4;else{var c=(this.highSurrogate-55296<<10|o-56320)+65536;n.call(r,c,i),i+=4,this.highSurrogate=0;continue}a?this.highSurrogate=o:(n.call(r,o,i),i+=4,this.highSurrogate=0)}return i<r.length&&(r=r.slice(0,i)),r};jU.prototype.end=function(){if(this.highSurrogate){var t=nb.alloc(4);return this.isLE?t.writeUInt32LE(this.highSurrogate,0):t.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,t}};function YU(t,e){this.isLE=e.isLE,this.badChar=e.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}YU.prototype.write=function(t){if(t.length===0)return"";var e=0,r=0,n=nb.alloc(t.length+4),i=0,s=this.isLE,o=this.overflow,a=this.badChar;if(o.length>0){for(;e<t.length&&o.length<4;e++)o.push(t[e]);o.length===4&&(s?r=o[e]|o[e+1]<<8|o[e+2]<<16|o[e+3]<<24:r=o[e+3]|o[e+2]<<8|o[e+1]<<16|o[e]<<24,o.length=0,i=nAe(n,i,r,a))}for(;e<t.length-3;e+=4)s?r=t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24:r=t[e+3]|t[e+2]<<8|t[e+1]<<16|t[e]<<24,i=nAe(n,i,r,a);for(;e<t.length;e++)o.push(t[e]);return n.slice(0,i).toString("ucs2")};function nAe(t,e,r,n){if((r<0||r>1114111)&&(r=n),r>=65536){r-=65536;var i=55296|r>>10;t[e++]=i&255,t[e++]=i>>8;var r=56320|r&1023}return t[e++]=r&255,t[e++]=r>>8,e}YU.prototype.end=function(){this.overflow.length=0};zu.utf32=qU;zu.ucs4="utf32";function qU(t,e){this.iconv=e}qU.prototype.encoder=$U;qU.prototype.decoder=VU;function $U(t,e){t=t||{},t.addBOM===void 0&&(t.addBOM=!0),this.encoder=e.iconv.getEncoder(t.defaultEncoding||"utf-32le",t)}$U.prototype.write=function(t){return this.encoder.write(t)};$U.prototype.end=function(){return this.encoder.end()};function VU(t,e){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=t||{},this.iconv=e.iconv}VU.prototype.write=function(t){if(!this.decoder){if(this.initialBufs.push(t),this.initialBufsLen+=t.length,this.initialBufsLen<32)return"";var e=iAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);for(var r="",n=0;n<this.initialBufs.length;n++)r+=this.decoder.write(this.initialBufs[n]);return this.initialBufs.length=this.initialBufsLen=0,r}return this.decoder.write(t)};VU.prototype.end=function(){if(!this.decoder){var t=iAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var e="",r=0;r<this.initialBufs.length;r++)e+=this.decoder.write(this.initialBufs[r]);var n=this.decoder.end();return n&&(e+=n),this.initialBufs.length=this.initialBufsLen=0,e}return this.decoder.end()};function iAe(t,e){var r=[],n=0,i=0,s=0,o=0,a=0;e:for(var A=0;A<t.length;A++)for(var c=t[A],u=0;u<c.length;u++)if(r.push(c[u]),r.length===4){if(n===0){if(r[0]===255&&r[1]===254&&r[2]===0&&r[3]===0)return"utf-32le";if(r[0]===0&&r[1]===0&&r[2]===254&&r[3]===255)return"utf-32be"}if((r[0]!==0||r[1]>16)&&s++,(r[3]!==0||r[2]>16)&&i++,r[0]===0&&r[1]===0&&(r[2]!==0||r[3]!==0)&&a++,(r[0]!==0||r[1]!==0)&&r[2]===0&&r[3]===0&&o++,r.length=0,n++,n>=100)break e}return a-s>o-i?"utf-32be":a-s<o-i?"utf-32le":e||"utf-32le"}});var AAe=N(t2=>{"use strict";h();var oAe=Bc().Buffer;t2.utf16be=ib;function ib(){}ib.prototype.encoder=WU;ib.prototype.decoder=zU;ib.prototype.bomAware=!0;function WU(){}WU.prototype.write=function(t){for(var e=oAe.from(t,"ucs2"),r=0;r<e.length;r+=2){var n=e[r];e[r]=e[r+1],e[r+1]=n}return e};WU.prototype.end=function(){};function zU(){this.overflowByte=-1}zU.prototype.write=function(t){if(t.length==0)return"";var e=oAe.alloc(t.length+1),r=0,n=0;for(this.overflowByte!==-1&&(e[0]=t[0],e[1]=this.overflowByte,r=1,n=2);r<t.length-1;r+=2,n+=2)e[n]=t[r+1],e[n+1]=t[r];return this.overflowByte=r==t.length-1?t[t.length-1]:-1,e.slice(0,n).toString("ucs2")};zU.prototype.end=function(){this.overflowByte=-1};t2.utf16=XU;function XU(t,e){this.iconv=e}XU.prototype.encoder=ZU;XU.prototype.decoder=e2;function ZU(t,e){t=t||{},t.addBOM===void 0&&(t.addBOM=!0),this.encoder=e.iconv.getEncoder("utf-16le",t)}ZU.prototype.write=function(t){return this.encoder.write(t)};ZU.prototype.end=function(){return this.encoder.end()};function e2(t,e){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=t||{},this.iconv=e.iconv}e2.prototype.write=function(t){if(!this.decoder){if(this.initialBufs.push(t),this.initialBufsLen+=t.length,this.initialBufsLen<16)return"";var e=aAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(e,this.options);for(var r="",n=0;n<this.initialBufs.length;n++)r+=this.decoder.write(this.initialBufs[n]);return this.initialBufs.length=this.initialBufsLen=0,r}return this.decoder.write(t)};e2.prototype.end=function(){if(!this.decoder){var t=aAe(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var e="",r=0;r<this.initialBufs.length;r++)e+=this.decoder.write(this.initialBufs[r]);var n=this.decoder.end();return n&&(e+=n),this.initialBufs.length=this.initialBufsLen=0,e}return this.decoder.end()};function aAe(t,e){var r=[],n=0,i=0,s=0;e:for(var o=0;o<t.length;o++)for(var a=t[o],A=0;A<a.length;A++)if(r.push(a[A]),r.length===2){if(n===0){if(r[0]===255&&r[1]===254)return"utf-16le";if(r[0]===254&&r[1]===255)return"utf-16be"}if(r[0]===0&&r[1]!==0&&s++,r[0]!==0&&r[1]===0&&i++,r.length=0,n++,n>=100)break e}return s>i?"utf-16be":s<i?"utf-16le":e||"utf-16le"}});var uAe=N(ab=>{"use strict";h();var CA=Bc().Buffer;ab.utf7=sb;ab.unicode11utf7="utf7";function sb(t,e){this.iconv=e}sb.prototype.encoder=n2;sb.prototype.decoder=i2;sb.prototype.bomAware=!0;var CVe=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function n2(t,e){this.iconv=e.iconv}n2.prototype.write=function(t){return CA.from(t.replace(CVe,function(e){return"+"+(e==="+"?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};n2.prototype.end=function(){};function i2(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=""}var IVe=/[A-Za-z0-9\/+]/,s2=[];for(qI=0;qI<256;qI++)s2[qI]=IVe.test(String.fromCharCode(qI));var qI,EVe=43,Xg=45,r2=38;i2.prototype.write=function(t){for(var e="",r=0,n=this.inBase64,i=this.base64Accum,s=0;s<t.length;s++)if(!n)t[s]==EVe&&(e+=this.iconv.decode(t.slice(r,s),"ascii"),r=s+1,n=!0);else if(!s2[t[s]]){if(s==r&&t[s]==Xg)e+="+";else{var o=i+this.iconv.decode(t.slice(r,s),"ascii");e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}t[s]!=Xg&&s--,r=s+1,n=!1,i=""}if(!n)e+=this.iconv.decode(t.slice(r),"ascii");else{var o=i+this.iconv.decode(t.slice(r),"ascii"),a=o.length-o.length%8;i=o.slice(a),o=o.slice(0,a),e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}return this.inBase64=n,this.base64Accum=i,e};i2.prototype.end=function(){var t="";return this.inBase64&&this.base64Accum.length>0&&(t=this.iconv.decode(CA.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",t};ab.utf7imap=ob;function ob(t,e){this.iconv=e}ob.prototype.encoder=o2;ob.prototype.decoder=a2;ob.prototype.bomAware=!0;function o2(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=CA.alloc(6),this.base64AccumIdx=0}o2.prototype.write=function(t){for(var e=this.inBase64,r=this.base64Accum,n=this.base64AccumIdx,i=CA.alloc(t.length*5+10),s=0,o=0;o<t.length;o++){var a=t.charCodeAt(o);a>=32&&a<=126?(e&&(n>0&&(s+=i.write(r.slice(0,n).toString("base64").replace(/\//g,",").replace(/=+$/,""),s),n=0),i[s++]=Xg,e=!1),e||(i[s++]=a,a===r2&&(i[s++]=Xg))):(e||(i[s++]=r2,e=!0),e&&(r[n++]=a>>8,r[n++]=a&255,n==r.length&&(s+=i.write(r.toString("base64").replace(/\//g,","),s),n=0)))}return this.inBase64=e,this.base64AccumIdx=n,i.slice(0,s)};o2.prototype.end=function(){var t=CA.alloc(10),e=0;return this.inBase64&&(this.base64AccumIdx>0&&(e+=t.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),e),this.base64AccumIdx=0),t[e++]=Xg,this.inBase64=!1),t.slice(0,e)};function a2(t,e){this.iconv=e.iconv,this.inBase64=!1,this.base64Accum=""}var cAe=s2.slice();cAe[44]=!0;a2.prototype.write=function(t){for(var e="",r=0,n=this.inBase64,i=this.base64Accum,s=0;s<t.length;s++)if(!n)t[s]==r2&&(e+=this.iconv.decode(t.slice(r,s),"ascii"),r=s+1,n=!0);else if(!cAe[t[s]]){if(s==r&&t[s]==Xg)e+="&";else{var o=i+this.iconv.decode(t.slice(r,s),"ascii").replace(/,/g,"/");e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}t[s]!=Xg&&s--,r=s+1,n=!1,i=""}if(!n)e+=this.iconv.decode(t.slice(r),"ascii");else{var o=i+this.iconv.decode(t.slice(r),"ascii").replace(/,/g,"/"),a=o.length-o.length%8;i=o.slice(a),o=o.slice(0,a),e+=this.iconv.decode(CA.from(o,"base64"),"utf16-be")}return this.inBase64=n,this.base64Accum=i,e};a2.prototype.end=function(){var t="";return this.inBase64&&this.base64Accum.length>0&&(t=this.iconv.decode(CA.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",t}});var gAe=N(lAe=>{"use strict";h();var Ab=Bc().Buffer;lAe._sbcs=A2;function A2(t,e){if(!t)throw new Error("SBCS codec is called without the data.");if(!t.chars||t.chars.length!==128&&t.chars.length!==256)throw new Error("Encoding '"+t.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(t.chars.length===128){for(var r="",n=0;n<128;n++)r+=String.fromCharCode(n);t.chars=r+t.chars}this.decodeBuf=Ab.from(t.chars,"ucs2");for(var i=Ab.alloc(65536,e.defaultCharSingleByte.charCodeAt(0)),n=0;n<t.chars.length;n++)i[t.chars.charCodeAt(n)]=n;this.encodeBuf=i}A2.prototype.encoder=c2;A2.prototype.decoder=u2;function c2(t,e){this.encodeBuf=e.encodeBuf}c2.prototype.write=function(t){for(var e=Ab.alloc(t.length),r=0;r<t.length;r++)e[r]=this.encodeBuf[t.charCodeAt(r)];return e};c2.prototype.end=function(){};function u2(t,e){this.decodeBuf=e.decodeBuf}u2.prototype.write=function(t){for(var e=this.decodeBuf,r=Ab.alloc(t.length*2),n=0,i=0,s=0;s<t.length;s++)n=t[s]*2,i=s*2,r[i]=e[n],r[i+1]=e[n+1];return r.toString("ucs2")};u2.prototype.end=function(){}});var dAe=N((xYt,pAe)=>{"use strict";h();pAe.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\u20AC\u25A0\xA0"},mik:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2514\u2534\u252C\u251C\u2500\u253C\u2563\u2551\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2510\u2591\u2592\u2593\u2502\u2524\u2116\xA7\u2557\u255D\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},cp720:{type:"_sbcs",chars:"\x80\x81\xE9\xE2\x84\xE0\x86\xE7\xEA\xEB\xE8\xEF\xEE\x8D\x8E\x8F\x90\u0651\u0652\xF4\xA4\u0640\xFB\xF9\u0621\u0622\u0623\u0624\xA3\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0636\u0637\u0638\u0639\u063A\u0641\xB5\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u2261\u064B\u064C\u064D\u064E\u064F\u0650\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var hAe=N((kYt,fAe)=>{"use strict";h();fAe.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"\u20AC\uFFFD\uFFFD\uFFFD\uFFFD\u2026\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\u0160\u2039\u015A\u0164\u017D\u0179\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0161\u203A\u015B\u0165\u017E\u017A\xA0\u02C7\u02D8\u0141\xA4\u0104\xA6\xA7\xA8\xA9\u015E\xAB\xAC\xAD\xAE\u017B\xB0\xB1\u02DB\u0142\xB4\xB5\xB6\xB7\xB8\u0105\u015F\xBB\u013D\u02DD\u013E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u040C\u040B\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u045C\u045B\u045F\xA0\u040E\u045E\u0408\xA4\u0490\xA6\xA7\u0401\xA9\u0404\xAB\xAC\xAD\xAE\u0407\xB0\xB1\u0406\u0456\u0491\xB5\xB6\xB7\u0451\u2116\u0454\xBB\u0458\u0405\u0455\u0457\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\u017D\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\u017E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0385\u0386\xA3\xA4\xA5\xA6\xA7\xA8\xA9\uFFFD\xAB\xAC\xAD\xAE\u2015\xB0\xB1\xB2\xB3\u0384\xB5\xB6\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\xA1\xA2\xA3\u20AA\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\xBF\u05B0\u05B1\u05B2\u05B3\u05B4\u05B5\u05B6\u05B7\u05B8\u05B9\u05BA\u05BB\u05BC\u05BD\u05BE\u05BF\u05C0\u05C1\u05C2\u05C3\u05F0\u05F1\u05F2\u05F3\u05F4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"\u20AC\u067E\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0679\u2039\u0152\u0686\u0698\u0688\u06AF\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u06A9\u2122\u0691\u203A\u0153\u200C\u200D\u06BA\xA0\u060C\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\u06BE\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\u061B\xBB\xBC\xBD\xBE\u061F\u06C1\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\xD7\u0637\u0638\u0639\u063A\u0640\u0641\u0642\u0643\xE0\u0644\xE2\u0645\u0646\u0647\u0648\xE7\xE8\xE9\xEA\xEB\u0649\u064A\xEE\xEF\u064B\u064C\u064D\u064E\xF4\u064F\u0650\xF7\u0651\xF9\u0652\xFB\xFC\u200E\u200F\u06D2"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\xA8\u02C7\xB8\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\xAF\u02DB\uFFFD\xA0\uFFFD\xA2\xA3\xA4\uFFFD\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u02D9"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u02D8\u0141\xA4\u013D\u015A\xA7\xA8\u0160\u015E\u0164\u0179\xAD\u017D\u017B\xB0\u0105\u02DB\u0142\xB4\u013E\u015B\u02C7\xB8\u0161\u015F\u0165\u017A\u02DD\u017E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0126\u02D8\xA3\xA4\uFFFD\u0124\xA7\xA8\u0130\u015E\u011E\u0134\xAD\uFFFD\u017B\xB0\u0127\xB2\xB3\xB4\xB5\u0125\xB7\xB8\u0131\u015F\u011F\u0135\xBD\uFFFD\u017C\xC0\xC1\xC2\uFFFD\xC4\u010A\u0108\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\uFFFD\xD1\xD2\xD3\xD4\u0120\xD6\xD7\u011C\xD9\xDA\xDB\xDC\u016C\u015C\xDF\xE0\xE1\xE2\uFFFD\xE4\u010B\u0109\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\uFFFD\xF1\xF2\xF3\xF4\u0121\xF6\xF7\u011D\xF9\xFA\xFB\xFC\u016D\u015D\u02D9"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0138\u0156\xA4\u0128\u013B\xA7\xA8\u0160\u0112\u0122\u0166\xAD\u017D\xAF\xB0\u0105\u02DB\u0157\xB4\u0129\u013C\u02C7\xB8\u0161\u0113\u0123\u0167\u014A\u017E\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\u012A\u0110\u0145\u014C\u0136\xD4\xD5\xD6\xD7\xD8\u0172\xDA\xDB\xDC\u0168\u016A\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\u012B\u0111\u0146\u014D\u0137\xF4\xF5\xF6\xF7\xF8\u0173\xFA\xFB\xFC\u0169\u016B\u02D9"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0453\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\uFFFD\uFFFD\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u060C\xAD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u061B\uFFFD\uFFFD\uFFFD\u061F\uFFFD\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u2018\u2019\xA3\u20AC\u20AF\xA6\xA7\xA8\xA9\u037A\xAB\xAC\xAD\uFFFD\u2015\xB0\xB1\xB2\xB3\u0384\u0385\u0386\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2017\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0112\u0122\u012A\u0128\u0136\xA7\u013B\u0110\u0160\u0166\u017D\xAD\u016A\u014A\xB0\u0105\u0113\u0123\u012B\u0129\u0137\xB7\u013C\u0111\u0161\u0167\u017E\u2015\u016B\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\xCF\xD0\u0145\u014C\xD3\xD4\xD5\xD6\u0168\xD8\u0172\xDA\xDB\xDC\xDD\xDE\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\xEF\xF0\u0146\u014D\xF3\xF4\xF5\xF6\u0169\xF8\u0173\xFA\xFB\xFC\xFD\xFE\u0138"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u201D\xA2\xA3\xA4\u201E\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\u201C\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u2019"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u1E02\u1E03\xA3\u010A\u010B\u1E0A\xA7\u1E80\xA9\u1E82\u1E0B\u1EF2\xAD\xAE\u0178\u1E1E\u1E1F\u0120\u0121\u1E40\u1E41\xB6\u1E56\u1E81\u1E57\u1E83\u1E60\u1EF3\u1E84\u1E85\u1E61\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0174\xD1\xD2\xD3\xD4\xD5\xD6\u1E6A\xD8\xD9\xDA\xDB\xDC\xDD\u0176\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0175\xF1\xF2\xF3\xF4\xF5\xF6\u1E6B\xF8\xF9\xFA\xFB\xFC\xFD\u0177\xFF"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\u0160\xA7\u0161\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u017D\xB5\xB6\xB7\u017E\xB9\xBA\xBB\u0152\u0153\u0178\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0105\u0141\u20AC\u201E\u0160\xA7\u0161\xA9\u0218\xAB\u0179\xAD\u017A\u017B\xB0\xB1\u010C\u0142\u017D\u201D\xB6\xB7\u017E\u010D\u0219\xBB\u0152\u0153\u0178\u017C\xC0\xC1\xC2\u0102\xC4\u0106\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0110\u0143\xD2\xD3\xD4\u0150\xD6\u015A\u0170\xD9\xDA\xDB\xDC\u0118\u021A\xDF\xE0\xE1\xE2\u0103\xE4\u0107\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0111\u0144\xF2\xF3\xF4\u0151\xF6\u015B\u0171\xF9\xFA\xFB\xFC\u0119\u021B\xFF"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u03C5\u03C6\u03C7\u03C8\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03C9\u03AC\u03AD\u03AE\u03CA\u03AF\u03CC\u03CD\u03CB\u03CE\u0386\u0388\u0389\u038A\u038C\u038E\u038F\xB1\u2265\u2264\u03AA\u03AB\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"\u0106\xFC\xE9\u0101\xE4\u0123\xE5\u0107\u0142\u0113\u0156\u0157\u012B\u0179\xC4\xC5\xC9\xE6\xC6\u014D\xF6\u0122\xA2\u015A\u015B\xD6\xDC\xF8\xA3\xD8\xD7\xA4\u0100\u012A\xF3\u017B\u017C\u017A\u201D\xA6\xA9\xAE\xAC\xBD\xBC\u0141\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0104\u010C\u0118\u0116\u2563\u2551\u2557\u255D\u012E\u0160\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0172\u016A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u017D\u0105\u010D\u0119\u0117\u012F\u0161\u0173\u016B\u017E\u2518\u250C\u2588\u2584\u258C\u2590\u2580\xD3\xDF\u014C\u0143\xF5\xD5\xB5\u0144\u0136\u0137\u013B\u013C\u0146\u0112\u0145\u2019\xAD\xB1\u201C\xBE\xB6\xA7\xF7\u201E\xB0\u2219\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u0131\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\u016F\u0107\xE7\u0142\xEB\u0150\u0151\xEE\u0179\xC4\u0106\xC9\u0139\u013A\xF4\xF6\u013D\u013E\u015A\u015B\xD6\xDC\u0164\u0165\u0141\xD7\u010D\xE1\xED\xF3\xFA\u0104\u0105\u017D\u017E\u0118\u0119\xAC\u017A\u010C\u015F\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\u011A\u015E\u2563\u2551\u2557\u255D\u017B\u017C\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0102\u0103\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u0111\u0110\u010E\xCB\u010F\u0147\xCD\xCE\u011B\u2518\u250C\u2588\u2584\u0162\u016E\u2580\xD3\xDF\xD4\u0143\u0144\u0148\u0160\u0161\u0154\xDA\u0155\u0170\xFD\xDD\u0163\xB4\xAD\u02DD\u02DB\u02C7\u02D8\xA7\xF7\xB8\xB0\xA8\u02D9\u0171\u0158\u0159\u25A0\xA0"},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"\u0452\u0402\u0453\u0403\u0451\u0401\u0454\u0404\u0455\u0405\u0456\u0406\u0457\u0407\u0458\u0408\u0459\u0409\u045A\u040A\u045B\u040B\u045C\u040C\u045E\u040E\u045F\u040F\u044E\u042E\u044A\u042A\u0430\u0410\u0431\u0411\u0446\u0426\u0434\u0414\u0435\u0415\u0444\u0424\u0433\u0413\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0445\u0425\u0438\u0418\u2563\u2551\u2557\u255D\u0439\u0419\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u043A\u041A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u043B\u041B\u043C\u041C\u043D\u041D\u043E\u041E\u043F\u2518\u250C\u2588\u2584\u041F\u044F\u2580\u042F\u0440\u0420\u0441\u0421\u0442\u0422\u0443\u0423\u0436\u0416\u0432\u0412\u044C\u042C\u2116\xAD\u044B\u042B\u0437\u0417\u0448\u0428\u044D\u042D\u0449\u0429\u0447\u0427\xA7\u25A0\xA0"},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\xA3\uFFFD\xD7\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAE\xAC\xBD\xBC\uFFFD\xAB\xBB\u2591\u2592\u2593\u2502\u2524\uFFFD\uFFFD\uFFFD\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\uFFFD\uFFFD\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2518\u250C\u2588\u2584\xA6\uFFFD\u2580\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xB5\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\u0131\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\u0130\xD6\xDC\xF8\xA3\xD8\u015E\u015F\xE1\xED\xF3\xFA\xF1\xD1\u011E\u011F\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xBA\xAA\xCA\xCB\xC8\uFFFD\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\uFFFD\xD7\xDA\xDB\xD9\xEC\xFF\xAF\xB4\xAD\xB1\uFFFD\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u20AC\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE3\xE0\xC1\xE7\xEA\xCA\xE8\xCD\xD4\xEC\xC3\xC2\xC9\xC0\xC8\xF4\xF5\xF2\xDA\xF9\xCC\xD5\xDC\xA2\xA3\xD9\u20A7\xD3\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xD2\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xD0\xF0\xDE\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xFE\xFB\xDD\xFD\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xC1\xCD\xD3\xDA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xC2\xE0\xB6\xE7\xEA\xEB\xE8\xEF\xEE\u2017\xC0\xA7\xC9\xC8\xCA\xF4\xCB\xCF\xFB\xF9\xA4\xD4\xDC\xA2\xA3\xD9\xDB\u0192\xA6\xB4\xF3\xFA\xA8\xB8\xB3\xAF\xCE\u2310\xAC\xBD\xBC\xBE\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b
1619
1619
  \v\f\r\x1B !"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xA4\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0386\uFFFD\xB7\xAC\xA6\u2018\u2019\u0388\u2015\u0389\u038A\u03AA\u038C\uFFFD\uFFFD\u038E\u03AB\xA9\u038F\xB2\xB3\u03AC\xA3\u03AD\u03AE\u03AF\u03CA\u0390\u03CC\u03CD\u0391\u0392\u0393\u0394\u0395\u0396\u0397\xBD\u0398\u0399\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u039A\u039B\u039C\u039D\u2563\u2551\u2557\u255D\u039E\u039F\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u03A0\u03A1\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u2518\u250C\u2588\u2584\u03B4\u03B5\u2580\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u0384\xAD\xB1\u03C5\u03C6\u03C7\xA7\u03C8\u0385\xB0\xA8\u03C9\u03CB\u03B0\u03CE\u25A0\xA0"},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\u203E\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0160\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\u017D\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0161\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\u017E\xFF"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"\uFE88\xD7\xF7\uF8F6\uF8F5\uF8F4\uF8F7\uFE71\x88\u25A0\u2502\u2500\u2510\u250C\u2514\u2518\uFE79\uFE7B\uFE7D\uFE7F\uFE77\uFE8A\uFEF0\uFEF3\uFEF2\uFECE\uFECF\uFED0\uFEF6\uFEF8\uFEFA\uFEFC\xA0\uF8FA\uF8F9\uF8F8\xA4\uF8FB\uFE8B\uFE91\uFE97\uFE9B\uFE9F\uFEA3\u060C\xAD\uFEA7\uFEB3\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFEB7\u061B\uFEBB\uFEBF\uFECA\u061F\uFECB\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\uFEC7\u0639\u063A\uFECC\uFE82\uFE84\uFE8E\uFED3\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFED7\uFEDB\uFEDF\uF8FC\uFEF5\uFEF7\uFEF9\uFEFB\uFEE3\uFEE7\uFEEC\uFEE9\uFFFD"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0490\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0491\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0490\u0491\u0404\u0454\u0406\u0456\u0407\u0457\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\u0153\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u0178\xB5\xB6\xB7\u0152\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E81\u0E82\u0E84\u0E87\u0E88\u0EAA\u0E8A\u0E8D\u0E94\u0E95\u0E96\u0E97\u0E99\u0E9A\u0E9B\u0E9C\u0E9D\u0E9E\u0E9F\u0EA1\u0EA2\u0EA3\u0EA5\u0EA7\u0EAB\u0EAD\u0EAE\uFFFD\uFFFD\uFFFD\u0EAF\u0EB0\u0EB2\u0EB3\u0EB4\u0EB5\u0EB6\u0EB7\u0EB8\u0EB9\u0EBC\u0EB1\u0EBB\u0EBD\uFFFD\uFFFD\uFFFD\u0EC0\u0EC1\u0EC2\u0EC3\u0EC4\u0EC8\u0EC9\u0ECA\u0ECB\u0ECC\u0ECD\u0EC6\uFFFD\u0EDC\u0EDD\u20AD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0ED0\u0ED1\u0ED2\u0ED3\u0ED4\u0ED5\u0ED6\u0ED7\u0ED8\u0ED9\uFFFD\uFFFD\xA2\xAC\xA6\uFFFD"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E48\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\u0E49\u0E4A\u0E4B\u20AC\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\xA2\xAC\xA6\xA0"},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"\u20AC\x81\x82\x83\x84\u2026\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\xA6\xA7\u0153\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u0178\xB5\xB6\xB7\u0152\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\u0160\u2122\xB4\xA8\u2260\u017D\xD8\u221E\xB1\u2264\u2265\u2206\xB5\u2202\u2211\u220F\u0161\u222B\xAA\xBA\u2126\u017E\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u0106\xAB\u010C\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u0110\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\uFFFD\xA9\u2044\xA4\u2039\u203A\xC6\xBB\u2013\xB7\u201A\u201E\u2030\xC2\u0107\xC1\u010D\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u0111\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u03C0\xCB\u02DA\xB8\xCA\xE6\u02C7"},maccyrillic:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\xA2\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u2202\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\xA4"},macgreek:{type:"_sbcs",chars:"\xC4\xB9\xB2\xC9\xB3\xD6\xDC\u0385\xE0\xE2\xE4\u0384\xA8\xE7\xE9\xE8\xEA\xEB\xA3\u2122\xEE\xEF\u2022\xBD\u2030\xF4\xF6\xA6\xAD\xF9\xFB\xFC\u2020\u0393\u0394\u0398\u039B\u039E\u03A0\xDF\xAE\xA9\u03A3\u03AA\xA7\u2260\xB0\u0387\u0391\xB1\u2264\u2265\xA5\u0392\u0395\u0396\u0397\u0399\u039A\u039C\u03A6\u03AB\u03A8\u03A9\u03AC\u039D\xAC\u039F\u03A1\u2248\u03A4\xAB\xBB\u2026\xA0\u03A5\u03A7\u0386\u0388\u0153\u2013\u2015\u201C\u201D\u2018\u2019\xF7\u0389\u038A\u038C\u038E\u03AD\u03AE\u03AF\u03CC\u038F\u03CD\u03B1\u03B2\u03C8\u03B4\u03B5\u03C6\u03B3\u03B7\u03B9\u03BE\u03BA\u03BB\u03BC\u03BD\u03BF\u03C0\u03CE\u03C1\u03C3\u03C4\u03B8\u03C9\u03C2\u03C7\u03C5\u03B6\u03CA\u03CB\u0390\u03B0\uFFFD"},maciceland:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\xDD\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\xD0\xF0\xDE\xFE\xFD\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macroman:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macromania:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\u0102\u015E\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\u0103\u015F\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\u0162\u0163\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macthai:{type:"_sbcs",chars:"\xAB\xBB\u2026\uF88C\uF88F\uF892\uF895\uF898\uF88B\uF88E\uF891\uF894\uF897\u201C\u201D\uF899\uFFFD\u2022\uF884\uF889\uF885\uF886\uF887\uF888\uF88A\uF88D\uF890\uF893\uF896\u2018\u2019\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFEFF\u200B\u2013\u2014\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u2122\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\xAE\xA9\uFFFD\uFFFD\uFFFD\uFFFD"},macturkish:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u011E\u011F\u0130\u0131\u015E\u015F\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\uFFFD\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macukraine:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\u0490\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u0491\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\xA4"},koi8r:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u2553\u2554\u2555\u2556\u2557\u2558\u2559\u255A\u255B\u255C\u255D\u255E\u255F\u2560\u2561\u0401\u2562\u2563\u2564\u2565\u2566\u2567\u2568\u2569\u256A\u256B\u256C\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8u:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255A\u255B\u0491\u255D\u255E\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256A\u0490\u256C\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8ru:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255A\u255B\u0491\u045E\u255E\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256A\u0490\u040E\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8t:{type:"_sbcs",chars:"\u049B\u0493\u201A\u0492\u201E\u2026\u2020\u2021\uFFFD\u2030\u04B3\u2039\u04B2\u04B7\u04B6\uFFFD\u049A\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04EF\u04EE\u0451\xA4\u04E3\xA6\xA7\uFFFD\uFFFD\uFFFD\xAB\xAC\xAD\xAE\uFFFD\xB0\xB1\xB2\u0401\uFFFD\u04E2\xB6\xB7\uFFFD\u2116\uFFFD\xBB\uFFFD\uFFFD\uFFFD\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},armscii8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\u0587\u0589)(\xBB\xAB\u2014.\u055D,-\u058A\u2026\u055C\u055B\u055E\u0531\u0561\u0532\u0562\u0533\u0563\u0534\u0564\u0535\u0565\u0536\u0566\u0537\u0567\u0538\u0568\u0539\u0569\u053A\u056A\u053B\u056B\u053C\u056C\u053D\u056D\u053E\u056E\u053F\u056F\u0540\u0570\u0541\u0571\u0542\u0572\u0543\u0573\u0544\u0574\u0545\u0575\u0546\u0576\u0547\u0577\u0548\u0578\u0549\u0579\u054A\u057A\u054B\u057B\u054C\u057C\u054D\u057D\u054E\u057E\u054F\u057F\u0550\u0580\u0551\u0581\u0552\u0582\u0553\u0583\u0554\u0584\u0555\u0585\u0556\u0586\u055A\uFFFD"},rk1048:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u049A\u04BA\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u049B\u04BB\u045F\xA0\u04B0\u04B1\u04D8\xA4\u04E8\xA6\xA7\u0401\xA9\u0492\xAB\xAC\xAD\xAE\u04AE\xB0\xB1\u0406\u0456\u04E9\xB5\xB6\xB7\u0451\u2116\u0493\xBB\u04D9\u04A2\u04A3\u04AF\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},tcvn:{type:"_sbcs",chars:`\0\xDA\u1EE4\u1EEA\u1EEC\u1EEE\x07\b
1620
1620
  \v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0`},georgianacademy:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10EF\u10F0\u10F1\u10F2\u10F3\u10F4\u10F5\u10F6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},georgianps:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10F1\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10F2\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10F3\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10F4\u10EF\u10F0\u10F5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},pt154:{type:"_sbcs",chars:"\u0496\u0492\u04EE\u0493\u201E\u2026\u04B6\u04AE\u04B2\u04AF\u04A0\u04E2\u04A2\u049A\u04BA\u04B8\u0497\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u04B3\u04B7\u04A1\u04E3\u04A3\u049B\u04BB\u04B9\xA0\u040E\u045E\u0408\u04E8\u0498\u04B0\xA7\u0401\xA9\u04D8\xAB\xAC\u04EF\xAE\u049C\xB0\u04B1\u0406\u0456\u0499\u04E9\xB6\xB7\u0451\u2116\u04D9\xBB\u0458\u04AA\u04AB\u049D\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},viscii:{type:"_sbcs",chars:`\0\u1EB2\u1EB4\u1EAA\x07\b
1621
1621
  \v\f\r\u1EF6\u1EF8\x1B\u1EF4 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE`},iso646cn:{type:"_sbcs",chars:`\0\x07\b
@@ -1634,7 +1634,7 @@ return fn.apply(this, arguments)
1634
1634
  <pre>`+e+`</pre>
1635
1635
  </body>
1636
1636
  </html>
1637
- `}qle.exports=WXe;function WXe(t,e,r){var n=r||{},i=n.env||process.env.NODE_ENV||"development",s=n.onerror;return function(o){var a,A,c;if(!o&&e.headersSent){nG("cannot 404 after headers sent");return}if(o?(c=ZXe(o),c===void 0?c=tZe(e):a=zXe(o),A=XXe(o,c,i)):(c=404,A="Cannot "+t.method+" "+jXe(eZe(t))),nG("default %s",c),o&&s&&setImmediate(s,o,t,e),e.headersSent){nG("cannot %d after headers sent",c),t.socket&&t.socket.destroy();return}rZe(t,e,c,a,A)}}function zXe(t){if(!(!t.headers||typeof t.headers!="object"))return{...t.headers}}function XXe(t,e,r){var n;return r!=="production"&&(n=t.stack,!n&&typeof t.toString=="function"&&(n=t.toString())),n||Yle.message[e]}function ZXe(t){if(typeof t.status=="number"&&t.status>=400&&t.status<600)return t.status;if(typeof t.statusCode=="number"&&t.statusCode>=400&&t.statusCode<600)return t.statusCode}function eZe(t){try{return qXe.original(t).pathname}catch{return"resource"}}function tZe(t){var e=t.statusCode;return(typeof e!="number"||e<400||e>599)&&(e=500),e}function rZe(t,e,r,n,i){function s(){var o=VXe(i);e.statusCode=r,t.httpVersionMajor<2&&(e.statusMessage=Yle.message[r]),e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Range");for(let[a,A]of Object.entries(n??{}))e.setHeader(a,A);if(e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Content-Type","text/html; charset=utf-8"),e.setHeader("Content-Length",Buffer.byteLength(o,"utf8")),t.method==="HEAD"){e.end();return}e.end(o,"utf8")}if($Xe(t)){s();return}t.unpipe(),jle(t,s),t.resume()}});var Zle=N((Dqt,Xle)=>{"use strict";h();var Mb=Yi()("express:view"),pE=require("node:path"),nZe=require("node:fs"),iZe=pE.dirname,zle=pE.basename,sZe=pE.extname,Vle=pE.join,oZe=pE.resolve;Xle.exports=Pb;function Pb(t,e){var r=e||{};if(this.defaultEngine=r.defaultEngine,this.ext=sZe(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var n=t;if(this.ext||(this.ext=this.defaultEngine[0]!=="."?"."+this.defaultEngine:this.defaultEngine,n+=this.ext),!r.engines[this.ext]){var i=this.ext.slice(1);Mb('require "%s"',i);var s=require(i).__express;if(typeof s!="function")throw new Error('Module "'+i+'" does not provide a view engine.');r.engines[this.ext]=s}this.engine=r.engines[this.ext],this.path=this.lookup(n)}Pb.prototype.lookup=function(e){var r,n=[].concat(this.root);Mb('lookup "%s"',e);for(var i=0;i<n.length&&!r;i++){var s=n[i],o=oZe(s,e),a=iZe(o),A=zle(o);r=this.resolve(a,A)}return r};Pb.prototype.render=function(e,r){var n=!0;Mb('render "%s"',this.path),this.engine(this.path,e,function(){if(!n)return r.apply(this,arguments);for(var s=new Array(arguments.length),o=this,a=0;a<arguments.length;a++)s[a]=arguments[a];return process.nextTick(function(){return r.apply(o,s)})}),n=!1};Pb.prototype.resolve=function(e,r){var n=this.ext,i=Vle(e,r),s=Wle(i);if(s&&s.isFile()||(i=Vle(e,zle(r,n),"index"+n),s=Wle(i),s&&s.isFile()))return i};function Wle(t){Mb('stat "%s"',t);try{return nZe.statSync(t)}catch{return}}});var iG=N((bqt,rge)=>{"use strict";h();rge.exports=cZe;var aZe=require("crypto"),ege=require("fs").Stats,tge=Object.prototype.toString;function AZe(t){if(t.length===0)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var e=aZe.createHash("sha1").update(t,"utf8").digest("base64").substring(0,27),r=typeof t=="string"?Buffer.byteLength(t,"utf8"):t.length;return'"'+r.toString(16)+"-"+e+'"'}function cZe(t,e){if(t==null)throw new TypeError("argument entity is required");var r=uZe(t),n=e&&typeof e.weak=="boolean"?e.weak:r;if(!r&&typeof t!="string"&&!Buffer.isBuffer(t))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var i=r?lZe(t):AZe(t);return n?"W/"+i:i}function uZe(t){return typeof ege=="function"&&t instanceof ege?!0:t&&typeof t=="object"&&"ctime"in t&&tge.call(t.ctime)==="[object Date]"&&"mtime"in t&&tge.call(t.mtime)==="[object Date]"&&"ino"in t&&typeof t.ino=="number"&&"size"in t&&typeof t.size=="number"}function lZe(t){var e=t.mtime.getTime().toString(16),r=t.size.toString(16);return'"'+r+"-"+e+'"'}});var ige=N((Sqt,nge)=>{"use strict";h();nge.exports=gZe;function gZe(t){if(!t)throw new TypeError("argument req is required");var e=dZe(t.headers["x-forwarded-for"]||""),r=pZe(t),n=[r].concat(e);return n}function pZe(t){return t.socket?t.socket.remoteAddress:t.connection.remoteAddress}function dZe(t){for(var e=t.length,r=[],n=t.length,i=t.length-1;i>=0;i--)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i);break;case 44:n!==e&&r.push(t.substring(n,e)),n=e=i;break;default:n=i;break}return n!==e&&r.push(t.substring(n,e)),r}});var oge=N((sge,dE)=>{h();(function(){var t,e,r,n,i,s,o,a,A;e={},a=this,typeof dE<"u"&&dE!==null&&dE.exports?dE.exports=e:a.ipaddr=e,o=function(c,u,l,d){var g,p;if(c.length!==u.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(g=0;d>0;){if(p=l-d,p<0&&(p=0),c[g]>>p!==u[g]>>p)return!1;d-=l,g+=1}return!0},e.subnetMatch=function(c,u,l){var d,g,p,f,m;l==null&&(l="unicast");for(p in u)for(f=u[p],f[0]&&!(f[0]instanceof Array)&&(f=[f]),d=0,g=f.length;d<g;d++)if(m=f[d],c.kind()===m[0].kind()&&c.match.apply(c,m))return p;return l},e.IPv4=(function(){function c(u){var l,d,g;if(u.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");for(l=0,d=u.length;l<d;l++)if(g=u[l],!(0<=g&&g<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=u}return c.prototype.kind=function(){return"ipv4"},c.prototype.toString=function(){return this.octets.join(".")},c.prototype.toNormalizedString=function(){return this.toString()},c.prototype.toByteArray=function(){return this.octets.slice(0)},c.prototype.match=function(u,l){var d;if(l===void 0&&(d=u,u=d[0],l=d[1]),u.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return o(this.octets,u.octets,8,l)},c.prototype.SpecialRanges={unspecified:[[new c([0,0,0,0]),8]],broadcast:[[new c([255,255,255,255]),32]],multicast:[[new c([224,0,0,0]),4]],linkLocal:[[new c([169,254,0,0]),16]],loopback:[[new c([127,0,0,0]),8]],carrierGradeNat:[[new c([100,64,0,0]),10]],private:[[new c([10,0,0,0]),8],[new c([172,16,0,0]),12],[new c([192,168,0,0]),16]],reserved:[[new c([192,0,0,0]),24],[new c([192,0,2,0]),24],[new c([192,88,99,0]),24],[new c([198,51,100,0]),24],[new c([203,0,113,0]),24],[new c([240,0,0,0]),4]]},c.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)},c.prototype.toIPv4MappedAddress=function(){return e.IPv6.parse("::ffff:"+this.toString())},c.prototype.prefixLengthFromSubnetMask=function(){var u,l,d,g,p,f,m;for(m={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},u=0,p=!1,l=d=3;d>=0;l=d+=-1)if(g=this.octets[l],g in m){if(f=m[g],p&&f!==0)return null;f!==8&&(p=!0),u+=f}else return null;return 32-u},c})(),r="(0?\\d+|0x[a-f0-9]+)",n={fourOctet:new RegExp("^"+r+"\\."+r+"\\."+r+"\\."+r+"$","i"),longValue:new RegExp("^"+r+"$","i")},e.IPv4.parser=function(c){var u,l,d,g,p;if(l=function(f){return f[0]==="0"&&f[1]!=="x"?parseInt(f,8):parseInt(f)},u=c.match(n.fourOctet))return(function(){var f,m,C,I;for(C=u.slice(1,6),I=[],f=0,m=C.length;f<m;f++)d=C[f],I.push(l(d));return I})();if(u=c.match(n.longValue)){if(p=l(u[1]),p>4294967295||p<0)throw new Error("ipaddr: address outside defined range");return(function(){var f,m;for(m=[],g=f=0;f<=24;g=f+=8)m.push(p>>g&255);return m})().reverse()}else return null},e.IPv6=(function(){function c(u,l){var d,g,p,f,m,C;if(u.length===16)for(this.parts=[],d=g=0;g<=14;d=g+=2)this.parts.push(u[d]<<8|u[d+1]);else if(u.length===8)this.parts=u;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(C=this.parts,p=0,f=C.length;p<f;p++)if(m=C[p],!(0<=m&&m<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");l&&(this.zoneId=l)}return c.prototype.kind=function(){return"ipv6"},c.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},c.prototype.toRFC5952String=function(){var u,l,d,g,p;for(g=/((^|:)(0(:|$)){2,})/g,p=this.toNormalizedString(),u=0,l=-1;d=g.exec(p);)d[0].length>l&&(u=d.index,l=d[0].length);return l<0?p:p.substring(0,u)+"::"+p.substring(u+l)},c.prototype.toByteArray=function(){var u,l,d,g,p;for(u=[],p=this.parts,l=0,d=p.length;l<d;l++)g=p[l],u.push(g>>8),u.push(g&255);return u},c.prototype.toNormalizedString=function(){var u,l,d;return u=(function(){var g,p,f,m;for(f=this.parts,m=[],g=0,p=f.length;g<p;g++)l=f[g],m.push(l.toString(16));return m}).call(this).join(":"),d="",this.zoneId&&(d="%"+this.zoneId),u+d},c.prototype.toFixedLengthString=function(){var u,l,d;return u=(function(){var g,p,f,m;for(f=this.parts,m=[],g=0,p=f.length;g<p;g++)l=f[g],m.push(l.toString(16).padStart(4,"0"));return m}).call(this).join(":"),d="",this.zoneId&&(d="%"+this.zoneId),u+d},c.prototype.match=function(u,l){var d;if(l===void 0&&(d=u,u=d[0],l=d[1]),u.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return o(this.parts,u.parts,16,l)},c.prototype.SpecialRanges={unspecified:[new c([0,0,0,0,0,0,0,0]),128],linkLocal:[new c([65152,0,0,0,0,0,0,0]),10],multicast:[new c([65280,0,0,0,0,0,0,0]),8],loopback:[new c([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new c([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new c([0,0,0,0,0,65535,0,0]),96],rfc6145:[new c([0,0,0,0,65535,0,0,0]),96],rfc6052:[new c([100,65435,0,0,0,0,0,0]),96],"6to4":[new c([8194,0,0,0,0,0,0,0]),16],teredo:[new c([8193,0,0,0,0,0,0,0]),32],reserved:[[new c([8193,3512,0,0,0,0,0,0]),32]]},c.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)},c.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},c.prototype.toIPv4Address=function(){var u,l,d;if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return d=this.parts.slice(-2),u=d[0],l=d[1],new e.IPv4([u>>8,u&255,l>>8,l&255])},c.prototype.prefixLengthFromSubnetMask=function(){var u,l,d,g,p,f,m;for(m={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},u=0,p=!1,l=d=7;d>=0;l=d+=-1)if(g=this.parts[l],g in m){if(f=m[g],p&&f!==0)return null;f!==16&&(p=!0),u+=f}else return null;return 128-u},c})(),i="(?:[0-9a-f]+::?)+",A="%[0-9a-z]{1,}",s={zoneIndex:new RegExp(A,"i"),native:new RegExp("^(::)?("+i+")?([0-9a-f]+)?(::)?("+A+")?$","i"),transitional:new RegExp("^((?:"+i+")|(?:::)(?:"+i+")?)"+(r+"\\."+r+"\\."+r+"\\."+r)+("("+A+")?$"),"i")},t=function(c,u){var l,d,g,p,f,m;if(c.indexOf("::")!==c.lastIndexOf("::"))return null;for(m=(c.match(s.zoneIndex)||[])[0],m&&(m=m.substring(1),c=c.replace(/%.+$/,"")),l=0,d=-1;(d=c.indexOf(":",d+1))>=0;)l++;if(c.substr(0,2)==="::"&&l--,c.substr(-2,2)==="::"&&l--,l>u)return null;for(f=u-l,p=":";f--;)p+="0:";return c=c.replace("::",p),c[0]===":"&&(c=c.slice(1)),c[c.length-1]===":"&&(c=c.slice(0,-1)),u=(function(){var C,I,y,B;for(y=c.split(":"),B=[],C=0,I=y.length;C<I;C++)g=y[C],B.push(parseInt(g,16));return B})(),{parts:u,zoneId:m}},e.IPv6.parser=function(c){var u,l,d,g,p,f,m;if(s.native.test(c))return t(c,8);if((g=c.match(s.transitional))&&(m=g[6]||"",u=t(g[1].slice(0,-1)+m,6),u.parts)){for(f=[parseInt(g[2]),parseInt(g[3]),parseInt(g[4]),parseInt(g[5])],l=0,d=f.length;l<d;l++)if(p=f[l],!(0<=p&&p<=255))return null;return u.parts.push(f[0]<<8|f[1]),u.parts.push(f[2]<<8|f[3]),{parts:u.parts,zoneId:u.zoneId}}return null},e.IPv4.isIPv4=e.IPv6.isIPv6=function(c){return this.parser(c)!==null},e.IPv4.isValid=function(c){var u;try{return new this(this.parser(c)),!0}catch(l){return u=l,!1}},e.IPv4.isValidFourPartDecimal=function(c){return!!(e.IPv4.isValid(c)&&c.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},e.IPv6.isValid=function(c){var u,l;if(typeof c=="string"&&c.indexOf(":")===-1)return!1;try{return u=this.parser(c),new this(u.parts,u.zoneId),!0}catch(d){return l=d,!1}},e.IPv4.parse=function(c){var u;if(u=this.parser(c),u===null)throw new Error("ipaddr: string is not formatted like ip address");return new this(u)},e.IPv6.parse=function(c){var u;if(u=this.parser(c),u.parts===null)throw new Error("ipaddr: string is not formatted like ip address");return new this(u.parts,u.zoneId)},e.IPv4.parseCIDR=function(c){var u,l,d;if((l=c.match(/^(.+)\/(\d+)$/))&&(u=parseInt(l[2]),u>=0&&u<=32))return d=[this.parse(l[1]),u],Object.defineProperty(d,"toString",{value:function(){return this.join("/")}}),d;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},e.IPv4.subnetMaskFromPrefixLength=function(c){var u,l,d;if(c=parseInt(c),c<0||c>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(d=[0,0,0,0],l=0,u=Math.floor(c/8);l<u;)d[l]=255,l++;return u<4&&(d[u]=Math.pow(2,c%8)-1<<8-c%8),new this(d)},e.IPv4.broadcastAddressFromCIDR=function(c){var u,l,d,g,p,f;try{for(u=this.parseCIDR(c),g=u[0].toByteArray(),f=this.subnetMaskFromPrefixLength(u[1]).toByteArray(),p=[],d=0;d<4;)p.push(parseInt(g[d],10)|parseInt(f[d],10)^255),d++;return new this(p)}catch(m){throw l=m,new Error("ipaddr: the address does not have IPv4 CIDR format")}},e.IPv4.networkAddressFromCIDR=function(c){var u,l,d,g,p,f;try{for(u=this.parseCIDR(c),g=u[0].toByteArray(),f=this.subnetMaskFromPrefixLength(u[1]).toByteArray(),p=[],d=0;d<4;)p.push(parseInt(g[d],10)&parseInt(f[d],10)),d++;return new this(p)}catch(m){throw l=m,new Error("ipaddr: the address does not have IPv4 CIDR format")}},e.IPv6.parseCIDR=function(c){var u,l,d;if((l=c.match(/^(.+)\/(\d+)$/))&&(u=parseInt(l[2]),u>=0&&u<=128))return d=[this.parse(l[1]),u],Object.defineProperty(d,"toString",{value:function(){return this.join("/")}}),d;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},e.isValid=function(c){return e.IPv6.isValid(c)||e.IPv4.isValid(c)},e.parse=function(c){if(e.IPv6.isValid(c))return e.IPv6.parse(c);if(e.IPv4.isValid(c))return e.IPv4.parse(c);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},e.parseCIDR=function(c){var u;try{return e.IPv6.parseCIDR(c)}catch(l){u=l;try{return e.IPv4.parseCIDR(c)}catch(d){throw u=d,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},e.fromByteArray=function(c){var u;if(u=c.length,u===4)return new e.IPv4(c);if(u===16)return new e.IPv6(c);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},e.process=function(c){var u;return u=this.parse(c),u.kind()==="ipv6"&&u.isIPv4MappedAddress()?u.toIPv4Address():u}}).call(sge)});var sG=N((kqt,Ub)=>{"use strict";h();Ub.exports=BZe;Ub.exports.all=cge;Ub.exports.compile=uge;var fZe=ige(),Age=oge(),hZe=/^[0-9]+$/,Lb=Age.isValid,_b=Age.parse,age={linklocal:["169.254.0.0/16","fe80::/10"],loopback:["127.0.0.1/8","::1/128"],uniquelocal:["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","fc00::/7"]};function cge(t,e){var r=fZe(t);if(!e)return r;typeof e!="function"&&(e=uge(e));for(var n=0;n<r.length-1;n++)e(r[n],n)||(r.length=n+1);return r}function uge(t){if(!t)throw new TypeError("argument is required");var e;if(typeof t=="string")e=[t];else if(Array.isArray(t))e=t.slice();else throw new TypeError("unsupported trust argument");for(var r=0;r<e.length;r++)t=e[r],Object.prototype.hasOwnProperty.call(age,t)&&(t=age[t],e.splice.apply(e,[r,1].concat(t)),r+=t.length-1);return CZe(mZe(e))}function mZe(t){for(var e=new Array(t.length),r=0;r<t.length;r++)e[r]=IZe(t[r]);return e}function CZe(t){var e=t.length;return e===0?yZe:e===1?DZe(t[0]):QZe(t)}function IZe(t){var e=t.lastIndexOf("/"),r=e!==-1?t.substring(0,e):t;if(!Lb(r))throw new TypeError("invalid IP address: "+r);var n=_b(r);e===-1&&n.kind()==="ipv6"&&n.isIPv4MappedAddress()&&(n=n.toIPv4Address());var i=n.kind()==="ipv6"?128:32,s=e!==-1?t.substring(e+1,t.length):null;if(s===null?s=i:hZe.test(s)?s=parseInt(s,10):n.kind()==="ipv4"&&Lb(s)?s=EZe(s):s=null,s<=0||s>i)throw new TypeError("invalid range on address: "+t);return[n,s]}function EZe(t){var e=_b(t),r=e.kind();return r==="ipv4"?e.prefixLengthFromSubnetMask():null}function BZe(t,e){if(!t)throw new TypeError("req argument is required");if(!e)throw new TypeError("trust argument is required");var r=cge(t,e),n=r[r.length-1];return n}function yZe(){return!1}function QZe(t){return function(r){if(!Lb(r))return!1;for(var n=_b(r),i,s=n.kind(),o=0;o<t.length;o++){var a=t[o],A=a[0],c=A.kind(),u=a[1],l=n;if(s!==c){if(c==="ipv4"&&!n.isIPv4MappedAddress())continue;i||(i=c==="ipv4"?n.toIPv4Address():n.toIPv4MappedAddress()),l=i}if(l.match(A,u))return!0}return!1}}function DZe(t){var e=t[0],r=e.kind(),n=r==="ipv4",i=t[1];return function(o){if(!Lb(o))return!1;var a=_b(o),A=a.kind();if(A!==r){if(n&&!a.isIPv4MappedAddress())return!1;a=n?a.toIPv4Address():a.toIPv4MappedAddress()}return a.match(e,i)}}});var el=N(Ks=>{"use strict";h();var{METHODS:wZe}=require("node:http"),lge=fb(),bZe=iG(),vZe=Of(),SZe=sG(),xZe=eG(),FZe=require("node:querystring"),{Buffer:gge}=require("node:buffer");Ks.methods=wZe.map(t=>t.toLowerCase());Ks.etag=pge({weak:!1});Ks.wetag=pge({weak:!0});Ks.normalizeType=function(t){return~t.indexOf("/")?kZe(t):{value:vZe.lookup(t)||"application/octet-stream",params:{}}};Ks.normalizeTypes=function(t){return t.map(Ks.normalizeType)};function kZe(t){for(var e=t.length,r=t.indexOf(";"),n=r===-1?e:r,i={value:t.slice(0,n).trim(),quality:1,params:{}};n<e;){var s=t.indexOf("=",n);if(s===-1)break;var r=t.indexOf(";",n),o=r===-1?e:r;if(s>o){n=t.lastIndexOf(";",s-1)+1;continue}var a=t.slice(n,s).trim(),A=t.slice(s+1,o).trim();a==="q"?i.quality=parseFloat(A):i.params[a]=A,n=o+1}return i}Ks.compileETag=function(t){var e;if(typeof t=="function")return t;switch(t){case!0:case"weak":e=Ks.wetag;break;case!1:break;case"strong":e=Ks.etag;break;default:throw new TypeError("unknown value for etag function: "+t)}return e};Ks.compileQueryParser=function(e){var r;if(typeof e=="function")return e;switch(e){case!0:case"simple":r=FZe.parse;break;case!1:break;case"extended":r=RZe;break;default:throw new TypeError("unknown value for query parser function: "+e)}return r};Ks.compileTrust=function(t){return typeof t=="function"?t:t===!0?function(){return!0}:typeof t=="number"?function(e,r){return r<t}:(typeof t=="string"&&(t=t.split(",").map(function(e){return e.trim()})),SZe.compile(t||[]))};Ks.setCharset=function(e,r){if(!e||!r)return e;var n=lge.parse(e);return n.parameters.charset=r,lge.format(n)};function pge(t){return function(r,n){var i=gge.isBuffer(r)?r:gge.from(r,n);return bZe(i,t)}}function RZe(t){return xZe.parse(t,{allowPrototypes:!0})}});var hge=N((Mqt,fge)=>{h();fge.exports=dge;function dge(t,e){if(t&&e)return dge(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];var s=t.apply(this,n),o=n[n.length-1];return typeof s=="function"&&s!==o&&Object.keys(o).forEach(function(a){s[a]=o[a]}),s}}});var Ige=N((Lqt,oG)=>{h();var mge=hge();oG.exports=mge(Gb);oG.exports.strict=mge(Cge);Gb.proto=Gb(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Gb(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return Cge(this)},configurable:!0})});function Gb(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function Cge(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var AG=N((Uqt,aG)=>{h();aG.exports=Ege;aG.exports.default=Ege;function Ege(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}});var Dge=N(bc=>{"use strict";h();Object.defineProperty(bc,"__esModule",{value:!0});bc.TokenData=void 0;bc.parse=pG;bc.compile=PZe;bc.match=_Ze;bc.pathToRegexp=Qge;bc.stringify=OZe;var uG="/",lG=t=>t,Bge=/^[$_\p{ID_Start}]$/u,gG=/^[$\u200c\u200d\p{ID_Continue}]$/u,Kb="https://git.new/pathToRegexpError",TZe={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function NZe(t){return t.replace(/[{}()\[\]+?!:*]/g,"\\$&")}function QA(t){return t.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function*MZe(t){let e=[...t],r=0;function n(){let i="";if(Bge.test(e[++r]))for(i+=e[r];gG.test(e[++r]);)i+=e[r];else if(e[r]==='"'){let s=r;for(;r<e.length;){if(e[++r]==='"'){r++,s=0;break}e[r]==="\\"?i+=e[++r]:i+=e[r]}if(s)throw new TypeError(`Unterminated quote at ${s}: ${Kb}`)}if(!i)throw new TypeError(`Missing parameter name at ${r}: ${Kb}`);return i}for(;r<e.length;){let i=e[r],s=TZe[i];if(s)yield{type:s,index:r++,value:i};else if(i==="\\")yield{type:"ESCAPED",index:r++,value:e[r++]};else if(i===":"){let o=n();yield{type:"PARAM",index:r,value:o}}else if(i==="*"){let o=n();yield{type:"WILDCARD",index:r,value:o}}else yield{type:"CHAR",index:r,value:e[r++]}}return{type:"END",index:r,value:""}}var cG=class{constructor(e){this.tokens=e}peek(){if(!this._peek){let e=this.tokens.next();this._peek=e.value}return this._peek}tryConsume(e){let r=this.peek();if(r.type===e)return this._peek=void 0,r.value}consume(e){let r=this.tryConsume(e);if(r!==void 0)return r;let{type:n,index:i}=this.peek();throw new TypeError(`Unexpected ${n} at ${i}, expected ${e}: ${Kb}`)}text(){let e="",r;for(;r=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)e+=r;return e}},Xf=class{constructor(e){this.tokens=e}};bc.TokenData=Xf;function pG(t,e={}){let{encodePath:r=lG}=e,n=new cG(MZe(t));function i(o){let a=[];for(;;){let A=n.text();A&&a.push({type:"text",value:r(A)});let c=n.tryConsume("PARAM");if(c){a.push({type:"param",name:c});continue}let u=n.tryConsume("WILDCARD");if(u){a.push({type:"wildcard",name:u});continue}if(n.tryConsume("{")){a.push({type:"group",tokens:i("}")});continue}return n.consume(o),a}}let s=i("END");return new Xf(s)}function PZe(t,e={}){let{encode:r=encodeURIComponent,delimiter:n=uG}=e,i=t instanceof Xf?t:pG(t,e),s=yge(i.tokens,n,r);return function(a={}){let[A,...c]=s(a);if(c.length)throw new TypeError(`Missing parameters: ${c.join(", ")}`);return A}}function yge(t,e,r){let n=t.map(i=>LZe(i,e,r));return i=>{let s=[""];for(let o of n){let[a,...A]=o(i);s[0]+=a,s.push(...A)}return s}}function LZe(t,e,r){if(t.type==="text")return()=>[t.value];if(t.type==="group"){let i=yge(t.tokens,e,r);return s=>{let[o,...a]=i(s);return a.length?[""]:[o]}}let n=r||lG;return t.type==="wildcard"&&r!==!1?i=>{let s=i[t.name];if(s==null)return["",t.name];if(!Array.isArray(s)||s.length===0)throw new TypeError(`Expected "${t.name}" to be a non-empty array`);return[s.map((o,a)=>{if(typeof o!="string")throw new TypeError(`Expected "${t.name}/${a}" to be a string`);return n(o)}).join(e)]}:i=>{let s=i[t.name];if(s==null)return["",t.name];if(typeof s!="string")throw new TypeError(`Expected "${t.name}" to be a string`);return[n(s)]}}function _Ze(t,e={}){let{decode:r=decodeURIComponent,delimiter:n=uG}=e,{regexp:i,keys:s}=Qge(t,e),o=s.map(a=>r===!1?lG:a.type==="param"?r:A=>A.split(n).map(r));return function(A){let c=i.exec(A);if(!c)return!1;let u=c[0],l=Object.create(null);for(let d=1;d<c.length;d++){if(c[d]===void 0)continue;let g=s[d-1],p=o[d-1];l[g.name]=p(c[d])}return{path:u,params:l}}}function Qge(t,e={}){let{delimiter:r=uG,end:n=!0,sensitive:i=!1,trailing:s=!0}=e,o=[],a=[],A=i?"":"i",u=(Array.isArray(t)?t:[t]).map(g=>g instanceof Xf?g:pG(g,e));for(let{tokens:g}of u)for(let p of Ob(g,0,[])){let f=UZe(p,r,o);a.push(f)}let l=`^(?:${a.join("|")})`;return s&&(l+=`(?:${QA(r)}$)?`),l+=n?"$":`(?=${QA(r)}|$)`,{regexp:new RegExp(l,A),keys:o}}function*Ob(t,e,r){if(e===t.length)return yield r;let n=t[e];if(n.type==="group"){let i=r.slice();for(let s of Ob(n.tokens,0,i))yield*Ob(t,e+1,s)}else r.push(n);yield*Ob(t,e+1,r)}function UZe(t,e,r){let n="",i="",s=!0;for(let o=0;o<t.length;o++){let a=t[o];if(a.type==="text"){n+=QA(a.value),i+=a.value,s||(s=a.value.includes(e));continue}if(a.type==="param"||a.type==="wildcard"){if(!s&&!i)throw new TypeError(`Missing text after "${a.name}": ${Kb}`);a.type==="param"?n+=`(${GZe(e,s?"":i)}+)`:n+="([\\s\\S]+)",r.push(a),i="",s=!1;continue}}return n}function GZe(t,e){return e.length<2?t.length<2?`[^${QA(t+e)}]`:`(?:(?!${QA(t)})[^${QA(e)}])`:t.length<2?`(?:(?!${QA(e)})[^${QA(t)}])`:`(?:(?!${QA(e)}|${QA(t)})[\\s\\S])`}function OZe(t){return t.tokens.map(function e(r,n,i){if(r.type==="text")return NZe(r.value);if(r.type==="group")return`{${r.tokens.map(e).join("")}}`;let o=KZe(r.name)&&HZe(i[n+1])?r.name:JSON.stringify(r.name);if(r.type==="param")return`:${o}`;if(r.type==="wildcard")return`*${o}`;throw new TypeError(`Unexpected token: ${r}`)}).join("")}function KZe(t){let[e,...r]=t;return Bge.test(e)?r.every(n=>gG.test(n)):!1}function HZe(t){return t?.type!=="text"?!0:!gG.test(t.value[0])}});var dG=N((Hqt,xge)=>{"use strict";h();var bge=AG(),JZe=Dge(),jZe=Yi()("router:layer"),vge=jI()("router"),YZe=/\/+$/,qZe=/\((?:\?<(.*?)>)?(?!\?)/g;xge.exports=Zf;function Zf(t,e,r){if(!(this instanceof Zf))return new Zf(t,e,r);jZe("new %o",t);let n=e||{};this.handle=r,this.keys=[],this.name=r.name||"<anonymous>",this.params=void 0,this.path=void 0,this.slash=t==="/"&&n.end===!1;function i(s){if(s instanceof RegExp){let o=[],a=0,A;for(;A=qZe.exec(s.source);)o.push({name:A[1]||a++,offset:A.index});return function(u){let l=s.exec(u);if(!l)return!1;let d={};for(let g=1;g<l.length;g++){let f=o[g-1].name,m=wge(l[g]);m!==void 0&&(d[f]=m)}return{params:d,path:l[0]}}}return JZe.match(n.strict?s:Sge(s),{sensitive:n.sensitive,end:n.end,trailing:!n.strict,decode:wge})}this.matchers=Array.isArray(t)?t.map(i):[i(t)]}Zf.prototype.handleError=function(e,r,n,i){let s=this.handle;if(s.length!==4)return i(e);try{let o=s(e,r,n,i);bge(o)&&(o instanceof Promise||vge("handlers that are Promise-like are deprecated, use a native Promise instead"),o.then(null,function(a){i(a||new Error("Rejected promise"))}))}catch(o){i(o)}};Zf.prototype.handleRequest=function(e,r,n){let i=this.handle;if(i.length>3)return n();try{let s=i(e,r,n);bge(s)&&(s instanceof Promise||vge("handlers that are Promise-like are deprecated, use a native Promise instead"),s.then(null,function(o){n(o||new Error("Rejected promise"))}))}catch(s){n(s)}};Zf.prototype.match=function(e){let r;if(e!=null){if(this.slash)return this.params={},this.path="",!0;let n=0;for(;!r&&n<this.matchers.length;)r=this.matchers[n](e),n++}return r?(this.params=r.params,this.path=r.path,this.keys=Object.keys(r.params),!0):(this.params=void 0,this.path=void 0,!1)};function wge(t){if(typeof t!="string"||t.length===0)return t;try{return decodeURIComponent(t)}catch(e){throw e instanceof URIError&&(e.message="Failed to decode param '"+t+"'",e.status=400),e}}function Sge(t){return t instanceof RegExp||t==="/"?t:Array.isArray(t)?t.map(function(e){return Sge(e)}):String(t).replace(YZe,"")}});var Mge=N((jqt,Nge)=>{"use strict";h();var Fge=Yi()("router:route"),kge=dG(),{METHODS:$Ze}=require("node:http"),Rge=Array.prototype.slice,Tge=Array.prototype.flat,VZe=$Ze.map(t=>t.toLowerCase());Nge.exports=eh;function eh(t){Fge("new %o",t),this.path=t,this.stack=[],this.methods=Object.create(null)}eh.prototype._handlesMethod=function(e){if(this.methods._all)return!0;let r=typeof e=="string"?e.toLowerCase():e;return r==="head"&&!this.methods.head&&(r="get"),!!this.methods[r]};eh.prototype._methods=function(){let e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(let r=0;r<e.length;r++)e[r]=e[r].toUpperCase();return e};eh.prototype.dispatch=function(e,r,n){let i=0,s=this.stack,o=0;if(s.length===0)return n();let a=typeof e.method=="string"?e.method.toLowerCase():e.method;a==="head"&&!this.methods.head&&(a="get"),e.route=this,A();function A(c){if(c&&c==="route")return n();if(c&&c==="router"||i>=s.length)return n(c);if(++o>100)return setImmediate(A,c);let u,l;for(;l!==!0&&i<s.length;)u=s[i++],l=!u.method||u.method===a;if(l!==!0)return n(c);c?u.handleError(c,e,r,A):u.handleRequest(e,r,A),o=0}};eh.prototype.all=function(e){let r=Tge.call(Rge.call(arguments),1/0);if(r.length===0)throw new TypeError("argument handler is required");for(let n=0;n<r.length;n++){let i=r[n];if(typeof i!="function")throw new TypeError("argument handler must be a function");let s=kge("/",{},i);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this};VZe.forEach(function(t){eh.prototype[t]=function(e){let r=Tge.call(Rge.call(arguments),1/0);if(r.length===0)throw new TypeError("argument handler is required");for(let n=0;n<r.length;n++){let i=r[n];if(typeof i!="function")throw new TypeError("argument handler must be a function");Fge("%s %s",t,this.path);let s=kge("/",{},i);s.method=t,this.methods[t]=!0,this.stack.push(s)}return this}})});var hG=N((qqt,fG)=>{"use strict";h();var WZe=AG(),Pge=dG(),{METHODS:zZe}=require("node:http"),XZe=gE(),Lge=Mge(),Hb=Yi()("router"),ZZe=jI()("router"),_ge=Array.prototype.slice,eet=Array.prototype.flat,tet=zZe.map(t=>t.toLowerCase());fG.exports=vc;fG.exports.Route=Lge;function vc(t){if(!(this instanceof vc))return new vc(t);let e=t||{};function r(n,i,s){r.handle(n,i,s)}return Object.setPrototypeOf(r,this),r.caseSensitive=e.caseSensitive,r.mergeParams=e.mergeParams,r.params={},r.strict=e.strict,r.stack=[],r}vc.prototype=function(){};vc.prototype.param=function(e,r){if(!e)throw new TypeError("argument name is required");if(typeof e!="string")throw new TypeError("argument name must be a string");if(!r)throw new TypeError("argument fn is required");if(typeof r!="function")throw new TypeError("argument fn must be a function");let n=this.params[e];return n||(n=this.params[e]=[]),n.push(r),this};vc.prototype.handle=function(e,r,n){if(!n)throw new TypeError("argument callback is required");Hb("dispatching %s %s",e.method,e.url);let i=0,s,o=iet(e.url)||"",a="",A=this,c=!1,u=0,l={},d=this.stack,g=e.params,p=e.baseUrl||"",f=Aet(n,e,"baseUrl","next","params");e.next=m,e.method==="OPTIONS"&&(s=[],f=get(f,ret(r,s))),e.baseUrl=p,e.originalUrl=e.originalUrl||e.url,m();function m(I){let y=I==="route"?null:I;if(c&&(e.url=e.url.slice(1),c=!1),a.length!==0&&(e.baseUrl=p,e.url=o+a+e.url.slice(o.length),a=""),y==="router"){setImmediate(f,null);return}if(i>=d.length){setImmediate(f,y);return}if(++u>100)return setImmediate(m,I);let B=net(e);if(B==null)return f(y);let E,D,v;for(;D!==!0&&i<d.length;){if(E=d[i++],D=set(E,B),v=E.route,typeof D!="boolean"&&(y=y||D),D!==!0||!v)continue;if(y){D=!1;continue}let S=e.method,w=v._handlesMethod(S);!w&&S==="OPTIONS"&&s&&s.push.apply(s,v._methods()),!w&&S!=="HEAD"&&(D=!1)}if(D!==!0)return f(y);v&&(e.route=v),e.params=A.mergeParams?oet(E.params,g):E.params;let Q=E.path;aet(A.params,E,l,e,r,function(S){S?m(y||S):v?E.handleRequest(e,r,m):C(E,y,Q,B),u=0})}function C(I,y,B,E){if(B.length!==0){if(B!==E.substring(0,B.length)){m(y);return}let D=E[B.length];if(D&&D!=="/"){m(y);return}Hb("trim prefix (%s) from url %s",B,e.url),a=B,e.url=o+e.url.slice(o.length+a.length),!o&&e.url[0]!=="/"&&(e.url="/"+e.url,c=!0),e.baseUrl=p+(a[a.length-1]==="/"?a.substring(0,a.length-1):a)}Hb("%s %s : %s",I.name,B,e.originalUrl),y?I.handleError(y,e,r,m):I.handleRequest(e,r,m)}};vc.prototype.use=function(e){let r=0,n="/";if(typeof e!="function"){let s=e;for(;Array.isArray(s)&&s.length!==0;)s=s[0];typeof s!="function"&&(r=1,n=e)}let i=eet.call(_ge.call(arguments,r),1/0);if(i.length===0)throw new TypeError("argument handler is required");for(let s=0;s<i.length;s++){let o=i[s];if(typeof o!="function")throw new TypeError("argument handler must be a function");Hb("use %o %s",n,o.name||"<anonymous>");let a=new Pge(n,{sensitive:this.caseSensitive,strict:!1,end:!1},o);a.route=void 0,this.stack.push(a)}return this};vc.prototype.route=function(e){let r=new Lge(e),n=new Pge(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},i);function i(s,o,a){r.dispatch(s,o,a)}return n.route=r,this.stack.push(n),r};tet.concat("all").forEach(function(t){vc.prototype[t]=function(e){let r=this.route(e);return r[t].apply(r,_ge.call(arguments,1)),this}});function ret(t,e){return function(n,i){if(i||e.length===0)return n(i);uet(t,e,n)}}function net(t){try{return XZe(t).pathname}catch{return}}function iet(t){if(typeof t!="string"||t.length===0||t[0]==="/")return;let e=t.indexOf("?"),r=e!==-1?e:t.length,n=t.substring(0,r).indexOf("://");return n!==-1?t.substring(0,t.indexOf("/",3+n)):void 0}function set(t,e){try{return t.match(e)}catch(r){return r}}function oet(t,e){if(typeof e!="object"||!e)return t;let r=Object.assign({},e);if(!(0 in t)||!(0 in e))return Object.assign(r,t);let n=0,i=0;for(;n in t;)n++;for(;i in e;)i++;for(n--;n>=0;n--)t[n+i]=t[n],n<i&&delete t[n];return Object.assign(r,t)}function aet(t,e,r,n,i,s){let o=e.keys;if(!o||o.length===0)return s();let a=0,A=0,c,u,l,d;function g(f){if(f)return s(f);if(a>=o.length)return s();if(A=0,c=o[a++],u=n.params[c],l=t[c],d=r[c],u===void 0||!l)return g();if(d&&(d.match===u||d.error&&d.error!=="route"))return n.params[c]=d.value,g(d.error);r[c]=d={error:null,match:u,value:u},p()}function p(f){let m=l[A++];if(d.value=n.params[c],f){d.error=f,g(f);return}if(!m)return g();try{let C=m(n,i,p,u,c);WZe(C)&&(C instanceof Promise||ZZe("parameters that are Promise-like are deprecated, use a native Promise instead"),C.then(null,function(I){p(I||new Error("Rejected promise"))}))}catch(C){p(C)}}g()}function Aet(t,e){let r=new Array(arguments.length-2),n=new Array(arguments.length-2);for(let i=0;i<r.length;i++)r[i]=arguments[i+2],n[i]=e[r[i]];return function(){for(let i=0;i<r.length;i++)e[r[i]]=n[i];return t.apply(this,arguments)}}function cet(t,e){let r=Object.create(null);for(let i=0;i<e.length;i++)r[e[i]]=!0;let n=Object.keys(r).sort().join(", ");t.setHeader("Allow",n),t.setHeader("Content-Length",Buffer.byteLength(n)),t.setHeader("Content-Type","text/plain"),t.setHeader("X-Content-Type-Options","nosniff"),t.end(n)}function uet(t,e,r){try{cet(t,e)}catch(n){r(n)}}function get(t,e){return function(){let n=new Array(arguments.length+1);n[0]=t;for(let i=0,s=arguments.length;i<s;i++)n[i+1]=arguments[i];e.apply(this,n)}}});var Oge=N((Uge,Gge)=>{"use strict";h();var pet=$le(),IG=Yi()("express:application"),det=Zle(),fet=require("node:http"),mG=el().methods,het=el().compileETag,met=el().compileQueryParser,Cet=el().compileTrust,Iet=require("node:path").resolve,Eet=Ige(),Bet=hG(),Jb=Array.prototype.slice,yet=Array.prototype.flat,gi=Uge=Gge.exports={},CG="@@symbol:trust_proxy_default";gi.init=function(){var e=null;this.cache=Object.create(null),this.engines=Object.create(null),this.settings=Object.create(null),this.defaultConfiguration(),Object.defineProperty(this,"router",{configurable:!0,enumerable:!0,get:function(){return e===null&&(e=new Bet({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")})),e}})};gi.defaultConfiguration=function(){var e=process.env.NODE_ENV||"development";this.enable("x-powered-by"),this.set("etag","weak"),this.set("env",e),this.set("query parser","simple"),this.set("subdomain offset",2),this.set("trust proxy",!1),Object.defineProperty(this.settings,CG,{configurable:!0,value:!0}),IG("booting in %s mode",e),this.on("mount",function(n){this.settings[CG]===!0&&typeof n.settings["trust proxy fn"]=="function"&&(delete this.settings["trust proxy"],delete this.settings["trust proxy fn"]),Object.setPrototypeOf(this.request,n.request),Object.setPrototypeOf(this.response,n.response),Object.setPrototypeOf(this.engines,n.engines),Object.setPrototypeOf(this.settings,n.settings)}),this.locals=Object.create(null),this.mountpath="/",this.locals.settings=this.settings,this.set("view",det),this.set("views",Iet("views")),this.set("jsonp callback name","callback"),e==="production"&&this.enable("view cache")};gi.handle=function(e,r,n){var i=n||pet(e,r,{env:this.get("env"),onerror:Qet.bind(this)});this.enabled("x-powered-by")&&r.setHeader("X-Powered-By","Express"),e.res=r,r.req=e,Object.setPrototypeOf(e,this.request),Object.setPrototypeOf(r,this.response),r.locals||(r.locals=Object.create(null)),this.router.handle(e,r,i)};gi.use=function(e){var r=0,n="/";if(typeof e!="function"){for(var i=e;Array.isArray(i)&&i.length!==0;)i=i[0];typeof i!="function"&&(r=1,n=e)}var s=yet.call(Jb.call(arguments,r),1/0);if(s.length===0)throw new TypeError("app.use() requires a middleware function");var o=this.router;return s.forEach(function(a){if(!a||!a.handle||!a.set)return o.use(n,a);IG(".use app under %s",n),a.mountpath=n,a.parent=this,o.use(n,function(c,u,l){var d=c.app;a.handle(c,u,function(g){Object.setPrototypeOf(c,d.request),Object.setPrototypeOf(u,d.response),l(g)})}),a.emit("mount",this)},this),this};gi.route=function(e){return this.router.route(e)};gi.engine=function(e,r){if(typeof r!="function")throw new Error("callback function required");var n=e[0]!=="."?"."+e:e;return this.engines[n]=r,this};gi.param=function(e,r){if(Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],r);return this}return this.router.param(e,r),this};gi.set=function(e,r){if(arguments.length===1)return this.settings[e];switch(IG('set "%s" to %o',e,r),this.settings[e]=r,e){case"etag":this.set("etag fn",het(r));break;case"query parser":this.set("query parser fn",met(r));break;case"trust proxy":this.set("trust proxy fn",Cet(r)),Object.defineProperty(this.settings,CG,{configurable:!0,value:!1});break}return this};gi.path=function(){return this.parent?this.parent.path()+this.mountpath:""};gi.enabled=function(e){return!!this.set(e)};gi.disabled=function(e){return!this.set(e)};gi.enable=function(e){return this.set(e,!0)};gi.disable=function(e){return this.set(e,!1)};mG.forEach(function(t){gi[t]=function(e){if(t==="get"&&arguments.length===1)return this.set(e);var r=this.route(e);return r[t].apply(r,Jb.call(arguments,1)),this}});gi.all=function(e){for(var r=this.route(e),n=Jb.call(arguments,1),i=0;i<mG.length;i++)r[mG[i]].apply(r,n);return this};gi.render=function(e,r,n){var i=this.cache,s=n,o=this.engines,a=r,A;typeof r=="function"&&(s=r,a={});var c={...this.locals,...a._locals,...a};if(c.cache==null&&(c.cache=this.enabled("view cache")),c.cache&&(A=i[e]),!A){var u=this.get("view");if(A=new u(e,{defaultEngine:this.get("view engine"),root:this.get("views"),engines:o}),!A.path){var l=Array.isArray(A.root)&&A.root.length>1?'directories "'+A.root.slice(0,-1).join('", "')+'" or "'+A.root[A.root.length-1]+'"':'directory "'+A.root+'"',d=new Error('Failed to lookup view "'+e+'" in views '+l);return d.view=A,s(d)}c.cache&&(i[e]=A)}Det(A,c,s)};gi.listen=function(){var e=fet.createServer(this),r=Jb.call(arguments);if(typeof r[r.length-1]=="function"){var n=r[r.length-1]=Eet(r[r.length-1]);e.once("error",n)}return e.listen.apply(e,r)};function Qet(t){this.get("env")!=="test"&&console.error(t.stack||t.toString())}function Det(t,e,r){try{t.render(e,r)}catch(n){r(n)}}});var jge=N((Wqt,EG)=>{"use strict";h();EG.exports=Jge;EG.exports.preferredCharsets=Jge;var wet=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function bet(t){for(var e=t.split(","),r=0,n=0;r<e.length;r++){var i=vet(e[r].trim(),r);i&&(e[n++]=i)}return e.length=n,e}function vet(t,e){var r=wet.exec(t);if(!r)return null;var n=r[1],i=1;if(r[2])for(var s=r[2].split(";"),o=0;o<s.length;o++){var a=s[o].trim().split("=");if(a[0]==="q"){i=parseFloat(a[1]);break}}return{charset:n,q:i,i:e}}function xet(t,e,r){for(var n={o:-1,q:0,s:0},i=0;i<e.length;i++){var s=Fet(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function Fet(t,e,r){var n=0;if(e.charset.toLowerCase()===t.toLowerCase())n|=1;else if(e.charset!=="*")return null;return{i:r,o:e.i,q:e.q,s:n}}function Jge(t,e){var r=bet(t===void 0?"*":t||"");if(!e)return r.filter(Hge).sort(Kge).map(ket);var n=e.map(function(s,o){return xet(s,r,o)});return n.filter(Hge).sort(Kge).map(function(s){return e[n.indexOf(s)]})}function Kge(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function ket(t){return t.charset}function Hge(t){return t.q>0}});var Vge=N((Xqt,BG)=>{"use strict";h();BG.exports=$ge;BG.exports.preferredEncodings=$ge;var Ret=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function Tet(t){for(var e=t.split(","),r=!1,n=1,i=0,s=0;i<e.length;i++){var o=Net(e[i].trim(),i);o&&(e[s++]=o,r=r||qge("identity",o),n=Math.min(n,o.q||1))}return r||(e[s++]={encoding:"identity",q:n,i}),e.length=s,e}function Net(t,e){var r=Ret.exec(t);if(!r)return null;var n=r[1],i=1;if(r[2])for(var s=r[2].split(";"),o=0;o<s.length;o++){var a=s[o].trim().split("=");if(a[0]==="q"){i=parseFloat(a[1]);break}}return{encoding:n,q:i,i:e}}function Met(t,e,r){for(var n={encoding:t,o:-1,q:0,s:0},i=0;i<e.length;i++){var s=qge(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function qge(t,e,r){var n=0;if(e.encoding.toLowerCase()===t.toLowerCase())n|=1;else if(e.encoding!=="*")return null;return{encoding:t,i:r,o:e.i,q:e.q,s:n}}function $ge(t,e,r){var n=Tet(t||""),i=r?function(a,A){if(a.q!==A.q)return A.q-a.q;var c=r.indexOf(a.encoding),u=r.indexOf(A.encoding);return c===-1&&u===-1?A.s-a.s||a.o-A.o||a.i-A.i:c!==-1&&u!==-1?c-u:c===-1?1:-1}:Pet;if(!e)return n.filter(Yge).sort(i).map(Let);var s=e.map(function(a,A){return Met(a,n,A)});return s.filter(Yge).sort(i).map(function(a){return e[s.indexOf(a)]})}function Pet(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i}function Let(t){return t.encoding}function Yge(t){return t.q>0}});var epe=N((e$t,yG)=>{"use strict";h();yG.exports=Zge;yG.exports.preferredLanguages=Zge;var _et=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function Uet(t){for(var e=t.split(","),r=0,n=0;r<e.length;r++){var i=Xge(e[r].trim(),r);i&&(e[n++]=i)}return e.length=n,e}function Xge(t,e){var r=_et.exec(t);if(!r)return null;var n=r[1],i=r[2],s=n;i&&(s+="-"+i);var o=1;if(r[3])for(var a=r[3].split(";"),A=0;A<a.length;A++){var c=a[A].split("=");c[0]==="q"&&(o=parseFloat(c[1]))}return{prefix:n,suffix:i,q:o,i:e,full:s}}function Get(t,e,r){for(var n={o:-1,q:0,s:0},i=0;i<e.length;i++){var s=Oet(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function Oet(t,e,r){var n=Xge(t);if(!n)return null;var i=0;if(e.full.toLowerCase()===n.full.toLowerCase())i|=4;else if(e.prefix.toLowerCase()===n.full.toLowerCase())i|=2;else if(e.full.toLowerCase()===n.prefix.toLowerCase())i|=1;else if(e.full!=="*")return null;return{i:r,o:e.i,q:e.q,s:i}}function Zge(t,e){var r=Uet(t===void 0?"*":t||"");if(!e)return r.filter(zge).sort(Wge).map(Ket);var n=e.map(function(s,o){return Get(s,r,o)});return n.filter(zge).sort(Wge).map(function(s){return e[n.indexOf(s)]})}function Wge(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function Ket(t){return t.full}function zge(t){return t.q>0}});var ope=N((r$t,QG)=>{"use strict";h();QG.exports=ipe;QG.exports.preferredMediaTypes=ipe;var Het=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function Jet(t){for(var e=Vet(t),r=0,n=0;r<e.length;r++){var i=npe(e[r].trim(),r);i&&(e[n++]=i)}return e.length=n,e}function npe(t,e){var r=Het.exec(t);if(!r)return null;var n=Object.create(null),i=1,s=r[2],o=r[1];if(r[3])for(var a=Wet(r[3]).map($et),A=0;A<a.length;A++){var c=a[A],u=c[0].toLowerCase(),l=c[1],d=l&&l[0]==='"'&&l[l.length-1]==='"'?l.slice(1,-1):l;if(u==="q"){i=parseFloat(d);break}n[u]=d}return{type:o,subtype:s,params:n,q:i,i:e}}function jet(t,e,r){for(var n={o:-1,q:0,s:0},i=0;i<e.length;i++){var s=Yet(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function Yet(t,e,r){var n=npe(t),i=0;if(!n)return null;if(e.type.toLowerCase()==n.type.toLowerCase())i|=4;else if(e.type!="*")return null;if(e.subtype.toLowerCase()==n.subtype.toLowerCase())i|=2;else if(e.subtype!="*")return null;var s=Object.keys(e.params);if(s.length>0)if(s.every(function(o){return e.params[o]=="*"||(e.params[o]||"").toLowerCase()==(n.params[o]||"").toLowerCase()}))i|=1;else return null;return{i:r,o:e.i,q:e.q,s:i}}function ipe(t,e){var r=Jet(t===void 0?"*/*":t||"");if(!e)return r.filter(rpe).sort(tpe).map(qet);var n=e.map(function(s,o){return jet(s,r,o)});return n.filter(rpe).sort(tpe).map(function(s){return e[n.indexOf(s)]})}function tpe(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function qet(t){return t.type+"/"+t.subtype}function rpe(t){return t.q>0}function spe(t){for(var e=0,r=0;(r=t.indexOf('"',r))!==-1;)e++,r++;return e}function $et(t){var e=t.indexOf("="),r,n;return e===-1?r=t:(r=t.slice(0,e),n=t.slice(e+1)),[r,n]}function Vet(t){for(var e=t.split(","),r=1,n=0;r<e.length;r++)spe(e[n])%2==0?e[++n]=e[r]:e[n]+=","+e[r];return e.length=n+1,e}function Wet(t){for(var e=t.split(";"),r=1,n=0;r<e.length;r++)spe(e[n])%2==0?e[++n]=e[r]:e[n]+=";"+e[r];e.length=n+1;for(var r=0;r<e.length;r++)e[r]=e[r].trim();return e}});var ape=N((i$t,DG)=>{"use strict";h();var zet=jge(),Xet=Vge(),Zet=epe(),ett=ope();DG.exports=pr;DG.exports.Negotiator=pr;function pr(t){if(!(this instanceof pr))return new pr(t);this.request=t}pr.prototype.charset=function(e){var r=this.charsets(e);return r&&r[0]};pr.prototype.charsets=function(e){return zet(this.request.headers["accept-charset"],e)};pr.prototype.encoding=function(e,r){var n=this.encodings(e,r);return n&&n[0]};pr.prototype.encodings=function(e,r){var n=r||{};return Xet(this.request.headers["accept-encoding"],e,n.preferred)};pr.prototype.language=function(e){var r=this.languages(e);return r&&r[0]};pr.prototype.languages=function(e){return Zet(this.request.headers["accept-language"],e)};pr.prototype.mediaType=function(e){var r=this.mediaTypes(e);return r&&r[0]};pr.prototype.mediaTypes=function(e){return ett(this.request.headers.accept,e)};pr.prototype.preferredCharset=pr.prototype.charset;pr.prototype.preferredCharsets=pr.prototype.charsets;pr.prototype.preferredEncoding=pr.prototype.encoding;pr.prototype.preferredEncodings=pr.prototype.encodings;pr.prototype.preferredLanguage=pr.prototype.language;pr.prototype.preferredLanguages=pr.prototype.languages;pr.prototype.preferredMediaType=pr.prototype.mediaType;pr.prototype.preferredMediaTypes=pr.prototype.mediaTypes});var cpe=N((o$t,Ape)=>{"use strict";h();var ttt=ape(),rtt=Of();Ape.exports=Hs;function Hs(t){if(!(this instanceof Hs))return new Hs(t);this.headers=t.headers,this.negotiator=new ttt(t)}Hs.prototype.type=Hs.prototype.types=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}if(!e||e.length===0)return this.negotiator.mediaTypes();if(!this.headers.accept)return e[0];var n=e.map(ntt),i=this.negotiator.mediaTypes(n.filter(itt)),s=i[0];return s?e[n.indexOf(s)]:!1};Hs.prototype.encoding=Hs.prototype.encodings=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}return!e||e.length===0?this.negotiator.encodings():this.negotiator.encodings(e)[0]||!1};Hs.prototype.charset=Hs.prototype.charsets=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}return!e||e.length===0?this.negotiator.charsets():this.negotiator.charsets(e)[0]||!1};Hs.prototype.lang=Hs.prototype.langs=Hs.prototype.language=Hs.prototype.languages=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}return!e||e.length===0?this.negotiator.languages():this.negotiator.languages(e)[0]||!1};function ntt(t){return t.indexOf("/")===-1?rtt.lookup(t):t}function itt(t){return typeof t=="string"}});var wG=N((A$t,lpe)=>{"use strict";h();var stt=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;lpe.exports=ott;function ott(t,e){var r=t["if-modified-since"],n=t["if-none-match"];if(!r&&!n)return!1;var i=t["cache-control"];if(i&&stt.test(i))return!1;if(n){if(n==="*")return!0;var s=e.etag;if(!s)return!1;for(var o=att(n),a=0;a<o.length;a++){var A=o[a];if(A===s||A==="W/"+s||"W/"+A===s)return!0}return!1}if(r){var c=e["last-modified"],u=!c||!(upe(c)<=upe(r));if(u)return!1}return!0}function upe(t){var e=t&&Date.parse(t);return typeof e=="number"?e:NaN}function att(t){for(var e=0,r=[],n=0,i=0,s=t.length;i<s;i++)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i+1);break;case 44:r.push(t.substring(n,e)),n=e=i+1;break;default:e=i+1;break}return r.push(t.substring(n,e)),r}});var bG=N((u$t,gpe)=>{"use strict";h();gpe.exports=Att;function Att(t,e,r){if(typeof e!="string")throw new TypeError("argument str must be a string");var n=e.indexOf("=");if(n===-1)return-2;var i=e.slice(n+1).split(","),s=[];s.type=e.slice(0,n);for(var o=0;o<i.length;o++){var a=i[o].split("-"),A=parseInt(a[0],10),c=parseInt(a[1],10);isNaN(A)?(A=t-c,c=t-1):isNaN(c)&&(c=t-1),c>t-1&&(c=t-1),!(isNaN(A)||isNaN(c)||A>c||A<0)&&s.push({start:A,end:c})}return s.length<1?-1:r&&r.combine?ctt(s):s}function ctt(t){for(var e=t.map(utt).sort(ptt),r=0,n=1;n<e.length;n++){var i=e[n],s=e[r];i.start>s.end+1?e[++r]=i:i.end>s.end&&(s.end=i.end,s.index=Math.min(s.index,i.index))}e.length=r+1;var o=e.sort(gtt).map(ltt);return o.type=t.type,o}function utt(t,e){return{start:t.start,end:t.end,index:e}}function ltt(t){return{start:t.start,end:t.end}}function gtt(t,e){return t.index-e.index}function ptt(t,e){return t.start-e.start}});var hpe=N((g$t,fpe)=>{"use strict";h();var jb=cpe(),dtt=require("node:net").isIP,ftt=mb(),htt=require("node:http"),mtt=wG(),Ctt=bG(),ppe=gE(),dpe=sG(),un=Object.create(htt.IncomingMessage.prototype);fpe.exports=un;un.get=un.header=function(e){if(!e)throw new TypeError("name argument is required to req.get");if(typeof e!="string")throw new TypeError("name must be a string to req.get");var r=e.toLowerCase();switch(r){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[r]}};un.accepts=function(){var t=jb(this);return t.types.apply(t,arguments)};un.acceptsEncodings=function(){var t=jb(this);return t.encodings.apply(t,arguments)};un.acceptsCharsets=function(){var t=jb(this);return t.charsets.apply(t,arguments)};un.acceptsLanguages=function(...t){return jb(this).languages(...t)};un.range=function(e,r){var n=this.get("Range");if(n)return Ctt(e,n,r)};Eo(un,"query",function(){var e=this.app.get("query parser fn");if(!e)return Object.create(null);var r=ppe(this).query;return e(r)});un.is=function(e){var r=e;if(!Array.isArray(e)){r=new Array(arguments.length);for(var n=0;n<r.length;n++)r[n]=arguments[n]}return ftt(this,r)};Eo(un,"protocol",function(){var e=this.socket.encrypted?"https":"http",r=this.app.get("trust proxy fn");if(!r(this.socket.remoteAddress,0))return e;var n=this.get("X-Forwarded-Proto")||e,i=n.indexOf(",");return i!==-1?n.substring(0,i).trim():n.trim()});Eo(un,"secure",function(){return this.protocol==="https"});Eo(un,"ip",function(){var e=this.app.get("trust proxy fn");return dpe(this,e)});Eo(un,"ips",function(){var e=this.app.get("trust proxy fn"),r=dpe.all(this,e);return r.reverse().pop(),r});Eo(un,"subdomains",function(){var e=this.hostname;if(!e)return[];var r=this.app.get("subdomain offset"),n=dtt(e)?[e]:e.split(".").reverse();return n.slice(r)});Eo(un,"path",function(){return ppe(this).pathname});Eo(un,"host",function(){var e=this.app.get("trust proxy fn"),r=this.get("X-Forwarded-Host");return!r||!e(this.socket.remoteAddress,0)?r=this.get("Host"):r.indexOf(",")!==-1&&(r=r.substring(0,r.indexOf(",")).trimRight()),r||void 0});Eo(un,"hostname",function(){var e=this.host;if(e){var r=e[0]==="["?e.indexOf("]")+1:0,n=e.indexOf(":",r);return n!==-1?e.substring(0,n):e}});Eo(un,"fresh",function(){var t=this.method,e=this.res,r=e.statusCode;return t!=="GET"&&t!=="HEAD"?!1:r>=200&&r<300||r===304?mtt(this.headers,{etag:e.get("ETag"),"last-modified":e.get("Last-Modified")}):!1});Eo(un,"stale",function(){return!this.fresh});Eo(un,"xhr",function(){var e=this.get("X-Requested-With")||"";return e.toLowerCase()==="xmlhttprequest"});function Eo(t,e,r){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:r})}});var ype=N((d$t,vG)=>{"use strict";h();vG.exports=Stt;vG.exports.parse=Rtt;var mpe=require("path").basename,Itt=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,Ett=/%[0-9A-Fa-f]{2}/,Btt=/%([0-9A-Fa-f]{2})/g,Ipe=/[^\x20-\x7e\xa0-\xff]/g,ytt=/\\([\u0000-\u007f])/g,Qtt=/([\\"])/g,Cpe=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,Dtt=/^[\x20-\x7e\x80-\xff]+$/,wtt=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,btt=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,vtt=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function Stt(t,e){var r=e||{},n=r.type||"attachment",i=xtt(t,r.fallback);return Ftt(new Bpe(n,i))}function xtt(t,e){if(t!==void 0){var r={};if(typeof t!="string")throw new TypeError("filename must be a string");if(e===void 0&&(e=!0),typeof e!="string"&&typeof e!="boolean")throw new TypeError("fallback must be a string or boolean");if(typeof e=="string"&&Ipe.test(e))throw new TypeError("fallback must be ISO-8859-1 string");var n=mpe(t),i=Dtt.test(n),s=typeof e!="string"?e&&Epe(n):mpe(e),o=typeof s=="string"&&s!==n;return(o||!i||Ett.test(n))&&(r["filename*"]=n),(i||o)&&(r.filename=o?s:n),r}}function Ftt(t){var e=t.parameters,r=t.type;if(!r||typeof r!="string"||!wtt.test(r))throw new TypeError("invalid type");var n=String(r).toLowerCase();if(e&&typeof e=="object")for(var i,s=Object.keys(e).sort(),o=0;o<s.length;o++){i=s[o];var a=i.slice(-1)==="*"?Ptt(e[i]):Mtt(e[i]);n+="; "+i+"="+a}return n}function ktt(t){var e=btt.exec(t);if(!e)throw new TypeError("invalid extended field value");var r=e[1].toLowerCase(),n=e[2],i,s=n.replace(Btt,Ttt);switch(r){case"iso-8859-1":i=Epe(s);break;case"utf-8":case"utf8":i=Buffer.from(s,"binary").toString("utf8");break;default:throw new TypeError("unsupported charset in extended field")}return i}function Epe(t){return String(t).replace(Ipe,"?")}function Rtt(t){if(!t||typeof t!="string")throw new TypeError("argument string is required");var e=vtt.exec(t);if(!e)throw new TypeError("invalid type format");var r=e[0].length,n=e[1].toLowerCase(),i,s=[],o={},a;for(r=Cpe.lastIndex=e[0].slice(-1)===";"?r-1:r;e=Cpe.exec(t);){if(e.index!==r)throw new TypeError("invalid parameter format");if(r+=e[0].length,i=e[1].toLowerCase(),a=e[2],s.indexOf(i)!==-1)throw new TypeError("invalid duplicate parameter");if(s.push(i),i.indexOf("*")+1===i.length){i=i.slice(0,-1),a=ktt(a),o[i]=a;continue}typeof o[i]!="string"&&(a[0]==='"'&&(a=a.slice(1,-1).replace(ytt,"$1")),o[i]=a)}if(r!==-1&&r!==t.length)throw new TypeError("invalid parameter format");return new Bpe(n,o)}function Ttt(t,e){return String.fromCharCode(parseInt(e,16))}function Ntt(t){return"%"+String(t).charCodeAt(0).toString(16).toUpperCase()}function Mtt(t){var e=String(t);return'"'+e.replace(Qtt,"\\$1")+'"'}function Ptt(t){var e=String(t),r=encodeURIComponent(e).replace(Itt,Ntt);return"UTF-8''"+r}function Bpe(t,e){this.type=t,this.parameters=e}});var Dpe=N(Yb=>{h();var Qpe=require("crypto");Yb.sign=function(t,e){if(typeof t!="string")throw new TypeError("Cookie value must be provided as a string.");if(e==null)throw new TypeError("Secret key must be provided.");return t+"."+Qpe.createHmac("sha256",e).update(t).digest("base64").replace(/\=+$/,"")};Yb.unsign=function(t,e){if(typeof t!="string")throw new TypeError("Signed cookie string must be provided.");if(e==null)throw new TypeError("Secret key must be provided.");var r=t.slice(0,t.lastIndexOf(".")),n=Yb.sign(r,e),i=Buffer.from(n),s=Buffer.from(t);return i.length===s.length&&Qpe.timingSafeEqual(i,s)?r:!1}});var vpe=N(SG=>{"use strict";h();SG.parse=Htt;SG.serialize=Jtt;var Ltt=Object.prototype.toString,_tt=Object.prototype.hasOwnProperty,Utt=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Gtt=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,Ott=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,Ktt=/^[\u0020-\u003A\u003D-\u007E]*$/;function Htt(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");var r={},n=t.length;if(n<2)return r;var i=e&&e.decode||jtt,s=0,o=0,a=0;do{if(o=t.indexOf("=",s),o===-1)break;if(a=t.indexOf(";",s),a===-1)a=n;else if(o>a){s=t.lastIndexOf(";",o-1)+1;continue}var A=wpe(t,s,o),c=bpe(t,o,A),u=t.slice(A,c);if(!_tt.call(r,u)){var l=wpe(t,o+1,a),d=bpe(t,a,l);t.charCodeAt(l)===34&&t.charCodeAt(d-1)===34&&(l++,d--);var g=t.slice(l,d);r[u]=qtt(g,i)}s=a+1}while(s<n);return r}function wpe(t,e,r){do{var n=t.charCodeAt(e);if(n!==32&&n!==9)return e}while(++e<r);return r}function bpe(t,e,r){for(;e>r;){var n=t.charCodeAt(--e);if(n!==32&&n!==9)return e+1}return r}function Jtt(t,e,r){var n=r&&r.encode||encodeURIComponent;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!Utt.test(t))throw new TypeError("argument name is invalid");var i=n(e);if(!Gtt.test(i))throw new TypeError("argument val is invalid");var s=t+"="+i;if(!r)return s;if(r.maxAge!=null){var o=Math.floor(r.maxAge);if(!isFinite(o))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+o}if(r.domain){if(!Ott.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!Ktt.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var a=r.expires;if(!Ytt(a)||isNaN(a.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+a.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority){var A=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(A){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var c=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(c){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function jtt(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}function Ytt(t){return Ltt.call(t)==="[object Date]"}function qtt(t,e){try{return e(t)}catch{return t}}});var kG=N((E$t,_pe)=>{"use strict";h();var xG=Lf(),pi=Yi()("send"),$tt=uE(),kpe=lE(),Vtt=iG(),Wtt=wG(),$b=require("fs"),ztt=Of(),Xtt=z_(),Ztt=VI(),ert=bG(),fE=require("path"),trt=YI(),Rpe=require("stream"),rrt=require("util"),Tpe=fE.extname,Npe=fE.join,FG=fE.normalize,Mpe=fE.resolve,qb=fE.sep,nrt=/^ *bytes=/,irt=3600*24*365*1e3,Spe=/(?:^|[\\/])\.\.(?:[\\/]|$)/;_pe.exports=srt;function srt(t,e,r){return new ln(t,e,r)}function ln(t,e,r){Rpe.call(this);var n=r||{};if(this.options=n,this.path=e,this.req=t,this._acceptRanges=n.acceptRanges!==void 0?!!n.acceptRanges:!0,this._cacheControl=n.cacheControl!==void 0?!!n.cacheControl:!0,this._etag=n.etag!==void 0?!!n.etag:!0,this._dotfiles=n.dotfiles!==void 0?n.dotfiles:"ignore",this._dotfiles!=="ignore"&&this._dotfiles!=="allow"&&this._dotfiles!=="deny")throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._extensions=n.extensions!==void 0?Fpe(n.extensions,"extensions option"):[],this._immutable=n.immutable!==void 0?!!n.immutable:!1,this._index=n.index!==void 0?Fpe(n.index,"index option"):["index.html"],this._lastModified=n.lastModified!==void 0?!!n.lastModified:!0,this._maxage=n.maxAge||n.maxage,this._maxage=typeof this._maxage=="string"?Xtt(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),irt),this._root=n.root?Mpe(n.root):null}rrt.inherits(ln,Rpe);ln.prototype.error=function(e,r){if(Lpe(this,"error"))return this.emit("error",crt(e,r));var n=this.res,i=trt.message[e]||String(e),s=Ppe("Error",kpe(i));ort(n),r&&r.headers&&grt(n,r.headers),n.statusCode=e,n.setHeader("Content-Type","text/html; charset=UTF-8"),n.setHeader("Content-Length",Buffer.byteLength(s)),n.setHeader("Content-Security-Policy","default-src 'none'"),n.setHeader("X-Content-Type-Options","nosniff"),n.end(s)};ln.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]==="/"};ln.prototype.isConditionalGET=function(){return this.req.headers["if-match"]||this.req.headers["if-unmodified-since"]||this.req.headers["if-none-match"]||this.req.headers["if-modified-since"]};ln.prototype.isPreconditionFailure=function(){var e=this.req,r=this.res,n=e.headers["if-match"];if(n){var i=r.getHeader("ETag");return!i||n!=="*"&&lrt(n).every(function(a){return a!==i&&a!=="W/"+i&&"W/"+a!==i})}var s=Vb(e.headers["if-unmodified-since"]);if(!isNaN(s)){var o=Vb(r.getHeader("Last-Modified"));return isNaN(o)||o>s}return!1};ln.prototype.removeContentHeaderFields=function(){var e=this.res;e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Length"),e.removeHeader("Content-Range"),e.removeHeader("Content-Type")};ln.prototype.notModified=function(){var e=this.res;pi("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()};ln.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");pi("headers already sent"),this.error(500,e)};ln.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||e===304};ln.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e);break}};ln.prototype.isFresh=function(){return Wtt(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})};ln.prototype.isRangeFresh=function(){var e=this.req.headers["if-range"];if(!e)return!0;if(e.indexOf('"')!==-1){var r=this.res.getHeader("ETag");return!!(r&&e.indexOf(r)!==-1)}var n=this.res.getHeader("Last-Modified");return Vb(n)<=Vb(e)};ln.prototype.redirect=function(e){var r=this.res;if(Lpe(this,"directory")){this.emit("directory",r,e);return}if(this.hasTrailingSlash()){this.error(403);return}var n=$tt(art(this.path+"/")),i=Ppe("Redirecting","Redirecting to "+kpe(n));r.statusCode=301,r.setHeader("Content-Type","text/html; charset=UTF-8"),r.setHeader("Content-Length",Buffer.byteLength(i)),r.setHeader("Content-Security-Policy","default-src 'none'"),r.setHeader("X-Content-Type-Options","nosniff"),r.setHeader("Location",n),r.end(i)};ln.prototype.pipe=function(e){var r=this._root;this.res=e;var n=urt(this.path);if(n===-1)return this.error(400),e;if(~n.indexOf("\0"))return this.error(400),e;var i;if(r!==null){if(n&&(n=FG("."+qb+n)),Spe.test(n))return pi('malicious path "%s"',n),this.error(403),e;i=n.split(qb),n=FG(Npe(r,n))}else{if(Spe.test(n))return pi('malicious path "%s"',n),this.error(403),e;i=FG(n).split(qb),n=Mpe(n)}if(Art(i))switch(pi('%s dotfile "%s"',this._dotfiles,n),this._dotfiles){case"allow":break;case"deny":return this.error(403),e;default:return this.error(404),e}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(n),e):(this.sendFile(n),e)};ln.prototype.send=function(e,r){var n=r.size,i=this.options,s={},o=this.res,a=this.req,A=a.headers.range,c=i.start||0;if(o.headersSent){this.headersAlreadySent();return}if(pi('pipe "%s"',e),this.setHeader(e,r),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(n=Math.max(0,n-c),i.end!==void 0){var u=i.end-c+1;n>u&&(n=u)}if(this._acceptRanges&&nrt.test(A)){if(A=ert(n,A,{combine:!0}),this.isRangeFresh()||(pi("range stale"),A=-2),A===-1)return pi("range unsatisfiable"),o.setHeader("Content-Range",xpe("bytes",n)),this.error(416,{headers:{"Content-Range":o.getHeader("Content-Range")}});A!==-2&&A.length===1&&(pi("range %j",A),o.statusCode=206,o.setHeader("Content-Range",xpe("bytes",n,A[0])),c+=A[0].start,n=A[0].end-A[0].start+1)}for(var l in i)s[l]=i[l];if(s.start=c,s.end=Math.max(c,c+n-1),o.setHeader("Content-Length",n),a.method==="HEAD"){o.end();return}this.stream(e,s)};ln.prototype.sendFile=function(e){var r=0,n=this;pi('stat "%s"',e),$b.stat(e,function(o,a){var A=e[e.length-1]===qb;if(o&&o.code==="ENOENT"&&!Tpe(e)&&!A)return i(o);if(o)return n.onStatError(o);if(a.isDirectory())return n.redirect(e);if(A)return n.error(404);n.emit("file",e,a),n.send(e,a)});function i(s){if(n._extensions.length<=r)return s?n.onStatError(s):n.error(404);var o=e+"."+n._extensions[r++];pi('stat "%s"',o),$b.stat(o,function(a,A){if(a)return i(a);if(A.isDirectory())return i();n.emit("file",o,A),n.send(o,A)})}};ln.prototype.sendIndex=function(e){var r=-1,n=this;function i(s){if(++r>=n._index.length)return s?n.onStatError(s):n.error(404);var o=Npe(e,n._index[r]);pi('stat "%s"',o),$b.stat(o,function(a,A){if(a)return i(a);if(A.isDirectory())return i();n.emit("file",o,A),n.send(o,A)})}i()};ln.prototype.stream=function(e,r){var n=this,i=this.res,s=$b.createReadStream(e,r);this.emit("stream",s),s.pipe(i);function o(){s.destroy()}Ztt(i,o),s.on("error",function(A){o(),n.onStatError(A)}),s.on("end",function(){n.emit("end")})};ln.prototype.type=function(e){var r=this.res;if(!r.getHeader("Content-Type")){var n=Tpe(e),i=ztt.contentType(n)||"application/octet-stream";pi("content-type %s",i),r.setHeader("Content-Type",i)}};ln.prototype.setHeader=function(e,r){var n=this.res;if(this.emit("headers",n,e,r),this._acceptRanges&&!n.getHeader("Accept-Ranges")&&(pi("accept ranges"),n.setHeader("Accept-Ranges","bytes")),this._cacheControl&&!n.getHeader("Cache-Control")){var i="public, max-age="+Math.floor(this._maxage/1e3);this._immutable&&(i+=", immutable"),pi("cache-control %s",i),n.setHeader("Cache-Control",i)}if(this._lastModified&&!n.getHeader("Last-Modified")){var s=r.mtime.toUTCString();pi("modified %s",s),n.setHeader("Last-Modified",s)}if(this._etag&&!n.getHeader("ETag")){var o=Vtt(r);pi("etag %s",o),n.setHeader("ETag",o)}};function ort(t){for(let e of t.getHeaderNames())t.removeHeader(e)}function art(t){for(var e=0;e<t.length&&t[e]==="/";e++);return e>1?"/"+t.substr(e):t}function Art(t){for(var e=0;e<t.length;e++){var r=t[e];if(r.length>1&&r[0]===".")return!0}return!1}function xpe(t,e,r){return t+" "+(r?r.start+"-"+r.end:"*")+"/"+e}function Ppe(t,e){return`<!DOCTYPE html>
1637
+ `}qle.exports=WXe;function WXe(t,e,r){var n=r||{},i=n.env||process.env.NODE_ENV||"development",s=n.onerror;return function(o){var a,A,c;if(!o&&e.headersSent){nG("cannot 404 after headers sent");return}if(o?(c=ZXe(o),c===void 0?c=tZe(e):a=zXe(o),A=XXe(o,c,i)):(c=404,A="Cannot "+t.method+" "+jXe(eZe(t))),nG("default %s",c),o&&s&&setImmediate(s,o,t,e),e.headersSent){nG("cannot %d after headers sent",c),t.socket&&t.socket.destroy();return}rZe(t,e,c,a,A)}}function zXe(t){if(!(!t.headers||typeof t.headers!="object"))return{...t.headers}}function XXe(t,e,r){var n;return r!=="production"&&(n=t.stack,!n&&typeof t.toString=="function"&&(n=t.toString())),n||Yle.message[e]}function ZXe(t){if(typeof t.status=="number"&&t.status>=400&&t.status<600)return t.status;if(typeof t.statusCode=="number"&&t.statusCode>=400&&t.statusCode<600)return t.statusCode}function eZe(t){try{return qXe.original(t).pathname}catch{return"resource"}}function tZe(t){var e=t.statusCode;return(typeof e!="number"||e<400||e>599)&&(e=500),e}function rZe(t,e,r,n,i){function s(){var o=VXe(i);e.statusCode=r,t.httpVersionMajor<2&&(e.statusMessage=Yle.message[r]),e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Range");for(let[a,A]of Object.entries(n??{}))e.setHeader(a,A);if(e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Content-Type","text/html; charset=utf-8"),e.setHeader("Content-Length",Buffer.byteLength(o,"utf8")),t.method==="HEAD"){e.end();return}e.end(o,"utf8")}if($Xe(t)){s();return}t.unpipe(),jle(t,s),t.resume()}});var Zle=N((Dqt,Xle)=>{"use strict";h();var Mb=Yi()("express:view"),pE=require("node:path"),nZe=require("node:fs"),iZe=pE.dirname,zle=pE.basename,sZe=pE.extname,Vle=pE.join,oZe=pE.resolve;Xle.exports=Pb;function Pb(t,e){var r=e||{};if(this.defaultEngine=r.defaultEngine,this.ext=sZe(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var n=t;if(this.ext||(this.ext=this.defaultEngine[0]!=="."?"."+this.defaultEngine:this.defaultEngine,n+=this.ext),!r.engines[this.ext]){var i=this.ext.slice(1);Mb('require "%s"',i);var s=require(i).__express;if(typeof s!="function")throw new Error('Module "'+i+'" does not provide a view engine.');r.engines[this.ext]=s}this.engine=r.engines[this.ext],this.path=this.lookup(n)}Pb.prototype.lookup=function(e){var r,n=[].concat(this.root);Mb('lookup "%s"',e);for(var i=0;i<n.length&&!r;i++){var s=n[i],o=oZe(s,e),a=iZe(o),A=zle(o);r=this.resolve(a,A)}return r};Pb.prototype.render=function(e,r){var n=!0;Mb('render "%s"',this.path),this.engine(this.path,e,function(){if(!n)return r.apply(this,arguments);for(var s=new Array(arguments.length),o=this,a=0;a<arguments.length;a++)s[a]=arguments[a];return process.nextTick(function(){return r.apply(o,s)})}),n=!1};Pb.prototype.resolve=function(e,r){var n=this.ext,i=Vle(e,r),s=Wle(i);if(s&&s.isFile()||(i=Vle(e,zle(r,n),"index"+n),s=Wle(i),s&&s.isFile()))return i};function Wle(t){Mb('stat "%s"',t);try{return nZe.statSync(t)}catch{return}}});var iG=N((bqt,rge)=>{"use strict";h();rge.exports=cZe;var aZe=require("crypto"),ege=require("fs").Stats,tge=Object.prototype.toString;function AZe(t){if(t.length===0)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var e=aZe.createHash("sha1").update(t,"utf8").digest("base64").substring(0,27),r=typeof t=="string"?Buffer.byteLength(t,"utf8"):t.length;return'"'+r.toString(16)+"-"+e+'"'}function cZe(t,e){if(t==null)throw new TypeError("argument entity is required");var r=uZe(t),n=e&&typeof e.weak=="boolean"?e.weak:r;if(!r&&typeof t!="string"&&!Buffer.isBuffer(t))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var i=r?lZe(t):AZe(t);return n?"W/"+i:i}function uZe(t){return typeof ege=="function"&&t instanceof ege?!0:t&&typeof t=="object"&&"ctime"in t&&tge.call(t.ctime)==="[object Date]"&&"mtime"in t&&tge.call(t.mtime)==="[object Date]"&&"ino"in t&&typeof t.ino=="number"&&"size"in t&&typeof t.size=="number"}function lZe(t){var e=t.mtime.getTime().toString(16),r=t.size.toString(16);return'"'+r+"-"+e+'"'}});var ige=N((Sqt,nge)=>{"use strict";h();nge.exports=gZe;function gZe(t){if(!t)throw new TypeError("argument req is required");var e=dZe(t.headers["x-forwarded-for"]||""),r=pZe(t),n=[r].concat(e);return n}function pZe(t){return t.socket?t.socket.remoteAddress:t.connection.remoteAddress}function dZe(t){for(var e=t.length,r=[],n=t.length,i=t.length-1;i>=0;i--)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i);break;case 44:n!==e&&r.push(t.substring(n,e)),n=e=i;break;default:n=i;break}return n!==e&&r.push(t.substring(n,e)),r}});var oge=N((sge,dE)=>{h();(function(){var t,e,r,n,i,s,o,a,A;e={},a=this,typeof dE<"u"&&dE!==null&&dE.exports?dE.exports=e:a.ipaddr=e,o=function(c,u,l,d){var g,p;if(c.length!==u.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(g=0;d>0;){if(p=l-d,p<0&&(p=0),c[g]>>p!==u[g]>>p)return!1;d-=l,g+=1}return!0},e.subnetMatch=function(c,u,l){var d,g,p,f,m;l==null&&(l="unicast");for(p in u)for(f=u[p],f[0]&&!(f[0]instanceof Array)&&(f=[f]),d=0,g=f.length;d<g;d++)if(m=f[d],c.kind()===m[0].kind()&&c.match.apply(c,m))return p;return l},e.IPv4=(function(){function c(u){var l,d,g;if(u.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");for(l=0,d=u.length;l<d;l++)if(g=u[l],!(0<=g&&g<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=u}return c.prototype.kind=function(){return"ipv4"},c.prototype.toString=function(){return this.octets.join(".")},c.prototype.toNormalizedString=function(){return this.toString()},c.prototype.toByteArray=function(){return this.octets.slice(0)},c.prototype.match=function(u,l){var d;if(l===void 0&&(d=u,u=d[0],l=d[1]),u.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return o(this.octets,u.octets,8,l)},c.prototype.SpecialRanges={unspecified:[[new c([0,0,0,0]),8]],broadcast:[[new c([255,255,255,255]),32]],multicast:[[new c([224,0,0,0]),4]],linkLocal:[[new c([169,254,0,0]),16]],loopback:[[new c([127,0,0,0]),8]],carrierGradeNat:[[new c([100,64,0,0]),10]],private:[[new c([10,0,0,0]),8],[new c([172,16,0,0]),12],[new c([192,168,0,0]),16]],reserved:[[new c([192,0,0,0]),24],[new c([192,0,2,0]),24],[new c([192,88,99,0]),24],[new c([198,51,100,0]),24],[new c([203,0,113,0]),24],[new c([240,0,0,0]),4]]},c.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)},c.prototype.toIPv4MappedAddress=function(){return e.IPv6.parse("::ffff:"+this.toString())},c.prototype.prefixLengthFromSubnetMask=function(){var u,l,d,g,p,f,m;for(m={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},u=0,p=!1,l=d=3;d>=0;l=d+=-1)if(g=this.octets[l],g in m){if(f=m[g],p&&f!==0)return null;f!==8&&(p=!0),u+=f}else return null;return 32-u},c})(),r="(0?\\d+|0x[a-f0-9]+)",n={fourOctet:new RegExp("^"+r+"\\."+r+"\\."+r+"\\."+r+"$","i"),longValue:new RegExp("^"+r+"$","i")},e.IPv4.parser=function(c){var u,l,d,g,p;if(l=function(f){return f[0]==="0"&&f[1]!=="x"?parseInt(f,8):parseInt(f)},u=c.match(n.fourOctet))return(function(){var f,m,C,I;for(C=u.slice(1,6),I=[],f=0,m=C.length;f<m;f++)d=C[f],I.push(l(d));return I})();if(u=c.match(n.longValue)){if(p=l(u[1]),p>4294967295||p<0)throw new Error("ipaddr: address outside defined range");return(function(){var f,m;for(m=[],g=f=0;f<=24;g=f+=8)m.push(p>>g&255);return m})().reverse()}else return null},e.IPv6=(function(){function c(u,l){var d,g,p,f,m,C;if(u.length===16)for(this.parts=[],d=g=0;g<=14;d=g+=2)this.parts.push(u[d]<<8|u[d+1]);else if(u.length===8)this.parts=u;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(C=this.parts,p=0,f=C.length;p<f;p++)if(m=C[p],!(0<=m&&m<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");l&&(this.zoneId=l)}return c.prototype.kind=function(){return"ipv6"},c.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},c.prototype.toRFC5952String=function(){var u,l,d,g,p;for(g=/((^|:)(0(:|$)){2,})/g,p=this.toNormalizedString(),u=0,l=-1;d=g.exec(p);)d[0].length>l&&(u=d.index,l=d[0].length);return l<0?p:p.substring(0,u)+"::"+p.substring(u+l)},c.prototype.toByteArray=function(){var u,l,d,g,p;for(u=[],p=this.parts,l=0,d=p.length;l<d;l++)g=p[l],u.push(g>>8),u.push(g&255);return u},c.prototype.toNormalizedString=function(){var u,l,d;return u=(function(){var g,p,f,m;for(f=this.parts,m=[],g=0,p=f.length;g<p;g++)l=f[g],m.push(l.toString(16));return m}).call(this).join(":"),d="",this.zoneId&&(d="%"+this.zoneId),u+d},c.prototype.toFixedLengthString=function(){var u,l,d;return u=(function(){var g,p,f,m;for(f=this.parts,m=[],g=0,p=f.length;g<p;g++)l=f[g],m.push(l.toString(16).padStart(4,"0"));return m}).call(this).join(":"),d="",this.zoneId&&(d="%"+this.zoneId),u+d},c.prototype.match=function(u,l){var d;if(l===void 0&&(d=u,u=d[0],l=d[1]),u.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return o(this.parts,u.parts,16,l)},c.prototype.SpecialRanges={unspecified:[new c([0,0,0,0,0,0,0,0]),128],linkLocal:[new c([65152,0,0,0,0,0,0,0]),10],multicast:[new c([65280,0,0,0,0,0,0,0]),8],loopback:[new c([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new c([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new c([0,0,0,0,0,65535,0,0]),96],rfc6145:[new c([0,0,0,0,65535,0,0,0]),96],rfc6052:[new c([100,65435,0,0,0,0,0,0]),96],"6to4":[new c([8194,0,0,0,0,0,0,0]),16],teredo:[new c([8193,0,0,0,0,0,0,0]),32],reserved:[[new c([8193,3512,0,0,0,0,0,0]),32]]},c.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)},c.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},c.prototype.toIPv4Address=function(){var u,l,d;if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return d=this.parts.slice(-2),u=d[0],l=d[1],new e.IPv4([u>>8,u&255,l>>8,l&255])},c.prototype.prefixLengthFromSubnetMask=function(){var u,l,d,g,p,f,m;for(m={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},u=0,p=!1,l=d=7;d>=0;l=d+=-1)if(g=this.parts[l],g in m){if(f=m[g],p&&f!==0)return null;f!==16&&(p=!0),u+=f}else return null;return 128-u},c})(),i="(?:[0-9a-f]+::?)+",A="%[0-9a-z]{1,}",s={zoneIndex:new RegExp(A,"i"),native:new RegExp("^(::)?("+i+")?([0-9a-f]+)?(::)?("+A+")?$","i"),transitional:new RegExp("^((?:"+i+")|(?:::)(?:"+i+")?)"+(r+"\\."+r+"\\."+r+"\\."+r)+("("+A+")?$"),"i")},t=function(c,u){var l,d,g,p,f,m;if(c.indexOf("::")!==c.lastIndexOf("::"))return null;for(m=(c.match(s.zoneIndex)||[])[0],m&&(m=m.substring(1),c=c.replace(/%.+$/,"")),l=0,d=-1;(d=c.indexOf(":",d+1))>=0;)l++;if(c.substr(0,2)==="::"&&l--,c.substr(-2,2)==="::"&&l--,l>u)return null;for(f=u-l,p=":";f--;)p+="0:";return c=c.replace("::",p),c[0]===":"&&(c=c.slice(1)),c[c.length-1]===":"&&(c=c.slice(0,-1)),u=(function(){var C,I,y,B;for(y=c.split(":"),B=[],C=0,I=y.length;C<I;C++)g=y[C],B.push(parseInt(g,16));return B})(),{parts:u,zoneId:m}},e.IPv6.parser=function(c){var u,l,d,g,p,f,m;if(s.native.test(c))return t(c,8);if((g=c.match(s.transitional))&&(m=g[6]||"",u=t(g[1].slice(0,-1)+m,6),u.parts)){for(f=[parseInt(g[2]),parseInt(g[3]),parseInt(g[4]),parseInt(g[5])],l=0,d=f.length;l<d;l++)if(p=f[l],!(0<=p&&p<=255))return null;return u.parts.push(f[0]<<8|f[1]),u.parts.push(f[2]<<8|f[3]),{parts:u.parts,zoneId:u.zoneId}}return null},e.IPv4.isIPv4=e.IPv6.isIPv6=function(c){return this.parser(c)!==null},e.IPv4.isValid=function(c){var u;try{return new this(this.parser(c)),!0}catch(l){return u=l,!1}},e.IPv4.isValidFourPartDecimal=function(c){return!!(e.IPv4.isValid(c)&&c.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},e.IPv6.isValid=function(c){var u,l;if(typeof c=="string"&&c.indexOf(":")===-1)return!1;try{return u=this.parser(c),new this(u.parts,u.zoneId),!0}catch(d){return l=d,!1}},e.IPv4.parse=function(c){var u;if(u=this.parser(c),u===null)throw new Error("ipaddr: string is not formatted like ip address");return new this(u)},e.IPv6.parse=function(c){var u;if(u=this.parser(c),u.parts===null)throw new Error("ipaddr: string is not formatted like ip address");return new this(u.parts,u.zoneId)},e.IPv4.parseCIDR=function(c){var u,l,d;if((l=c.match(/^(.+)\/(\d+)$/))&&(u=parseInt(l[2]),u>=0&&u<=32))return d=[this.parse(l[1]),u],Object.defineProperty(d,"toString",{value:function(){return this.join("/")}}),d;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},e.IPv4.subnetMaskFromPrefixLength=function(c){var u,l,d;if(c=parseInt(c),c<0||c>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(d=[0,0,0,0],l=0,u=Math.floor(c/8);l<u;)d[l]=255,l++;return u<4&&(d[u]=Math.pow(2,c%8)-1<<8-c%8),new this(d)},e.IPv4.broadcastAddressFromCIDR=function(c){var u,l,d,g,p,f;try{for(u=this.parseCIDR(c),g=u[0].toByteArray(),f=this.subnetMaskFromPrefixLength(u[1]).toByteArray(),p=[],d=0;d<4;)p.push(parseInt(g[d],10)|parseInt(f[d],10)^255),d++;return new this(p)}catch(m){throw l=m,new Error("ipaddr: the address does not have IPv4 CIDR format")}},e.IPv4.networkAddressFromCIDR=function(c){var u,l,d,g,p,f;try{for(u=this.parseCIDR(c),g=u[0].toByteArray(),f=this.subnetMaskFromPrefixLength(u[1]).toByteArray(),p=[],d=0;d<4;)p.push(parseInt(g[d],10)&parseInt(f[d],10)),d++;return new this(p)}catch(m){throw l=m,new Error("ipaddr: the address does not have IPv4 CIDR format")}},e.IPv6.parseCIDR=function(c){var u,l,d;if((l=c.match(/^(.+)\/(\d+)$/))&&(u=parseInt(l[2]),u>=0&&u<=128))return d=[this.parse(l[1]),u],Object.defineProperty(d,"toString",{value:function(){return this.join("/")}}),d;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},e.isValid=function(c){return e.IPv6.isValid(c)||e.IPv4.isValid(c)},e.parse=function(c){if(e.IPv6.isValid(c))return e.IPv6.parse(c);if(e.IPv4.isValid(c))return e.IPv4.parse(c);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},e.parseCIDR=function(c){var u;try{return e.IPv6.parseCIDR(c)}catch(l){u=l;try{return e.IPv4.parseCIDR(c)}catch(d){throw u=d,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},e.fromByteArray=function(c){var u;if(u=c.length,u===4)return new e.IPv4(c);if(u===16)return new e.IPv6(c);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},e.process=function(c){var u;return u=this.parse(c),u.kind()==="ipv6"&&u.isIPv4MappedAddress()?u.toIPv4Address():u}}).call(sge)});var sG=N((kqt,Ub)=>{"use strict";h();Ub.exports=BZe;Ub.exports.all=cge;Ub.exports.compile=uge;var fZe=ige(),Age=oge(),hZe=/^[0-9]+$/,Lb=Age.isValid,_b=Age.parse,age={linklocal:["169.254.0.0/16","fe80::/10"],loopback:["127.0.0.1/8","::1/128"],uniquelocal:["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","fc00::/7"]};function cge(t,e){var r=fZe(t);if(!e)return r;typeof e!="function"&&(e=uge(e));for(var n=0;n<r.length-1;n++)e(r[n],n)||(r.length=n+1);return r}function uge(t){if(!t)throw new TypeError("argument is required");var e;if(typeof t=="string")e=[t];else if(Array.isArray(t))e=t.slice();else throw new TypeError("unsupported trust argument");for(var r=0;r<e.length;r++)t=e[r],Object.prototype.hasOwnProperty.call(age,t)&&(t=age[t],e.splice.apply(e,[r,1].concat(t)),r+=t.length-1);return CZe(mZe(e))}function mZe(t){for(var e=new Array(t.length),r=0;r<t.length;r++)e[r]=IZe(t[r]);return e}function CZe(t){var e=t.length;return e===0?yZe:e===1?DZe(t[0]):QZe(t)}function IZe(t){var e=t.lastIndexOf("/"),r=e!==-1?t.substring(0,e):t;if(!Lb(r))throw new TypeError("invalid IP address: "+r);var n=_b(r);e===-1&&n.kind()==="ipv6"&&n.isIPv4MappedAddress()&&(n=n.toIPv4Address());var i=n.kind()==="ipv6"?128:32,s=e!==-1?t.substring(e+1,t.length):null;if(s===null?s=i:hZe.test(s)?s=parseInt(s,10):n.kind()==="ipv4"&&Lb(s)?s=EZe(s):s=null,s<=0||s>i)throw new TypeError("invalid range on address: "+t);return[n,s]}function EZe(t){var e=_b(t),r=e.kind();return r==="ipv4"?e.prefixLengthFromSubnetMask():null}function BZe(t,e){if(!t)throw new TypeError("req argument is required");if(!e)throw new TypeError("trust argument is required");var r=cge(t,e),n=r[r.length-1];return n}function yZe(){return!1}function QZe(t){return function(r){if(!Lb(r))return!1;for(var n=_b(r),i,s=n.kind(),o=0;o<t.length;o++){var a=t[o],A=a[0],c=A.kind(),u=a[1],l=n;if(s!==c){if(c==="ipv4"&&!n.isIPv4MappedAddress())continue;i||(i=c==="ipv4"?n.toIPv4Address():n.toIPv4MappedAddress()),l=i}if(l.match(A,u))return!0}return!1}}function DZe(t){var e=t[0],r=e.kind(),n=r==="ipv4",i=t[1];return function(o){if(!Lb(o))return!1;var a=_b(o),A=a.kind();if(A!==r){if(n&&!a.isIPv4MappedAddress())return!1;a=n?a.toIPv4Address():a.toIPv4MappedAddress()}return a.match(e,i)}}});var el=N(Ks=>{"use strict";h();var{METHODS:wZe}=require("node:http"),lge=fb(),bZe=iG(),vZe=Of(),SZe=sG(),xZe=eG(),FZe=require("node:querystring"),{Buffer:gge}=require("node:buffer");Ks.methods=wZe.map(t=>t.toLowerCase());Ks.etag=pge({weak:!1});Ks.wetag=pge({weak:!0});Ks.normalizeType=function(t){return~t.indexOf("/")?kZe(t):{value:vZe.lookup(t)||"application/octet-stream",params:{}}};Ks.normalizeTypes=function(t){return t.map(Ks.normalizeType)};function kZe(t){for(var e=t.length,r=t.indexOf(";"),n=r===-1?e:r,i={value:t.slice(0,n).trim(),quality:1,params:{}};n<e;){var s=t.indexOf("=",n);if(s===-1)break;var r=t.indexOf(";",n),o=r===-1?e:r;if(s>o){n=t.lastIndexOf(";",s-1)+1;continue}var a=t.slice(n,s).trim(),A=t.slice(s+1,o).trim();a==="q"?i.quality=parseFloat(A):i.params[a]=A,n=o+1}return i}Ks.compileETag=function(t){var e;if(typeof t=="function")return t;switch(t){case!0:case"weak":e=Ks.wetag;break;case!1:break;case"strong":e=Ks.etag;break;default:throw new TypeError("unknown value for etag function: "+t)}return e};Ks.compileQueryParser=function(e){var r;if(typeof e=="function")return e;switch(e){case!0:case"simple":r=FZe.parse;break;case!1:break;case"extended":r=RZe;break;default:throw new TypeError("unknown value for query parser function: "+e)}return r};Ks.compileTrust=function(t){return typeof t=="function"?t:t===!0?function(){return!0}:typeof t=="number"?function(e,r){return r<t}:(typeof t=="string"&&(t=t.split(",").map(function(e){return e.trim()})),SZe.compile(t||[]))};Ks.setCharset=function(e,r){if(!e||!r)return e;var n=lge.parse(e);return n.parameters.charset=r,lge.format(n)};function pge(t){return function(r,n){var i=gge.isBuffer(r)?r:gge.from(r,n);return bZe(i,t)}}function RZe(t){return xZe.parse(t,{allowPrototypes:!0})}});var hge=N((Mqt,fge)=>{h();fge.exports=dge;function dge(t,e){if(t&&e)return dge(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];var s=t.apply(this,n),o=n[n.length-1];return typeof s=="function"&&s!==o&&Object.keys(o).forEach(function(a){s[a]=o[a]}),s}}});var Ige=N((Lqt,oG)=>{h();var mge=hge();oG.exports=mge(Gb);oG.exports.strict=mge(Cge);Gb.proto=Gb(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Gb(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return Cge(this)},configurable:!0})});function Gb(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function Cge(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var AG=N((Uqt,aG)=>{h();aG.exports=Ege;aG.exports.default=Ege;function Ege(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}});var Dge=N(bc=>{"use strict";h();Object.defineProperty(bc,"__esModule",{value:!0});bc.TokenData=void 0;bc.parse=pG;bc.compile=PZe;bc.match=_Ze;bc.pathToRegexp=Qge;bc.stringify=OZe;var uG="/",lG=t=>t,Bge=/^[$_\p{ID_Start}]$/u,gG=/^[$\u200c\u200d\p{ID_Continue}]$/u,Kb="https://git.new/pathToRegexpError",TZe={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function NZe(t){return t.replace(/[{}()\[\]+?!:*]/g,"\\$&")}function QA(t){return t.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function*MZe(t){let e=[...t],r=0;function n(){let i="";if(Bge.test(e[++r]))for(i+=e[r];gG.test(e[++r]);)i+=e[r];else if(e[r]==='"'){let s=r;for(;r<e.length;){if(e[++r]==='"'){r++,s=0;break}e[r]==="\\"?i+=e[++r]:i+=e[r]}if(s)throw new TypeError(`Unterminated quote at ${s}: ${Kb}`)}if(!i)throw new TypeError(`Missing parameter name at ${r}: ${Kb}`);return i}for(;r<e.length;){let i=e[r],s=TZe[i];if(s)yield{type:s,index:r++,value:i};else if(i==="\\")yield{type:"ESCAPED",index:r++,value:e[r++]};else if(i===":"){let o=n();yield{type:"PARAM",index:r,value:o}}else if(i==="*"){let o=n();yield{type:"WILDCARD",index:r,value:o}}else yield{type:"CHAR",index:r,value:e[r++]}}return{type:"END",index:r,value:""}}var cG=class{constructor(e){this.tokens=e}peek(){if(!this._peek){let e=this.tokens.next();this._peek=e.value}return this._peek}tryConsume(e){let r=this.peek();if(r.type===e)return this._peek=void 0,r.value}consume(e){let r=this.tryConsume(e);if(r!==void 0)return r;let{type:n,index:i}=this.peek();throw new TypeError(`Unexpected ${n} at ${i}, expected ${e}: ${Kb}`)}text(){let e="",r;for(;r=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)e+=r;return e}},Xf=class{constructor(e){this.tokens=e}};bc.TokenData=Xf;function pG(t,e={}){let{encodePath:r=lG}=e,n=new cG(MZe(t));function i(o){let a=[];for(;;){let A=n.text();A&&a.push({type:"text",value:r(A)});let c=n.tryConsume("PARAM");if(c){a.push({type:"param",name:c});continue}let u=n.tryConsume("WILDCARD");if(u){a.push({type:"wildcard",name:u});continue}if(n.tryConsume("{")){a.push({type:"group",tokens:i("}")});continue}return n.consume(o),a}}let s=i("END");return new Xf(s)}function PZe(t,e={}){let{encode:r=encodeURIComponent,delimiter:n=uG}=e,i=t instanceof Xf?t:pG(t,e),s=yge(i.tokens,n,r);return function(a={}){let[A,...c]=s(a);if(c.length)throw new TypeError(`Missing parameters: ${c.join(", ")}`);return A}}function yge(t,e,r){let n=t.map(i=>LZe(i,e,r));return i=>{let s=[""];for(let o of n){let[a,...A]=o(i);s[0]+=a,s.push(...A)}return s}}function LZe(t,e,r){if(t.type==="text")return()=>[t.value];if(t.type==="group"){let i=yge(t.tokens,e,r);return s=>{let[o,...a]=i(s);return a.length?[""]:[o]}}let n=r||lG;return t.type==="wildcard"&&r!==!1?i=>{let s=i[t.name];if(s==null)return["",t.name];if(!Array.isArray(s)||s.length===0)throw new TypeError(`Expected "${t.name}" to be a non-empty array`);return[s.map((o,a)=>{if(typeof o!="string")throw new TypeError(`Expected "${t.name}/${a}" to be a string`);return n(o)}).join(e)]}:i=>{let s=i[t.name];if(s==null)return["",t.name];if(typeof s!="string")throw new TypeError(`Expected "${t.name}" to be a string`);return[n(s)]}}function _Ze(t,e={}){let{decode:r=decodeURIComponent,delimiter:n=uG}=e,{regexp:i,keys:s}=Qge(t,e),o=s.map(a=>r===!1?lG:a.type==="param"?r:A=>A.split(n).map(r));return function(A){let c=i.exec(A);if(!c)return!1;let u=c[0],l=Object.create(null);for(let d=1;d<c.length;d++){if(c[d]===void 0)continue;let g=s[d-1],p=o[d-1];l[g.name]=p(c[d])}return{path:u,params:l}}}function Qge(t,e={}){let{delimiter:r=uG,end:n=!0,sensitive:i=!1,trailing:s=!0}=e,o=[],a=[],A=i?"":"i",u=(Array.isArray(t)?t:[t]).map(g=>g instanceof Xf?g:pG(g,e));for(let{tokens:g}of u)for(let p of Ob(g,0,[])){let f=UZe(p,r,o);a.push(f)}let l=`^(?:${a.join("|")})`;return s&&(l+=`(?:${QA(r)}$)?`),l+=n?"$":`(?=${QA(r)}|$)`,{regexp:new RegExp(l,A),keys:o}}function*Ob(t,e,r){if(e===t.length)return yield r;let n=t[e];if(n.type==="group"){let i=r.slice();for(let s of Ob(n.tokens,0,i))yield*Ob(t,e+1,s)}else r.push(n);yield*Ob(t,e+1,r)}function UZe(t,e,r){let n="",i="",s=!0;for(let o=0;o<t.length;o++){let a=t[o];if(a.type==="text"){n+=QA(a.value),i+=a.value,s||(s=a.value.includes(e));continue}if(a.type==="param"||a.type==="wildcard"){if(!s&&!i)throw new TypeError(`Missing text after "${a.name}": ${Kb}`);a.type==="param"?n+=`(${GZe(e,s?"":i)}+)`:n+="([\\s\\S]+)",r.push(a),i="",s=!1;continue}}return n}function GZe(t,e){return e.length<2?t.length<2?`[^${QA(t+e)}]`:`(?:(?!${QA(t)})[^${QA(e)}])`:t.length<2?`(?:(?!${QA(e)})[^${QA(t)}])`:`(?:(?!${QA(e)}|${QA(t)})[\\s\\S])`}function OZe(t){return t.tokens.map(function e(r,n,i){if(r.type==="text")return NZe(r.value);if(r.type==="group")return`{${r.tokens.map(e).join("")}}`;let o=KZe(r.name)&&HZe(i[n+1])?r.name:JSON.stringify(r.name);if(r.type==="param")return`:${o}`;if(r.type==="wildcard")return`*${o}`;throw new TypeError(`Unexpected token: ${r}`)}).join("")}function KZe(t){let[e,...r]=t;return Bge.test(e)?r.every(n=>gG.test(n)):!1}function HZe(t){return t?.type!=="text"?!0:!gG.test(t.value[0])}});var dG=N((Hqt,xge)=>{"use strict";h();var bge=AG(),JZe=Dge(),jZe=Yi()("router:layer"),vge=jI()("router"),YZe=/\/+$/,qZe=/\((?:\?<(.*?)>)?(?!\?)/g;xge.exports=Zf;function Zf(t,e,r){if(!(this instanceof Zf))return new Zf(t,e,r);jZe("new %o",t);let n=e||{};this.handle=r,this.keys=[],this.name=r.name||"<anonymous>",this.params=void 0,this.path=void 0,this.slash=t==="/"&&n.end===!1;function i(s){if(s instanceof RegExp){let o=[],a=0,A;for(;A=qZe.exec(s.source);)o.push({name:A[1]||a++,offset:A.index});return function(u){let l=s.exec(u);if(!l)return!1;let d={};for(let g=1;g<l.length;g++){let f=o[g-1].name,m=wge(l[g]);m!==void 0&&(d[f]=m)}return{params:d,path:l[0]}}}return JZe.match(n.strict?s:Sge(s),{sensitive:n.sensitive,end:n.end,trailing:!n.strict,decode:wge})}this.matchers=Array.isArray(t)?t.map(i):[i(t)]}Zf.prototype.handleError=function(e,r,n,i){let s=this.handle;if(s.length!==4)return i(e);try{let o=s(e,r,n,i);bge(o)&&(o instanceof Promise||vge("handlers that are Promise-like are deprecated, use a native Promise instead"),o.then(null,function(a){i(a||new Error("Rejected promise"))}))}catch(o){i(o)}};Zf.prototype.handleRequest=function(e,r,n){let i=this.handle;if(i.length>3)return n();try{let s=i(e,r,n);bge(s)&&(s instanceof Promise||vge("handlers that are Promise-like are deprecated, use a native Promise instead"),s.then(null,function(o){n(o||new Error("Rejected promise"))}))}catch(s){n(s)}};Zf.prototype.match=function(e){let r;if(e!=null){if(this.slash)return this.params={},this.path="",!0;let n=0;for(;!r&&n<this.matchers.length;)r=this.matchers[n](e),n++}return r?(this.params=r.params,this.path=r.path,this.keys=Object.keys(r.params),!0):(this.params=void 0,this.path=void 0,!1)};function wge(t){if(typeof t!="string"||t.length===0)return t;try{return decodeURIComponent(t)}catch(e){throw e instanceof URIError&&(e.message="Failed to decode param '"+t+"'",e.status=400),e}}function Sge(t){return t instanceof RegExp||t==="/"?t:Array.isArray(t)?t.map(function(e){return Sge(e)}):String(t).replace(YZe,"")}});var Mge=N((jqt,Nge)=>{"use strict";h();var Fge=Yi()("router:route"),kge=dG(),{METHODS:$Ze}=require("node:http"),Rge=Array.prototype.slice,Tge=Array.prototype.flat,VZe=$Ze.map(t=>t.toLowerCase());Nge.exports=eh;function eh(t){Fge("new %o",t),this.path=t,this.stack=[],this.methods=Object.create(null)}eh.prototype._handlesMethod=function(e){if(this.methods._all)return!0;let r=typeof e=="string"?e.toLowerCase():e;return r==="head"&&!this.methods.head&&(r="get"),!!this.methods[r]};eh.prototype._methods=function(){let e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(let r=0;r<e.length;r++)e[r]=e[r].toUpperCase();return e};eh.prototype.dispatch=function(e,r,n){let i=0,s=this.stack,o=0;if(s.length===0)return n();let a=typeof e.method=="string"?e.method.toLowerCase():e.method;a==="head"&&!this.methods.head&&(a="get"),e.route=this,A();function A(c){if(c&&c==="route")return n();if(c&&c==="router"||i>=s.length)return n(c);if(++o>100)return setImmediate(A,c);let u,l;for(;l!==!0&&i<s.length;)u=s[i++],l=!u.method||u.method===a;if(l!==!0)return n(c);c?u.handleError(c,e,r,A):u.handleRequest(e,r,A),o=0}};eh.prototype.all=function(e){let r=Tge.call(Rge.call(arguments),1/0);if(r.length===0)throw new TypeError("argument handler is required");for(let n=0;n<r.length;n++){let i=r[n];if(typeof i!="function")throw new TypeError("argument handler must be a function");let s=kge("/",{},i);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this};VZe.forEach(function(t){eh.prototype[t]=function(e){let r=Tge.call(Rge.call(arguments),1/0);if(r.length===0)throw new TypeError("argument handler is required");for(let n=0;n<r.length;n++){let i=r[n];if(typeof i!="function")throw new TypeError("argument handler must be a function");Fge("%s %s",t,this.path);let s=kge("/",{},i);s.method=t,this.methods[t]=!0,this.stack.push(s)}return this}})});var hG=N((qqt,fG)=>{"use strict";h();var WZe=AG(),Pge=dG(),{METHODS:zZe}=require("node:http"),XZe=gE(),Lge=Mge(),Hb=Yi()("router"),ZZe=jI()("router"),_ge=Array.prototype.slice,eet=Array.prototype.flat,tet=zZe.map(t=>t.toLowerCase());fG.exports=vc;fG.exports.Route=Lge;function vc(t){if(!(this instanceof vc))return new vc(t);let e=t||{};function r(n,i,s){r.handle(n,i,s)}return Object.setPrototypeOf(r,this),r.caseSensitive=e.caseSensitive,r.mergeParams=e.mergeParams,r.params={},r.strict=e.strict,r.stack=[],r}vc.prototype=function(){};vc.prototype.param=function(e,r){if(!e)throw new TypeError("argument name is required");if(typeof e!="string")throw new TypeError("argument name must be a string");if(!r)throw new TypeError("argument fn is required");if(typeof r!="function")throw new TypeError("argument fn must be a function");let n=this.params[e];return n||(n=this.params[e]=[]),n.push(r),this};vc.prototype.handle=function(e,r,n){if(!n)throw new TypeError("argument callback is required");Hb("dispatching %s %s",e.method,e.url);let i=0,s,o=iet(e.url)||"",a="",A=this,c=!1,u=0,l={},d=this.stack,g=e.params,p=e.baseUrl||"",f=Aet(n,e,"baseUrl","next","params");e.next=m,e.method==="OPTIONS"&&(s=[],f=get(f,ret(r,s))),e.baseUrl=p,e.originalUrl=e.originalUrl||e.url,m();function m(I){let y=I==="route"?null:I;if(c&&(e.url=e.url.slice(1),c=!1),a.length!==0&&(e.baseUrl=p,e.url=o+a+e.url.slice(o.length),a=""),y==="router"){setImmediate(f,null);return}if(i>=d.length){setImmediate(f,y);return}if(++u>100)return setImmediate(m,I);let B=net(e);if(B==null)return f(y);let E,D,v;for(;D!==!0&&i<d.length;){if(E=d[i++],D=set(E,B),v=E.route,typeof D!="boolean"&&(y=y||D),D!==!0||!v)continue;if(y){D=!1;continue}let S=e.method,w=v._handlesMethod(S);!w&&S==="OPTIONS"&&s&&s.push.apply(s,v._methods()),!w&&S!=="HEAD"&&(D=!1)}if(D!==!0)return f(y);v&&(e.route=v),e.params=A.mergeParams?oet(E.params,g):E.params;let Q=E.path;aet(A.params,E,l,e,r,function(S){S?m(y||S):v?E.handleRequest(e,r,m):C(E,y,Q,B),u=0})}function C(I,y,B,E){if(B.length!==0){if(B!==E.substring(0,B.length)){m(y);return}let D=E[B.length];if(D&&D!=="/"){m(y);return}Hb("trim prefix (%s) from url %s",B,e.url),a=B,e.url=o+e.url.slice(o.length+a.length),!o&&e.url[0]!=="/"&&(e.url="/"+e.url,c=!0),e.baseUrl=p+(a[a.length-1]==="/"?a.substring(0,a.length-1):a)}Hb("%s %s : %s",I.name,B,e.originalUrl),y?I.handleError(y,e,r,m):I.handleRequest(e,r,m)}};vc.prototype.use=function(e){let r=0,n="/";if(typeof e!="function"){let s=e;for(;Array.isArray(s)&&s.length!==0;)s=s[0];typeof s!="function"&&(r=1,n=e)}let i=eet.call(_ge.call(arguments,r),1/0);if(i.length===0)throw new TypeError("argument handler is required");for(let s=0;s<i.length;s++){let o=i[s];if(typeof o!="function")throw new TypeError("argument handler must be a function");Hb("use %o %s",n,o.name||"<anonymous>");let a=new Pge(n,{sensitive:this.caseSensitive,strict:!1,end:!1},o);a.route=void 0,this.stack.push(a)}return this};vc.prototype.route=function(e){let r=new Lge(e),n=new Pge(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},i);function i(s,o,a){r.dispatch(s,o,a)}return n.route=r,this.stack.push(n),r};tet.concat("all").forEach(function(t){vc.prototype[t]=function(e){let r=this.route(e);return r[t].apply(r,_ge.call(arguments,1)),this}});function ret(t,e){return function(n,i){if(i||e.length===0)return n(i);uet(t,e,n)}}function net(t){try{return XZe(t).pathname}catch{return}}function iet(t){if(typeof t!="string"||t.length===0||t[0]==="/")return;let e=t.indexOf("?"),r=e!==-1?e:t.length,n=t.substring(0,r).indexOf("://");return n!==-1?t.substring(0,t.indexOf("/",3+n)):void 0}function set(t,e){try{return t.match(e)}catch(r){return r}}function oet(t,e){if(typeof e!="object"||!e)return t;let r=Object.assign({},e);if(!(0 in t)||!(0 in e))return Object.assign(r,t);let n=0,i=0;for(;n in t;)n++;for(;i in e;)i++;for(n--;n>=0;n--)t[n+i]=t[n],n<i&&delete t[n];return Object.assign(r,t)}function aet(t,e,r,n,i,s){let o=e.keys;if(!o||o.length===0)return s();let a=0,A=0,c,u,l,d;function g(f){if(f)return s(f);if(a>=o.length)return s();if(A=0,c=o[a++],u=n.params[c],l=t[c],d=r[c],u===void 0||!l)return g();if(d&&(d.match===u||d.error&&d.error!=="route"))return n.params[c]=d.value,g(d.error);r[c]=d={error:null,match:u,value:u},p()}function p(f){let m=l[A++];if(d.value=n.params[c],f){d.error=f,g(f);return}if(!m)return g();try{let C=m(n,i,p,u,c);WZe(C)&&(C instanceof Promise||ZZe("parameters that are Promise-like are deprecated, use a native Promise instead"),C.then(null,function(I){p(I||new Error("Rejected promise"))}))}catch(C){p(C)}}g()}function Aet(t,e){let r=new Array(arguments.length-2),n=new Array(arguments.length-2);for(let i=0;i<r.length;i++)r[i]=arguments[i+2],n[i]=e[r[i]];return function(){for(let i=0;i<r.length;i++)e[r[i]]=n[i];return t.apply(this,arguments)}}function cet(t,e){let r=Object.create(null);for(let i=0;i<e.length;i++)r[e[i]]=!0;let n=Object.keys(r).sort().join(", ");t.setHeader("Allow",n),t.setHeader("Content-Length",Buffer.byteLength(n)),t.setHeader("Content-Type","text/plain"),t.setHeader("X-Content-Type-Options","nosniff"),t.end(n)}function uet(t,e,r){try{cet(t,e)}catch(n){r(n)}}function get(t,e){return function(){let n=new Array(arguments.length+1);n[0]=t;for(let i=0,s=arguments.length;i<s;i++)n[i+1]=arguments[i];e.apply(this,n)}}});var Oge=N((Uge,Gge)=>{"use strict";h();var pet=$le(),IG=Yi()("express:application"),det=Zle(),fet=require("node:http"),mG=el().methods,het=el().compileETag,met=el().compileQueryParser,Cet=el().compileTrust,Iet=require("node:path").resolve,Eet=Ige(),Bet=hG(),Jb=Array.prototype.slice,yet=Array.prototype.flat,gi=Uge=Gge.exports={},CG="@@symbol:trust_proxy_default";gi.init=function(){var e=null;this.cache=Object.create(null),this.engines=Object.create(null),this.settings=Object.create(null),this.defaultConfiguration(),Object.defineProperty(this,"router",{configurable:!0,enumerable:!0,get:function(){return e===null&&(e=new Bet({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")})),e}})};gi.defaultConfiguration=function(){var e=process.env.NODE_ENV||"development";this.enable("x-powered-by"),this.set("etag","weak"),this.set("env",e),this.set("query parser","simple"),this.set("subdomain offset",2),this.set("trust proxy",!1),Object.defineProperty(this.settings,CG,{configurable:!0,value:!0}),IG("booting in %s mode",e),this.on("mount",function(n){this.settings[CG]===!0&&typeof n.settings["trust proxy fn"]=="function"&&(delete this.settings["trust proxy"],delete this.settings["trust proxy fn"]),Object.setPrototypeOf(this.request,n.request),Object.setPrototypeOf(this.response,n.response),Object.setPrototypeOf(this.engines,n.engines),Object.setPrototypeOf(this.settings,n.settings)}),this.locals=Object.create(null),this.mountpath="/",this.locals.settings=this.settings,this.set("view",det),this.set("views",Iet("views")),this.set("jsonp callback name","callback"),e==="production"&&this.enable("view cache")};gi.handle=function(e,r,n){var i=n||pet(e,r,{env:this.get("env"),onerror:Qet.bind(this)});this.enabled("x-powered-by")&&r.setHeader("X-Powered-By","Express"),e.res=r,r.req=e,Object.setPrototypeOf(e,this.request),Object.setPrototypeOf(r,this.response),r.locals||(r.locals=Object.create(null)),this.router.handle(e,r,i)};gi.use=function(e){var r=0,n="/";if(typeof e!="function"){for(var i=e;Array.isArray(i)&&i.length!==0;)i=i[0];typeof i!="function"&&(r=1,n=e)}var s=yet.call(Jb.call(arguments,r),1/0);if(s.length===0)throw new TypeError("app.use() requires a middleware function");var o=this.router;return s.forEach(function(a){if(!a||!a.handle||!a.set)return o.use(n,a);IG(".use app under %s",n),a.mountpath=n,a.parent=this,o.use(n,function(c,u,l){var d=c.app;a.handle(c,u,function(g){Object.setPrototypeOf(c,d.request),Object.setPrototypeOf(u,d.response),l(g)})}),a.emit("mount",this)},this),this};gi.route=function(e){return this.router.route(e)};gi.engine=function(e,r){if(typeof r!="function")throw new Error("callback function required");var n=e[0]!=="."?"."+e:e;return this.engines[n]=r,this};gi.param=function(e,r){if(Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],r);return this}return this.router.param(e,r),this};gi.set=function(e,r){if(arguments.length===1)return this.settings[e];switch(IG('set "%s" to %o',e,r),this.settings[e]=r,e){case"etag":this.set("etag fn",het(r));break;case"query parser":this.set("query parser fn",met(r));break;case"trust proxy":this.set("trust proxy fn",Cet(r)),Object.defineProperty(this.settings,CG,{configurable:!0,value:!1});break}return this};gi.path=function(){return this.parent?this.parent.path()+this.mountpath:""};gi.enabled=function(e){return!!this.set(e)};gi.disabled=function(e){return!this.set(e)};gi.enable=function(e){return this.set(e,!0)};gi.disable=function(e){return this.set(e,!1)};mG.forEach(function(t){gi[t]=function(e){if(t==="get"&&arguments.length===1)return this.set(e);var r=this.route(e);return r[t].apply(r,Jb.call(arguments,1)),this}});gi.all=function(e){for(var r=this.route(e),n=Jb.call(arguments,1),i=0;i<mG.length;i++)r[mG[i]].apply(r,n);return this};gi.render=function(e,r,n){var i=this.cache,s=n,o=this.engines,a=r,A;typeof r=="function"&&(s=r,a={});var c={...this.locals,...a._locals,...a};if(c.cache==null&&(c.cache=this.enabled("view cache")),c.cache&&(A=i[e]),!A){var u=this.get("view");if(A=new u(e,{defaultEngine:this.get("view engine"),root:this.get("views"),engines:o}),!A.path){var l=Array.isArray(A.root)&&A.root.length>1?'directories "'+A.root.slice(0,-1).join('", "')+'" or "'+A.root[A.root.length-1]+'"':'directory "'+A.root+'"',d=new Error('Failed to lookup view "'+e+'" in views '+l);return d.view=A,s(d)}c.cache&&(i[e]=A)}Det(A,c,s)};gi.listen=function(){var e=fet.createServer(this),r=Jb.call(arguments);if(typeof r[r.length-1]=="function"){var n=r[r.length-1]=Eet(r[r.length-1]);e.once("error",n)}return e.listen.apply(e,r)};function Qet(t){this.get("env")!=="test"&&console.error(t.stack||t.toString())}function Det(t,e,r){try{t.render(e,r)}catch(n){r(n)}}});var jge=N((Wqt,EG)=>{"use strict";h();EG.exports=Jge;EG.exports.preferredCharsets=Jge;var wet=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function bet(t){for(var e=t.split(","),r=0,n=0;r<e.length;r++){var i=vet(e[r].trim(),r);i&&(e[n++]=i)}return e.length=n,e}function vet(t,e){var r=wet.exec(t);if(!r)return null;var n=r[1],i=1;if(r[2])for(var s=r[2].split(";"),o=0;o<s.length;o++){var a=s[o].trim().split("=");if(a[0]==="q"){i=parseFloat(a[1]);break}}return{charset:n,q:i,i:e}}function xet(t,e,r){for(var n={o:-1,q:0,s:0},i=0;i<e.length;i++){var s=Fet(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function Fet(t,e,r){var n=0;if(e.charset.toLowerCase()===t.toLowerCase())n|=1;else if(e.charset!=="*")return null;return{i:r,o:e.i,q:e.q,s:n}}function Jge(t,e){var r=bet(t===void 0?"*":t||"");if(!e)return r.filter(Hge).sort(Kge).map(ket);var n=e.map(function(s,o){return xet(s,r,o)});return n.filter(Hge).sort(Kge).map(function(s){return e[n.indexOf(s)]})}function Kge(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function ket(t){return t.charset}function Hge(t){return t.q>0}});var Vge=N((Xqt,BG)=>{"use strict";h();BG.exports=$ge;BG.exports.preferredEncodings=$ge;var Ret=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function Tet(t){for(var e=t.split(","),r=!1,n=1,i=0,s=0;i<e.length;i++){var o=Net(e[i].trim(),i);o&&(e[s++]=o,r=r||qge("identity",o),n=Math.min(n,o.q||1))}return r||(e[s++]={encoding:"identity",q:n,i}),e.length=s,e}function Net(t,e){var r=Ret.exec(t);if(!r)return null;var n=r[1],i=1;if(r[2])for(var s=r[2].split(";"),o=0;o<s.length;o++){var a=s[o].trim().split("=");if(a[0]==="q"){i=parseFloat(a[1]);break}}return{encoding:n,q:i,i:e}}function Met(t,e,r){for(var n={encoding:t,o:-1,q:0,s:0},i=0;i<e.length;i++){var s=qge(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function qge(t,e,r){var n=0;if(e.encoding.toLowerCase()===t.toLowerCase())n|=1;else if(e.encoding!=="*")return null;return{encoding:t,i:r,o:e.i,q:e.q,s:n}}function $ge(t,e,r){var n=Tet(t||""),i=r?function(a,A){if(a.q!==A.q)return A.q-a.q;var c=r.indexOf(a.encoding),u=r.indexOf(A.encoding);return c===-1&&u===-1?A.s-a.s||a.o-A.o||a.i-A.i:c!==-1&&u!==-1?c-u:c===-1?1:-1}:Pet;if(!e)return n.filter(Yge).sort(i).map(Let);var s=e.map(function(a,A){return Met(a,n,A)});return s.filter(Yge).sort(i).map(function(a){return e[s.indexOf(a)]})}function Pet(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i}function Let(t){return t.encoding}function Yge(t){return t.q>0}});var epe=N((e5t,yG)=>{"use strict";h();yG.exports=Zge;yG.exports.preferredLanguages=Zge;var _et=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function Uet(t){for(var e=t.split(","),r=0,n=0;r<e.length;r++){var i=Xge(e[r].trim(),r);i&&(e[n++]=i)}return e.length=n,e}function Xge(t,e){var r=_et.exec(t);if(!r)return null;var n=r[1],i=r[2],s=n;i&&(s+="-"+i);var o=1;if(r[3])for(var a=r[3].split(";"),A=0;A<a.length;A++){var c=a[A].split("=");c[0]==="q"&&(o=parseFloat(c[1]))}return{prefix:n,suffix:i,q:o,i:e,full:s}}function Get(t,e,r){for(var n={o:-1,q:0,s:0},i=0;i<e.length;i++){var s=Oet(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function Oet(t,e,r){var n=Xge(t);if(!n)return null;var i=0;if(e.full.toLowerCase()===n.full.toLowerCase())i|=4;else if(e.prefix.toLowerCase()===n.full.toLowerCase())i|=2;else if(e.full.toLowerCase()===n.prefix.toLowerCase())i|=1;else if(e.full!=="*")return null;return{i:r,o:e.i,q:e.q,s:i}}function Zge(t,e){var r=Uet(t===void 0?"*":t||"");if(!e)return r.filter(zge).sort(Wge).map(Ket);var n=e.map(function(s,o){return Get(s,r,o)});return n.filter(zge).sort(Wge).map(function(s){return e[n.indexOf(s)]})}function Wge(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function Ket(t){return t.full}function zge(t){return t.q>0}});var ope=N((r5t,QG)=>{"use strict";h();QG.exports=ipe;QG.exports.preferredMediaTypes=ipe;var Het=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function Jet(t){for(var e=Vet(t),r=0,n=0;r<e.length;r++){var i=npe(e[r].trim(),r);i&&(e[n++]=i)}return e.length=n,e}function npe(t,e){var r=Het.exec(t);if(!r)return null;var n=Object.create(null),i=1,s=r[2],o=r[1];if(r[3])for(var a=Wet(r[3]).map($et),A=0;A<a.length;A++){var c=a[A],u=c[0].toLowerCase(),l=c[1],d=l&&l[0]==='"'&&l[l.length-1]==='"'?l.slice(1,-1):l;if(u==="q"){i=parseFloat(d);break}n[u]=d}return{type:o,subtype:s,params:n,q:i,i:e}}function jet(t,e,r){for(var n={o:-1,q:0,s:0},i=0;i<e.length;i++){var s=Yet(t,e[i],r);s&&(n.s-s.s||n.q-s.q||n.o-s.o)<0&&(n=s)}return n}function Yet(t,e,r){var n=npe(t),i=0;if(!n)return null;if(e.type.toLowerCase()==n.type.toLowerCase())i|=4;else if(e.type!="*")return null;if(e.subtype.toLowerCase()==n.subtype.toLowerCase())i|=2;else if(e.subtype!="*")return null;var s=Object.keys(e.params);if(s.length>0)if(s.every(function(o){return e.params[o]=="*"||(e.params[o]||"").toLowerCase()==(n.params[o]||"").toLowerCase()}))i|=1;else return null;return{i:r,o:e.i,q:e.q,s:i}}function ipe(t,e){var r=Jet(t===void 0?"*/*":t||"");if(!e)return r.filter(rpe).sort(tpe).map(qet);var n=e.map(function(s,o){return jet(s,r,o)});return n.filter(rpe).sort(tpe).map(function(s){return e[n.indexOf(s)]})}function tpe(t,e){return e.q-t.q||e.s-t.s||t.o-e.o||t.i-e.i||0}function qet(t){return t.type+"/"+t.subtype}function rpe(t){return t.q>0}function spe(t){for(var e=0,r=0;(r=t.indexOf('"',r))!==-1;)e++,r++;return e}function $et(t){var e=t.indexOf("="),r,n;return e===-1?r=t:(r=t.slice(0,e),n=t.slice(e+1)),[r,n]}function Vet(t){for(var e=t.split(","),r=1,n=0;r<e.length;r++)spe(e[n])%2==0?e[++n]=e[r]:e[n]+=","+e[r];return e.length=n+1,e}function Wet(t){for(var e=t.split(";"),r=1,n=0;r<e.length;r++)spe(e[n])%2==0?e[++n]=e[r]:e[n]+=";"+e[r];e.length=n+1;for(var r=0;r<e.length;r++)e[r]=e[r].trim();return e}});var ape=N((i5t,DG)=>{"use strict";h();var zet=jge(),Xet=Vge(),Zet=epe(),ett=ope();DG.exports=pr;DG.exports.Negotiator=pr;function pr(t){if(!(this instanceof pr))return new pr(t);this.request=t}pr.prototype.charset=function(e){var r=this.charsets(e);return r&&r[0]};pr.prototype.charsets=function(e){return zet(this.request.headers["accept-charset"],e)};pr.prototype.encoding=function(e,r){var n=this.encodings(e,r);return n&&n[0]};pr.prototype.encodings=function(e,r){var n=r||{};return Xet(this.request.headers["accept-encoding"],e,n.preferred)};pr.prototype.language=function(e){var r=this.languages(e);return r&&r[0]};pr.prototype.languages=function(e){return Zet(this.request.headers["accept-language"],e)};pr.prototype.mediaType=function(e){var r=this.mediaTypes(e);return r&&r[0]};pr.prototype.mediaTypes=function(e){return ett(this.request.headers.accept,e)};pr.prototype.preferredCharset=pr.prototype.charset;pr.prototype.preferredCharsets=pr.prototype.charsets;pr.prototype.preferredEncoding=pr.prototype.encoding;pr.prototype.preferredEncodings=pr.prototype.encodings;pr.prototype.preferredLanguage=pr.prototype.language;pr.prototype.preferredLanguages=pr.prototype.languages;pr.prototype.preferredMediaType=pr.prototype.mediaType;pr.prototype.preferredMediaTypes=pr.prototype.mediaTypes});var cpe=N((o5t,Ape)=>{"use strict";h();var ttt=ape(),rtt=Of();Ape.exports=Hs;function Hs(t){if(!(this instanceof Hs))return new Hs(t);this.headers=t.headers,this.negotiator=new ttt(t)}Hs.prototype.type=Hs.prototype.types=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}if(!e||e.length===0)return this.negotiator.mediaTypes();if(!this.headers.accept)return e[0];var n=e.map(ntt),i=this.negotiator.mediaTypes(n.filter(itt)),s=i[0];return s?e[n.indexOf(s)]:!1};Hs.prototype.encoding=Hs.prototype.encodings=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}return!e||e.length===0?this.negotiator.encodings():this.negotiator.encodings(e)[0]||!1};Hs.prototype.charset=Hs.prototype.charsets=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}return!e||e.length===0?this.negotiator.charsets():this.negotiator.charsets(e)[0]||!1};Hs.prototype.lang=Hs.prototype.langs=Hs.prototype.language=Hs.prototype.languages=function(t){var e=t;if(e&&!Array.isArray(e)){e=new Array(arguments.length);for(var r=0;r<e.length;r++)e[r]=arguments[r]}return!e||e.length===0?this.negotiator.languages():this.negotiator.languages(e)[0]||!1};function ntt(t){return t.indexOf("/")===-1?rtt.lookup(t):t}function itt(t){return typeof t=="string"}});var wG=N((A5t,lpe)=>{"use strict";h();var stt=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;lpe.exports=ott;function ott(t,e){var r=t["if-modified-since"],n=t["if-none-match"];if(!r&&!n)return!1;var i=t["cache-control"];if(i&&stt.test(i))return!1;if(n){if(n==="*")return!0;var s=e.etag;if(!s)return!1;for(var o=att(n),a=0;a<o.length;a++){var A=o[a];if(A===s||A==="W/"+s||"W/"+A===s)return!0}return!1}if(r){var c=e["last-modified"],u=!c||!(upe(c)<=upe(r));if(u)return!1}return!0}function upe(t){var e=t&&Date.parse(t);return typeof e=="number"?e:NaN}function att(t){for(var e=0,r=[],n=0,i=0,s=t.length;i<s;i++)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i+1);break;case 44:r.push(t.substring(n,e)),n=e=i+1;break;default:e=i+1;break}return r.push(t.substring(n,e)),r}});var bG=N((u5t,gpe)=>{"use strict";h();gpe.exports=Att;function Att(t,e,r){if(typeof e!="string")throw new TypeError("argument str must be a string");var n=e.indexOf("=");if(n===-1)return-2;var i=e.slice(n+1).split(","),s=[];s.type=e.slice(0,n);for(var o=0;o<i.length;o++){var a=i[o].split("-"),A=parseInt(a[0],10),c=parseInt(a[1],10);isNaN(A)?(A=t-c,c=t-1):isNaN(c)&&(c=t-1),c>t-1&&(c=t-1),!(isNaN(A)||isNaN(c)||A>c||A<0)&&s.push({start:A,end:c})}return s.length<1?-1:r&&r.combine?ctt(s):s}function ctt(t){for(var e=t.map(utt).sort(ptt),r=0,n=1;n<e.length;n++){var i=e[n],s=e[r];i.start>s.end+1?e[++r]=i:i.end>s.end&&(s.end=i.end,s.index=Math.min(s.index,i.index))}e.length=r+1;var o=e.sort(gtt).map(ltt);return o.type=t.type,o}function utt(t,e){return{start:t.start,end:t.end,index:e}}function ltt(t){return{start:t.start,end:t.end}}function gtt(t,e){return t.index-e.index}function ptt(t,e){return t.start-e.start}});var hpe=N((g5t,fpe)=>{"use strict";h();var jb=cpe(),dtt=require("node:net").isIP,ftt=mb(),htt=require("node:http"),mtt=wG(),Ctt=bG(),ppe=gE(),dpe=sG(),un=Object.create(htt.IncomingMessage.prototype);fpe.exports=un;un.get=un.header=function(e){if(!e)throw new TypeError("name argument is required to req.get");if(typeof e!="string")throw new TypeError("name must be a string to req.get");var r=e.toLowerCase();switch(r){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[r]}};un.accepts=function(){var t=jb(this);return t.types.apply(t,arguments)};un.acceptsEncodings=function(){var t=jb(this);return t.encodings.apply(t,arguments)};un.acceptsCharsets=function(){var t=jb(this);return t.charsets.apply(t,arguments)};un.acceptsLanguages=function(...t){return jb(this).languages(...t)};un.range=function(e,r){var n=this.get("Range");if(n)return Ctt(e,n,r)};Eo(un,"query",function(){var e=this.app.get("query parser fn");if(!e)return Object.create(null);var r=ppe(this).query;return e(r)});un.is=function(e){var r=e;if(!Array.isArray(e)){r=new Array(arguments.length);for(var n=0;n<r.length;n++)r[n]=arguments[n]}return ftt(this,r)};Eo(un,"protocol",function(){var e=this.socket.encrypted?"https":"http",r=this.app.get("trust proxy fn");if(!r(this.socket.remoteAddress,0))return e;var n=this.get("X-Forwarded-Proto")||e,i=n.indexOf(",");return i!==-1?n.substring(0,i).trim():n.trim()});Eo(un,"secure",function(){return this.protocol==="https"});Eo(un,"ip",function(){var e=this.app.get("trust proxy fn");return dpe(this,e)});Eo(un,"ips",function(){var e=this.app.get("trust proxy fn"),r=dpe.all(this,e);return r.reverse().pop(),r});Eo(un,"subdomains",function(){var e=this.hostname;if(!e)return[];var r=this.app.get("subdomain offset"),n=dtt(e)?[e]:e.split(".").reverse();return n.slice(r)});Eo(un,"path",function(){return ppe(this).pathname});Eo(un,"host",function(){var e=this.app.get("trust proxy fn"),r=this.get("X-Forwarded-Host");return!r||!e(this.socket.remoteAddress,0)?r=this.get("Host"):r.indexOf(",")!==-1&&(r=r.substring(0,r.indexOf(",")).trimRight()),r||void 0});Eo(un,"hostname",function(){var e=this.host;if(e){var r=e[0]==="["?e.indexOf("]")+1:0,n=e.indexOf(":",r);return n!==-1?e.substring(0,n):e}});Eo(un,"fresh",function(){var t=this.method,e=this.res,r=e.statusCode;return t!=="GET"&&t!=="HEAD"?!1:r>=200&&r<300||r===304?mtt(this.headers,{etag:e.get("ETag"),"last-modified":e.get("Last-Modified")}):!1});Eo(un,"stale",function(){return!this.fresh});Eo(un,"xhr",function(){var e=this.get("X-Requested-With")||"";return e.toLowerCase()==="xmlhttprequest"});function Eo(t,e,r){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:r})}});var ype=N((d5t,vG)=>{"use strict";h();vG.exports=Stt;vG.exports.parse=Rtt;var mpe=require("path").basename,Itt=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,Ett=/%[0-9A-Fa-f]{2}/,Btt=/%([0-9A-Fa-f]{2})/g,Ipe=/[^\x20-\x7e\xa0-\xff]/g,ytt=/\\([\u0000-\u007f])/g,Qtt=/([\\"])/g,Cpe=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,Dtt=/^[\x20-\x7e\x80-\xff]+$/,wtt=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,btt=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,vtt=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function Stt(t,e){var r=e||{},n=r.type||"attachment",i=xtt(t,r.fallback);return Ftt(new Bpe(n,i))}function xtt(t,e){if(t!==void 0){var r={};if(typeof t!="string")throw new TypeError("filename must be a string");if(e===void 0&&(e=!0),typeof e!="string"&&typeof e!="boolean")throw new TypeError("fallback must be a string or boolean");if(typeof e=="string"&&Ipe.test(e))throw new TypeError("fallback must be ISO-8859-1 string");var n=mpe(t),i=Dtt.test(n),s=typeof e!="string"?e&&Epe(n):mpe(e),o=typeof s=="string"&&s!==n;return(o||!i||Ett.test(n))&&(r["filename*"]=n),(i||o)&&(r.filename=o?s:n),r}}function Ftt(t){var e=t.parameters,r=t.type;if(!r||typeof r!="string"||!wtt.test(r))throw new TypeError("invalid type");var n=String(r).toLowerCase();if(e&&typeof e=="object")for(var i,s=Object.keys(e).sort(),o=0;o<s.length;o++){i=s[o];var a=i.slice(-1)==="*"?Ptt(e[i]):Mtt(e[i]);n+="; "+i+"="+a}return n}function ktt(t){var e=btt.exec(t);if(!e)throw new TypeError("invalid extended field value");var r=e[1].toLowerCase(),n=e[2],i,s=n.replace(Btt,Ttt);switch(r){case"iso-8859-1":i=Epe(s);break;case"utf-8":case"utf8":i=Buffer.from(s,"binary").toString("utf8");break;default:throw new TypeError("unsupported charset in extended field")}return i}function Epe(t){return String(t).replace(Ipe,"?")}function Rtt(t){if(!t||typeof t!="string")throw new TypeError("argument string is required");var e=vtt.exec(t);if(!e)throw new TypeError("invalid type format");var r=e[0].length,n=e[1].toLowerCase(),i,s=[],o={},a;for(r=Cpe.lastIndex=e[0].slice(-1)===";"?r-1:r;e=Cpe.exec(t);){if(e.index!==r)throw new TypeError("invalid parameter format");if(r+=e[0].length,i=e[1].toLowerCase(),a=e[2],s.indexOf(i)!==-1)throw new TypeError("invalid duplicate parameter");if(s.push(i),i.indexOf("*")+1===i.length){i=i.slice(0,-1),a=ktt(a),o[i]=a;continue}typeof o[i]!="string"&&(a[0]==='"'&&(a=a.slice(1,-1).replace(ytt,"$1")),o[i]=a)}if(r!==-1&&r!==t.length)throw new TypeError("invalid parameter format");return new Bpe(n,o)}function Ttt(t,e){return String.fromCharCode(parseInt(e,16))}function Ntt(t){return"%"+String(t).charCodeAt(0).toString(16).toUpperCase()}function Mtt(t){var e=String(t);return'"'+e.replace(Qtt,"\\$1")+'"'}function Ptt(t){var e=String(t),r=encodeURIComponent(e).replace(Itt,Ntt);return"UTF-8''"+r}function Bpe(t,e){this.type=t,this.parameters=e}});var Dpe=N(Yb=>{h();var Qpe=require("crypto");Yb.sign=function(t,e){if(typeof t!="string")throw new TypeError("Cookie value must be provided as a string.");if(e==null)throw new TypeError("Secret key must be provided.");return t+"."+Qpe.createHmac("sha256",e).update(t).digest("base64").replace(/\=+$/,"")};Yb.unsign=function(t,e){if(typeof t!="string")throw new TypeError("Signed cookie string must be provided.");if(e==null)throw new TypeError("Secret key must be provided.");var r=t.slice(0,t.lastIndexOf(".")),n=Yb.sign(r,e),i=Buffer.from(n),s=Buffer.from(t);return i.length===s.length&&Qpe.timingSafeEqual(i,s)?r:!1}});var vpe=N(SG=>{"use strict";h();SG.parse=Htt;SG.serialize=Jtt;var Ltt=Object.prototype.toString,_tt=Object.prototype.hasOwnProperty,Utt=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Gtt=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,Ott=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,Ktt=/^[\u0020-\u003A\u003D-\u007E]*$/;function Htt(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");var r={},n=t.length;if(n<2)return r;var i=e&&e.decode||jtt,s=0,o=0,a=0;do{if(o=t.indexOf("=",s),o===-1)break;if(a=t.indexOf(";",s),a===-1)a=n;else if(o>a){s=t.lastIndexOf(";",o-1)+1;continue}var A=wpe(t,s,o),c=bpe(t,o,A),u=t.slice(A,c);if(!_tt.call(r,u)){var l=wpe(t,o+1,a),d=bpe(t,a,l);t.charCodeAt(l)===34&&t.charCodeAt(d-1)===34&&(l++,d--);var g=t.slice(l,d);r[u]=qtt(g,i)}s=a+1}while(s<n);return r}function wpe(t,e,r){do{var n=t.charCodeAt(e);if(n!==32&&n!==9)return e}while(++e<r);return r}function bpe(t,e,r){for(;e>r;){var n=t.charCodeAt(--e);if(n!==32&&n!==9)return e+1}return r}function Jtt(t,e,r){var n=r&&r.encode||encodeURIComponent;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!Utt.test(t))throw new TypeError("argument name is invalid");var i=n(e);if(!Gtt.test(i))throw new TypeError("argument val is invalid");var s=t+"="+i;if(!r)return s;if(r.maxAge!=null){var o=Math.floor(r.maxAge);if(!isFinite(o))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+o}if(r.domain){if(!Ott.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!Ktt.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var a=r.expires;if(!Ytt(a)||isNaN(a.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+a.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority){var A=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(A){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var c=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(c){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function jtt(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}function Ytt(t){return Ltt.call(t)==="[object Date]"}function qtt(t,e){try{return e(t)}catch{return t}}});var kG=N((E5t,_pe)=>{"use strict";h();var xG=Lf(),pi=Yi()("send"),$tt=uE(),kpe=lE(),Vtt=iG(),Wtt=wG(),$b=require("fs"),ztt=Of(),Xtt=z_(),Ztt=VI(),ert=bG(),fE=require("path"),trt=YI(),Rpe=require("stream"),rrt=require("util"),Tpe=fE.extname,Npe=fE.join,FG=fE.normalize,Mpe=fE.resolve,qb=fE.sep,nrt=/^ *bytes=/,irt=3600*24*365*1e3,Spe=/(?:^|[\\/])\.\.(?:[\\/]|$)/;_pe.exports=srt;function srt(t,e,r){return new ln(t,e,r)}function ln(t,e,r){Rpe.call(this);var n=r||{};if(this.options=n,this.path=e,this.req=t,this._acceptRanges=n.acceptRanges!==void 0?!!n.acceptRanges:!0,this._cacheControl=n.cacheControl!==void 0?!!n.cacheControl:!0,this._etag=n.etag!==void 0?!!n.etag:!0,this._dotfiles=n.dotfiles!==void 0?n.dotfiles:"ignore",this._dotfiles!=="ignore"&&this._dotfiles!=="allow"&&this._dotfiles!=="deny")throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._extensions=n.extensions!==void 0?Fpe(n.extensions,"extensions option"):[],this._immutable=n.immutable!==void 0?!!n.immutable:!1,this._index=n.index!==void 0?Fpe(n.index,"index option"):["index.html"],this._lastModified=n.lastModified!==void 0?!!n.lastModified:!0,this._maxage=n.maxAge||n.maxage,this._maxage=typeof this._maxage=="string"?Xtt(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),irt),this._root=n.root?Mpe(n.root):null}rrt.inherits(ln,Rpe);ln.prototype.error=function(e,r){if(Lpe(this,"error"))return this.emit("error",crt(e,r));var n=this.res,i=trt.message[e]||String(e),s=Ppe("Error",kpe(i));ort(n),r&&r.headers&&grt(n,r.headers),n.statusCode=e,n.setHeader("Content-Type","text/html; charset=UTF-8"),n.setHeader("Content-Length",Buffer.byteLength(s)),n.setHeader("Content-Security-Policy","default-src 'none'"),n.setHeader("X-Content-Type-Options","nosniff"),n.end(s)};ln.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]==="/"};ln.prototype.isConditionalGET=function(){return this.req.headers["if-match"]||this.req.headers["if-unmodified-since"]||this.req.headers["if-none-match"]||this.req.headers["if-modified-since"]};ln.prototype.isPreconditionFailure=function(){var e=this.req,r=this.res,n=e.headers["if-match"];if(n){var i=r.getHeader("ETag");return!i||n!=="*"&&lrt(n).every(function(a){return a!==i&&a!=="W/"+i&&"W/"+a!==i})}var s=Vb(e.headers["if-unmodified-since"]);if(!isNaN(s)){var o=Vb(r.getHeader("Last-Modified"));return isNaN(o)||o>s}return!1};ln.prototype.removeContentHeaderFields=function(){var e=this.res;e.removeHeader("Content-Encoding"),e.removeHeader("Content-Language"),e.removeHeader("Content-Length"),e.removeHeader("Content-Range"),e.removeHeader("Content-Type")};ln.prototype.notModified=function(){var e=this.res;pi("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()};ln.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");pi("headers already sent"),this.error(500,e)};ln.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||e===304};ln.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e);break}};ln.prototype.isFresh=function(){return Wtt(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})};ln.prototype.isRangeFresh=function(){var e=this.req.headers["if-range"];if(!e)return!0;if(e.indexOf('"')!==-1){var r=this.res.getHeader("ETag");return!!(r&&e.indexOf(r)!==-1)}var n=this.res.getHeader("Last-Modified");return Vb(n)<=Vb(e)};ln.prototype.redirect=function(e){var r=this.res;if(Lpe(this,"directory")){this.emit("directory",r,e);return}if(this.hasTrailingSlash()){this.error(403);return}var n=$tt(art(this.path+"/")),i=Ppe("Redirecting","Redirecting to "+kpe(n));r.statusCode=301,r.setHeader("Content-Type","text/html; charset=UTF-8"),r.setHeader("Content-Length",Buffer.byteLength(i)),r.setHeader("Content-Security-Policy","default-src 'none'"),r.setHeader("X-Content-Type-Options","nosniff"),r.setHeader("Location",n),r.end(i)};ln.prototype.pipe=function(e){var r=this._root;this.res=e;var n=urt(this.path);if(n===-1)return this.error(400),e;if(~n.indexOf("\0"))return this.error(400),e;var i;if(r!==null){if(n&&(n=FG("."+qb+n)),Spe.test(n))return pi('malicious path "%s"',n),this.error(403),e;i=n.split(qb),n=FG(Npe(r,n))}else{if(Spe.test(n))return pi('malicious path "%s"',n),this.error(403),e;i=FG(n).split(qb),n=Mpe(n)}if(Art(i))switch(pi('%s dotfile "%s"',this._dotfiles,n),this._dotfiles){case"allow":break;case"deny":return this.error(403),e;default:return this.error(404),e}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(n),e):(this.sendFile(n),e)};ln.prototype.send=function(e,r){var n=r.size,i=this.options,s={},o=this.res,a=this.req,A=a.headers.range,c=i.start||0;if(o.headersSent){this.headersAlreadySent();return}if(pi('pipe "%s"',e),this.setHeader(e,r),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(n=Math.max(0,n-c),i.end!==void 0){var u=i.end-c+1;n>u&&(n=u)}if(this._acceptRanges&&nrt.test(A)){if(A=ert(n,A,{combine:!0}),this.isRangeFresh()||(pi("range stale"),A=-2),A===-1)return pi("range unsatisfiable"),o.setHeader("Content-Range",xpe("bytes",n)),this.error(416,{headers:{"Content-Range":o.getHeader("Content-Range")}});A!==-2&&A.length===1&&(pi("range %j",A),o.statusCode=206,o.setHeader("Content-Range",xpe("bytes",n,A[0])),c+=A[0].start,n=A[0].end-A[0].start+1)}for(var l in i)s[l]=i[l];if(s.start=c,s.end=Math.max(c,c+n-1),o.setHeader("Content-Length",n),a.method==="HEAD"){o.end();return}this.stream(e,s)};ln.prototype.sendFile=function(e){var r=0,n=this;pi('stat "%s"',e),$b.stat(e,function(o,a){var A=e[e.length-1]===qb;if(o&&o.code==="ENOENT"&&!Tpe(e)&&!A)return i(o);if(o)return n.onStatError(o);if(a.isDirectory())return n.redirect(e);if(A)return n.error(404);n.emit("file",e,a),n.send(e,a)});function i(s){if(n._extensions.length<=r)return s?n.onStatError(s):n.error(404);var o=e+"."+n._extensions[r++];pi('stat "%s"',o),$b.stat(o,function(a,A){if(a)return i(a);if(A.isDirectory())return i();n.emit("file",o,A),n.send(o,A)})}};ln.prototype.sendIndex=function(e){var r=-1,n=this;function i(s){if(++r>=n._index.length)return s?n.onStatError(s):n.error(404);var o=Npe(e,n._index[r]);pi('stat "%s"',o),$b.stat(o,function(a,A){if(a)return i(a);if(A.isDirectory())return i();n.emit("file",o,A),n.send(o,A)})}i()};ln.prototype.stream=function(e,r){var n=this,i=this.res,s=$b.createReadStream(e,r);this.emit("stream",s),s.pipe(i);function o(){s.destroy()}Ztt(i,o),s.on("error",function(A){o(),n.onStatError(A)}),s.on("end",function(){n.emit("end")})};ln.prototype.type=function(e){var r=this.res;if(!r.getHeader("Content-Type")){var n=Tpe(e),i=ztt.contentType(n)||"application/octet-stream";pi("content-type %s",i),r.setHeader("Content-Type",i)}};ln.prototype.setHeader=function(e,r){var n=this.res;if(this.emit("headers",n,e,r),this._acceptRanges&&!n.getHeader("Accept-Ranges")&&(pi("accept ranges"),n.setHeader("Accept-Ranges","bytes")),this._cacheControl&&!n.getHeader("Cache-Control")){var i="public, max-age="+Math.floor(this._maxage/1e3);this._immutable&&(i+=", immutable"),pi("cache-control %s",i),n.setHeader("Cache-Control",i)}if(this._lastModified&&!n.getHeader("Last-Modified")){var s=r.mtime.toUTCString();pi("modified %s",s),n.setHeader("Last-Modified",s)}if(this._etag&&!n.getHeader("ETag")){var o=Vtt(r);pi("etag %s",o),n.setHeader("ETag",o)}};function ort(t){for(let e of t.getHeaderNames())t.removeHeader(e)}function art(t){for(var e=0;e<t.length&&t[e]==="/";e++);return e>1?"/"+t.substr(e):t}function Art(t){for(var e=0;e<t.length;e++){var r=t[e];if(r.length>1&&r[0]===".")return!0}return!1}function xpe(t,e,r){return t+" "+(r?r.start+"-"+r.end:"*")+"/"+e}function Ppe(t,e){return`<!DOCTYPE html>
1638
1638
  <html lang="en">
1639
1639
  <head>
1640
1640
  <meta charset="utf-8">
@@ -1644,7 +1644,7 @@ return fn.apply(this, arguments)
1644
1644
  <pre>`+e+`</pre>
1645
1645
  </body>
1646
1646
  </html>
1647
- `}function crt(t,e){return e?e instanceof Error?xG(t,e,{expose:!1}):xG(t,e):xG(t)}function urt(t){try{return decodeURIComponent(t)}catch{return-1}}function Lpe(t,e){var r=typeof t.listenerCount!="function"?t.listeners(e).length:t.listenerCount(e);return r>0}function Fpe(t,e){for(var r=[].concat(t||[]),n=0;n<r.length;n++)if(typeof r[n]!="string")throw new TypeError(e+" must be array of strings or false");return r}function Vb(t){var e=t&&Date.parse(t);return typeof e=="number"?e:NaN}function lrt(t){for(var e=0,r=[],n=0,i=0,s=t.length;i<s;i++)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i+1);break;case 44:n!==e&&r.push(t.substring(n,e)),n=e=i+1;break;default:e=i+1;break}return n!==e&&r.push(t.substring(n,e)),r}function grt(t,e){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];t.setHeader(i,e[i])}}});var Ope=N((y$t,RG)=>{"use strict";h();RG.exports=drt;RG.exports.append=Gpe;var prt=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Gpe(t,e){if(typeof t!="string")throw new TypeError("header argument is required");if(!e)throw new TypeError("field argument is required");for(var r=Array.isArray(e)?e:Upe(String(e)),n=0;n<r.length;n++)if(!prt.test(r[n]))throw new TypeError("field argument contains an invalid header name");if(t==="*")return t;var i=t,s=Upe(t.toLowerCase());if(r.indexOf("*")!==-1||s.indexOf("*")!==-1)return"*";for(var o=0;o<r.length;o++){var a=r[o].toLowerCase();s.indexOf(a)===-1&&(s.push(a),i=i?i+", "+r[o]:r[o])}return i}function Upe(t){for(var e=0,r=[],n=0,i=0,s=t.length;i<s;i++)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i+1);break;case 44:r.push(t.substring(n,e)),n=e=i+1;break;default:e=i+1;break}return r.push(t.substring(n,e)),r}function drt(t,e){if(!t||!t.getHeader||!t.setHeader)throw new TypeError("res argument is required");var r=t.getHeader("Vary")||"",n=Array.isArray(r)?r.join(", "):String(r);(r=Gpe(n,e))&&t.setHeader("Vary",r)}});var qpe=N((D$t,Ype)=>{"use strict";h();var Kpe=ype(),frt=Lf(),TG=jI()("express"),hrt=uE(),mrt=lE(),Crt=require("node:http"),Irt=VI(),Hpe=Of(),Jpe=require("node:path"),Ert=require("node:path").isAbsolute,NG=YI(),Brt=Dpe().sign,yrt=el().normalizeType,Qrt=el().normalizeTypes,Drt=el().setCharset,wrt=vpe(),brt=kG(),vrt=Jpe.extname,Srt=Jpe.resolve,xrt=Ope(),{Buffer:Wb}=require("node:buffer"),Yr=Object.create(Crt.ServerResponse.prototype);Ype.exports=Yr;Yr.status=function(e){if(!Number.isInteger(e))throw new TypeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be an integer.`);if(e<100||e>999)throw new RangeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be greater than 99 and less than 1000.`);return this.statusCode=e,this};Yr.links=function(t){var e=this.get("Link")||"";return e&&(e+=", "),this.set("Link",e+Object.keys(t).map(function(r){return Array.isArray(t[r])?t[r].map(function(n){return`<${n}>; rel="${r}"`}).join(", "):`<${t[r]}>; rel="${r}"`}).join(", "))};Yr.send=function(e){var r=e,n,i=this.req,s,o=this.app;switch(typeof r){case"string":this.get("Content-Type")||this.type("html");break;case"boolean":case"number":case"object":if(r===null)r="";else if(ArrayBuffer.isView(r))this.get("Content-Type")||this.type("bin");else return this.json(r);break}typeof r=="string"&&(n="utf8",s=this.get("Content-Type"),typeof s=="string"&&this.set("Content-Type",Drt(s,"utf-8")));var a=o.get("etag fn"),A=!this.get("ETag")&&typeof a=="function",c;r!==void 0&&(Wb.isBuffer(r)?c=r.length:!A&&r.length<1e3?c=Wb.byteLength(r,n):(r=Wb.from(r,n),n=void 0,c=r.length),this.set("Content-Length",c));var u;return A&&c!==void 0&&(u=a(r,n))&&this.set("ETag",u),i.fresh&&this.status(304),(this.statusCode===204||this.statusCode===304)&&(this.removeHeader("Content-Type"),this.removeHeader("Content-Length"),this.removeHeader("Transfer-Encoding"),r=""),this.statusCode===205&&(this.set("Content-Length","0"),this.removeHeader("Transfer-Encoding"),r=""),i.method==="HEAD"?this.end():this.end(r,n),this};Yr.json=function(e){var r=this.app,n=r.get("json escape"),i=r.get("json replacer"),s=r.get("json spaces"),o=jpe(e,i,s,n);return this.get("Content-Type")||this.set("Content-Type","application/json"),this.send(o)};Yr.jsonp=function(e){var r=this.app,n=r.get("json escape"),i=r.get("json replacer"),s=r.get("json spaces"),o=jpe(e,i,s,n),a=this.req.query[r.get("jsonp callback name")];return this.get("Content-Type")||(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","application/json")),Array.isArray(a)&&(a=a[0]),typeof a=="string"&&a.length!==0&&(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","text/javascript"),a=a.replace(/[^\[\]\w$.]/g,""),o===void 0?o="":typeof o=="string"&&(o=o.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")),o="/**/ typeof "+a+" === 'function' && "+a+"("+o+");"),this.send(o)};Yr.sendStatus=function(e){var r=NG.message[e]||String(e);return this.status(e),this.type("txt"),this.send(r)};Yr.sendFile=function(e,r,n){var i=n,s=this.req,o=this,a=s.next,A=r||{};if(!e)throw new TypeError("path argument is required to res.sendFile");if(typeof e!="string")throw new TypeError("path must be a string to res.sendFile");if(typeof r=="function"&&(i=r,A={}),!A.root&&!Ert(e))throw new TypeError("path must be absolute or specify root to res.sendFile");var c=encodeURI(e);A.etag=this.app.enabled("etag");var u=brt(s,c,A);Frt(o,u,A,function(l){if(i)return i(l);if(l&&l.code==="EISDIR")return a();l&&l.code!=="ECONNABORTED"&&l.syscall!=="write"&&a(l)})};Yr.download=function(e,r,n,i){var s=i,o=r,a=n||null;typeof r=="function"?(s=r,o=null,a=null):typeof n=="function"&&(s=n,a=null),typeof r=="object"&&(typeof n=="function"||n===void 0)&&(o=null,a=r);var A={"Content-Disposition":Kpe(o||e)};if(a&&a.headers)for(var c=Object.keys(a.headers),u=0;u<c.length;u++){var l=c[u];l.toLowerCase()!=="content-disposition"&&(A[l]=a.headers[l])}a=Object.create(a),a.headers=A;var d=a.root?e:Srt(e);return this.sendFile(d,a,s)};Yr.contentType=Yr.type=function(e){var r=e.indexOf("/")===-1?Hpe.contentType(e)||"application/octet-stream":e;return this.set("Content-Type",r)};Yr.format=function(t){var e=this.req,r=e.next,n=Object.keys(t).filter(function(s){return s!=="default"}),i=n.length>0?e.accepts(n):!1;return this.vary("Accept"),i?(this.set("Content-Type",yrt(i).value),t[i](e,this,r)):t.default?t.default(e,this,r):r(frt(406,{types:Qrt(n).map(function(s){return s.value})})),this};Yr.attachment=function(e){return e&&this.type(vrt(e)),this.set("Content-Disposition",Kpe(e)),this};Yr.append=function(e,r){var n=this.get(e),i=r;return n&&(i=Array.isArray(n)?n.concat(r):Array.isArray(r)?[n].concat(r):[n,r]),this.set(e,i)};Yr.set=Yr.header=function(e,r){if(arguments.length===2){var n=Array.isArray(r)?r.map(String):String(r);if(e.toLowerCase()==="content-type"){if(Array.isArray(n))throw new TypeError("Content-Type cannot be set to an Array");n=Hpe.contentType(n)}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this};Yr.get=function(t){return this.getHeader(t)};Yr.clearCookie=function(e,r){let n={path:"/",...r,expires:new Date(1)};return delete n.maxAge,this.cookie(e,"",n)};Yr.cookie=function(t,e,r){var n={...r},i=this.req.secret,s=n.signed;if(s&&!i)throw new Error('cookieParser("secret") required for signed cookies');var o=typeof e=="object"?"j:"+JSON.stringify(e):String(e);if(s&&(o="s:"+Brt(o,i)),n.maxAge!=null){var a=n.maxAge-0;isNaN(a)||(n.expires=new Date(Date.now()+a),n.maxAge=Math.floor(a/1e3))}return n.path==null&&(n.path="/"),this.append("Set-Cookie",wrt.serialize(t,String(o),n)),this};Yr.location=function(e){return this.set("Location",hrt(e))};Yr.redirect=function(e){var r=e,n,i=302;arguments.length===2&&(i=arguments[0],r=arguments[1]),r||TG("Provide a url argument"),typeof r!="string"&&TG("Url must be a string"),typeof i!="number"&&TG("Status must be a number"),r=this.location(r).get("Location"),this.format({text:function(){n=NG.message[i]+". Redirecting to "+r},html:function(){var s=mrt(r);n="<p>"+NG.message[i]+". Redirecting to "+s+"</p>"},default:function(){n=""}}),this.status(i),this.set("Content-Length",Wb.byteLength(n)),this.req.method==="HEAD"?this.end():this.end(n)};Yr.vary=function(t){return xrt(this,t),this};Yr.render=function(e,r,n){var i=this.req.app,s=n,o=r||{},a=this.req,A=this;typeof r=="function"&&(s=r,o={}),o._locals=A.locals,s=s||function(c,u){if(c)return a.next(c);A.send(u)},i.render(e,o,s)};function Frt(t,e,r,n){var i=!1,s;function o(){if(!i){i=!0;var g=new Error("Request aborted");g.code="ECONNABORTED",n(g)}}function a(){if(!i){i=!0;var g=new Error("EISDIR, read");g.code="EISDIR",n(g)}}function A(g){i||(i=!0,n(g))}function c(){i||(i=!0,n())}function u(){s=!1}function l(g){if(g&&g.code==="ECONNRESET")return o();if(g)return A(g);i||setImmediate(function(){if(s!==!1&&!i){o();return}i||(i=!0,n())})}function d(){s=!0}e.on("directory",a),e.on("end",c),e.on("error",A),e.on("file",u),e.on("stream",d),Irt(t,l),r.headers&&e.on("headers",function(p){for(var f=r.headers,m=Object.keys(f),C=0;C<m.length;C++){var I=m[C];p.setHeader(I,f[I])}}),e.pipe(t)}function jpe(t,e,r,n){var i=e||r?JSON.stringify(t,e,r):JSON.stringify(t);return n&&typeof i=="string"&&(i=i.replace(/[<>&]/g,function(s){switch(s.charCodeAt(0)){case 60:return"\\u003c";case 62:return"\\u003e";case 38:return"\\u0026";default:return s}})),i}});var Vpe=N((b$t,$pe)=>{"use strict";h();var krt=uE(),Rrt=lE(),MG=gE(),Trt=require("path").resolve,Nrt=kG(),Mrt=require("url");$pe.exports=Prt;function Prt(t,e){if(!t)throw new TypeError("root path required");if(typeof t!="string")throw new TypeError("root path must be a string");var r=Object.create(e||null),n=r.fallthrough!==!1,i=r.redirect!==!1,s=r.setHeaders;if(s&&typeof s!="function")throw new TypeError("option setHeaders must be function");r.maxage=r.maxage||r.maxAge||0,r.root=Trt(t);var o=i?Grt():Urt();return function(A,c,u){if(A.method!=="GET"&&A.method!=="HEAD"){if(n)return u();c.statusCode=405,c.setHeader("Allow","GET, HEAD"),c.setHeader("Content-Length","0"),c.end();return}var l=!n,d=MG.original(A),g=MG(A).pathname;g==="/"&&d.pathname.substr(-1)!=="/"&&(g="");var p=Nrt(A,g,r);p.on("directory",o),s&&p.on("headers",s),n&&p.on("file",function(){l=!0}),p.on("error",function(m){if(l||!(m.statusCode<500)){u(m);return}u()}),p.pipe(c)}}function Lrt(t){for(var e=0;e<t.length&&t.charCodeAt(e)===47;e++);return e>1?"/"+t.substr(e):t}function _rt(t,e){return`<!DOCTYPE html>
1647
+ `}function crt(t,e){return e?e instanceof Error?xG(t,e,{expose:!1}):xG(t,e):xG(t)}function urt(t){try{return decodeURIComponent(t)}catch{return-1}}function Lpe(t,e){var r=typeof t.listenerCount!="function"?t.listeners(e).length:t.listenerCount(e);return r>0}function Fpe(t,e){for(var r=[].concat(t||[]),n=0;n<r.length;n++)if(typeof r[n]!="string")throw new TypeError(e+" must be array of strings or false");return r}function Vb(t){var e=t&&Date.parse(t);return typeof e=="number"?e:NaN}function lrt(t){for(var e=0,r=[],n=0,i=0,s=t.length;i<s;i++)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i+1);break;case 44:n!==e&&r.push(t.substring(n,e)),n=e=i+1;break;default:e=i+1;break}return n!==e&&r.push(t.substring(n,e)),r}function grt(t,e){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];t.setHeader(i,e[i])}}});var Ope=N((y5t,RG)=>{"use strict";h();RG.exports=drt;RG.exports.append=Gpe;var prt=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Gpe(t,e){if(typeof t!="string")throw new TypeError("header argument is required");if(!e)throw new TypeError("field argument is required");for(var r=Array.isArray(e)?e:Upe(String(e)),n=0;n<r.length;n++)if(!prt.test(r[n]))throw new TypeError("field argument contains an invalid header name");if(t==="*")return t;var i=t,s=Upe(t.toLowerCase());if(r.indexOf("*")!==-1||s.indexOf("*")!==-1)return"*";for(var o=0;o<r.length;o++){var a=r[o].toLowerCase();s.indexOf(a)===-1&&(s.push(a),i=i?i+", "+r[o]:r[o])}return i}function Upe(t){for(var e=0,r=[],n=0,i=0,s=t.length;i<s;i++)switch(t.charCodeAt(i)){case 32:n===e&&(n=e=i+1);break;case 44:r.push(t.substring(n,e)),n=e=i+1;break;default:e=i+1;break}return r.push(t.substring(n,e)),r}function drt(t,e){if(!t||!t.getHeader||!t.setHeader)throw new TypeError("res argument is required");var r=t.getHeader("Vary")||"",n=Array.isArray(r)?r.join(", "):String(r);(r=Gpe(n,e))&&t.setHeader("Vary",r)}});var qpe=N((D5t,Ype)=>{"use strict";h();var Kpe=ype(),frt=Lf(),TG=jI()("express"),hrt=uE(),mrt=lE(),Crt=require("node:http"),Irt=VI(),Hpe=Of(),Jpe=require("node:path"),Ert=require("node:path").isAbsolute,NG=YI(),Brt=Dpe().sign,yrt=el().normalizeType,Qrt=el().normalizeTypes,Drt=el().setCharset,wrt=vpe(),brt=kG(),vrt=Jpe.extname,Srt=Jpe.resolve,xrt=Ope(),{Buffer:Wb}=require("node:buffer"),Yr=Object.create(Crt.ServerResponse.prototype);Ype.exports=Yr;Yr.status=function(e){if(!Number.isInteger(e))throw new TypeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be an integer.`);if(e<100||e>999)throw new RangeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be greater than 99 and less than 1000.`);return this.statusCode=e,this};Yr.links=function(t){var e=this.get("Link")||"";return e&&(e+=", "),this.set("Link",e+Object.keys(t).map(function(r){return Array.isArray(t[r])?t[r].map(function(n){return`<${n}>; rel="${r}"`}).join(", "):`<${t[r]}>; rel="${r}"`}).join(", "))};Yr.send=function(e){var r=e,n,i=this.req,s,o=this.app;switch(typeof r){case"string":this.get("Content-Type")||this.type("html");break;case"boolean":case"number":case"object":if(r===null)r="";else if(ArrayBuffer.isView(r))this.get("Content-Type")||this.type("bin");else return this.json(r);break}typeof r=="string"&&(n="utf8",s=this.get("Content-Type"),typeof s=="string"&&this.set("Content-Type",Drt(s,"utf-8")));var a=o.get("etag fn"),A=!this.get("ETag")&&typeof a=="function",c;r!==void 0&&(Wb.isBuffer(r)?c=r.length:!A&&r.length<1e3?c=Wb.byteLength(r,n):(r=Wb.from(r,n),n=void 0,c=r.length),this.set("Content-Length",c));var u;return A&&c!==void 0&&(u=a(r,n))&&this.set("ETag",u),i.fresh&&this.status(304),(this.statusCode===204||this.statusCode===304)&&(this.removeHeader("Content-Type"),this.removeHeader("Content-Length"),this.removeHeader("Transfer-Encoding"),r=""),this.statusCode===205&&(this.set("Content-Length","0"),this.removeHeader("Transfer-Encoding"),r=""),i.method==="HEAD"?this.end():this.end(r,n),this};Yr.json=function(e){var r=this.app,n=r.get("json escape"),i=r.get("json replacer"),s=r.get("json spaces"),o=jpe(e,i,s,n);return this.get("Content-Type")||this.set("Content-Type","application/json"),this.send(o)};Yr.jsonp=function(e){var r=this.app,n=r.get("json escape"),i=r.get("json replacer"),s=r.get("json spaces"),o=jpe(e,i,s,n),a=this.req.query[r.get("jsonp callback name")];return this.get("Content-Type")||(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","application/json")),Array.isArray(a)&&(a=a[0]),typeof a=="string"&&a.length!==0&&(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","text/javascript"),a=a.replace(/[^\[\]\w$.]/g,""),o===void 0?o="":typeof o=="string"&&(o=o.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")),o="/**/ typeof "+a+" === 'function' && "+a+"("+o+");"),this.send(o)};Yr.sendStatus=function(e){var r=NG.message[e]||String(e);return this.status(e),this.type("txt"),this.send(r)};Yr.sendFile=function(e,r,n){var i=n,s=this.req,o=this,a=s.next,A=r||{};if(!e)throw new TypeError("path argument is required to res.sendFile");if(typeof e!="string")throw new TypeError("path must be a string to res.sendFile");if(typeof r=="function"&&(i=r,A={}),!A.root&&!Ert(e))throw new TypeError("path must be absolute or specify root to res.sendFile");var c=encodeURI(e);A.etag=this.app.enabled("etag");var u=brt(s,c,A);Frt(o,u,A,function(l){if(i)return i(l);if(l&&l.code==="EISDIR")return a();l&&l.code!=="ECONNABORTED"&&l.syscall!=="write"&&a(l)})};Yr.download=function(e,r,n,i){var s=i,o=r,a=n||null;typeof r=="function"?(s=r,o=null,a=null):typeof n=="function"&&(s=n,a=null),typeof r=="object"&&(typeof n=="function"||n===void 0)&&(o=null,a=r);var A={"Content-Disposition":Kpe(o||e)};if(a&&a.headers)for(var c=Object.keys(a.headers),u=0;u<c.length;u++){var l=c[u];l.toLowerCase()!=="content-disposition"&&(A[l]=a.headers[l])}a=Object.create(a),a.headers=A;var d=a.root?e:Srt(e);return this.sendFile(d,a,s)};Yr.contentType=Yr.type=function(e){var r=e.indexOf("/")===-1?Hpe.contentType(e)||"application/octet-stream":e;return this.set("Content-Type",r)};Yr.format=function(t){var e=this.req,r=e.next,n=Object.keys(t).filter(function(s){return s!=="default"}),i=n.length>0?e.accepts(n):!1;return this.vary("Accept"),i?(this.set("Content-Type",yrt(i).value),t[i](e,this,r)):t.default?t.default(e,this,r):r(frt(406,{types:Qrt(n).map(function(s){return s.value})})),this};Yr.attachment=function(e){return e&&this.type(vrt(e)),this.set("Content-Disposition",Kpe(e)),this};Yr.append=function(e,r){var n=this.get(e),i=r;return n&&(i=Array.isArray(n)?n.concat(r):Array.isArray(r)?[n].concat(r):[n,r]),this.set(e,i)};Yr.set=Yr.header=function(e,r){if(arguments.length===2){var n=Array.isArray(r)?r.map(String):String(r);if(e.toLowerCase()==="content-type"){if(Array.isArray(n))throw new TypeError("Content-Type cannot be set to an Array");n=Hpe.contentType(n)}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this};Yr.get=function(t){return this.getHeader(t)};Yr.clearCookie=function(e,r){let n={path:"/",...r,expires:new Date(1)};return delete n.maxAge,this.cookie(e,"",n)};Yr.cookie=function(t,e,r){var n={...r},i=this.req.secret,s=n.signed;if(s&&!i)throw new Error('cookieParser("secret") required for signed cookies');var o=typeof e=="object"?"j:"+JSON.stringify(e):String(e);if(s&&(o="s:"+Brt(o,i)),n.maxAge!=null){var a=n.maxAge-0;isNaN(a)||(n.expires=new Date(Date.now()+a),n.maxAge=Math.floor(a/1e3))}return n.path==null&&(n.path="/"),this.append("Set-Cookie",wrt.serialize(t,String(o),n)),this};Yr.location=function(e){return this.set("Location",hrt(e))};Yr.redirect=function(e){var r=e,n,i=302;arguments.length===2&&(i=arguments[0],r=arguments[1]),r||TG("Provide a url argument"),typeof r!="string"&&TG("Url must be a string"),typeof i!="number"&&TG("Status must be a number"),r=this.location(r).get("Location"),this.format({text:function(){n=NG.message[i]+". Redirecting to "+r},html:function(){var s=mrt(r);n="<p>"+NG.message[i]+". Redirecting to "+s+"</p>"},default:function(){n=""}}),this.status(i),this.set("Content-Length",Wb.byteLength(n)),this.req.method==="HEAD"?this.end():this.end(n)};Yr.vary=function(t){return xrt(this,t),this};Yr.render=function(e,r,n){var i=this.req.app,s=n,o=r||{},a=this.req,A=this;typeof r=="function"&&(s=r,o={}),o._locals=A.locals,s=s||function(c,u){if(c)return a.next(c);A.send(u)},i.render(e,o,s)};function Frt(t,e,r,n){var i=!1,s;function o(){if(!i){i=!0;var g=new Error("Request aborted");g.code="ECONNABORTED",n(g)}}function a(){if(!i){i=!0;var g=new Error("EISDIR, read");g.code="EISDIR",n(g)}}function A(g){i||(i=!0,n(g))}function c(){i||(i=!0,n())}function u(){s=!1}function l(g){if(g&&g.code==="ECONNRESET")return o();if(g)return A(g);i||setImmediate(function(){if(s!==!1&&!i){o();return}i||(i=!0,n())})}function d(){s=!0}e.on("directory",a),e.on("end",c),e.on("error",A),e.on("file",u),e.on("stream",d),Irt(t,l),r.headers&&e.on("headers",function(p){for(var f=r.headers,m=Object.keys(f),C=0;C<m.length;C++){var I=m[C];p.setHeader(I,f[I])}}),e.pipe(t)}function jpe(t,e,r,n){var i=e||r?JSON.stringify(t,e,r):JSON.stringify(t);return n&&typeof i=="string"&&(i=i.replace(/[<>&]/g,function(s){switch(s.charCodeAt(0)){case 60:return"\\u003c";case 62:return"\\u003e";case 38:return"\\u0026";default:return s}})),i}});var Vpe=N((b5t,$pe)=>{"use strict";h();var krt=uE(),Rrt=lE(),MG=gE(),Trt=require("path").resolve,Nrt=kG(),Mrt=require("url");$pe.exports=Prt;function Prt(t,e){if(!t)throw new TypeError("root path required");if(typeof t!="string")throw new TypeError("root path must be a string");var r=Object.create(e||null),n=r.fallthrough!==!1,i=r.redirect!==!1,s=r.setHeaders;if(s&&typeof s!="function")throw new TypeError("option setHeaders must be function");r.maxage=r.maxage||r.maxAge||0,r.root=Trt(t);var o=i?Grt():Urt();return function(A,c,u){if(A.method!=="GET"&&A.method!=="HEAD"){if(n)return u();c.statusCode=405,c.setHeader("Allow","GET, HEAD"),c.setHeader("Content-Length","0"),c.end();return}var l=!n,d=MG.original(A),g=MG(A).pathname;g==="/"&&d.pathname.substr(-1)!=="/"&&(g="");var p=Nrt(A,g,r);p.on("directory",o),s&&p.on("headers",s),n&&p.on("file",function(){l=!0}),p.on("error",function(m){if(l||!(m.statusCode<500)){u(m);return}u()}),p.pipe(c)}}function Lrt(t){for(var e=0;e<t.length&&t.charCodeAt(e)===47;e++);return e>1?"/"+t.substr(e):t}function _rt(t,e){return`<!DOCTYPE html>
1648
1648
  <html lang="en">
1649
1649
  <head>
1650
1650
  <meta charset="utf-8">
@@ -1654,15 +1654,15 @@ return fn.apply(this, arguments)
1654
1654
  <pre>`+e+`</pre>
1655
1655
  </body>
1656
1656
  </html>
1657
- `}function Urt(){return function(){this.error(404)}}function Grt(){return function(e){if(this.hasTrailingSlash()){this.error(404);return}var r=MG.original(this.req);r.path=null,r.pathname=Lrt(r.pathname+"/");var n=krt(Mrt.format(r)),i=_rt("Redirecting","Redirecting to "+Rrt(n));e.statusCode=301,e.setHeader("Content-Type","text/html; charset=UTF-8"),e.setHeader("Content-Length",Buffer.byteLength(i)),e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Location",n),e.end(i)}}});var rde=N((Bo,tde)=>{"use strict";h();var zb=Mle(),Ort=require("node:events").EventEmitter,Wpe=Lle(),zpe=Oge(),Xpe=hG(),Zpe=hpe(),ede=qpe();Bo=tde.exports=Krt;function Krt(){var t=function(e,r,n){t.handle(e,r,n)};return Wpe(t,Ort.prototype,!1),Wpe(t,zpe,!1),t.request=Object.create(Zpe,{app:{configurable:!0,enumerable:!0,writable:!0,value:t}}),t.response=Object.create(ede,{app:{configurable:!0,enumerable:!0,writable:!0,value:t}}),t.init(),t}Bo.application=zpe;Bo.request=Zpe;Bo.response=ede;Bo.Route=Xpe.Route;Bo.Router=Xpe;Bo.json=zb.json;Bo.raw=zb.raw;Bo.static=Vpe();Bo.text=zb.text;Bo.urlencoded=zb.urlencoded});var ide=N((x$t,nde)=>{"use strict";h();nde.exports=rde()});var Sc=N((k$t,ade)=>{"use strict";h();var sde=["nodebuffer","arraybuffer","fragments"],ode=typeof Blob<"u";ode&&sde.push("blob");ade.exports={BINARY_TYPES:sde,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:ode,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var Qde=N((T$t,yde)=>{h();var lde=require("fs"),xc=require("path"),gde=require("os"),pde=typeof __webpack_require__=="function"?__non_webpack_require__:require,Hrt=process.config&&process.config.variables||{},Jrt=!!process.env.PREBUILDS_ONLY,Ade=process.versions.modules,PG=qrt()?"electron":Yrt()?"node-webkit":"node",LG=process.env.npm_config_arch||gde.arch(),_G=process.env.npm_config_platform||gde.platform(),dde=process.env.LIBC||($rt(_G)?"musl":"glibc"),UG=process.env.ARM_VERSION||(LG==="arm64"?"8":Hrt.arm_version)||"",fde=(process.versions.uv||"").split(".")[0];yde.exports=DA;function DA(t){return pde(DA.resolve(t))}DA.resolve=DA.path=function(t){t=xc.resolve(t||".");try{var e=pde(xc.join(t,"package.json")).name.toUpperCase().replace(/-/g,"_");process.env[e+"_PREBUILD"]&&(t=process.env[e+"_PREBUILD"])}catch{}if(!Jrt){var r=cde(xc.join(t,"build/Release"),ude);if(r)return r;var n=cde(xc.join(t,"build/Debug"),ude);if(n)return n}var i=a(t);if(i)return i;var s=a(xc.dirname(process.execPath));if(s)return s;var o=["platform="+_G,"arch="+LG,"runtime="+PG,"abi="+Ade,"uv="+fde,UG?"armv="+UG:"","libc="+dde,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"",typeof __webpack_require__=="function"?"webpack=true":""].filter(Boolean).join(" ");throw new Error("No native build was found for "+o+`
1657
+ `}function Urt(){return function(){this.error(404)}}function Grt(){return function(e){if(this.hasTrailingSlash()){this.error(404);return}var r=MG.original(this.req);r.path=null,r.pathname=Lrt(r.pathname+"/");var n=krt(Mrt.format(r)),i=_rt("Redirecting","Redirecting to "+Rrt(n));e.statusCode=301,e.setHeader("Content-Type","text/html; charset=UTF-8"),e.setHeader("Content-Length",Buffer.byteLength(i)),e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Location",n),e.end(i)}}});var rde=N((Bo,tde)=>{"use strict";h();var zb=Mle(),Ort=require("node:events").EventEmitter,Wpe=Lle(),zpe=Oge(),Xpe=hG(),Zpe=hpe(),ede=qpe();Bo=tde.exports=Krt;function Krt(){var t=function(e,r,n){t.handle(e,r,n)};return Wpe(t,Ort.prototype,!1),Wpe(t,zpe,!1),t.request=Object.create(Zpe,{app:{configurable:!0,enumerable:!0,writable:!0,value:t}}),t.response=Object.create(ede,{app:{configurable:!0,enumerable:!0,writable:!0,value:t}}),t.init(),t}Bo.application=zpe;Bo.request=Zpe;Bo.response=ede;Bo.Route=Xpe.Route;Bo.Router=Xpe;Bo.json=zb.json;Bo.raw=zb.raw;Bo.static=Vpe();Bo.text=zb.text;Bo.urlencoded=zb.urlencoded});var ide=N((x5t,nde)=>{"use strict";h();nde.exports=rde()});var Sc=N((k5t,ade)=>{"use strict";h();var sde=["nodebuffer","arraybuffer","fragments"],ode=typeof Blob<"u";ode&&sde.push("blob");ade.exports={BINARY_TYPES:sde,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:ode,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var Qde=N((T5t,yde)=>{h();var lde=require("fs"),xc=require("path"),gde=require("os"),pde=typeof __webpack_require__=="function"?__non_webpack_require__:require,Hrt=process.config&&process.config.variables||{},Jrt=!!process.env.PREBUILDS_ONLY,Ade=process.versions.modules,PG=qrt()?"electron":Yrt()?"node-webkit":"node",LG=process.env.npm_config_arch||gde.arch(),_G=process.env.npm_config_platform||gde.platform(),dde=process.env.LIBC||($rt(_G)?"musl":"glibc"),UG=process.env.ARM_VERSION||(LG==="arm64"?"8":Hrt.arm_version)||"",fde=(process.versions.uv||"").split(".")[0];yde.exports=DA;function DA(t){return pde(DA.resolve(t))}DA.resolve=DA.path=function(t){t=xc.resolve(t||".");try{var e=pde(xc.join(t,"package.json")).name.toUpperCase().replace(/-/g,"_");process.env[e+"_PREBUILD"]&&(t=process.env[e+"_PREBUILD"])}catch{}if(!Jrt){var r=cde(xc.join(t,"build/Release"),ude);if(r)return r;var n=cde(xc.join(t,"build/Debug"),ude);if(n)return n}var i=a(t);if(i)return i;var s=a(xc.dirname(process.execPath));if(s)return s;var o=["platform="+_G,"arch="+LG,"runtime="+PG,"abi="+Ade,"uv="+fde,UG?"armv="+UG:"","libc="+dde,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"",typeof __webpack_require__=="function"?"webpack=true":""].filter(Boolean).join(" ");throw new Error("No native build was found for "+o+`
1658
1658
  loaded from: `+t+`
1659
- `);function a(A){var c=GG(xc.join(A,"prebuilds")).map(hde),u=c.filter(mde(_G,LG)).sort(Cde)[0];if(u){var l=xc.join(A,"prebuilds",u.name),d=GG(l).map(Ide),g=d.filter(Ede(PG,Ade)),p=g.sort(Bde(PG))[0];if(p)return xc.join(l,p.file)}}};function GG(t){try{return lde.readdirSync(t)}catch{return[]}}function cde(t,e){var r=GG(t).filter(e);return r[0]&&xc.join(t,r[0])}function ude(t){return/\.node$/.test(t)}function hde(t){var e=t.split("-");if(e.length===2){var r=e[0],n=e[1].split("+");if(r&&n.length&&n.every(Boolean))return{name:t,platform:r,architectures:n}}}function mde(t,e){return function(r){return r==null||r.platform!==t?!1:r.architectures.includes(e)}}function Cde(t,e){return t.architectures.length-e.architectures.length}function Ide(t){var e=t.split("."),r=e.pop(),n={file:t,specificity:0};if(r==="node"){for(var i=0;i<e.length;i++){var s=e[i];if(s==="node"||s==="electron"||s==="node-webkit")n.runtime=s;else if(s==="napi")n.napi=!0;else if(s.slice(0,3)==="abi")n.abi=s.slice(3);else if(s.slice(0,2)==="uv")n.uv=s.slice(2);else if(s.slice(0,4)==="armv")n.armv=s.slice(4);else if(s==="glibc"||s==="musl")n.libc=s;else continue;n.specificity++}return n}}function Ede(t,e){return function(r){return!(r==null||r.runtime&&r.runtime!==t&&!jrt(r)||r.abi&&r.abi!==e&&!r.napi||r.uv&&r.uv!==fde||r.armv&&r.armv!==UG||r.libc&&r.libc!==dde)}}function jrt(t){return t.runtime==="node"&&t.napi}function Bde(t){return function(e,r){return e.runtime!==r.runtime?e.runtime===t?-1:1:e.abi!==r.abi?e.abi?-1:1:e.specificity!==r.specificity?e.specificity>r.specificity?-1:1:0}}function Yrt(){return!!(process.versions&&process.versions.nw)}function qrt(){return process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE?!0:typeof window<"u"&&window.process&&window.process.type==="renderer"}function $rt(t){return t==="linux"&&lde.existsSync("/etc/alpine-release")}DA.parseTags=Ide;DA.matchTags=Ede;DA.compareTags=Bde;DA.parseTuple=hde;DA.matchTuple=mde;DA.compareTuples=Cde});var HG=N((M$t,KG)=>{h();var OG=typeof __webpack_require__=="function"?__non_webpack_require__:require;typeof OG.addon=="function"?KG.exports=OG.addon.bind(OG):KG.exports=Qde()});var wde=N((L$t,Dde)=>{"use strict";h();var Vrt=(t,e,r,n,i)=>{for(var s=0;s<i;s++)r[n+s]=t[s]^e[s&3]},Wrt=(t,e)=>{let r=t.length;for(var n=0;n<r;n++)t[n]^=e[n&3]};Dde.exports={mask:Vrt,unmask:Wrt}});var bde=N((U$t,JG)=>{"use strict";h();try{JG.exports=HG()(__dirname)}catch{JG.exports=wde()}});var hE=N((O$t,Xb)=>{"use strict";h();var{EMPTY_BUFFER:zrt}=Sc(),jG=Buffer[Symbol.species];function Xrt(t,e){if(t.length===0)return zrt;if(t.length===1)return t[0];let r=Buffer.allocUnsafe(e),n=0;for(let i=0;i<t.length;i++){let s=t[i];r.set(s,n),n+=s.length}return n<e?new jG(r.buffer,r.byteOffset,n):r}function vde(t,e,r,n,i){for(let s=0;s<i;s++)r[n+s]=t[s]^e[s&3]}function Sde(t,e){for(let r=0;r<t.length;r++)t[r]^=e[r&3]}function Zrt(t){return t.length===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.length)}function YG(t){if(YG.readOnly=!0,Buffer.isBuffer(t))return t;let e;return t instanceof ArrayBuffer?e=new jG(t):ArrayBuffer.isView(t)?e=new jG(t.buffer,t.byteOffset,t.byteLength):(e=Buffer.from(t),YG.readOnly=!1),e}Xb.exports={concat:Xrt,mask:vde,toArrayBuffer:Zrt,toBuffer:YG,unmask:Sde};if(!process.env.WS_NO_BUFFER_UTIL)try{let t=bde();Xb.exports.mask=function(e,r,n,i,s){s<48?vde(e,r,n,i,s):t.mask(e,r,n,i,s)},Xb.exports.unmask=function(e,r){e.length<32?Sde(e,r):t.unmask(e,r)}}catch{}});var kde=N((H$t,Fde)=>{"use strict";h();var xde=Symbol("kDone"),qG=Symbol("kRun"),$G=class{constructor(e){this[xde]=()=>{this.pending--,this[qG]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[qG]()}[qG](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[xde])}}};Fde.exports=$G});var nh=N((j$t,Mde)=>{"use strict";h();var mE=require("zlib"),Rde=hE(),ent=kde(),{kStatusCode:Tde}=Sc(),tnt=Buffer[Symbol.species],rnt=Buffer.from([0,0,255,255]),ev=Symbol("permessage-deflate"),Fc=Symbol("total-length"),th=Symbol("callback"),tl=Symbol("buffers"),rh=Symbol("error"),Zb,VG=class{constructor(e){if(this._options=e||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Zb){let r=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Zb=new ent(r)}}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[th];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let r=this._options,n=e.find(i=>!(r.serverNoContextTakeover===!1&&i.server_no_context_takeover||i.server_max_window_bits&&(r.serverMaxWindowBits===!1||typeof r.serverMaxWindowBits=="number"&&r.serverMaxWindowBits>i.server_max_window_bits)||typeof r.clientMaxWindowBits=="number"&&!i.client_max_window_bits));if(!n)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(n.server_no_context_takeover=!0),r.clientNoContextTakeover&&(n.client_no_context_takeover=!0),typeof r.serverMaxWindowBits=="number"&&(n.server_max_window_bits=r.serverMaxWindowBits),typeof r.clientMaxWindowBits=="number"?n.client_max_window_bits=r.clientMaxWindowBits:(n.client_max_window_bits===!0||r.clientMaxWindowBits===!1)&&delete n.client_max_window_bits,n}acceptAsClient(e){let r=e[0];if(this._options.clientNoContextTakeover===!1&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!r.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(r.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return r}normalizeParams(e){return e.forEach(r=>{Object.keys(r).forEach(n=>{let i=r[n];if(i.length>1)throw new Error(`Parameter "${n}" must have only a single value`);if(i=i[0],n==="client_max_window_bits"){if(i!==!0){let s=+i;if(!Number.isInteger(s)||s<8||s>15)throw new TypeError(`Invalid value for parameter "${n}": ${i}`);i=s}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${n}": ${i}`)}else if(n==="server_max_window_bits"){let s=+i;if(!Number.isInteger(s)||s<8||s>15)throw new TypeError(`Invalid value for parameter "${n}": ${i}`);i=s}else if(n==="client_no_context_takeover"||n==="server_no_context_takeover"){if(i!==!0)throw new TypeError(`Invalid value for parameter "${n}": ${i}`)}else throw new Error(`Unknown parameter "${n}"`);r[n]=i})}),e}decompress(e,r,n){Zb.add(i=>{this._decompress(e,r,(s,o)=>{i(),n(s,o)})})}compress(e,r,n){Zb.add(i=>{this._compress(e,r,(s,o)=>{i(),n(s,o)})})}_decompress(e,r,n){let i=this._isServer?"client":"server";if(!this._inflate){let s=`${i}_max_window_bits`,o=typeof this.params[s]!="number"?mE.Z_DEFAULT_WINDOWBITS:this.params[s];this._inflate=mE.createInflateRaw({...this._options.zlibInflateOptions,windowBits:o}),this._inflate[ev]=this,this._inflate[Fc]=0,this._inflate[tl]=[],this._inflate.on("error",int),this._inflate.on("data",Nde)}this._inflate[th]=n,this._inflate.write(e),r&&this._inflate.write(rnt),this._inflate.flush(()=>{let s=this._inflate[rh];if(s){this._inflate.close(),this._inflate=null,n(s);return}let o=Rde.concat(this._inflate[tl],this._inflate[Fc]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[Fc]=0,this._inflate[tl]=[],r&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),n(null,o)})}_compress(e,r,n){let i=this._isServer?"server":"client";if(!this._deflate){let s=`${i}_max_window_bits`,o=typeof this.params[s]!="number"?mE.Z_DEFAULT_WINDOWBITS:this.params[s];this._deflate=mE.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:o}),this._deflate[Fc]=0,this._deflate[tl]=[],this._deflate.on("data",nnt)}this._deflate[th]=n,this._deflate.write(e),this._deflate.flush(mE.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let s=Rde.concat(this._deflate[tl],this._deflate[Fc]);r&&(s=new tnt(s.buffer,s.byteOffset,s.length-4)),this._deflate[th]=null,this._deflate[Fc]=0,this._deflate[tl]=[],r&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),n(null,s)})}};Mde.exports=VG;function nnt(t){this[tl].push(t),this[Fc]+=t.length}function Nde(t){if(this[Fc]+=t.length,this[ev]._maxPayload<1||this[Fc]<=this[ev]._maxPayload){this[tl].push(t);return}this[rh]=new RangeError("Max payload size exceeded"),this[rh].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[rh][Tde]=1009,this.removeListener("data",Nde),this.reset()}function int(t){if(this[ev]._inflate=null,this[rh]){this[th](this[rh]);return}t[Tde]=1007,this[th](t)}});var Lde=N((q$t,Pde)=>{"use strict";h();function snt(t){let e=t.length,r=0;for(;r<e;)if((t[r]&128)===0)r++;else if((t[r]&224)===192){if(r+1===e||(t[r+1]&192)!==128||(t[r]&254)===192)return!1;r+=2}else if((t[r]&240)===224){if(r+2>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||t[r]===224&&(t[r+1]&224)===128||t[r]===237&&(t[r+1]&224)===160)return!1;r+=3}else if((t[r]&248)===240){if(r+3>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||(t[r+3]&192)!==128||t[r]===240&&(t[r+1]&240)===128||t[r]===244&&t[r+1]>143||t[r]>244)return!1;r+=4}else return!1;return!0}Pde.exports=snt});var _de=N((V$t,WG)=>{"use strict";h();try{WG.exports=HG()(__dirname)}catch{WG.exports=Lde()}});var ih=N((z$t,tv)=>{"use strict";h();var{isUtf8:Ude}=require("buffer"),{hasBlob:ont}=Sc(),ant=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,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,0,0,0,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,0,1,0,1,0];function Ant(t){return t>=1e3&&t<=1014&&t!==1004&&t!==1005&&t!==1006||t>=3e3&&t<=4999}function zG(t){let e=t.length,r=0;for(;r<e;)if((t[r]&128)===0)r++;else if((t[r]&224)===192){if(r+1===e||(t[r+1]&192)!==128||(t[r]&254)===192)return!1;r+=2}else if((t[r]&240)===224){if(r+2>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||t[r]===224&&(t[r+1]&224)===128||t[r]===237&&(t[r+1]&224)===160)return!1;r+=3}else if((t[r]&248)===240){if(r+3>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||(t[r+3]&192)!==128||t[r]===240&&(t[r+1]&240)===128||t[r]===244&&t[r+1]>143||t[r]>244)return!1;r+=4}else return!1;return!0}function cnt(t){return ont&&typeof t=="object"&&typeof t.arrayBuffer=="function"&&typeof t.type=="string"&&typeof t.stream=="function"&&(t[Symbol.toStringTag]==="Blob"||t[Symbol.toStringTag]==="File")}tv.exports={isBlob:cnt,isValidStatusCode:Ant,isValidUTF8:zG,tokenChars:ant};if(Ude)tv.exports.isValidUTF8=function(t){return t.length<24?zG(t):Ude(t)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let t=_de();tv.exports.isValidUTF8=function(e){return e.length<32?zG(e):t(e)}}catch{}});var rO=N((Z$t,Yde)=>{"use strict";h();var{Writable:unt}=require("stream"),Gde=nh(),{BINARY_TYPES:lnt,EMPTY_BUFFER:Ode,kStatusCode:gnt,kWebSocket:pnt}=Sc(),{concat:XG,toArrayBuffer:dnt,unmask:fnt}=hE(),{isValidStatusCode:hnt,isValidUTF8:Kde}=ih(),rv=Buffer[Symbol.species],yo=0,Hde=1,Jde=2,jde=3,ZG=4,eO=5,nv=6,tO=class extends unt{constructor(e={}){super(),this._allowSynchronousEvents=e.allowSynchronousEvents!==void 0?e.allowSynchronousEvents:!0,this._binaryType=e.binaryType||lnt[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=e.maxPayload|0,this._skipUTF8Validation=!!e.skipUTF8Validation,this[pnt]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=yo}_write(e,r,n){if(this._opcode===8&&this._state==yo)return n();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){let n=this._buffers[0];return this._buffers[0]=new rv(n.buffer,n.byteOffset+e,n.length-e),new rv(n.buffer,n.byteOffset,e)}let r=Buffer.allocUnsafe(e);do{let n=this._buffers[0],i=r.length-e;e>=n.length?r.set(this._buffers.shift(),i):(r.set(new Uint8Array(n.buffer,n.byteOffset,e),i),this._buffers[0]=new rv(n.buffer,n.byteOffset+e,n.length-e)),e-=n.length}while(e>0);return r}startLoop(e){this._loop=!0;do switch(this._state){case yo:this.getInfo(e);break;case Hde:this.getPayloadLength16(e);break;case Jde:this.getPayloadLength64(e);break;case jde:this.getMask();break;case ZG:this.getData(e);break;case eO:case nv:this._loop=!1;return}while(this._loop);this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let r=this.consume(2);if((r[0]&48)!==0){let i=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");e(i);return}let n=(r[0]&64)===64;if(n&&!this._extensions[Gde.extensionName]){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(i);return}if(this._fin=(r[0]&128)===128,this._opcode=r[0]&15,this._payloadLength=r[1]&127,this._opcode===0){if(n){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(i);return}if(!this._fragmented){let i=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");e(i);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(i);return}this._compressed=n}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let i=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");e(i);return}if(n){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(i);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let i=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");e(i);return}}else{let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(i);return}if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(r[1]&128)===128,this._isServer){if(!this._masked){let i=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");e(i);return}}else if(this._masked){let i=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");e(i);return}this._payloadLength===126?this._state=Hde:this._payloadLength===127?this._state=Jde:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let r=this.consume(8),n=r.readUInt32BE(0);if(n>Math.pow(2,21)-1){let i=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");e(i);return}this._payloadLength=n*Math.pow(2,32)+r.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){let r=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");e(r);return}this._masked?this._state=jde:this._state=ZG}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=ZG}getData(e){let r=Ode;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}r=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0&&fnt(r,this._mask)}if(this._opcode>7){this.controlMessage(r,e);return}if(this._compressed){this._state=eO,this.decompress(r,e);return}r.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(r)),this.dataMessage(e)}decompress(e,r){this._extensions[Gde.extensionName].decompress(e,this._fin,(i,s)=>{if(i)return r(i);if(s.length){if(this._messageLength+=s.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let o=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");r(o);return}this._fragments.push(s)}this.dataMessage(r),this._state===yo&&this.startLoop(r)})}dataMessage(e){if(!this._fin){this._state=yo;return}let r=this._messageLength,n=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let i;this._binaryType==="nodebuffer"?i=XG(n,r):this._binaryType==="arraybuffer"?i=dnt(XG(n,r)):this._binaryType==="blob"?i=new Blob(n):i=n,this._allowSynchronousEvents?(this.emit("message",i,!0),this._state=yo):(this._state=nv,setImmediate(()=>{this.emit("message",i,!0),this._state=yo,this.startLoop(e)}))}else{let i=XG(n,r);if(!this._skipUTF8Validation&&!Kde(i)){let s=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");e(s);return}this._state===eO||this._allowSynchronousEvents?(this.emit("message",i,!1),this._state=yo):(this._state=nv,setImmediate(()=>{this.emit("message",i,!1),this._state=yo,this.startLoop(e)}))}}controlMessage(e,r){if(this._opcode===8){if(e.length===0)this._loop=!1,this.emit("conclude",1005,Ode),this.end();else{let n=e.readUInt16BE(0);if(!hnt(n)){let s=this.createError(RangeError,`invalid status code ${n}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");r(s);return}let i=new rv(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!Kde(i)){let s=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");r(s);return}this._loop=!1,this.emit("conclude",n,i),this.end()}this._state=yo;return}this._allowSynchronousEvents?(this.emit(this._opcode===9?"ping":"pong",e),this._state=yo):(this._state=nv,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",e),this._state=yo,this.startLoop(r)}))}createError(e,r,n,i,s){this._loop=!1,this._errored=!0;let o=new e(n?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(o,this.createError),o.code=s,o[gnt]=i,o}};Yde.exports=tO});var sO=N((r5t,Vde)=>{"use strict";h();var{Duplex:t5t}=require("stream"),{randomFillSync:mnt}=require("crypto"),qde=nh(),{EMPTY_BUFFER:Cnt,kWebSocket:Int,NOOP:Ent}=Sc(),{isBlob:sh,isValidStatusCode:Bnt}=ih(),{mask:$de,toBuffer:op}=hE(),Qo=Symbol("kByteLength"),ynt=Buffer.alloc(4),iv=8*1024,ap,oh=iv,ha=0,Qnt=1,Dnt=2,nO=class t{constructor(e,r,n){this._extensions=r||{},n&&(this._generateMask=n,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=ha,this.onerror=Ent,this[Int]=void 0}static frame(e,r){let n,i=!1,s=2,o=!1;r.mask&&(n=r.maskBuffer||ynt,r.generateMask?r.generateMask(n):(oh===iv&&(ap===void 0&&(ap=Buffer.alloc(iv)),mnt(ap,0,iv),oh=0),n[0]=ap[oh++],n[1]=ap[oh++],n[2]=ap[oh++],n[3]=ap[oh++]),o=(n[0]|n[1]|n[2]|n[3])===0,s=6);let a;typeof e=="string"?(!r.mask||o)&&r[Qo]!==void 0?a=r[Qo]:(e=Buffer.from(e),a=e.length):(a=e.length,i=r.mask&&r.readOnly&&!o);let A=a;a>=65536?(s+=8,A=127):a>125&&(s+=2,A=126);let c=Buffer.allocUnsafe(i?a+s:s);return c[0]=r.fin?r.opcode|128:r.opcode,r.rsv1&&(c[0]|=64),c[1]=A,A===126?c.writeUInt16BE(a,2):A===127&&(c[2]=c[3]=0,c.writeUIntBE(a,4,6)),r.mask?(c[1]|=128,c[s-4]=n[0],c[s-3]=n[1],c[s-2]=n[2],c[s-1]=n[3],o?[c,e]:i?($de(e,n,c,s,a),[c]):($de(e,n,e,0,a),[c,e])):[c,e]}close(e,r,n,i){let s;if(e===void 0)s=Cnt;else{if(typeof e!="number"||!Bnt(e))throw new TypeError("First argument must be a valid error code number");if(r===void 0||!r.length)s=Buffer.allocUnsafe(2),s.writeUInt16BE(e,0);else{let a=Buffer.byteLength(r);if(a>123)throw new RangeError("The message must not be greater than 123 bytes");s=Buffer.allocUnsafe(2+a),s.writeUInt16BE(e,0),typeof r=="string"?s.write(r,2):s.set(r,2)}}let o={[Qo]:s.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==ha?this.enqueue([this.dispatch,s,!1,o,i]):this.sendFrame(t.frame(s,o),i)}ping(e,r,n){let i,s;if(typeof e=="string"?(i=Buffer.byteLength(e),s=!1):sh(e)?(i=e.size,s=!1):(e=op(e),i=e.length,s=op.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let o={[Qo]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:9,readOnly:s,rsv1:!1};sh(e)?this._state!==ha?this.enqueue([this.getBlobData,e,!1,o,n]):this.getBlobData(e,!1,o,n):this._state!==ha?this.enqueue([this.dispatch,e,!1,o,n]):this.sendFrame(t.frame(e,o),n)}pong(e,r,n){let i,s;if(typeof e=="string"?(i=Buffer.byteLength(e),s=!1):sh(e)?(i=e.size,s=!1):(e=op(e),i=e.length,s=op.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let o={[Qo]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:10,readOnly:s,rsv1:!1};sh(e)?this._state!==ha?this.enqueue([this.getBlobData,e,!1,o,n]):this.getBlobData(e,!1,o,n):this._state!==ha?this.enqueue([this.dispatch,e,!1,o,n]):this.sendFrame(t.frame(e,o),n)}send(e,r,n){let i=this._extensions[qde.extensionName],s=r.binary?2:1,o=r.compress,a,A;typeof e=="string"?(a=Buffer.byteLength(e),A=!1):sh(e)?(a=e.size,A=!1):(e=op(e),a=e.length,A=op.readOnly),this._firstFragment?(this._firstFragment=!1,o&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(o=a>=i._threshold),this._compress=o):(o=!1,s=0),r.fin&&(this._firstFragment=!0);let c={[Qo]:a,fin:r.fin,generateMask:this._generateMask,mask:r.mask,maskBuffer:this._maskBuffer,opcode:s,readOnly:A,rsv1:o};sh(e)?this._state!==ha?this.enqueue([this.getBlobData,e,this._compress,c,n]):this.getBlobData(e,this._compress,c,n):this._state!==ha?this.enqueue([this.dispatch,e,this._compress,c,n]):this.dispatch(e,this._compress,c,n)}getBlobData(e,r,n,i){this._bufferedBytes+=n[Qo],this._state=Dnt,e.arrayBuffer().then(s=>{if(this._socket.destroyed){let a=new Error("The socket was closed while the blob was being read");process.nextTick(iO,this,a,i);return}this._bufferedBytes-=n[Qo];let o=op(s);r?this.dispatch(o,r,n,i):(this._state=ha,this.sendFrame(t.frame(o,n),i),this.dequeue())}).catch(s=>{process.nextTick(wnt,this,s,i)})}dispatch(e,r,n,i){if(!r){this.sendFrame(t.frame(e,n),i);return}let s=this._extensions[qde.extensionName];this._bufferedBytes+=n[Qo],this._state=Qnt,s.compress(e,n.fin,(o,a)=>{if(this._socket.destroyed){let A=new Error("The socket was closed while data was being compressed");iO(this,A,i);return}this._bufferedBytes-=n[Qo],this._state=ha,n.readOnly=!1,this.sendFrame(t.frame(a,n),i),this.dequeue()})}dequeue(){for(;this._state===ha&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][Qo],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][Qo],this._queue.push(e)}sendFrame(e,r){e.length===2?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],r),this._socket.uncork()):this._socket.write(e[0],r)}};Vde.exports=nO;function iO(t,e,r){typeof r=="function"&&r(e);for(let n=0;n<t._queue.length;n++){let i=t._queue[n],s=i[i.length-1];typeof s=="function"&&s(e)}}function wnt(t,e,r){iO(t,e,r),t.onerror(e)}});var ife=N((i5t,nfe)=>{"use strict";h();var{kForOnEventAttribute:CE,kListener:oO}=Sc(),Wde=Symbol("kCode"),zde=Symbol("kData"),Xde=Symbol("kError"),Zde=Symbol("kMessage"),efe=Symbol("kReason"),ah=Symbol("kTarget"),tfe=Symbol("kType"),rfe=Symbol("kWasClean"),kc=class{constructor(e){this[ah]=null,this[tfe]=e}get target(){return this[ah]}get type(){return this[tfe]}};Object.defineProperty(kc.prototype,"target",{enumerable:!0});Object.defineProperty(kc.prototype,"type",{enumerable:!0});var Ap=class extends kc{constructor(e,r={}){super(e),this[Wde]=r.code===void 0?0:r.code,this[efe]=r.reason===void 0?"":r.reason,this[rfe]=r.wasClean===void 0?!1:r.wasClean}get code(){return this[Wde]}get reason(){return this[efe]}get wasClean(){return this[rfe]}};Object.defineProperty(Ap.prototype,"code",{enumerable:!0});Object.defineProperty(Ap.prototype,"reason",{enumerable:!0});Object.defineProperty(Ap.prototype,"wasClean",{enumerable:!0});var Ah=class extends kc{constructor(e,r={}){super(e),this[Xde]=r.error===void 0?null:r.error,this[Zde]=r.message===void 0?"":r.message}get error(){return this[Xde]}get message(){return this[Zde]}};Object.defineProperty(Ah.prototype,"error",{enumerable:!0});Object.defineProperty(Ah.prototype,"message",{enumerable:!0});var IE=class extends kc{constructor(e,r={}){super(e),this[zde]=r.data===void 0?null:r.data}get data(){return this[zde]}};Object.defineProperty(IE.prototype,"data",{enumerable:!0});var bnt={addEventListener(t,e,r={}){for(let i of this.listeners(t))if(!r[CE]&&i[oO]===e&&!i[CE])return;let n;if(t==="message")n=function(s,o){let a=new IE("message",{data:o?s:s.toString()});a[ah]=this,sv(e,this,a)};else if(t==="close")n=function(s,o){let a=new Ap("close",{code:s,reason:o.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});a[ah]=this,sv(e,this,a)};else if(t==="error")n=function(s){let o=new Ah("error",{error:s,message:s.message});o[ah]=this,sv(e,this,o)};else if(t==="open")n=function(){let s=new kc("open");s[ah]=this,sv(e,this,s)};else return;n[CE]=!!r[CE],n[oO]=e,r.once?this.once(t,n):this.on(t,n)},removeEventListener(t,e){for(let r of this.listeners(t))if(r[oO]===e&&!r[CE]){this.removeListener(t,r);break}}};nfe.exports={CloseEvent:Ap,ErrorEvent:Ah,Event:kc,EventTarget:bnt,MessageEvent:IE};function sv(t,e,r){typeof t=="object"&&t.handleEvent?t.handleEvent.call(t,r):t.call(e,r)}});var ov=N((o5t,sfe)=>{"use strict";h();var{tokenChars:EE}=ih();function wA(t,e,r){t[e]===void 0?t[e]=[r]:t[e].push(r)}function vnt(t){let e=Object.create(null),r=Object.create(null),n=!1,i=!1,s=!1,o,a,A=-1,c=-1,u=-1,l=0;for(;l<t.length;l++)if(c=t.charCodeAt(l),o===void 0)if(u===-1&&EE[c]===1)A===-1&&(A=l);else if(l!==0&&(c===32||c===9))u===-1&&A!==-1&&(u=l);else if(c===59||c===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${l}`);u===-1&&(u=l);let g=t.slice(A,u);c===44?(wA(e,g,r),r=Object.create(null)):o=g,A=u=-1}else throw new SyntaxError(`Unexpected character at index ${l}`);else if(a===void 0)if(u===-1&&EE[c]===1)A===-1&&(A=l);else if(c===32||c===9)u===-1&&A!==-1&&(u=l);else if(c===59||c===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${l}`);u===-1&&(u=l),wA(r,t.slice(A,u),!0),c===44&&(wA(e,o,r),r=Object.create(null),o=void 0),A=u=-1}else if(c===61&&A!==-1&&u===-1)a=t.slice(A,l),A=u=-1;else throw new SyntaxError(`Unexpected character at index ${l}`);else if(i){if(EE[c]!==1)throw new SyntaxError(`Unexpected character at index ${l}`);A===-1?A=l:n||(n=!0),i=!1}else if(s)if(EE[c]===1)A===-1&&(A=l);else if(c===34&&A!==-1)s=!1,u=l;else if(c===92)i=!0;else throw new SyntaxError(`Unexpected character at index ${l}`);else if(c===34&&t.charCodeAt(l-1)===61)s=!0;else if(u===-1&&EE[c]===1)A===-1&&(A=l);else if(A!==-1&&(c===32||c===9))u===-1&&(u=l);else if(c===59||c===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${l}`);u===-1&&(u=l);let g=t.slice(A,u);n&&(g=g.replace(/\\/g,""),n=!1),wA(r,a,g),c===44&&(wA(e,o,r),r=Object.create(null),o=void 0),a=void 0,A=u=-1}else throw new SyntaxError(`Unexpected character at index ${l}`);if(A===-1||s||c===32||c===9)throw new SyntaxError("Unexpected end of input");u===-1&&(u=l);let d=t.slice(A,u);return o===void 0?wA(e,d,r):(a===void 0?wA(r,d,!0):n?wA(r,a,d.replace(/\\/g,"")):wA(r,a,d),wA(e,o,r)),e}function Snt(t){return Object.keys(t).map(e=>{let r=t[e];return Array.isArray(r)||(r=[r]),r.map(n=>[e].concat(Object.keys(n).map(i=>{let s=n[i];return Array.isArray(s)||(s=[s]),s.map(o=>o===!0?i:`${i}=${o}`).join("; ")})).join("; ")).join(", ")}).join(", ")}sfe.exports={format:Snt,parse:vnt}});var uv=N((u5t,mfe)=>{"use strict";h();var xnt=require("events"),Fnt=require("https"),knt=require("http"),Afe=require("net"),Rnt=require("tls"),{randomBytes:Tnt,createHash:Nnt}=require("crypto"),{Duplex:A5t,Readable:c5t}=require("stream"),{URL:aO}=require("url"),rl=nh(),Mnt=rO(),Pnt=sO(),{isBlob:Lnt}=ih(),{BINARY_TYPES:ofe,CLOSE_TIMEOUT:_nt,EMPTY_BUFFER:av,GUID:Unt,kForOnEventAttribute:AO,kListener:Gnt,kStatusCode:Ont,kWebSocket:Wn,NOOP:cfe}=Sc(),{EventTarget:{addEventListener:Knt,removeEventListener:Hnt}}=ife(),{format:Jnt,parse:jnt}=ov(),{toBuffer:Ynt}=hE(),ufe=Symbol("kAborted"),cO=[8,13],Rc=["CONNECTING","OPEN","CLOSING","CLOSED"],qnt=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,_r=class t extends xnt{constructor(e,r,n){super(),this._binaryType=ofe[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=av,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=t.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,e!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,r===void 0?r=[]:Array.isArray(r)||(typeof r=="object"&&r!==null?(n=r,r=[]):r=[r]),lfe(this,e,r,n)):(this._autoPong=n.autoPong,this._closeTimeout=n.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){ofe.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,r,n){let i=new Mnt({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation}),s=new Pnt(e,this._extensions,n.generateMask);this._receiver=i,this._sender=s,this._socket=e,i[Wn]=this,s[Wn]=this,e[Wn]=this,i.on("conclude",Wnt),i.on("drain",znt),i.on("error",Xnt),i.on("message",Znt),i.on("ping",eit),i.on("pong",tit),s.onerror=rit,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),r.length>0&&e.unshift(r),e.on("close",dfe),e.on("data",cv),e.on("end",ffe),e.on("error",hfe),this._readyState=t.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=t.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[rl.extensionName]&&this._extensions[rl.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=t.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,r){if(this.readyState!==t.CLOSED){if(this.readyState===t.CONNECTING){Js(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===t.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=t.CLOSING,this._sender.close(e,r,!this._isServer,n=>{n||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),pfe(this)}}pause(){this.readyState===t.CONNECTING||this.readyState===t.CLOSED||(this._paused=!0,this._socket.pause())}ping(e,r,n){if(this.readyState===t.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e=="function"?(n=e,e=r=void 0):typeof r=="function"&&(n=r,r=void 0),typeof e=="number"&&(e=e.toString()),this.readyState!==t.OPEN){uO(this,e,n);return}r===void 0&&(r=!this._isServer),this._sender.ping(e||av,r,n)}pong(e,r,n){if(this.readyState===t.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e=="function"?(n=e,e=r=void 0):typeof r=="function"&&(n=r,r=void 0),typeof e=="number"&&(e=e.toString()),this.readyState!==t.OPEN){uO(this,e,n);return}r===void 0&&(r=!this._isServer),this._sender.pong(e||av,r,n)}resume(){this.readyState===t.CONNECTING||this.readyState===t.CLOSED||(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,r,n){if(this.readyState===t.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof r=="function"&&(n=r,r={}),typeof e=="number"&&(e=e.toString()),this.readyState!==t.OPEN){uO(this,e,n);return}let i={binary:typeof e!="string",mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[rl.extensionName]||(i.compress=!1),this._sender.send(e||av,i,n)}terminate(){if(this.readyState!==t.CLOSED){if(this.readyState===t.CONNECTING){Js(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=t.CLOSING,this._socket.destroy())}}};Object.defineProperty(_r,"CONNECTING",{enumerable:!0,value:Rc.indexOf("CONNECTING")});Object.defineProperty(_r.prototype,"CONNECTING",{enumerable:!0,value:Rc.indexOf("CONNECTING")});Object.defineProperty(_r,"OPEN",{enumerable:!0,value:Rc.indexOf("OPEN")});Object.defineProperty(_r.prototype,"OPEN",{enumerable:!0,value:Rc.indexOf("OPEN")});Object.defineProperty(_r,"CLOSING",{enumerable:!0,value:Rc.indexOf("CLOSING")});Object.defineProperty(_r.prototype,"CLOSING",{enumerable:!0,value:Rc.indexOf("CLOSING")});Object.defineProperty(_r,"CLOSED",{enumerable:!0,value:Rc.indexOf("CLOSED")});Object.defineProperty(_r.prototype,"CLOSED",{enumerable:!0,value:Rc.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(t=>{Object.defineProperty(_r.prototype,t,{enumerable:!0})});["open","error","close","message"].forEach(t=>{Object.defineProperty(_r.prototype,`on${t}`,{enumerable:!0,get(){for(let e of this.listeners(t))if(e[AO])return e[Gnt];return null},set(e){for(let r of this.listeners(t))if(r[AO]){this.removeListener(t,r);break}typeof e=="function"&&this.addEventListener(t,e,{[AO]:!0})}})});_r.prototype.addEventListener=Knt;_r.prototype.removeEventListener=Hnt;mfe.exports=_r;function lfe(t,e,r,n){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:_nt,protocolVersion:cO[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...n,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(t._autoPong=i.autoPong,t._closeTimeout=i.closeTimeout,!cO.includes(i.protocolVersion))throw new RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${cO.join(", ")})`);let s;if(e instanceof aO)s=e;else try{s=new aO(e)}catch{throw new SyntaxError(`Invalid URL: ${e}`)}s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),t._url=s.href;let o=s.protocol==="wss:",a=s.protocol==="ws+unix:",A;if(s.protocol!=="ws:"&&!o&&!a?A=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`:a&&!s.pathname?A="The URL's pathname is empty":s.hash&&(A="The URL contains a fragment identifier"),A){let f=new SyntaxError(A);if(t._redirects===0)throw f;Av(t,f);return}let c=o?443:80,u=Tnt(16).toString("base64"),l=o?Fnt.request:knt.request,d=new Set,g;if(i.createConnection=i.createConnection||(o?Vnt:$nt),i.defaultPort=i.defaultPort||c,i.port=s.port||c,i.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":u,Connection:"Upgrade",Upgrade:"websocket"},i.path=s.pathname+s.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate&&(g=new rl({...i.perMessageDeflate,isServer:!1,maxPayload:i.maxPayload}),i.headers["Sec-WebSocket-Extensions"]=Jnt({[rl.extensionName]:g.offer()})),r.length){for(let f of r){if(typeof f!="string"||!qnt.test(f)||d.has(f))throw new SyntaxError("An invalid or duplicated subprotocol was specified");d.add(f)}i.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(i.origin&&(i.protocolVersion<13?i.headers["Sec-WebSocket-Origin"]=i.origin:i.headers.Origin=i.origin),(s.username||s.password)&&(i.auth=`${s.username}:${s.password}`),a){let f=i.path.split(":");i.socketPath=f[0],i.path=f[1]}let p;if(i.followRedirects){if(t._redirects===0){t._originalIpc=a,t._originalSecure=o,t._originalHostOrSocketPath=a?i.socketPath:s.host;let f=n&&n.headers;if(n={...n,headers:{}},f)for(let[m,C]of Object.entries(f))n.headers[m.toLowerCase()]=C}else if(t.listenerCount("redirect")===0){let f=a?t._originalIpc?i.socketPath===t._originalHostOrSocketPath:!1:t._originalIpc?!1:s.host===t._originalHostOrSocketPath;(!f||t._originalSecure&&!o)&&(delete i.headers.authorization,delete i.headers.cookie,f||delete i.headers.host,i.auth=void 0)}i.auth&&!n.headers.authorization&&(n.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64")),p=t._req=l(i),t._redirects&&t.emit("redirect",t.url,p)}else p=t._req=l(i);i.timeout&&p.on("timeout",()=>{Js(t,p,"Opening handshake has timed out")}),p.on("error",f=>{p===null||p[ufe]||(p=t._req=null,Av(t,f))}),p.on("response",f=>{let m=f.headers.location,C=f.statusCode;if(m&&i.followRedirects&&C>=300&&C<400){if(++t._redirects>i.maxRedirects){Js(t,p,"Maximum redirects exceeded");return}p.abort();let I;try{I=new aO(m,e)}catch{let B=new SyntaxError(`Invalid URL: ${m}`);Av(t,B);return}lfe(t,I,r,n)}else t.emit("unexpected-response",p,f)||Js(t,p,`Unexpected server response: ${f.statusCode}`)}),p.on("upgrade",(f,m,C)=>{if(t.emit("upgrade",f),t.readyState!==_r.CONNECTING)return;p=t._req=null;let I=f.headers.upgrade;if(I===void 0||I.toLowerCase()!=="websocket"){Js(t,m,"Invalid Upgrade header");return}let y=Nnt("sha1").update(u+Unt).digest("base64");if(f.headers["sec-websocket-accept"]!==y){Js(t,m,"Invalid Sec-WebSocket-Accept header");return}let B=f.headers["sec-websocket-protocol"],E;if(B!==void 0?d.size?d.has(B)||(E="Server sent an invalid subprotocol"):E="Server sent a subprotocol but none was requested":d.size&&(E="Server sent no subprotocol"),E){Js(t,m,E);return}B&&(t._protocol=B);let D=f.headers["sec-websocket-extensions"];if(D!==void 0){if(!g){Js(t,m,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let v;try{v=jnt(D)}catch{Js(t,m,"Invalid Sec-WebSocket-Extensions header");return}let Q=Object.keys(v);if(Q.length!==1||Q[0]!==rl.extensionName){Js(t,m,"Server indicated an extension that was not requested");return}try{g.accept(v[rl.extensionName])}catch{Js(t,m,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[rl.extensionName]=g}t.setSocket(m,C,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest?i.finishRequest(p,t):p.end()}function Av(t,e){t._readyState=_r.CLOSING,t._errorEmitted=!0,t.emit("error",e),t.emitClose()}function $nt(t){return t.path=t.socketPath,Afe.connect(t)}function Vnt(t){return t.path=void 0,!t.servername&&t.servername!==""&&(t.servername=Afe.isIP(t.host)?"":t.host),Rnt.connect(t)}function Js(t,e,r){t._readyState=_r.CLOSING;let n=new Error(r);Error.captureStackTrace(n,Js),e.setHeader?(e[ufe]=!0,e.abort(),e.socket&&!e.socket.destroyed&&e.socket.destroy(),process.nextTick(Av,t,n)):(e.destroy(n),e.once("error",t.emit.bind(t,"error")),e.once("close",t.emitClose.bind(t)))}function uO(t,e,r){if(e){let n=Lnt(e)?e.size:Ynt(e).length;t._socket?t._sender._bufferedBytes+=n:t._bufferedAmount+=n}if(r){let n=new Error(`WebSocket is not open: readyState ${t.readyState} (${Rc[t.readyState]})`);process.nextTick(r,n)}}function Wnt(t,e){let r=this[Wn];r._closeFrameReceived=!0,r._closeMessage=e,r._closeCode=t,r._socket[Wn]!==void 0&&(r._socket.removeListener("data",cv),process.nextTick(gfe,r._socket),t===1005?r.close():r.close(t,e))}function znt(){let t=this[Wn];t.isPaused||t._socket.resume()}function Xnt(t){let e=this[Wn];e._socket[Wn]!==void 0&&(e._socket.removeListener("data",cv),process.nextTick(gfe,e._socket),e.close(t[Ont])),e._errorEmitted||(e._errorEmitted=!0,e.emit("error",t))}function afe(){this[Wn].emitClose()}function Znt(t,e){this[Wn].emit("message",t,e)}function eit(t){let e=this[Wn];e._autoPong&&e.pong(t,!this._isServer,cfe),e.emit("ping",t)}function tit(t){this[Wn].emit("pong",t)}function gfe(t){t.resume()}function rit(t){let e=this[Wn];e.readyState!==_r.CLOSED&&(e.readyState===_r.OPEN&&(e._readyState=_r.CLOSING,pfe(e)),this._socket.end(),e._errorEmitted||(e._errorEmitted=!0,e.emit("error",t)))}function pfe(t){t._closeTimer=setTimeout(t._socket.destroy.bind(t._socket),t._closeTimeout)}function dfe(){let t=this[Wn];if(this.removeListener("close",dfe),this.removeListener("data",cv),this.removeListener("end",ffe),t._readyState=_r.CLOSING,!this._readableState.endEmitted&&!t._closeFrameReceived&&!t._receiver._writableState.errorEmitted&&this._readableState.length!==0){let e=this.read(this._readableState.length);t._receiver.write(e)}t._receiver.end(),this[Wn]=void 0,clearTimeout(t._closeTimer),t._receiver._writableState.finished||t._receiver._writableState.errorEmitted?t.emitClose():(t._receiver.on("error",afe),t._receiver.on("finish",afe))}function cv(t){this[Wn]._receiver.write(t)||this.pause()}function ffe(){let t=this[Wn];t._readyState=_r.CLOSING,t._receiver.end(),this.end()}function hfe(){let t=this[Wn];this.removeListener("error",hfe),this.on("error",cfe),t&&(t._readyState=_r.CLOSING,this.destroy())}});var Bfe=N((p5t,Efe)=>{"use strict";h();var g5t=uv(),{Duplex:nit}=require("stream");function Cfe(t){t.emit("close")}function iit(){!this.destroyed&&this._writableState.finished&&this.destroy()}function Ife(t){this.removeListener("error",Ife),this.destroy(),this.listenerCount("error")===0&&this.emit("error",t)}function sit(t,e){let r=!0,n=new nit({...e,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return t.on("message",function(s,o){let a=!o&&n._readableState.objectMode?s.toString():s;n.push(a)||t.pause()}),t.once("error",function(s){n.destroyed||(r=!1,n.destroy(s))}),t.once("close",function(){n.destroyed||n.push(null)}),n._destroy=function(i,s){if(t.readyState===t.CLOSED){s(i),process.nextTick(Cfe,n);return}let o=!1;t.once("error",function(A){o=!0,s(A)}),t.once("close",function(){o||s(i),process.nextTick(Cfe,n)}),r&&t.terminate()},n._final=function(i){if(t.readyState===t.CONNECTING){t.once("open",function(){n._final(i)});return}t._socket!==null&&(t._socket._writableState.finished?(i(),n._readableState.endEmitted&&n.destroy()):(t._socket.once("finish",function(){i()}),t.close()))},n._read=function(){t.isPaused&&t.resume()},n._write=function(i,s,o){if(t.readyState===t.CONNECTING){t.once("open",function(){n._write(i,s,o)});return}t.send(i,o)},n.on("end",iit),n.on("error",Ife),n}Efe.exports=sit});var lO=N((f5t,yfe)=>{"use strict";h();var{tokenChars:oit}=ih();function ait(t){let e=new Set,r=-1,n=-1,i=0;for(i;i<t.length;i++){let o=t.charCodeAt(i);if(n===-1&&oit[o]===1)r===-1&&(r=i);else if(i!==0&&(o===32||o===9))n===-1&&r!==-1&&(n=i);else if(o===44){if(r===-1)throw new SyntaxError(`Unexpected character at index ${i}`);n===-1&&(n=i);let a=t.slice(r,n);if(e.has(a))throw new SyntaxError(`The "${a}" subprotocol is duplicated`);e.add(a),r=n=-1}else throw new SyntaxError(`Unexpected character at index ${i}`)}if(r===-1||n!==-1)throw new SyntaxError("Unexpected end of input");let s=t.slice(r,i);if(e.has(s))throw new SyntaxError(`The "${s}" subprotocol is duplicated`);return e.add(s),e}yfe.exports={parse:ait}});var xfe=N((C5t,Sfe)=>{"use strict";h();var Ait=require("events"),lv=require("http"),{Duplex:m5t}=require("stream"),{createHash:cit}=require("crypto"),Qfe=ov(),cp=nh(),uit=lO(),lit=uv(),{CLOSE_TIMEOUT:git,GUID:pit,kWebSocket:dit}=Sc(),fit=/^[+/0-9A-Za-z]{22}==$/,Dfe=0,wfe=1,vfe=2,gO=class extends Ait{constructor(e,r){if(super(),e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:100*1024*1024,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:git,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:lit,...e},e.port==null&&!e.server&&!e.noServer||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(e.port!=null?(this._server=lv.createServer((n,i)=>{let s=lv.STATUS_CODES[426];i.writeHead(426,{"Content-Length":s.length,"Content-Type":"text/plain"}),i.end(s)}),this._server.listen(e.port,e.host,e.backlog,r)):e.server&&(this._server=e.server),this._server){let n=this.emit.bind(this,"connection");this._removeListeners=hit(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(i,s,o)=>{this.handleUpgrade(i,s,o,n)}})}e.perMessageDeflate===!0&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=Dfe}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(this._state===vfe){e&&this.once("close",()=>{e(new Error("The server is not running"))}),process.nextTick(BE,this);return}if(e&&this.once("close",e),this._state!==wfe)if(this._state=wfe,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients?this.clients.size?this._shouldEmitClose=!0:process.nextTick(BE,this):process.nextTick(BE,this);else{let r=this._server;this._removeListeners(),this._removeListeners=this._server=null,r.close(()=>{BE(this)})}}shouldHandle(e){if(this.options.path){let r=e.url.indexOf("?");if((r!==-1?e.url.slice(0,r):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,r,n,i){r.on("error",bfe);let s=e.headers["sec-websocket-key"],o=e.headers.upgrade,a=+e.headers["sec-websocket-version"];if(e.method!=="GET"){up(this,e,r,405,"Invalid HTTP method");return}if(o===void 0||o.toLowerCase()!=="websocket"){up(this,e,r,400,"Invalid Upgrade header");return}if(s===void 0||!fit.test(s)){up(this,e,r,400,"Missing or invalid Sec-WebSocket-Key header");return}if(a!==13&&a!==8){up(this,e,r,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(e)){yE(r,400);return}let A=e.headers["sec-websocket-protocol"],c=new Set;if(A!==void 0)try{c=uit.parse(A)}catch{up(this,e,r,400,"Invalid Sec-WebSocket-Protocol header");return}let u=e.headers["sec-websocket-extensions"],l={};if(this.options.perMessageDeflate&&u!==void 0){let d=new cp({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let g=Qfe.parse(u);g[cp.extensionName]&&(d.accept(g[cp.extensionName]),l[cp.extensionName]=d)}catch{up(this,e,r,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let d={origin:e.headers[`${a===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(d,(g,p,f,m)=>{if(!g)return yE(r,p||401,f,m);this.completeUpgrade(l,s,c,e,r,n,i)});return}if(!this.options.verifyClient(d))return yE(r,401)}this.completeUpgrade(l,s,c,e,r,n,i)}completeUpgrade(e,r,n,i,s,o,a){if(!s.readable||!s.writable)return s.destroy();if(s[dit])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>Dfe)return yE(s,503);let c=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${cit("sha1").update(r+pit).digest("base64")}`],u=new this.options.WebSocket(null,void 0,this.options);if(n.size){let l=this.options.handleProtocols?this.options.handleProtocols(n,i):n.values().next().value;l&&(c.push(`Sec-WebSocket-Protocol: ${l}`),u._protocol=l)}if(e[cp.extensionName]){let l=e[cp.extensionName].params,d=Qfe.format({[cp.extensionName]:[l]});c.push(`Sec-WebSocket-Extensions: ${d}`),u._extensions=e}this.emit("headers",c,i),s.write(c.concat(`\r
1659
+ `);function a(A){var c=GG(xc.join(A,"prebuilds")).map(hde),u=c.filter(mde(_G,LG)).sort(Cde)[0];if(u){var l=xc.join(A,"prebuilds",u.name),d=GG(l).map(Ide),g=d.filter(Ede(PG,Ade)),p=g.sort(Bde(PG))[0];if(p)return xc.join(l,p.file)}}};function GG(t){try{return lde.readdirSync(t)}catch{return[]}}function cde(t,e){var r=GG(t).filter(e);return r[0]&&xc.join(t,r[0])}function ude(t){return/\.node$/.test(t)}function hde(t){var e=t.split("-");if(e.length===2){var r=e[0],n=e[1].split("+");if(r&&n.length&&n.every(Boolean))return{name:t,platform:r,architectures:n}}}function mde(t,e){return function(r){return r==null||r.platform!==t?!1:r.architectures.includes(e)}}function Cde(t,e){return t.architectures.length-e.architectures.length}function Ide(t){var e=t.split("."),r=e.pop(),n={file:t,specificity:0};if(r==="node"){for(var i=0;i<e.length;i++){var s=e[i];if(s==="node"||s==="electron"||s==="node-webkit")n.runtime=s;else if(s==="napi")n.napi=!0;else if(s.slice(0,3)==="abi")n.abi=s.slice(3);else if(s.slice(0,2)==="uv")n.uv=s.slice(2);else if(s.slice(0,4)==="armv")n.armv=s.slice(4);else if(s==="glibc"||s==="musl")n.libc=s;else continue;n.specificity++}return n}}function Ede(t,e){return function(r){return!(r==null||r.runtime&&r.runtime!==t&&!jrt(r)||r.abi&&r.abi!==e&&!r.napi||r.uv&&r.uv!==fde||r.armv&&r.armv!==UG||r.libc&&r.libc!==dde)}}function jrt(t){return t.runtime==="node"&&t.napi}function Bde(t){return function(e,r){return e.runtime!==r.runtime?e.runtime===t?-1:1:e.abi!==r.abi?e.abi?-1:1:e.specificity!==r.specificity?e.specificity>r.specificity?-1:1:0}}function Yrt(){return!!(process.versions&&process.versions.nw)}function qrt(){return process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE?!0:typeof window<"u"&&window.process&&window.process.type==="renderer"}function $rt(t){return t==="linux"&&lde.existsSync("/etc/alpine-release")}DA.parseTags=Ide;DA.matchTags=Ede;DA.compareTags=Bde;DA.parseTuple=hde;DA.matchTuple=mde;DA.compareTuples=Cde});var HG=N((M5t,KG)=>{h();var OG=typeof __webpack_require__=="function"?__non_webpack_require__:require;typeof OG.addon=="function"?KG.exports=OG.addon.bind(OG):KG.exports=Qde()});var wde=N((L5t,Dde)=>{"use strict";h();var Vrt=(t,e,r,n,i)=>{for(var s=0;s<i;s++)r[n+s]=t[s]^e[s&3]},Wrt=(t,e)=>{let r=t.length;for(var n=0;n<r;n++)t[n]^=e[n&3]};Dde.exports={mask:Vrt,unmask:Wrt}});var bde=N((U5t,JG)=>{"use strict";h();try{JG.exports=HG()(__dirname)}catch{JG.exports=wde()}});var hE=N((O5t,Xb)=>{"use strict";h();var{EMPTY_BUFFER:zrt}=Sc(),jG=Buffer[Symbol.species];function Xrt(t,e){if(t.length===0)return zrt;if(t.length===1)return t[0];let r=Buffer.allocUnsafe(e),n=0;for(let i=0;i<t.length;i++){let s=t[i];r.set(s,n),n+=s.length}return n<e?new jG(r.buffer,r.byteOffset,n):r}function vde(t,e,r,n,i){for(let s=0;s<i;s++)r[n+s]=t[s]^e[s&3]}function Sde(t,e){for(let r=0;r<t.length;r++)t[r]^=e[r&3]}function Zrt(t){return t.length===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.length)}function YG(t){if(YG.readOnly=!0,Buffer.isBuffer(t))return t;let e;return t instanceof ArrayBuffer?e=new jG(t):ArrayBuffer.isView(t)?e=new jG(t.buffer,t.byteOffset,t.byteLength):(e=Buffer.from(t),YG.readOnly=!1),e}Xb.exports={concat:Xrt,mask:vde,toArrayBuffer:Zrt,toBuffer:YG,unmask:Sde};if(!process.env.WS_NO_BUFFER_UTIL)try{let t=bde();Xb.exports.mask=function(e,r,n,i,s){s<48?vde(e,r,n,i,s):t.mask(e,r,n,i,s)},Xb.exports.unmask=function(e,r){e.length<32?Sde(e,r):t.unmask(e,r)}}catch{}});var kde=N((H5t,Fde)=>{"use strict";h();var xde=Symbol("kDone"),qG=Symbol("kRun"),$G=class{constructor(e){this[xde]=()=>{this.pending--,this[qG]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[qG]()}[qG](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[xde])}}};Fde.exports=$G});var nh=N((j5t,Mde)=>{"use strict";h();var mE=require("zlib"),Rde=hE(),ent=kde(),{kStatusCode:Tde}=Sc(),tnt=Buffer[Symbol.species],rnt=Buffer.from([0,0,255,255]),ev=Symbol("permessage-deflate"),Fc=Symbol("total-length"),th=Symbol("callback"),tl=Symbol("buffers"),rh=Symbol("error"),Zb,VG=class{constructor(e){if(this._options=e||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Zb){let r=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Zb=new ent(r)}}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[th];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let r=this._options,n=e.find(i=>!(r.serverNoContextTakeover===!1&&i.server_no_context_takeover||i.server_max_window_bits&&(r.serverMaxWindowBits===!1||typeof r.serverMaxWindowBits=="number"&&r.serverMaxWindowBits>i.server_max_window_bits)||typeof r.clientMaxWindowBits=="number"&&!i.client_max_window_bits));if(!n)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(n.server_no_context_takeover=!0),r.clientNoContextTakeover&&(n.client_no_context_takeover=!0),typeof r.serverMaxWindowBits=="number"&&(n.server_max_window_bits=r.serverMaxWindowBits),typeof r.clientMaxWindowBits=="number"?n.client_max_window_bits=r.clientMaxWindowBits:(n.client_max_window_bits===!0||r.clientMaxWindowBits===!1)&&delete n.client_max_window_bits,n}acceptAsClient(e){let r=e[0];if(this._options.clientNoContextTakeover===!1&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!r.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(r.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return r}normalizeParams(e){return e.forEach(r=>{Object.keys(r).forEach(n=>{let i=r[n];if(i.length>1)throw new Error(`Parameter "${n}" must have only a single value`);if(i=i[0],n==="client_max_window_bits"){if(i!==!0){let s=+i;if(!Number.isInteger(s)||s<8||s>15)throw new TypeError(`Invalid value for parameter "${n}": ${i}`);i=s}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${n}": ${i}`)}else if(n==="server_max_window_bits"){let s=+i;if(!Number.isInteger(s)||s<8||s>15)throw new TypeError(`Invalid value for parameter "${n}": ${i}`);i=s}else if(n==="client_no_context_takeover"||n==="server_no_context_takeover"){if(i!==!0)throw new TypeError(`Invalid value for parameter "${n}": ${i}`)}else throw new Error(`Unknown parameter "${n}"`);r[n]=i})}),e}decompress(e,r,n){Zb.add(i=>{this._decompress(e,r,(s,o)=>{i(),n(s,o)})})}compress(e,r,n){Zb.add(i=>{this._compress(e,r,(s,o)=>{i(),n(s,o)})})}_decompress(e,r,n){let i=this._isServer?"client":"server";if(!this._inflate){let s=`${i}_max_window_bits`,o=typeof this.params[s]!="number"?mE.Z_DEFAULT_WINDOWBITS:this.params[s];this._inflate=mE.createInflateRaw({...this._options.zlibInflateOptions,windowBits:o}),this._inflate[ev]=this,this._inflate[Fc]=0,this._inflate[tl]=[],this._inflate.on("error",int),this._inflate.on("data",Nde)}this._inflate[th]=n,this._inflate.write(e),r&&this._inflate.write(rnt),this._inflate.flush(()=>{let s=this._inflate[rh];if(s){this._inflate.close(),this._inflate=null,n(s);return}let o=Rde.concat(this._inflate[tl],this._inflate[Fc]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[Fc]=0,this._inflate[tl]=[],r&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),n(null,o)})}_compress(e,r,n){let i=this._isServer?"server":"client";if(!this._deflate){let s=`${i}_max_window_bits`,o=typeof this.params[s]!="number"?mE.Z_DEFAULT_WINDOWBITS:this.params[s];this._deflate=mE.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:o}),this._deflate[Fc]=0,this._deflate[tl]=[],this._deflate.on("data",nnt)}this._deflate[th]=n,this._deflate.write(e),this._deflate.flush(mE.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let s=Rde.concat(this._deflate[tl],this._deflate[Fc]);r&&(s=new tnt(s.buffer,s.byteOffset,s.length-4)),this._deflate[th]=null,this._deflate[Fc]=0,this._deflate[tl]=[],r&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),n(null,s)})}};Mde.exports=VG;function nnt(t){this[tl].push(t),this[Fc]+=t.length}function Nde(t){if(this[Fc]+=t.length,this[ev]._maxPayload<1||this[Fc]<=this[ev]._maxPayload){this[tl].push(t);return}this[rh]=new RangeError("Max payload size exceeded"),this[rh].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[rh][Tde]=1009,this.removeListener("data",Nde),this.reset()}function int(t){if(this[ev]._inflate=null,this[rh]){this[th](this[rh]);return}t[Tde]=1007,this[th](t)}});var Lde=N((q5t,Pde)=>{"use strict";h();function snt(t){let e=t.length,r=0;for(;r<e;)if((t[r]&128)===0)r++;else if((t[r]&224)===192){if(r+1===e||(t[r+1]&192)!==128||(t[r]&254)===192)return!1;r+=2}else if((t[r]&240)===224){if(r+2>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||t[r]===224&&(t[r+1]&224)===128||t[r]===237&&(t[r+1]&224)===160)return!1;r+=3}else if((t[r]&248)===240){if(r+3>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||(t[r+3]&192)!==128||t[r]===240&&(t[r+1]&240)===128||t[r]===244&&t[r+1]>143||t[r]>244)return!1;r+=4}else return!1;return!0}Pde.exports=snt});var _de=N((V5t,WG)=>{"use strict";h();try{WG.exports=HG()(__dirname)}catch{WG.exports=Lde()}});var ih=N((z5t,tv)=>{"use strict";h();var{isUtf8:Ude}=require("buffer"),{hasBlob:ont}=Sc(),ant=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,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,0,0,0,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,0,1,0,1,0];function Ant(t){return t>=1e3&&t<=1014&&t!==1004&&t!==1005&&t!==1006||t>=3e3&&t<=4999}function zG(t){let e=t.length,r=0;for(;r<e;)if((t[r]&128)===0)r++;else if((t[r]&224)===192){if(r+1===e||(t[r+1]&192)!==128||(t[r]&254)===192)return!1;r+=2}else if((t[r]&240)===224){if(r+2>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||t[r]===224&&(t[r+1]&224)===128||t[r]===237&&(t[r+1]&224)===160)return!1;r+=3}else if((t[r]&248)===240){if(r+3>=e||(t[r+1]&192)!==128||(t[r+2]&192)!==128||(t[r+3]&192)!==128||t[r]===240&&(t[r+1]&240)===128||t[r]===244&&t[r+1]>143||t[r]>244)return!1;r+=4}else return!1;return!0}function cnt(t){return ont&&typeof t=="object"&&typeof t.arrayBuffer=="function"&&typeof t.type=="string"&&typeof t.stream=="function"&&(t[Symbol.toStringTag]==="Blob"||t[Symbol.toStringTag]==="File")}tv.exports={isBlob:cnt,isValidStatusCode:Ant,isValidUTF8:zG,tokenChars:ant};if(Ude)tv.exports.isValidUTF8=function(t){return t.length<24?zG(t):Ude(t)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let t=_de();tv.exports.isValidUTF8=function(e){return e.length<32?zG(e):t(e)}}catch{}});var rO=N((Z5t,Yde)=>{"use strict";h();var{Writable:unt}=require("stream"),Gde=nh(),{BINARY_TYPES:lnt,EMPTY_BUFFER:Ode,kStatusCode:gnt,kWebSocket:pnt}=Sc(),{concat:XG,toArrayBuffer:dnt,unmask:fnt}=hE(),{isValidStatusCode:hnt,isValidUTF8:Kde}=ih(),rv=Buffer[Symbol.species],yo=0,Hde=1,Jde=2,jde=3,ZG=4,eO=5,nv=6,tO=class extends unt{constructor(e={}){super(),this._allowSynchronousEvents=e.allowSynchronousEvents!==void 0?e.allowSynchronousEvents:!0,this._binaryType=e.binaryType||lnt[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=e.maxPayload|0,this._skipUTF8Validation=!!e.skipUTF8Validation,this[pnt]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=yo}_write(e,r,n){if(this._opcode===8&&this._state==yo)return n();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){let n=this._buffers[0];return this._buffers[0]=new rv(n.buffer,n.byteOffset+e,n.length-e),new rv(n.buffer,n.byteOffset,e)}let r=Buffer.allocUnsafe(e);do{let n=this._buffers[0],i=r.length-e;e>=n.length?r.set(this._buffers.shift(),i):(r.set(new Uint8Array(n.buffer,n.byteOffset,e),i),this._buffers[0]=new rv(n.buffer,n.byteOffset+e,n.length-e)),e-=n.length}while(e>0);return r}startLoop(e){this._loop=!0;do switch(this._state){case yo:this.getInfo(e);break;case Hde:this.getPayloadLength16(e);break;case Jde:this.getPayloadLength64(e);break;case jde:this.getMask();break;case ZG:this.getData(e);break;case eO:case nv:this._loop=!1;return}while(this._loop);this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let r=this.consume(2);if((r[0]&48)!==0){let i=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");e(i);return}let n=(r[0]&64)===64;if(n&&!this._extensions[Gde.extensionName]){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(i);return}if(this._fin=(r[0]&128)===128,this._opcode=r[0]&15,this._payloadLength=r[1]&127,this._opcode===0){if(n){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(i);return}if(!this._fragmented){let i=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");e(i);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(i);return}this._compressed=n}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let i=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");e(i);return}if(n){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(i);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let i=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");e(i);return}}else{let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(i);return}if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(r[1]&128)===128,this._isServer){if(!this._masked){let i=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");e(i);return}}else if(this._masked){let i=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");e(i);return}this._payloadLength===126?this._state=Hde:this._payloadLength===127?this._state=Jde:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let r=this.consume(8),n=r.readUInt32BE(0);if(n>Math.pow(2,21)-1){let i=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");e(i);return}this._payloadLength=n*Math.pow(2,32)+r.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){let r=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");e(r);return}this._masked?this._state=jde:this._state=ZG}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=ZG}getData(e){let r=Ode;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}r=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0&&fnt(r,this._mask)}if(this._opcode>7){this.controlMessage(r,e);return}if(this._compressed){this._state=eO,this.decompress(r,e);return}r.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(r)),this.dataMessage(e)}decompress(e,r){this._extensions[Gde.extensionName].decompress(e,this._fin,(i,s)=>{if(i)return r(i);if(s.length){if(this._messageLength+=s.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let o=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");r(o);return}this._fragments.push(s)}this.dataMessage(r),this._state===yo&&this.startLoop(r)})}dataMessage(e){if(!this._fin){this._state=yo;return}let r=this._messageLength,n=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let i;this._binaryType==="nodebuffer"?i=XG(n,r):this._binaryType==="arraybuffer"?i=dnt(XG(n,r)):this._binaryType==="blob"?i=new Blob(n):i=n,this._allowSynchronousEvents?(this.emit("message",i,!0),this._state=yo):(this._state=nv,setImmediate(()=>{this.emit("message",i,!0),this._state=yo,this.startLoop(e)}))}else{let i=XG(n,r);if(!this._skipUTF8Validation&&!Kde(i)){let s=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");e(s);return}this._state===eO||this._allowSynchronousEvents?(this.emit("message",i,!1),this._state=yo):(this._state=nv,setImmediate(()=>{this.emit("message",i,!1),this._state=yo,this.startLoop(e)}))}}controlMessage(e,r){if(this._opcode===8){if(e.length===0)this._loop=!1,this.emit("conclude",1005,Ode),this.end();else{let n=e.readUInt16BE(0);if(!hnt(n)){let s=this.createError(RangeError,`invalid status code ${n}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");r(s);return}let i=new rv(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!Kde(i)){let s=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");r(s);return}this._loop=!1,this.emit("conclude",n,i),this.end()}this._state=yo;return}this._allowSynchronousEvents?(this.emit(this._opcode===9?"ping":"pong",e),this._state=yo):(this._state=nv,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",e),this._state=yo,this.startLoop(r)}))}createError(e,r,n,i,s){this._loop=!1,this._errored=!0;let o=new e(n?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(o,this.createError),o.code=s,o[gnt]=i,o}};Yde.exports=tO});var sO=N((r$t,Vde)=>{"use strict";h();var{Duplex:t$t}=require("stream"),{randomFillSync:mnt}=require("crypto"),qde=nh(),{EMPTY_BUFFER:Cnt,kWebSocket:Int,NOOP:Ent}=Sc(),{isBlob:sh,isValidStatusCode:Bnt}=ih(),{mask:$de,toBuffer:op}=hE(),Qo=Symbol("kByteLength"),ynt=Buffer.alloc(4),iv=8*1024,ap,oh=iv,ha=0,Qnt=1,Dnt=2,nO=class t{constructor(e,r,n){this._extensions=r||{},n&&(this._generateMask=n,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=ha,this.onerror=Ent,this[Int]=void 0}static frame(e,r){let n,i=!1,s=2,o=!1;r.mask&&(n=r.maskBuffer||ynt,r.generateMask?r.generateMask(n):(oh===iv&&(ap===void 0&&(ap=Buffer.alloc(iv)),mnt(ap,0,iv),oh=0),n[0]=ap[oh++],n[1]=ap[oh++],n[2]=ap[oh++],n[3]=ap[oh++]),o=(n[0]|n[1]|n[2]|n[3])===0,s=6);let a;typeof e=="string"?(!r.mask||o)&&r[Qo]!==void 0?a=r[Qo]:(e=Buffer.from(e),a=e.length):(a=e.length,i=r.mask&&r.readOnly&&!o);let A=a;a>=65536?(s+=8,A=127):a>125&&(s+=2,A=126);let c=Buffer.allocUnsafe(i?a+s:s);return c[0]=r.fin?r.opcode|128:r.opcode,r.rsv1&&(c[0]|=64),c[1]=A,A===126?c.writeUInt16BE(a,2):A===127&&(c[2]=c[3]=0,c.writeUIntBE(a,4,6)),r.mask?(c[1]|=128,c[s-4]=n[0],c[s-3]=n[1],c[s-2]=n[2],c[s-1]=n[3],o?[c,e]:i?($de(e,n,c,s,a),[c]):($de(e,n,e,0,a),[c,e])):[c,e]}close(e,r,n,i){let s;if(e===void 0)s=Cnt;else{if(typeof e!="number"||!Bnt(e))throw new TypeError("First argument must be a valid error code number");if(r===void 0||!r.length)s=Buffer.allocUnsafe(2),s.writeUInt16BE(e,0);else{let a=Buffer.byteLength(r);if(a>123)throw new RangeError("The message must not be greater than 123 bytes");s=Buffer.allocUnsafe(2+a),s.writeUInt16BE(e,0),typeof r=="string"?s.write(r,2):s.set(r,2)}}let o={[Qo]:s.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==ha?this.enqueue([this.dispatch,s,!1,o,i]):this.sendFrame(t.frame(s,o),i)}ping(e,r,n){let i,s;if(typeof e=="string"?(i=Buffer.byteLength(e),s=!1):sh(e)?(i=e.size,s=!1):(e=op(e),i=e.length,s=op.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let o={[Qo]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:9,readOnly:s,rsv1:!1};sh(e)?this._state!==ha?this.enqueue([this.getBlobData,e,!1,o,n]):this.getBlobData(e,!1,o,n):this._state!==ha?this.enqueue([this.dispatch,e,!1,o,n]):this.sendFrame(t.frame(e,o),n)}pong(e,r,n){let i,s;if(typeof e=="string"?(i=Buffer.byteLength(e),s=!1):sh(e)?(i=e.size,s=!1):(e=op(e),i=e.length,s=op.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let o={[Qo]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:10,readOnly:s,rsv1:!1};sh(e)?this._state!==ha?this.enqueue([this.getBlobData,e,!1,o,n]):this.getBlobData(e,!1,o,n):this._state!==ha?this.enqueue([this.dispatch,e,!1,o,n]):this.sendFrame(t.frame(e,o),n)}send(e,r,n){let i=this._extensions[qde.extensionName],s=r.binary?2:1,o=r.compress,a,A;typeof e=="string"?(a=Buffer.byteLength(e),A=!1):sh(e)?(a=e.size,A=!1):(e=op(e),a=e.length,A=op.readOnly),this._firstFragment?(this._firstFragment=!1,o&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(o=a>=i._threshold),this._compress=o):(o=!1,s=0),r.fin&&(this._firstFragment=!0);let c={[Qo]:a,fin:r.fin,generateMask:this._generateMask,mask:r.mask,maskBuffer:this._maskBuffer,opcode:s,readOnly:A,rsv1:o};sh(e)?this._state!==ha?this.enqueue([this.getBlobData,e,this._compress,c,n]):this.getBlobData(e,this._compress,c,n):this._state!==ha?this.enqueue([this.dispatch,e,this._compress,c,n]):this.dispatch(e,this._compress,c,n)}getBlobData(e,r,n,i){this._bufferedBytes+=n[Qo],this._state=Dnt,e.arrayBuffer().then(s=>{if(this._socket.destroyed){let a=new Error("The socket was closed while the blob was being read");process.nextTick(iO,this,a,i);return}this._bufferedBytes-=n[Qo];let o=op(s);r?this.dispatch(o,r,n,i):(this._state=ha,this.sendFrame(t.frame(o,n),i),this.dequeue())}).catch(s=>{process.nextTick(wnt,this,s,i)})}dispatch(e,r,n,i){if(!r){this.sendFrame(t.frame(e,n),i);return}let s=this._extensions[qde.extensionName];this._bufferedBytes+=n[Qo],this._state=Qnt,s.compress(e,n.fin,(o,a)=>{if(this._socket.destroyed){let A=new Error("The socket was closed while data was being compressed");iO(this,A,i);return}this._bufferedBytes-=n[Qo],this._state=ha,n.readOnly=!1,this.sendFrame(t.frame(a,n),i),this.dequeue()})}dequeue(){for(;this._state===ha&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][Qo],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][Qo],this._queue.push(e)}sendFrame(e,r){e.length===2?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],r),this._socket.uncork()):this._socket.write(e[0],r)}};Vde.exports=nO;function iO(t,e,r){typeof r=="function"&&r(e);for(let n=0;n<t._queue.length;n++){let i=t._queue[n],s=i[i.length-1];typeof s=="function"&&s(e)}}function wnt(t,e,r){iO(t,e,r),t.onerror(e)}});var ife=N((i$t,nfe)=>{"use strict";h();var{kForOnEventAttribute:CE,kListener:oO}=Sc(),Wde=Symbol("kCode"),zde=Symbol("kData"),Xde=Symbol("kError"),Zde=Symbol("kMessage"),efe=Symbol("kReason"),ah=Symbol("kTarget"),tfe=Symbol("kType"),rfe=Symbol("kWasClean"),kc=class{constructor(e){this[ah]=null,this[tfe]=e}get target(){return this[ah]}get type(){return this[tfe]}};Object.defineProperty(kc.prototype,"target",{enumerable:!0});Object.defineProperty(kc.prototype,"type",{enumerable:!0});var Ap=class extends kc{constructor(e,r={}){super(e),this[Wde]=r.code===void 0?0:r.code,this[efe]=r.reason===void 0?"":r.reason,this[rfe]=r.wasClean===void 0?!1:r.wasClean}get code(){return this[Wde]}get reason(){return this[efe]}get wasClean(){return this[rfe]}};Object.defineProperty(Ap.prototype,"code",{enumerable:!0});Object.defineProperty(Ap.prototype,"reason",{enumerable:!0});Object.defineProperty(Ap.prototype,"wasClean",{enumerable:!0});var Ah=class extends kc{constructor(e,r={}){super(e),this[Xde]=r.error===void 0?null:r.error,this[Zde]=r.message===void 0?"":r.message}get error(){return this[Xde]}get message(){return this[Zde]}};Object.defineProperty(Ah.prototype,"error",{enumerable:!0});Object.defineProperty(Ah.prototype,"message",{enumerable:!0});var IE=class extends kc{constructor(e,r={}){super(e),this[zde]=r.data===void 0?null:r.data}get data(){return this[zde]}};Object.defineProperty(IE.prototype,"data",{enumerable:!0});var bnt={addEventListener(t,e,r={}){for(let i of this.listeners(t))if(!r[CE]&&i[oO]===e&&!i[CE])return;let n;if(t==="message")n=function(s,o){let a=new IE("message",{data:o?s:s.toString()});a[ah]=this,sv(e,this,a)};else if(t==="close")n=function(s,o){let a=new Ap("close",{code:s,reason:o.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});a[ah]=this,sv(e,this,a)};else if(t==="error")n=function(s){let o=new Ah("error",{error:s,message:s.message});o[ah]=this,sv(e,this,o)};else if(t==="open")n=function(){let s=new kc("open");s[ah]=this,sv(e,this,s)};else return;n[CE]=!!r[CE],n[oO]=e,r.once?this.once(t,n):this.on(t,n)},removeEventListener(t,e){for(let r of this.listeners(t))if(r[oO]===e&&!r[CE]){this.removeListener(t,r);break}}};nfe.exports={CloseEvent:Ap,ErrorEvent:Ah,Event:kc,EventTarget:bnt,MessageEvent:IE};function sv(t,e,r){typeof t=="object"&&t.handleEvent?t.handleEvent.call(t,r):t.call(e,r)}});var ov=N((o$t,sfe)=>{"use strict";h();var{tokenChars:EE}=ih();function wA(t,e,r){t[e]===void 0?t[e]=[r]:t[e].push(r)}function vnt(t){let e=Object.create(null),r=Object.create(null),n=!1,i=!1,s=!1,o,a,A=-1,c=-1,u=-1,l=0;for(;l<t.length;l++)if(c=t.charCodeAt(l),o===void 0)if(u===-1&&EE[c]===1)A===-1&&(A=l);else if(l!==0&&(c===32||c===9))u===-1&&A!==-1&&(u=l);else if(c===59||c===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${l}`);u===-1&&(u=l);let g=t.slice(A,u);c===44?(wA(e,g,r),r=Object.create(null)):o=g,A=u=-1}else throw new SyntaxError(`Unexpected character at index ${l}`);else if(a===void 0)if(u===-1&&EE[c]===1)A===-1&&(A=l);else if(c===32||c===9)u===-1&&A!==-1&&(u=l);else if(c===59||c===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${l}`);u===-1&&(u=l),wA(r,t.slice(A,u),!0),c===44&&(wA(e,o,r),r=Object.create(null),o=void 0),A=u=-1}else if(c===61&&A!==-1&&u===-1)a=t.slice(A,l),A=u=-1;else throw new SyntaxError(`Unexpected character at index ${l}`);else if(i){if(EE[c]!==1)throw new SyntaxError(`Unexpected character at index ${l}`);A===-1?A=l:n||(n=!0),i=!1}else if(s)if(EE[c]===1)A===-1&&(A=l);else if(c===34&&A!==-1)s=!1,u=l;else if(c===92)i=!0;else throw new SyntaxError(`Unexpected character at index ${l}`);else if(c===34&&t.charCodeAt(l-1)===61)s=!0;else if(u===-1&&EE[c]===1)A===-1&&(A=l);else if(A!==-1&&(c===32||c===9))u===-1&&(u=l);else if(c===59||c===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${l}`);u===-1&&(u=l);let g=t.slice(A,u);n&&(g=g.replace(/\\/g,""),n=!1),wA(r,a,g),c===44&&(wA(e,o,r),r=Object.create(null),o=void 0),a=void 0,A=u=-1}else throw new SyntaxError(`Unexpected character at index ${l}`);if(A===-1||s||c===32||c===9)throw new SyntaxError("Unexpected end of input");u===-1&&(u=l);let d=t.slice(A,u);return o===void 0?wA(e,d,r):(a===void 0?wA(r,d,!0):n?wA(r,a,d.replace(/\\/g,"")):wA(r,a,d),wA(e,o,r)),e}function Snt(t){return Object.keys(t).map(e=>{let r=t[e];return Array.isArray(r)||(r=[r]),r.map(n=>[e].concat(Object.keys(n).map(i=>{let s=n[i];return Array.isArray(s)||(s=[s]),s.map(o=>o===!0?i:`${i}=${o}`).join("; ")})).join("; ")).join(", ")}).join(", ")}sfe.exports={format:Snt,parse:vnt}});var uv=N((u$t,mfe)=>{"use strict";h();var xnt=require("events"),Fnt=require("https"),knt=require("http"),Afe=require("net"),Rnt=require("tls"),{randomBytes:Tnt,createHash:Nnt}=require("crypto"),{Duplex:A$t,Readable:c$t}=require("stream"),{URL:aO}=require("url"),rl=nh(),Mnt=rO(),Pnt=sO(),{isBlob:Lnt}=ih(),{BINARY_TYPES:ofe,CLOSE_TIMEOUT:_nt,EMPTY_BUFFER:av,GUID:Unt,kForOnEventAttribute:AO,kListener:Gnt,kStatusCode:Ont,kWebSocket:Wn,NOOP:cfe}=Sc(),{EventTarget:{addEventListener:Knt,removeEventListener:Hnt}}=ife(),{format:Jnt,parse:jnt}=ov(),{toBuffer:Ynt}=hE(),ufe=Symbol("kAborted"),cO=[8,13],Rc=["CONNECTING","OPEN","CLOSING","CLOSED"],qnt=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,_r=class t extends xnt{constructor(e,r,n){super(),this._binaryType=ofe[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=av,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=t.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,e!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,r===void 0?r=[]:Array.isArray(r)||(typeof r=="object"&&r!==null?(n=r,r=[]):r=[r]),lfe(this,e,r,n)):(this._autoPong=n.autoPong,this._closeTimeout=n.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){ofe.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,r,n){let i=new Mnt({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation}),s=new Pnt(e,this._extensions,n.generateMask);this._receiver=i,this._sender=s,this._socket=e,i[Wn]=this,s[Wn]=this,e[Wn]=this,i.on("conclude",Wnt),i.on("drain",znt),i.on("error",Xnt),i.on("message",Znt),i.on("ping",eit),i.on("pong",tit),s.onerror=rit,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),r.length>0&&e.unshift(r),e.on("close",dfe),e.on("data",cv),e.on("end",ffe),e.on("error",hfe),this._readyState=t.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=t.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[rl.extensionName]&&this._extensions[rl.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=t.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,r){if(this.readyState!==t.CLOSED){if(this.readyState===t.CONNECTING){Js(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===t.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=t.CLOSING,this._sender.close(e,r,!this._isServer,n=>{n||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),pfe(this)}}pause(){this.readyState===t.CONNECTING||this.readyState===t.CLOSED||(this._paused=!0,this._socket.pause())}ping(e,r,n){if(this.readyState===t.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e=="function"?(n=e,e=r=void 0):typeof r=="function"&&(n=r,r=void 0),typeof e=="number"&&(e=e.toString()),this.readyState!==t.OPEN){uO(this,e,n);return}r===void 0&&(r=!this._isServer),this._sender.ping(e||av,r,n)}pong(e,r,n){if(this.readyState===t.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e=="function"?(n=e,e=r=void 0):typeof r=="function"&&(n=r,r=void 0),typeof e=="number"&&(e=e.toString()),this.readyState!==t.OPEN){uO(this,e,n);return}r===void 0&&(r=!this._isServer),this._sender.pong(e||av,r,n)}resume(){this.readyState===t.CONNECTING||this.readyState===t.CLOSED||(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,r,n){if(this.readyState===t.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof r=="function"&&(n=r,r={}),typeof e=="number"&&(e=e.toString()),this.readyState!==t.OPEN){uO(this,e,n);return}let i={binary:typeof e!="string",mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[rl.extensionName]||(i.compress=!1),this._sender.send(e||av,i,n)}terminate(){if(this.readyState!==t.CLOSED){if(this.readyState===t.CONNECTING){Js(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=t.CLOSING,this._socket.destroy())}}};Object.defineProperty(_r,"CONNECTING",{enumerable:!0,value:Rc.indexOf("CONNECTING")});Object.defineProperty(_r.prototype,"CONNECTING",{enumerable:!0,value:Rc.indexOf("CONNECTING")});Object.defineProperty(_r,"OPEN",{enumerable:!0,value:Rc.indexOf("OPEN")});Object.defineProperty(_r.prototype,"OPEN",{enumerable:!0,value:Rc.indexOf("OPEN")});Object.defineProperty(_r,"CLOSING",{enumerable:!0,value:Rc.indexOf("CLOSING")});Object.defineProperty(_r.prototype,"CLOSING",{enumerable:!0,value:Rc.indexOf("CLOSING")});Object.defineProperty(_r,"CLOSED",{enumerable:!0,value:Rc.indexOf("CLOSED")});Object.defineProperty(_r.prototype,"CLOSED",{enumerable:!0,value:Rc.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(t=>{Object.defineProperty(_r.prototype,t,{enumerable:!0})});["open","error","close","message"].forEach(t=>{Object.defineProperty(_r.prototype,`on${t}`,{enumerable:!0,get(){for(let e of this.listeners(t))if(e[AO])return e[Gnt];return null},set(e){for(let r of this.listeners(t))if(r[AO]){this.removeListener(t,r);break}typeof e=="function"&&this.addEventListener(t,e,{[AO]:!0})}})});_r.prototype.addEventListener=Knt;_r.prototype.removeEventListener=Hnt;mfe.exports=_r;function lfe(t,e,r,n){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:_nt,protocolVersion:cO[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...n,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(t._autoPong=i.autoPong,t._closeTimeout=i.closeTimeout,!cO.includes(i.protocolVersion))throw new RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${cO.join(", ")})`);let s;if(e instanceof aO)s=e;else try{s=new aO(e)}catch{throw new SyntaxError(`Invalid URL: ${e}`)}s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),t._url=s.href;let o=s.protocol==="wss:",a=s.protocol==="ws+unix:",A;if(s.protocol!=="ws:"&&!o&&!a?A=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`:a&&!s.pathname?A="The URL's pathname is empty":s.hash&&(A="The URL contains a fragment identifier"),A){let f=new SyntaxError(A);if(t._redirects===0)throw f;Av(t,f);return}let c=o?443:80,u=Tnt(16).toString("base64"),l=o?Fnt.request:knt.request,d=new Set,g;if(i.createConnection=i.createConnection||(o?Vnt:$nt),i.defaultPort=i.defaultPort||c,i.port=s.port||c,i.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":u,Connection:"Upgrade",Upgrade:"websocket"},i.path=s.pathname+s.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate&&(g=new rl({...i.perMessageDeflate,isServer:!1,maxPayload:i.maxPayload}),i.headers["Sec-WebSocket-Extensions"]=Jnt({[rl.extensionName]:g.offer()})),r.length){for(let f of r){if(typeof f!="string"||!qnt.test(f)||d.has(f))throw new SyntaxError("An invalid or duplicated subprotocol was specified");d.add(f)}i.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(i.origin&&(i.protocolVersion<13?i.headers["Sec-WebSocket-Origin"]=i.origin:i.headers.Origin=i.origin),(s.username||s.password)&&(i.auth=`${s.username}:${s.password}`),a){let f=i.path.split(":");i.socketPath=f[0],i.path=f[1]}let p;if(i.followRedirects){if(t._redirects===0){t._originalIpc=a,t._originalSecure=o,t._originalHostOrSocketPath=a?i.socketPath:s.host;let f=n&&n.headers;if(n={...n,headers:{}},f)for(let[m,C]of Object.entries(f))n.headers[m.toLowerCase()]=C}else if(t.listenerCount("redirect")===0){let f=a?t._originalIpc?i.socketPath===t._originalHostOrSocketPath:!1:t._originalIpc?!1:s.host===t._originalHostOrSocketPath;(!f||t._originalSecure&&!o)&&(delete i.headers.authorization,delete i.headers.cookie,f||delete i.headers.host,i.auth=void 0)}i.auth&&!n.headers.authorization&&(n.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64")),p=t._req=l(i),t._redirects&&t.emit("redirect",t.url,p)}else p=t._req=l(i);i.timeout&&p.on("timeout",()=>{Js(t,p,"Opening handshake has timed out")}),p.on("error",f=>{p===null||p[ufe]||(p=t._req=null,Av(t,f))}),p.on("response",f=>{let m=f.headers.location,C=f.statusCode;if(m&&i.followRedirects&&C>=300&&C<400){if(++t._redirects>i.maxRedirects){Js(t,p,"Maximum redirects exceeded");return}p.abort();let I;try{I=new aO(m,e)}catch{let B=new SyntaxError(`Invalid URL: ${m}`);Av(t,B);return}lfe(t,I,r,n)}else t.emit("unexpected-response",p,f)||Js(t,p,`Unexpected server response: ${f.statusCode}`)}),p.on("upgrade",(f,m,C)=>{if(t.emit("upgrade",f),t.readyState!==_r.CONNECTING)return;p=t._req=null;let I=f.headers.upgrade;if(I===void 0||I.toLowerCase()!=="websocket"){Js(t,m,"Invalid Upgrade header");return}let y=Nnt("sha1").update(u+Unt).digest("base64");if(f.headers["sec-websocket-accept"]!==y){Js(t,m,"Invalid Sec-WebSocket-Accept header");return}let B=f.headers["sec-websocket-protocol"],E;if(B!==void 0?d.size?d.has(B)||(E="Server sent an invalid subprotocol"):E="Server sent a subprotocol but none was requested":d.size&&(E="Server sent no subprotocol"),E){Js(t,m,E);return}B&&(t._protocol=B);let D=f.headers["sec-websocket-extensions"];if(D!==void 0){if(!g){Js(t,m,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let v;try{v=jnt(D)}catch{Js(t,m,"Invalid Sec-WebSocket-Extensions header");return}let Q=Object.keys(v);if(Q.length!==1||Q[0]!==rl.extensionName){Js(t,m,"Server indicated an extension that was not requested");return}try{g.accept(v[rl.extensionName])}catch{Js(t,m,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[rl.extensionName]=g}t.setSocket(m,C,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest?i.finishRequest(p,t):p.end()}function Av(t,e){t._readyState=_r.CLOSING,t._errorEmitted=!0,t.emit("error",e),t.emitClose()}function $nt(t){return t.path=t.socketPath,Afe.connect(t)}function Vnt(t){return t.path=void 0,!t.servername&&t.servername!==""&&(t.servername=Afe.isIP(t.host)?"":t.host),Rnt.connect(t)}function Js(t,e,r){t._readyState=_r.CLOSING;let n=new Error(r);Error.captureStackTrace(n,Js),e.setHeader?(e[ufe]=!0,e.abort(),e.socket&&!e.socket.destroyed&&e.socket.destroy(),process.nextTick(Av,t,n)):(e.destroy(n),e.once("error",t.emit.bind(t,"error")),e.once("close",t.emitClose.bind(t)))}function uO(t,e,r){if(e){let n=Lnt(e)?e.size:Ynt(e).length;t._socket?t._sender._bufferedBytes+=n:t._bufferedAmount+=n}if(r){let n=new Error(`WebSocket is not open: readyState ${t.readyState} (${Rc[t.readyState]})`);process.nextTick(r,n)}}function Wnt(t,e){let r=this[Wn];r._closeFrameReceived=!0,r._closeMessage=e,r._closeCode=t,r._socket[Wn]!==void 0&&(r._socket.removeListener("data",cv),process.nextTick(gfe,r._socket),t===1005?r.close():r.close(t,e))}function znt(){let t=this[Wn];t.isPaused||t._socket.resume()}function Xnt(t){let e=this[Wn];e._socket[Wn]!==void 0&&(e._socket.removeListener("data",cv),process.nextTick(gfe,e._socket),e.close(t[Ont])),e._errorEmitted||(e._errorEmitted=!0,e.emit("error",t))}function afe(){this[Wn].emitClose()}function Znt(t,e){this[Wn].emit("message",t,e)}function eit(t){let e=this[Wn];e._autoPong&&e.pong(t,!this._isServer,cfe),e.emit("ping",t)}function tit(t){this[Wn].emit("pong",t)}function gfe(t){t.resume()}function rit(t){let e=this[Wn];e.readyState!==_r.CLOSED&&(e.readyState===_r.OPEN&&(e._readyState=_r.CLOSING,pfe(e)),this._socket.end(),e._errorEmitted||(e._errorEmitted=!0,e.emit("error",t)))}function pfe(t){t._closeTimer=setTimeout(t._socket.destroy.bind(t._socket),t._closeTimeout)}function dfe(){let t=this[Wn];if(this.removeListener("close",dfe),this.removeListener("data",cv),this.removeListener("end",ffe),t._readyState=_r.CLOSING,!this._readableState.endEmitted&&!t._closeFrameReceived&&!t._receiver._writableState.errorEmitted&&this._readableState.length!==0){let e=this.read(this._readableState.length);t._receiver.write(e)}t._receiver.end(),this[Wn]=void 0,clearTimeout(t._closeTimer),t._receiver._writableState.finished||t._receiver._writableState.errorEmitted?t.emitClose():(t._receiver.on("error",afe),t._receiver.on("finish",afe))}function cv(t){this[Wn]._receiver.write(t)||this.pause()}function ffe(){let t=this[Wn];t._readyState=_r.CLOSING,t._receiver.end(),this.end()}function hfe(){let t=this[Wn];this.removeListener("error",hfe),this.on("error",cfe),t&&(t._readyState=_r.CLOSING,this.destroy())}});var Bfe=N((p$t,Efe)=>{"use strict";h();var g$t=uv(),{Duplex:nit}=require("stream");function Cfe(t){t.emit("close")}function iit(){!this.destroyed&&this._writableState.finished&&this.destroy()}function Ife(t){this.removeListener("error",Ife),this.destroy(),this.listenerCount("error")===0&&this.emit("error",t)}function sit(t,e){let r=!0,n=new nit({...e,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return t.on("message",function(s,o){let a=!o&&n._readableState.objectMode?s.toString():s;n.push(a)||t.pause()}),t.once("error",function(s){n.destroyed||(r=!1,n.destroy(s))}),t.once("close",function(){n.destroyed||n.push(null)}),n._destroy=function(i,s){if(t.readyState===t.CLOSED){s(i),process.nextTick(Cfe,n);return}let o=!1;t.once("error",function(A){o=!0,s(A)}),t.once("close",function(){o||s(i),process.nextTick(Cfe,n)}),r&&t.terminate()},n._final=function(i){if(t.readyState===t.CONNECTING){t.once("open",function(){n._final(i)});return}t._socket!==null&&(t._socket._writableState.finished?(i(),n._readableState.endEmitted&&n.destroy()):(t._socket.once("finish",function(){i()}),t.close()))},n._read=function(){t.isPaused&&t.resume()},n._write=function(i,s,o){if(t.readyState===t.CONNECTING){t.once("open",function(){n._write(i,s,o)});return}t.send(i,o)},n.on("end",iit),n.on("error",Ife),n}Efe.exports=sit});var lO=N((f$t,yfe)=>{"use strict";h();var{tokenChars:oit}=ih();function ait(t){let e=new Set,r=-1,n=-1,i=0;for(i;i<t.length;i++){let o=t.charCodeAt(i);if(n===-1&&oit[o]===1)r===-1&&(r=i);else if(i!==0&&(o===32||o===9))n===-1&&r!==-1&&(n=i);else if(o===44){if(r===-1)throw new SyntaxError(`Unexpected character at index ${i}`);n===-1&&(n=i);let a=t.slice(r,n);if(e.has(a))throw new SyntaxError(`The "${a}" subprotocol is duplicated`);e.add(a),r=n=-1}else throw new SyntaxError(`Unexpected character at index ${i}`)}if(r===-1||n!==-1)throw new SyntaxError("Unexpected end of input");let s=t.slice(r,i);if(e.has(s))throw new SyntaxError(`The "${s}" subprotocol is duplicated`);return e.add(s),e}yfe.exports={parse:ait}});var xfe=N((C$t,Sfe)=>{"use strict";h();var Ait=require("events"),lv=require("http"),{Duplex:m$t}=require("stream"),{createHash:cit}=require("crypto"),Qfe=ov(),cp=nh(),uit=lO(),lit=uv(),{CLOSE_TIMEOUT:git,GUID:pit,kWebSocket:dit}=Sc(),fit=/^[+/0-9A-Za-z]{22}==$/,Dfe=0,wfe=1,vfe=2,gO=class extends Ait{constructor(e,r){if(super(),e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:100*1024*1024,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:git,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:lit,...e},e.port==null&&!e.server&&!e.noServer||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(e.port!=null?(this._server=lv.createServer((n,i)=>{let s=lv.STATUS_CODES[426];i.writeHead(426,{"Content-Length":s.length,"Content-Type":"text/plain"}),i.end(s)}),this._server.listen(e.port,e.host,e.backlog,r)):e.server&&(this._server=e.server),this._server){let n=this.emit.bind(this,"connection");this._removeListeners=hit(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(i,s,o)=>{this.handleUpgrade(i,s,o,n)}})}e.perMessageDeflate===!0&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=Dfe}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(this._state===vfe){e&&this.once("close",()=>{e(new Error("The server is not running"))}),process.nextTick(BE,this);return}if(e&&this.once("close",e),this._state!==wfe)if(this._state=wfe,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients?this.clients.size?this._shouldEmitClose=!0:process.nextTick(BE,this):process.nextTick(BE,this);else{let r=this._server;this._removeListeners(),this._removeListeners=this._server=null,r.close(()=>{BE(this)})}}shouldHandle(e){if(this.options.path){let r=e.url.indexOf("?");if((r!==-1?e.url.slice(0,r):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,r,n,i){r.on("error",bfe);let s=e.headers["sec-websocket-key"],o=e.headers.upgrade,a=+e.headers["sec-websocket-version"];if(e.method!=="GET"){up(this,e,r,405,"Invalid HTTP method");return}if(o===void 0||o.toLowerCase()!=="websocket"){up(this,e,r,400,"Invalid Upgrade header");return}if(s===void 0||!fit.test(s)){up(this,e,r,400,"Missing or invalid Sec-WebSocket-Key header");return}if(a!==13&&a!==8){up(this,e,r,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(e)){yE(r,400);return}let A=e.headers["sec-websocket-protocol"],c=new Set;if(A!==void 0)try{c=uit.parse(A)}catch{up(this,e,r,400,"Invalid Sec-WebSocket-Protocol header");return}let u=e.headers["sec-websocket-extensions"],l={};if(this.options.perMessageDeflate&&u!==void 0){let d=new cp({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let g=Qfe.parse(u);g[cp.extensionName]&&(d.accept(g[cp.extensionName]),l[cp.extensionName]=d)}catch{up(this,e,r,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let d={origin:e.headers[`${a===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(d,(g,p,f,m)=>{if(!g)return yE(r,p||401,f,m);this.completeUpgrade(l,s,c,e,r,n,i)});return}if(!this.options.verifyClient(d))return yE(r,401)}this.completeUpgrade(l,s,c,e,r,n,i)}completeUpgrade(e,r,n,i,s,o,a){if(!s.readable||!s.writable)return s.destroy();if(s[dit])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>Dfe)return yE(s,503);let c=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${cit("sha1").update(r+pit).digest("base64")}`],u=new this.options.WebSocket(null,void 0,this.options);if(n.size){let l=this.options.handleProtocols?this.options.handleProtocols(n,i):n.values().next().value;l&&(c.push(`Sec-WebSocket-Protocol: ${l}`),u._protocol=l)}if(e[cp.extensionName]){let l=e[cp.extensionName].params,d=Qfe.format({[cp.extensionName]:[l]});c.push(`Sec-WebSocket-Extensions: ${d}`),u._extensions=e}this.emit("headers",c,i),s.write(c.concat(`\r
1660
1660
  `).join(`\r
1661
1661
  `)),s.removeListener("error",bfe),u.setSocket(s,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(u),u.on("close",()=>{this.clients.delete(u),this._shouldEmitClose&&!this.clients.size&&process.nextTick(BE,this)})),a(u,i)}};Sfe.exports=gO;function hit(t,e){for(let r of Object.keys(e))t.on(r,e[r]);return function(){for(let n of Object.keys(e))t.removeListener(n,e[n])}}function BE(t){t._state=vfe,t.emit("close")}function bfe(){this.destroy()}function yE(t,e,r,n){r=r||lv.STATUS_CODES[e],n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...n},t.once("finish",t.destroy),t.end(`HTTP/1.1 ${e} ${lv.STATUS_CODES[e]}\r
1662
1662
  `+Object.keys(n).map(i=>`${i}: ${n[i]}`).join(`\r
1663
1663
  `)+`\r
1664
1664
  \r
1665
- `+r)}function up(t,e,r,n,i,s){if(t.listenerCount("wsClientError")){let o=new Error(i);Error.captureStackTrace(o,up),t.emit("wsClientError",o,r,e)}else yE(r,n,i,s)}});var mit,Cit,Iit,Eit,Bit,yit,Qit,pO,Ffe=P(()=>{h();mit=z(Bfe(),1),Cit=z(ov(),1),Iit=z(nh(),1),Eit=z(rO(),1),Bit=z(sO(),1),yit=z(lO(),1),Qit=z(uv(),1),pO=z(xfe(),1)});function Tfe(t){let e=!1,r="2.0",n=new pO.default(t),i=new kfe.default.EventEmitter,s={clients:new Map,events:new Map,methods:new Map},o=new Map([["rpc.on",d],["rpc.off",g]]);function a(B){return JSON.stringify({jsonrpc:r,id:B?.id,notification:B?.notification,result:B?.result,params:B?.params,error:B?.error})}function A(){n.on("listening",()=>{e=!0,i.emit("listening"),n.on("connection",(B,E)=>{let D=E.url||"/",v=(0,Rfe.randomUUID)();s.clients.set(v,B),i.emit("connection",B,v),u(B,v,D),B.on("error",Q=>i.emit("socket-error",v,Q)),B.on("close",()=>{s.clients.delete(v),i.emit("disconnection",v)})}),n.on("error",B=>i.emit("error",B))})}function c(B){return!!B.params&&Array.isArray(B.params)&&B.params.length>0}function u(B,E,D="/"){B.on("message",async v=>{let Q={};try{v instanceof ArrayBuffer&&(Q.binary=!0,v=Buffer.from(v).toString())}catch{return B.send(a({id:null,error:{code:-32700,message:"Parse error"}}))}let S;try{S=JSON.parse(v)}catch{return B.send(a({id:null,error:{code:-32700,message:"Parse error"}}))}try{let w=s;if(o.has(S.method)){let x=o.get(S.method);return B.send(x(w,S,E),Q)}if(!w.methods.has(S.method))return B.send(a({id:S.id,error:{code:-32601,message:"Method not found"}}),Q);try{let _=await w.methods.get(S.method)(S.params,E);return B.send(a({id:S.id,result:_||void 0}),Q)}catch(x){return B.send(a({id:S.id,error:{code:-32e3,message:x?.message||"Internal error",data:x?.data}}),Q)}}catch{return B.send(a({id:S?.id||null,error:{code:-32603,message:"Internal error"}}),Q)}})}function l(B,E,...D){let Q=[...s.clients.entries()].filter(([S])=>E.has(S)).map(([S,w])=>w);for(let S of Q)S.send(a({notification:B,params:D}))}function d(B,E,D){if(!c(E))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});if(!B.events.has(E.params[0]))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});let v=E.params[0];return B.events.get(v).add(D),a({id:E.id,result:{[v]:!0}})}function g(B,E,D){if(!c(E))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});if(!B.events.has(E.params[0]))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});let v=E.params[0];return B.events.get(v).delete(D),a({id:E.id,result:{[v]:!1}})}function p(B,E,D="/"){s.methods.set(B,E)}function f(B,E){i.on(B,E)}function m(B,E="/"){let D=s;D.events.has(B)||D.events.set(B,new Set)}function C(B,E="/",...D){let v=s;if(!v.events.has(B))return;let Q=v.events.get(B);l(B,Q,E,...D)}async function I(B,E,D,v){n.handleUpgrade(B,E,D,Q=>{e||n.emit("listening"),n.emit("connection",Q,B),v&&v(Q,B)})}function y(){return new Promise((B,E)=>{try{n.close(),i.emit("close"),B(null)}catch(D){E(D)}})}return A(),{on:f,event:B=>m(B),handleUpgrade:I,clients:()=>s.clients||new Map,register:(B,E)=>p(B,E),emit:(B,...E)=>C(B,"/",...E),notify:(B,E,...D)=>l(B,new Set([E]),...D),close:y}}var kfe,Rfe,Nfe=P(()=>{"use strict";h();kfe=z(require("node:stream"),1),Rfe=require("node:crypto");Ffe()});function Tc(){}function Dit(t,e,r,n,i){for(var s=[],o;e;)s.push(e),o=e.previousComponent,delete e.previousComponent,e=o;s.reverse();for(var a=0,A=s.length,c=0,u=0;a<A;a++){var l=s[a];if(l.removed){if(l.value=t.join(n.slice(u,u+l.count)),u+=l.count,a&&s[a-1].added){var g=s[a-1];s[a-1]=s[a],s[a]=g}}else{if(!l.added&&i){var d=r.slice(c,c+l.count);d=d.map(function(f,m){var C=n[u+m];return C.length>f.length?C:f}),l.value=t.join(d)}else l.value=t.join(r.slice(c,c+l.count));c+=l.count,l.added||(u+=l.count)}}var p=s[A-1];return A>1&&typeof p.value=="string"&&(p.added||p.removed)&&t.equals("",p.value)&&(s[A-2].value+=p.value,s.pop()),s}function _fe(t,e,r){return hO.diff(t,e,r)}function gv(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gv=function(e){return typeof e}:gv=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gv(t)}function dO(t,e,r,n,i){e=e||[],r=r||[],n&&(t=n(i,t));var s;for(s=0;s<e.length;s+=1)if(e[s]===t)return r[s];var o;if(vit.call(t)==="[object Array]"){for(e.push(t),o=new Array(t.length),r.push(o),s=0;s<t.length;s+=1)o[s]=dO(t[s],e,r,n,i);return e.pop(),r.pop(),o}if(t&&t.toJSON&&(t=t.toJSON()),gv(t)==="object"&&t!==null){e.push(t),o={},r.push(o);var a=[],A;for(A in t)t.hasOwnProperty(A)&&a.push(A);for(a.sort(),s=0;s<a.length;s+=1)A=a[s],o[A]=dO(t[A],e,r,n,A);e.pop(),r.pop()}else o=t;return o}var w5t,Mfe,Pfe,Lfe,hO,wit,bit,vit,QE,fO,Ufe=P(()=>{h();Tc.prototype={diff:function(e,r){var n,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.callback;typeof i=="function"&&(s=i,i={}),this.options=i;var o=this;function a(B){return s?(setTimeout(function(){s(void 0,B)},0),!0):B}e=this.castInput(e),r=this.castInput(r),e=this.removeEmpty(this.tokenize(e)),r=this.removeEmpty(this.tokenize(r));var A=r.length,c=e.length,u=1,l=A+c;i.maxEditLength&&(l=Math.min(l,i.maxEditLength));var d=(n=i.timeout)!==null&&n!==void 0?n:1/0,g=Date.now()+d,p=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(p[0],r,e,0);if(p[0].oldPos+1>=c&&f+1>=A)return a([{value:this.join(r),count:r.length}]);var m=-1/0,C=1/0;function I(){for(var B=Math.max(m,-u);B<=Math.min(C,u);B+=2){var E=void 0,D=p[B-1],v=p[B+1];D&&(p[B-1]=void 0);var Q=!1;if(v){var S=v.oldPos-B;Q=v&&0<=S&&S<A}var w=D&&D.oldPos+1<c;if(!Q&&!w){p[B]=void 0;continue}if(!w||Q&&D.oldPos+1<v.oldPos?E=o.addToPath(v,!0,void 0,0):E=o.addToPath(D,void 0,!0,1),f=o.extractCommon(E,r,e,B),E.oldPos+1>=c&&f+1>=A)return a(Dit(o,E.lastComponent,r,e,o.useLongestToken));p[B]=E,E.oldPos+1>=c&&(C=Math.min(C,B-1)),f+1>=A&&(m=Math.max(m,B+1))}u++}if(s)(function B(){setTimeout(function(){if(u>l||Date.now()>g)return s();I()||B()},0)})();else for(;u<=l&&Date.now()<=g;){var y=I();if(y)return y}},addToPath:function(e,r,n,i){var s=e.lastComponent;return s&&s.added===r&&s.removed===n?{oldPos:e.oldPos+i,lastComponent:{count:s.count+1,added:r,removed:n,previousComponent:s.previousComponent}}:{oldPos:e.oldPos+i,lastComponent:{count:1,added:r,removed:n,previousComponent:s}}},extractCommon:function(e,r,n,i){for(var s=r.length,o=n.length,a=e.oldPos,A=a-i,c=0;A+1<s&&a+1<o&&this.equals(r[A+1],n[a+1]);)A++,a++,c++;return c&&(e.lastComponent={count:c,previousComponent:e.lastComponent}),e.oldPos=a,A},equals:function(e,r){return this.options.comparator?this.options.comparator(e,r):e===r||this.options.ignoreCase&&e.toLowerCase()===r.toLowerCase()},removeEmpty:function(e){for(var r=[],n=0;n<e.length;n++)e[n]&&r.push(e[n]);return r},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};w5t=new Tc,Mfe=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,Pfe=/\S/,Lfe=new Tc;Lfe.equals=function(t,e){return this.options.ignoreCase&&(t=t.toLowerCase(),e=e.toLowerCase()),t===e||this.options.ignoreWhitespace&&!Pfe.test(t)&&!Pfe.test(e)};Lfe.tokenize=function(t){for(var e=t.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r<e.length-1;r++)!e[r+1]&&e[r+2]&&Mfe.test(e[r])&&Mfe.test(e[r+2])&&(e[r]+=e[r+2],e.splice(r+1,2),r--);return e};hO=new Tc;hO.tokenize=function(t){this.options.stripTrailingCr&&(t=t.replace(/\r\n/g,`
1665
+ `+r)}function up(t,e,r,n,i,s){if(t.listenerCount("wsClientError")){let o=new Error(i);Error.captureStackTrace(o,up),t.emit("wsClientError",o,r,e)}else yE(r,n,i,s)}});var mit,Cit,Iit,Eit,Bit,yit,Qit,pO,Ffe=P(()=>{h();mit=z(Bfe(),1),Cit=z(ov(),1),Iit=z(nh(),1),Eit=z(rO(),1),Bit=z(sO(),1),yit=z(lO(),1),Qit=z(uv(),1),pO=z(xfe(),1)});function Tfe(t){let e=!1,r="2.0",n=new pO.default(t),i=new kfe.default.EventEmitter,s={clients:new Map,events:new Map,methods:new Map},o=new Map([["rpc.on",d],["rpc.off",g]]);function a(B){return JSON.stringify({jsonrpc:r,id:B?.id,notification:B?.notification,result:B?.result,params:B?.params,error:B?.error})}function A(){n.on("listening",()=>{e=!0,i.emit("listening"),n.on("connection",(B,E)=>{let D=E.url||"/",v=(0,Rfe.randomUUID)();s.clients.set(v,B),i.emit("connection",B,v),u(B,v,D),B.on("error",Q=>i.emit("socket-error",v,Q)),B.on("close",()=>{s.clients.delete(v),i.emit("disconnection",v)})}),n.on("error",B=>i.emit("error",B))})}function c(B){return!!B.params&&Array.isArray(B.params)&&B.params.length>0}function u(B,E,D="/"){B.on("message",async v=>{let Q={};try{v instanceof ArrayBuffer&&(Q.binary=!0,v=Buffer.from(v).toString())}catch{return B.send(a({id:null,error:{code:-32700,message:"Parse error"}}))}let S;try{S=JSON.parse(v)}catch{return B.send(a({id:null,error:{code:-32700,message:"Parse error"}}))}try{let w=s;if(o.has(S.method)){let x=o.get(S.method);return B.send(x(w,S,E),Q)}if(!w.methods.has(S.method))return B.send(a({id:S.id,error:{code:-32601,message:"Method not found"}}),Q);try{let _=await w.methods.get(S.method)(S.params,E);return B.send(a({id:S.id,result:_||void 0}),Q)}catch(x){return B.send(a({id:S.id,error:{code:-32e3,message:x?.message||"Internal error",data:x?.data}}),Q)}}catch{return B.send(a({id:S?.id||null,error:{code:-32603,message:"Internal error"}}),Q)}})}function l(B,E,...D){let Q=[...s.clients.entries()].filter(([S])=>E.has(S)).map(([S,w])=>w);for(let S of Q)S.send(a({notification:B,params:D}))}function d(B,E,D){if(!c(E))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});if(!B.events.has(E.params[0]))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});let v=E.params[0];return B.events.get(v).add(D),a({id:E.id,result:{[v]:!0}})}function g(B,E,D){if(!c(E))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});if(!B.events.has(E.params[0]))return a({id:E.id,error:{code:-32602,message:"Invalid params"}});let v=E.params[0];return B.events.get(v).delete(D),a({id:E.id,result:{[v]:!1}})}function p(B,E,D="/"){s.methods.set(B,E)}function f(B,E){i.on(B,E)}function m(B,E="/"){let D=s;D.events.has(B)||D.events.set(B,new Set)}function C(B,E="/",...D){let v=s;if(!v.events.has(B))return;let Q=v.events.get(B);l(B,Q,E,...D)}async function I(B,E,D,v){n.handleUpgrade(B,E,D,Q=>{e||n.emit("listening"),n.emit("connection",Q,B),v&&v(Q,B)})}function y(){return new Promise((B,E)=>{try{n.close(),i.emit("close"),B(null)}catch(D){E(D)}})}return A(),{on:f,event:B=>m(B),handleUpgrade:I,clients:()=>s.clients||new Map,register:(B,E)=>p(B,E),emit:(B,...E)=>C(B,"/",...E),notify:(B,E,...D)=>l(B,new Set([E]),...D),close:y}}var kfe,Rfe,Nfe=P(()=>{"use strict";h();kfe=z(require("node:stream"),1),Rfe=require("node:crypto");Ffe()});function Tc(){}function Dit(t,e,r,n,i){for(var s=[],o;e;)s.push(e),o=e.previousComponent,delete e.previousComponent,e=o;s.reverse();for(var a=0,A=s.length,c=0,u=0;a<A;a++){var l=s[a];if(l.removed){if(l.value=t.join(n.slice(u,u+l.count)),u+=l.count,a&&s[a-1].added){var g=s[a-1];s[a-1]=s[a],s[a]=g}}else{if(!l.added&&i){var d=r.slice(c,c+l.count);d=d.map(function(f,m){var C=n[u+m];return C.length>f.length?C:f}),l.value=t.join(d)}else l.value=t.join(r.slice(c,c+l.count));c+=l.count,l.added||(u+=l.count)}}var p=s[A-1];return A>1&&typeof p.value=="string"&&(p.added||p.removed)&&t.equals("",p.value)&&(s[A-2].value+=p.value,s.pop()),s}function _fe(t,e,r){return hO.diff(t,e,r)}function gv(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gv=function(e){return typeof e}:gv=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gv(t)}function dO(t,e,r,n,i){e=e||[],r=r||[],n&&(t=n(i,t));var s;for(s=0;s<e.length;s+=1)if(e[s]===t)return r[s];var o;if(vit.call(t)==="[object Array]"){for(e.push(t),o=new Array(t.length),r.push(o),s=0;s<t.length;s+=1)o[s]=dO(t[s],e,r,n,i);return e.pop(),r.pop(),o}if(t&&t.toJSON&&(t=t.toJSON()),gv(t)==="object"&&t!==null){e.push(t),o={},r.push(o);var a=[],A;for(A in t)t.hasOwnProperty(A)&&a.push(A);for(a.sort(),s=0;s<a.length;s+=1)A=a[s],o[A]=dO(t[A],e,r,n,A);e.pop(),r.pop()}else o=t;return o}var w$t,Mfe,Pfe,Lfe,hO,wit,bit,vit,QE,fO,Ufe=P(()=>{h();Tc.prototype={diff:function(e,r){var n,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.callback;typeof i=="function"&&(s=i,i={}),this.options=i;var o=this;function a(B){return s?(setTimeout(function(){s(void 0,B)},0),!0):B}e=this.castInput(e),r=this.castInput(r),e=this.removeEmpty(this.tokenize(e)),r=this.removeEmpty(this.tokenize(r));var A=r.length,c=e.length,u=1,l=A+c;i.maxEditLength&&(l=Math.min(l,i.maxEditLength));var d=(n=i.timeout)!==null&&n!==void 0?n:1/0,g=Date.now()+d,p=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(p[0],r,e,0);if(p[0].oldPos+1>=c&&f+1>=A)return a([{value:this.join(r),count:r.length}]);var m=-1/0,C=1/0;function I(){for(var B=Math.max(m,-u);B<=Math.min(C,u);B+=2){var E=void 0,D=p[B-1],v=p[B+1];D&&(p[B-1]=void 0);var Q=!1;if(v){var S=v.oldPos-B;Q=v&&0<=S&&S<A}var w=D&&D.oldPos+1<c;if(!Q&&!w){p[B]=void 0;continue}if(!w||Q&&D.oldPos+1<v.oldPos?E=o.addToPath(v,!0,void 0,0):E=o.addToPath(D,void 0,!0,1),f=o.extractCommon(E,r,e,B),E.oldPos+1>=c&&f+1>=A)return a(Dit(o,E.lastComponent,r,e,o.useLongestToken));p[B]=E,E.oldPos+1>=c&&(C=Math.min(C,B-1)),f+1>=A&&(m=Math.max(m,B+1))}u++}if(s)(function B(){setTimeout(function(){if(u>l||Date.now()>g)return s();I()||B()},0)})();else for(;u<=l&&Date.now()<=g;){var y=I();if(y)return y}},addToPath:function(e,r,n,i){var s=e.lastComponent;return s&&s.added===r&&s.removed===n?{oldPos:e.oldPos+i,lastComponent:{count:s.count+1,added:r,removed:n,previousComponent:s.previousComponent}}:{oldPos:e.oldPos+i,lastComponent:{count:1,added:r,removed:n,previousComponent:s}}},extractCommon:function(e,r,n,i){for(var s=r.length,o=n.length,a=e.oldPos,A=a-i,c=0;A+1<s&&a+1<o&&this.equals(r[A+1],n[a+1]);)A++,a++,c++;return c&&(e.lastComponent={count:c,previousComponent:e.lastComponent}),e.oldPos=a,A},equals:function(e,r){return this.options.comparator?this.options.comparator(e,r):e===r||this.options.ignoreCase&&e.toLowerCase()===r.toLowerCase()},removeEmpty:function(e){for(var r=[],n=0;n<e.length;n++)e[n]&&r.push(e[n]);return r},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};w$t=new Tc,Mfe=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,Pfe=/\S/,Lfe=new Tc;Lfe.equals=function(t,e){return this.options.ignoreCase&&(t=t.toLowerCase(),e=e.toLowerCase()),t===e||this.options.ignoreWhitespace&&!Pfe.test(t)&&!Pfe.test(e)};Lfe.tokenize=function(t){for(var e=t.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r<e.length-1;r++)!e[r+1]&&e[r+2]&&Mfe.test(e[r])&&Mfe.test(e[r+2])&&(e[r]+=e[r+2],e.splice(r+1,2),r--);return e};hO=new Tc;hO.tokenize=function(t){this.options.stripTrailingCr&&(t=t.replace(/\r\n/g,`
1666
1666
  `));var e=[],r=t.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?e[e.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),e.push(i))}return e};wit=new Tc;wit.tokenize=function(t){return t.split(/(\S.+?[.!?])(?=\s+|$)/)};bit=new Tc;bit.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)};vit=Object.prototype.toString,QE=new Tc;QE.useLongestToken=!0;QE.tokenize=hO.tokenize;QE.castInput=function(t){var e=this.options,r=e.undefinedReplacement,n=e.stringifyReplacer,i=n===void 0?function(s,o){return typeof o>"u"?r:o}:n;return typeof t=="string"?t:JSON.stringify(dO(t,null,null,i),i," ")};QE.equals=function(t,e){return Tc.prototype.equals.call(QE,t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};fO=new Tc;fO.tokenize=function(t){return t.slice()};fO.join=fO.removeEmpty=function(t){return t}});function ma(t,e){return t.replace(/\$\{([^}:]+)(?::-([^}]*))?\}/g,(r,n,i)=>{let s=e[n];return s!==void 0?s:i!==void 0?i:r})}var mO=P(()=>{"use strict";h()});function pv(t,e){let r=Array.isArray(t)?t:[t],n=zw(),i=r.map(s=>{let o=s.replace(Sit,(a,A)=>{if(!e.skipCommandSecurity&&(lI(A,n)||e.allowedCommands&&!Ww(A,e.allowedCommands)))return a;try{return(0,Gfe.execSync)(A,{cwd:e.cwd,timeout:xit,encoding:"utf-8",stdio:["ignore","pipe","pipe"],env:e.env}).trimEnd()}catch(c){return c.killed||c.signal==="SIGTERM"?`[command timed out: ${A}]`:`[command failed: ${A}, ${c}]`}});return ma(o,e.env)});return Array.isArray(t)?i:i[0]}var Gfe,Sit,xit,CO=P(()=>{"use strict";h();Gfe=require("node:child_process");mO();gI();Sit=/!`([^`]+)`/g,xit=1e4});function Fit(t){if(t==null||!Number.isFinite(t))return;let e=Math.floor(t);return e>0?e:void 0}function dv(t,e){let r=t.find(i=>i.name.toLowerCase()===e.toLowerCase()),n=Fit(r?.maxCompletions);return n!==void 0?n:80}function Ofe(t){return{FUSION_BROWSER_PLANNER_MAX_TURNS:String(dv(t,"browser-test-planner")),FUSION_BROWSER_EXECUTOR_MAX_TURNS:String(dv(t,"browser-testing"))}}var IO=P(()=>{"use strict";h()});async function Hfe(t,e){let{sys:r}=e;try{if(t.length===0)return null;if(!await mv.checkFfmpegAvailable(e.signal))return lp.warn("ffmpeg is not available. Skipping GIF generation. Install ffmpeg to enable this feature."),null;let i=new mv;return i.addImages(t),await i.generateGif(e)}catch(n){let i=`GIF generation failed (non-critical): ${n instanceof Error?n.message:String(n)}`;return lp.warn(i),r?.Sentry&&n instanceof Error&&r.Sentry.captureException(n,{level:"warning",tags:{component:"gif-generator",operation:"generateGifFromImages"},extra:{imageCount:t.length,outputPath:e.outputPath,duration:e.duration,maxWidth:e.maxWidth}}),null}}var fv,DE,Kfe,hv,lp,mv,Jfe=P(()=>{"use strict";h();fv=require("node:child_process"),DE=require("node:fs"),Kfe=require("node:os"),hv=require("node:path");Et();lp=ve("GifGenerator"),mv=class t{frames=[];tmpDir=null;static ffmpegAvailable=null;static async checkFfmpegAvailable(e){return t.ffmpegAvailable!==null?t.ffmpegAvailable:new Promise(r=>{let n=(0,fv.spawn)("ffmpeg",["-version"],{signal:e}),i=!1;n.on("error",()=>{i||(i=!0,t.ffmpegAvailable=!1,r(!1))}),n.on("close",s=>{i||(i=!0,t.ffmpegAvailable=s===0,r(s===0))}),setTimeout(()=>{i||(i=!0,n.kill(),t.ffmpegAvailable=!1,r(!1))},5e3)})}addImage(e){e.source.type==="base64"?this.frames.push(e):lp.error(`Only base64 image sources are supported: ${e.source.type}`)}addImages(e){for(let r of e)this.addImage(r)}getFrameCount(){return this.frames.length}clearFrames(){this.frames=[]}async generateGif(e){let{duration:r="2",frameDurations:n,outputPath:i,cleanup:s=!0,maxWidth:o,debug:a=!1,signal:A}=e;if(this.frames.length===0)throw new Error("No frames added to generate GIF");this.tmpDir=(0,hv.join)((0,Kfe.tmpdir)(),`gif-frames-${Date.now()}`),await DE.promises.mkdir(this.tmpDir,{recursive:!0});try{let{paths:c,maxWidth:u,maxHeight:l}=await this.#n(a,A);return await this.#t(r,i,c,u,l,o,a,A,n),i}finally{s&&this.tmpDir&&await this.#i()}}async#n(e,r){if(!this.tmpDir)throw new Error("Temporary directory not initialized");let n=[];for(let c=0;c<this.frames.length;c++){let u=this.frames[c];u.source.type==="base64"?n.push({frame:u,frameNum:n.length,originalIndex:c}):lp.error(`Skipping frame ${c}: Only base64 image sources are supported (got ${u.source.type})`,{loggerOptions:{debug:!0}})}let i=[],s=[],o=n.map(async({frame:c,frameNum:u})=>{if(c.source.type!=="base64")return;let l=this.#s(c.source.media_type),d=(0,hv.join)(this.tmpDir,`frame-${String(u).padStart(5,"0")}.${l}`),g=Buffer.from(c.source.data,"base64");await DE.promises.writeFile(d,g,{signal:r});let p=this.#c(g,c.source.media_type);s[u]=p,i[u]=d});await Promise.all(o);let a=Math.max(...s.map(c=>c.width)),A=Math.max(...s.map(c=>c.height));return{paths:i,maxWidth:a,maxHeight:A}}#c(e,r){if(r==="image/png"){let n=e.readUInt32BE(16),i=e.readUInt32BE(20);return{width:n,height:i}}if(r==="image/jpeg"){let n=2;for(;n<e.length-9&&e[n]===255;){let i=e[n+1];if(i>=192&&i<=207&&i!==196&&i!==200&&i!==204){let o=e.readUInt16BE(n+5);return{width:e.readUInt16BE(n+7),height:o}}let s=e.readUInt16BE(n+2);n+=2+s}}if(r==="image/webp"){let n=e.toString("ascii",12,16);if(n==="VP8 "){let i=e.readUInt16LE(26)&16383,s=e.readUInt16LE(28)&16383;return{width:i,height:s}}else if(n==="VP8L"){let i=e.readUInt32LE(21),s=(i&16383)+1>>>0,o=(i>>14&16383)+1>>>0;return{width:s,height:o}}else if(n==="VP8X"){let i=e.readUIntLE(24,3)+1>>>0,s=e.readUIntLE(27,3)+1>>>0;return{width:i,height:s}}}if(r==="image/gif"){let n=e.readUInt16LE(6),i=e.readUInt16LE(8);return{width:n,height:i}}return{width:1280,height:1280}}#s(e){switch(e){case"image/webp":return"webp";case"image/png":return"png";case"image/jpeg":return"jpg";case"image/gif":return"gif";default:return"png"}}async#t(e,r,n,i,s,o,a,A,c){if(!this.tmpDir)throw new Error("Temporary directory not initialized");if(n.length===1){await this.#o(n[0],r,i,s,o,a,A);return}let u=(0,hv.join)(this.tmpDir,"concat.txt"),l=n.map((d,g)=>{let p=c?.[g]||e,f=`file '${d}'
1667
1667
  duration ${p}`;return g===n.length-1?`${f}
1668
1668
  file '${d}'`:f}).join(`
@@ -4378,7 +4378,7 @@ OPEN: ${(0,Ml.dim)(d)}`),n=Ii(),n.start(`Waiting for ${t.name} authentication`))
4378
4378
  Please set the FIGMA_PERSONAL_TOKEN environment variable.`);if(!a&&r.builderPrivateKey)throw new Error(`No Builder private key found.
4379
4379
  Please set the BUILDER_PRIVATE_KEY environment variable.`);if(!o&&r.builderPublicKey)throw new Error(`No Builder public key found.
4380
4380
  Please set the BUILDER_PUBLIC_KEY environment variable.`);return{figmaAuth:A,builderPublicKey:o,builderPrivateKey:a,userId:s,spaceName:i}}if((r.requireFigmaAuth==="always"||!A&&r.requireFigmaAuth==="if-unset")&&(A=await pCt(t,r.silent?{silent:!0,onAuthStatus:r.onAuthStatus}:void 0),fx(t,{figmaAuth:A},n)),r.force||!a&&r.builderPrivateKey||!o&&r.builderPublicKey){let{privateKey:u,spaceId:l,spaceName:d,userId:g}=await dCt(t,r.forceSpaceId,r.silent?{silent:!0,onAuthStatus:r.onAuthStatus}:void 0);if(r.forceSpaceId&&l!==r.forceSpaceId)throw new Error(`OAuth flow returned space ${(0,Ml.yellow)(l)}, however the command specified --spaceId=${(0,Ml.green)(r.forceSpaceId)}`);o=l,a=u,i=d,s=g,await lz(s),await Yo(t,t.getAppRootDir())&&!await QH(t,l,void 0,!1)&&!r.silent&&$.warn("Unable to set public api key in an existing .env file or create a new one. Please ensure you have write access in the current directory."),fx(t,{builderPublicKey:o,builderPrivateKey:a,spaceName:i,userId:s,timestamp:new Date().toISOString()},n)}return s?t.Sentry?.setUser({id:s,username:process.env.USER||process.env.USERNAME||"unknown"}):o&&t.Sentry?.setUser({id:o,username:process.env.USER||process.env.USERNAME||"unknown"}),(i||o)&&t.Sentry?.setContext("builder",{spaceId:o,spaceName:i,userId:s}),{figmaAuth:A,builderPublicKey:o,builderPrivateKey:a,spaceName:i,userId:s,timestamp:c}},gCt="RHr2ed743waC2g2ZHMEJSn6O0NQ08L"});var $De=N((npr,qDe)=>{h();var vH=class{constructor(e,r,n){this.etaBufferLength=e||100,this.valueBuffer=[n],this.timeBuffer=[r],this.eta="0"}update(e,r,n){this.valueBuffer.push(r),this.timeBuffer.push(e),this.calculate(n-r)}getTime(){return this.eta}calculate(e){let r=this.valueBuffer.length,n=Math.min(this.etaBufferLength,r),i=this.valueBuffer[r-1]-this.valueBuffer[r-n],s=this.timeBuffer[r-1]-this.timeBuffer[r-n],o=i/s;this.valueBuffer=this.valueBuffer.slice(-this.etaBufferLength),this.timeBuffer=this.timeBuffer.slice(-this.etaBufferLength);let a=Math.ceil(e/o/1e3);isNaN(a)?this.eta="NULL":isFinite(a)?a>1e7?this.eta="INF":a<0?this.eta=0:this.eta=a:this.eta="INF"}};qDe.exports=vH});var xH=N((spr,VDe)=>{h();var Tp=require("readline"),SH=class{constructor(e){this.stream=e,this.linewrap=!0,this.dy=0}cursorSave(){this.stream.isTTY&&this.stream.write("\x1B7")}cursorRestore(){this.stream.isTTY&&this.stream.write("\x1B8")}cursor(e){this.stream.isTTY&&(e?this.stream.write("\x1B[?25h"):this.stream.write("\x1B[?25l"))}cursorTo(e=null,r=null){this.stream.isTTY&&Tp.cursorTo(this.stream,e,r)}cursorRelative(e=null,r=null){this.stream.isTTY&&(this.dy=this.dy+r,Tp.moveCursor(this.stream,e,r))}cursorRelativeReset(){this.stream.isTTY&&(Tp.moveCursor(this.stream,0,-this.dy),Tp.cursorTo(this.stream,0,null),this.dy=0)}clearRight(){this.stream.isTTY&&Tp.clearLine(this.stream,1)}clearLine(){this.stream.isTTY&&Tp.clearLine(this.stream,0)}clearBottom(){this.stream.isTTY&&Tp.clearScreenDown(this.stream)}newline(){this.stream.write(`
4381
- `),this.dy++}write(e,r=!1){this.linewrap===!0&&r===!1?this.stream.write(e.substr(0,this.getWidth())):this.stream.write(e)}lineWrapping(e){this.stream.isTTY&&(this.linewrap=e,e?this.stream.write("\x1B[?7h"):this.stream.write("\x1B[?7l"))}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}};VDe.exports=SH});var zDe=N((apr,FH)=>{"use strict";h();var WDe=t=>Number.isNaN(t)?!1:t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141);FH.exports=WDe;FH.exports.default=WDe});var ZDe=N((cpr,XDe)=>{"use strict";h();XDe.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var twe=N((lpr,kH)=>{"use strict";h();var _Ct=q_(),UCt=zDe(),GCt=ZDe(),ewe=t=>{if(typeof t!="string"||t.length===0||(t=_Ct(t),t.length===0))return 0;t=t.replace(GCt()," ");let e=0;for(let r=0;r<t.length;r++){let n=t.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,e+=UCt(n)?2:1)}return e};kH.exports=ewe;kH.exports.default=ewe});var RH=N((ppr,rwe)=>{h();rwe.exports=function(e,r,n){if(r.autopadding!==!0)return e;function i(s,o){return(r.autopaddingChar+s).slice(-o)}return n==="percentage"?i(e,3):e}});var TH=N((fpr,nwe)=>{h();nwe.exports=function(e,r){let n=Math.round(e*r.barsize),i=r.barsize-n;return r.barCompleteString.substr(0,n)+r.barGlue+r.barIncompleteString.substr(0,i)}});var NH=N((mpr,iwe)=>{h();iwe.exports=function(e,r,n){function i(o){return n?n*Math.round(o/n):o}function s(o){return(r.autopaddingChar+o).slice(-2)}return e>3600?s(Math.floor(e/3600))+"h"+s(i(e%3600/60))+"m":e>60?s(Math.floor(e/60))+"m"+s(i(e%60))+"s":e>10?s(i(e))+"s":s(e)+"s"}});var MH=N((Ipr,swe)=>{h();var OCt=twe(),KCt=RH(),HCt=TH(),JCt=NH();swe.exports=function(e,r,n){let i=e.format,s=e.formatTime||JCt,o=e.formatValue||KCt,a=e.formatBar||HCt,A=Math.floor(r.progress*100)+"",c=r.stopTime||Date.now(),u=Math.round((c-r.startTime)/1e3),l=Object.assign({},n,{bar:a(r.progress,e),percentage:o(A,e,"percentage"),total:o(r.total,e,"total"),value:o(r.value,e,"value"),eta:o(r.eta,e,"eta"),eta_formatted:s(r.eta,e,5),duration:o(u,e,"duration"),duration_formatted:s(u,e,1)});i=i.replace(/\{(\w+)\}/g,function(p,f){return typeof l[f]<"u"?l[f]:p});let d=Math.max(0,r.maxWidth-OCt(i)-2),g=Math.floor(d/2);switch(e.align){case"right":i=d>0?" ".repeat(d)+i:i;break;case"center":i=g>0?" ".repeat(g)+i:i;break;default:break}return i}});var kx=N((Bpr,owe)=>{h();function mr(t,e){return typeof t>"u"||t===null?e:t}owe.exports={parse:function(e,r){let n={},i=Object.assign({},r,e);return n.throttleTime=1e3/mr(i.fps,10),n.stream=mr(i.stream,process.stderr),n.terminal=mr(i.terminal,null),n.clearOnComplete=mr(i.clearOnComplete,!1),n.stopOnComplete=mr(i.stopOnComplete,!1),n.barsize=mr(i.barsize,40),n.align=mr(i.align,"left"),n.hideCursor=mr(i.hideCursor,!1),n.linewrap=mr(i.linewrap,!1),n.barGlue=mr(i.barGlue,""),n.barCompleteChar=mr(i.barCompleteChar,"="),n.barIncompleteChar=mr(i.barIncompleteChar,"-"),n.format=mr(i.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=mr(i.formatTime,null),n.formatValue=mr(i.formatValue,null),n.formatBar=mr(i.formatBar,null),n.etaBufferLength=mr(i.etaBuffer,10),n.etaAsynchronousUpdate=mr(i.etaAsynchronousUpdate,!1),n.progressCalculationRelative=mr(i.progressCalculationRelative,!1),n.synchronousUpdate=mr(i.synchronousUpdate,!0),n.noTTYOutput=mr(i.noTTYOutput,!1),n.notTTYSchedule=mr(i.notTTYSchedule,2e3),n.emptyOnZero=mr(i.emptyOnZero,!1),n.forceRedraw=mr(i.forceRedraw,!1),n.autopadding=mr(i.autopadding,!1),n.gracefulExit=mr(i.gracefulExit,!1),n},assignDerivedOptions:function(e){return e.barCompleteString=e.barCompleteChar.repeat(e.barsize+1),e.barIncompleteString=e.barIncompleteChar.repeat(e.barsize+1),e.autopaddingChar=e.autopadding?mr(e.autopaddingChar," "):"",e}}});var PH=N((Dpr,Awe)=>{h();var awe=$De(),jCt=xH(),YCt=MH(),qCt=kx(),$Ct=require("events");Awe.exports=class extends $Ct{constructor(e){super(),this.options=qCt.assignDerivedOptions(e),this.terminal=this.options.terminal?this.options.terminal:new jCt(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new awe(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:YCt}render(e=!1){let r={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};this.options.etaAsynchronousUpdate&&this.updateETA();let n=this.formatter(this.options,r,this.payload);(e||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=n)&&(this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(n),this.terminal.clearRight(),this.lastDrawnString=n,this.lastRedraw=Date.now(),this.emit("redraw-post"))}start(e,r,n){this.value=r||0,this.total=typeof e<"u"&&e>=0?e:100,this.startValue=r||0,this.payload=n||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new awe(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",e,r)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(e,r={}){typeof e=="number"&&(this.value=e,this.eta.update(Date.now(),e,this.total));let n=(typeof e=="object"?e:r)||{};this.emit("update",this.total,this.value);for(let i in n)this.payload[i]=n[i];this.value>=this.getTotal()&&this.options.stopOnComplete&&this.stop()}getProgress(){let e=this.value/this.total;return this.options.progressCalculationRelative&&(e=(this.value-this.startValue)/(this.total-this.startValue)),isNaN(e)&&(e=this.options&&this.options.emptyOnZero?0:1),e=Math.min(Math.max(e,0),1),e}increment(e=1,r={}){typeof e=="object"?this.update(this.value+1,e):this.update(this.value+e,r)}getTotal(){return this.total}setTotal(e){typeof e<"u"&&e>=0&&(this.total=e)}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var uwe=N((vpr,cwe)=>{h();var VCt=PH(),WCt=kx();cwe.exports=class extends VCt{constructor(e,r){super(WCt.parse(e,r)),this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.options.synchronousUpdate=!1),this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){this.timer&&(clearTimeout(this.timer),this.timer=null),super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&this.terminal.newline(),this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(e,r){this.timer&&(super.update(e,r),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now()&&this.render())}start(e,r,n){this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.terminal.cursorSave(),this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),super.start(e,r,n),this.render())}stop(){this.timer&&(this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRestore(),this.options.clearOnComplete?(this.terminal.cursorTo(0,null),this.terminal.clearLine()):this.terminal.newline())}}});var gwe=N((Fpr,lwe)=>{h();var zCt=xH(),XCt=PH(),ZCt=kx(),eIt=require("events");lwe.exports=class extends eIt{constructor(e,r){super(),this.bars=[],this.options=ZCt.parse(e,r),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new zCt(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(e,r,n,i={}){let s=new XCt(Object.assign({},this.options,{terminal:this.terminal},i));return this.bars.push(s),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.isActive||(this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),this.timer=setTimeout(this.update.bind(this),this.schedulingRate)),this.isActive=!0,s.start(e,r,n),this.emit("start")),s}remove(e){let r=this.bars.indexOf(e);return r<0?!1:(this.bars.splice(r,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0)}update(){if(this.timer&&(clearTimeout(this.timer),this.timer=null),this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0)for(this.terminal.clearLine();this.loggingBuffer.length>0;)this.terminal.write(this.loggingBuffer.shift(),!0);for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render();this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.terminal.newline(),this.terminal.newline()),this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find(e=>e.isActive)&&this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.isActive=!1,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render(),this.bars[e].stop();this.terminal.newline()}this.emit("stop")}log(e){this.loggingBuffer.push(e)}}});var dwe=N((Rpr,pwe)=>{h();pwe.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var hwe=N((Npr,fwe)=>{h();fwe.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var Cwe=N((Ppr,mwe)=>{h();mwe.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var Ewe=N((_pr,Iwe)=>{h();Iwe.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var ywe=N((Gpr,Bwe)=>{h();var tIt=dwe(),rIt=hwe(),nIt=Cwe(),iIt=Ewe();Bwe.exports={legacy:tIt,shades_classic:rIt,shades_grey:nIt,rect:iIt}});var wwe=N((Kpr,Dwe)=>{h();var Qwe=uwe(),sIt=gwe(),oIt=ywe(),aIt=MH(),AIt=RH(),cIt=TH(),uIt=NH();Dwe.exports={Bar:Qwe,SingleBar:Qwe,MultiBar:sIt,Presets:oIt,Format:{Formatter:aIt,BarFormat:cIt,ValueFormat:AIt,TimeFormat:uIt}}});var Rwe=N((ldr,kwe)=>{h();kwe.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});var C0t={};fy(C0t,{default:()=>m0t});module.exports=Vr(C0t);h();h();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9c744017-fae9-46f5-b571-fecc66312c7e",t._sentryDebugIdIdentifier="sentry-dbid-9c744017-fae9-46f5-b571-fecc66312c7e")}catch{}})();h();Et();var cke=require("../core/index.cjs"),uke=require("../node/index.cjs"),lke=require("../server/index.cjs"),gke=z(Vj(),1);h();h();var Fx=require("fs/promises");Ck();Lr();nI();rr();var Or=z(Cr(),1),sm=require("node:path");ks();Ns();yr();Wr();wf();var hCt="https://cdn.builder.io",GDe=async(t,e)=>{console.log(""),sr((0,Or.bgCyan)((0,Or.bold)((0,Or.white)(" figma migrate ")))+" "+(0,Or.dim)(ft));let{builderPrivateKey:r,builderPublicKey:n}=await Zt(t,e,{forceSpaceId:e.spaceId,builderPrivateKey:!0,builderPublicKey:!0});await Mt("figma publish started",{spaceId:n});let i=await rI(t);if(i.length>0){await Mt("figma migrate with existing files",{spaceId:n}),$.warning(`${(0,Or.yellow)("This repo already has figma mappings in:")}
4381
+ `),this.dy++}write(e,r=!1){this.linewrap===!0&&r===!1?this.stream.write(e.substr(0,this.getWidth())):this.stream.write(e)}lineWrapping(e){this.stream.isTTY&&(this.linewrap=e,e?this.stream.write("\x1B[?7h"):this.stream.write("\x1B[?7l"))}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}};VDe.exports=SH});var zDe=N((apr,FH)=>{"use strict";h();var WDe=t=>Number.isNaN(t)?!1:t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141);FH.exports=WDe;FH.exports.default=WDe});var ZDe=N((cpr,XDe)=>{"use strict";h();XDe.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var twe=N((lpr,kH)=>{"use strict";h();var _Ct=q_(),UCt=zDe(),GCt=ZDe(),ewe=t=>{if(typeof t!="string"||t.length===0||(t=_Ct(t),t.length===0))return 0;t=t.replace(GCt()," ");let e=0;for(let r=0;r<t.length;r++){let n=t.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,e+=UCt(n)?2:1)}return e};kH.exports=ewe;kH.exports.default=ewe});var RH=N((ppr,rwe)=>{h();rwe.exports=function(e,r,n){if(r.autopadding!==!0)return e;function i(s,o){return(r.autopaddingChar+s).slice(-o)}return n==="percentage"?i(e,3):e}});var TH=N((fpr,nwe)=>{h();nwe.exports=function(e,r){let n=Math.round(e*r.barsize),i=r.barsize-n;return r.barCompleteString.substr(0,n)+r.barGlue+r.barIncompleteString.substr(0,i)}});var NH=N((mpr,iwe)=>{h();iwe.exports=function(e,r,n){function i(o){return n?n*Math.round(o/n):o}function s(o){return(r.autopaddingChar+o).slice(-2)}return e>3600?s(Math.floor(e/3600))+"h"+s(i(e%3600/60))+"m":e>60?s(Math.floor(e/60))+"m"+s(i(e%60))+"s":e>10?s(i(e))+"s":s(e)+"s"}});var MH=N((Ipr,swe)=>{h();var OCt=twe(),KCt=RH(),HCt=TH(),JCt=NH();swe.exports=function(e,r,n){let i=e.format,s=e.formatTime||JCt,o=e.formatValue||KCt,a=e.formatBar||HCt,A=Math.floor(r.progress*100)+"",c=r.stopTime||Date.now(),u=Math.round((c-r.startTime)/1e3),l=Object.assign({},n,{bar:a(r.progress,e),percentage:o(A,e,"percentage"),total:o(r.total,e,"total"),value:o(r.value,e,"value"),eta:o(r.eta,e,"eta"),eta_formatted:s(r.eta,e,5),duration:o(u,e,"duration"),duration_formatted:s(u,e,1)});i=i.replace(/\{(\w+)\}/g,function(p,f){return typeof l[f]<"u"?l[f]:p});let d=Math.max(0,r.maxWidth-OCt(i)-2),g=Math.floor(d/2);switch(e.align){case"right":i=d>0?" ".repeat(d)+i:i;break;case"center":i=g>0?" ".repeat(g)+i:i;break;default:break}return i}});var kx=N((Bpr,owe)=>{h();function mr(t,e){return typeof t>"u"||t===null?e:t}owe.exports={parse:function(e,r){let n={},i=Object.assign({},r,e);return n.throttleTime=1e3/mr(i.fps,10),n.stream=mr(i.stream,process.stderr),n.terminal=mr(i.terminal,null),n.clearOnComplete=mr(i.clearOnComplete,!1),n.stopOnComplete=mr(i.stopOnComplete,!1),n.barsize=mr(i.barsize,40),n.align=mr(i.align,"left"),n.hideCursor=mr(i.hideCursor,!1),n.linewrap=mr(i.linewrap,!1),n.barGlue=mr(i.barGlue,""),n.barCompleteChar=mr(i.barCompleteChar,"="),n.barIncompleteChar=mr(i.barIncompleteChar,"-"),n.format=mr(i.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=mr(i.formatTime,null),n.formatValue=mr(i.formatValue,null),n.formatBar=mr(i.formatBar,null),n.etaBufferLength=mr(i.etaBuffer,10),n.etaAsynchronousUpdate=mr(i.etaAsynchronousUpdate,!1),n.progressCalculationRelative=mr(i.progressCalculationRelative,!1),n.synchronousUpdate=mr(i.synchronousUpdate,!0),n.noTTYOutput=mr(i.noTTYOutput,!1),n.notTTYSchedule=mr(i.notTTYSchedule,2e3),n.emptyOnZero=mr(i.emptyOnZero,!1),n.forceRedraw=mr(i.forceRedraw,!1),n.autopadding=mr(i.autopadding,!1),n.gracefulExit=mr(i.gracefulExit,!1),n},assignDerivedOptions:function(e){return e.barCompleteString=e.barCompleteChar.repeat(e.barsize+1),e.barIncompleteString=e.barIncompleteChar.repeat(e.barsize+1),e.autopaddingChar=e.autopadding?mr(e.autopaddingChar," "):"",e}}});var PH=N((Dpr,Awe)=>{h();var awe=$De(),jCt=xH(),YCt=MH(),qCt=kx(),$Ct=require("events");Awe.exports=class extends $Ct{constructor(e){super(),this.options=qCt.assignDerivedOptions(e),this.terminal=this.options.terminal?this.options.terminal:new jCt(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new awe(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:YCt}render(e=!1){let r={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};this.options.etaAsynchronousUpdate&&this.updateETA();let n=this.formatter(this.options,r,this.payload);(e||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=n)&&(this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(n),this.terminal.clearRight(),this.lastDrawnString=n,this.lastRedraw=Date.now(),this.emit("redraw-post"))}start(e,r,n){this.value=r||0,this.total=typeof e<"u"&&e>=0?e:100,this.startValue=r||0,this.payload=n||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new awe(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",e,r)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(e,r={}){typeof e=="number"&&(this.value=e,this.eta.update(Date.now(),e,this.total));let n=(typeof e=="object"?e:r)||{};this.emit("update",this.total,this.value);for(let i in n)this.payload[i]=n[i];this.value>=this.getTotal()&&this.options.stopOnComplete&&this.stop()}getProgress(){let e=this.value/this.total;return this.options.progressCalculationRelative&&(e=(this.value-this.startValue)/(this.total-this.startValue)),isNaN(e)&&(e=this.options&&this.options.emptyOnZero?0:1),e=Math.min(Math.max(e,0),1),e}increment(e=1,r={}){typeof e=="object"?this.update(this.value+1,e):this.update(this.value+e,r)}getTotal(){return this.total}setTotal(e){typeof e<"u"&&e>=0&&(this.total=e)}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var uwe=N((vpr,cwe)=>{h();var VCt=PH(),WCt=kx();cwe.exports=class extends VCt{constructor(e,r){super(WCt.parse(e,r)),this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.options.synchronousUpdate=!1),this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){this.timer&&(clearTimeout(this.timer),this.timer=null),super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&this.terminal.newline(),this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(e,r){this.timer&&(super.update(e,r),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now()&&this.render())}start(e,r,n){this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.terminal.cursorSave(),this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),super.start(e,r,n),this.render())}stop(){this.timer&&(this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRestore(),this.options.clearOnComplete?(this.terminal.cursorTo(0,null),this.terminal.clearLine()):this.terminal.newline())}}});var gwe=N((Fpr,lwe)=>{h();var zCt=xH(),XCt=PH(),ZCt=kx(),eIt=require("events");lwe.exports=class extends eIt{constructor(e,r){super(),this.bars=[],this.options=ZCt.parse(e,r),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new zCt(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(e,r,n,i={}){let s=new XCt(Object.assign({},this.options,{terminal:this.terminal},i));return this.bars.push(s),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.isActive||(this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),this.timer=setTimeout(this.update.bind(this),this.schedulingRate)),this.isActive=!0,s.start(e,r,n),this.emit("start")),s}remove(e){let r=this.bars.indexOf(e);return r<0?!1:(this.bars.splice(r,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0)}update(){if(this.timer&&(clearTimeout(this.timer),this.timer=null),this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0)for(this.terminal.clearLine();this.loggingBuffer.length>0;)this.terminal.write(this.loggingBuffer.shift(),!0);for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render();this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.terminal.newline(),this.terminal.newline()),this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find(e=>e.isActive)&&this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.isActive=!1,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render(),this.bars[e].stop();this.terminal.newline()}this.emit("stop")}log(e){this.loggingBuffer.push(e)}}});var dwe=N((Rpr,pwe)=>{h();pwe.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var hwe=N((Npr,fwe)=>{h();fwe.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var Cwe=N((Ppr,mwe)=>{h();mwe.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var Ewe=N((_pr,Iwe)=>{h();Iwe.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var ywe=N((Gpr,Bwe)=>{h();var tIt=dwe(),rIt=hwe(),nIt=Cwe(),iIt=Ewe();Bwe.exports={legacy:tIt,shades_classic:rIt,shades_grey:nIt,rect:iIt}});var wwe=N((Kpr,Dwe)=>{h();var Qwe=uwe(),sIt=gwe(),oIt=ywe(),aIt=MH(),AIt=RH(),cIt=TH(),uIt=NH();Dwe.exports={Bar:Qwe,SingleBar:Qwe,MultiBar:sIt,Presets:oIt,Format:{Formatter:aIt,BarFormat:cIt,ValueFormat:AIt,TimeFormat:uIt}}});var Rwe=N((ldr,kwe)=>{h();kwe.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});var C0t={};fy(C0t,{default:()=>m0t});module.exports=Vr(C0t);h();h();(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="3c755494-deaf-49eb-beec-f3ccc7afa155",t._sentryDebugIdIdentifier="sentry-dbid-3c755494-deaf-49eb-beec-f3ccc7afa155")}catch{}})();h();Et();var cke=require("../core/index.cjs"),uke=require("../node/index.cjs"),lke=require("../server/index.cjs"),gke=z(Vj(),1);h();h();var Fx=require("fs/promises");Ck();Lr();nI();rr();var Or=z(Cr(),1),sm=require("node:path");ks();Ns();yr();Wr();wf();var hCt="https://cdn.builder.io",GDe=async(t,e)=>{console.log(""),sr((0,Or.bgCyan)((0,Or.bold)((0,Or.white)(" figma migrate ")))+" "+(0,Or.dim)(ft));let{builderPrivateKey:r,builderPublicKey:n}=await Zt(t,e,{forceSpaceId:e.spaceId,builderPrivateKey:!0,builderPublicKey:!0});await Mt("figma publish started",{spaceId:n});let i=await rI(t);if(i.length>0){await Mt("figma migrate with existing files",{spaceId:n}),$.warning(`${(0,Or.yellow)("This repo already has figma mappings in:")}
4382
4382
 
4383
4383
  ${i.map(c=>` - ${(0,sm.relative)(t.getAppRootDir(),c)}`).join(`
4384
4384
  `)}