@builder.io/dev-tools 1.72.3-beta.202607011524.91bf8f9.add-declaredsize-to-uploadtokenpayloadsc → 1.72.4

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 QOe=Object.create;var A0=Object.defineProperty;var DOe=Object.getOwnPropertyDescriptor;var wOe=Object.getOwnPropertyNames;var bOe=Object.getPrototypeOf,SOe=Object.prototype.hasOwnProperty;var k=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),zl=(t,e)=>{for(var r in e)A0(t,r,{get:e[r],enumerable:!0})},tW=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wOe(e))!SOe.call(t,i)&&i!==r&&A0(t,i,{get:()=>e[i],enumerable:!(n=DOe(e,i))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?QOe(bOe(t)):{},tW(e||!t||!t.__esModule?A0(r,"default",{value:t,enumerable:!0}):r,t)),Dn=t=>tW(A0({},"__esModule",{value:!0}),t);var m=k(()=>{(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"91bf8f9b8dcdfb5f3d48d6f19b4e23f3ac79ac69"}}catch{}})()});function Xl(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 vOe(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 nW(){let t=process.env.FUSION_ENVIRONMENT;return t==="cloud"||t==="cloud-v2"}function c0(t,e,r,n){let i={severity:e,message:vOe(r,n),timestamp:new Date().toISOString()};r&&(i.context=r),t.write(JSON.stringify(i)+`
1
+ var QOe=Object.create;var A0=Object.defineProperty;var DOe=Object.getOwnPropertyDescriptor;var wOe=Object.getOwnPropertyNames;var bOe=Object.getPrototypeOf,SOe=Object.prototype.hasOwnProperty;var k=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),zl=(t,e)=>{for(var r in e)A0(t,r,{get:e[r],enumerable:!0})},tW=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wOe(e))!SOe.call(t,i)&&i!==r&&A0(t,i,{get:()=>e[i],enumerable:!(n=DOe(e,i))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?QOe(bOe(t)):{},tW(e||!t||!t.__esModule?A0(r,"default",{value:t,enumerable:!0}):r,t)),Dn=t=>tW(A0({},"__esModule",{value:!0}),t);var m=k(()=>{(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"dcf7138c8b80488edbb971ad4052da4f12728ee3"}}catch{}})()});function Xl(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 vOe(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 nW(){let t=process.env.FUSION_ENVIRONMENT;return t==="cloud"||t==="cloud-v2"}function c0(t,e,r,n){let i={severity:e,message:vOe(r,n),timestamp:new Date().toISOString()};r&&(i.context=r),t.write(JSON.stringify(i)+`
2
2
  `)}function xOe(t,e,r){return{debug(...n){if(!e())return;let{callArgs:i,options:o}=Xl(n);c0(o.stderr?process.stderr:process.stdout,"DEBUG",r,i)},info(...n){if(t>Zl.info)return;let{callArgs:i,options:o}=Xl(n);o.debug&&!e()||c0(o.stderr?process.stderr:process.stdout,"INFO",r,i)},warn(...n){if(t>Zl.warn)return;let{callArgs:i,options:o}=Xl(n);o.debug&&!e()||c0(process.stderr,"WARNING",r,i)},error(...n){if(t>Zl.error)return;let{callArgs:i,options:o}=Xl(n);o.debug&&!e()||c0(process.stderr,"ERROR",r,i)}}}function om(t){return t?`[${t}]`:""}function FOe(t,e,r){return{debug(...n){if(!e())return;let{callArgs:i,options:o}=Xl(n);o.stderr?console.error(om(r),...i):console.debug(om(r),...i)},info(...n){if(Zl.info<t)return;let{callArgs:i,options:o}=Xl(n);o.debug&&!e()||(o.stderr?console.error(om(r),...i):console.log(om(r),...i))},warn(...n){if(Zl.warn<t)return;let{callArgs:i,options:o}=Xl(n);o.debug&&!e()||console.warn(om(r),...i)},error(...n){if(Zl.error<t)return;let{callArgs:i,options:o}=Xl(n);o.debug&&!e()||console.error(om(r),...i)}}}function oW(t){iW=t}function ke(t,e){let r=typeof e?.debug=="function"?e.debug:e?.debug!==void 0?()=>e.debug:()=>iW||!!process.env.DEBUG,n=e?.level??process.env.LOG_LEVEL?.toLowerCase();return nW()?xOe(rW(n??"info"),r,t):FOe(rW(n??"info"),r,t)}function rW(t){return Zl[t]??Zl.info}function sW(){if(!nW())return;let t=process.stderr.write.bind(process.stderr);process.stderr.write=function(e,r,n){let i=typeof r=="function"?r:n,o=typeof r=="string"?r:void 0,s=typeof e=="string"?e:Buffer.from(e).toString("utf8"),a=s.trim();if(a.startsWith("{"))try{if(typeof JSON.parse(a).severity=="string")return o?t(e,o,i):t(e,i)}catch{}let A={severity:"ERROR",message:a||s,timestamp:new Date().toISOString(),stream:"stderr"},c=JSON.stringify(A)+`
3
3
  `;return i?t(c,i):t(c)}}function aW(t="process",e=r=>process.exit(r)){let r=ke(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 Zl,iW,vt=k(()=>{"use strict";m();Zl={debug:0,info:1,warn:2,error:3};iW=!1});var cW=N((u1t,AW)=>{m();function oP(t){return t==null?[]:Array.isArray(t)?t:[t]}function ROe(t,e,r,n){var i,o=t[e],s=~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]=o==null?s:Array.isArray(o)?o.concat(s):[o,s]}AW.exports=function(t,e){t=t||[],e=e||{};var r,n,i,o,s,a={_:[]},A=0,c=0,u=0,l=t.length;let p=e.alias!==void 0,g=e.unknown!==void 0,d=e.default!==void 0;if(e.alias=e.alias||{},e.string=oP(e.string),e.boolean=oP(e.boolean),p)for(r in e.alias)for(n=e.alias[r]=oP(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(d){for(r in e.default)if(o=typeof e.default[r],n=e.alias[r]=e.alias[r]||[],e[o]!==void 0)for(e[o].push(r),A=0;A<n.length;A++)e[o].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(o=i.substring(c+3),g&&!~f.indexOf(o))return e.unknown(i);a[o]=!1}else{for(u=c+1;u<i.length&&i.charCodeAt(u)!==61;u++);for(o=i.substring(c,u),s=i.substring(++u)||A+1===l||(""+t[A+1]).charCodeAt(0)===45||t[++A],n=c===2?[o]:o,u=0;u<n.length;u++){if(o=n[u],g&&!~f.indexOf(o))return e.unknown("-".repeat(c)+o);ROe(a,o,u+1<n.length||s,e)}}}if(d)for(r in e.default)a[r]===void 0&&(a[r]=e.default[r]);if(p)for(r in a)for(n=e.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a}});var AP,am,u0,l0,lW,Hp,cP,uP,Kp,gW,Am=k(()=>{"use strict";m();AP="preview-url",am="framework",u0="platform",l0="node",lW="/~builder-connect",Hp="/~builder-connected",cP="/~builder-dev-tools",uP="/~builder-dev-tools.js",Kp="/~builder-dev-tools-close",gW="/mappings"});var g0=N((m1t,pW)=>{"use strict";m();var lP={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"},MOe={up:(t=1)=>"\x1B[S".repeat(t),down:(t=1)=>"\x1B[T".repeat(t)},POe={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?lP.up():"");return t&&(e+=lP.left),e}};pW.exports={cursor:lP,scroll:MOe,erase:POe,beep:"\x07"}});var jr=N((C1t,gP)=>{m();var d0=process||{},dW=d0.argv||[],p0=d0.env||{},_Oe=!(p0.NO_COLOR||dW.includes("--no-color"))&&(!!p0.FORCE_COLOR||dW.includes("--color")||d0.platform==="win32"||(d0.stdout||{}).isTTY&&p0.TERM!=="dumb"||!!p0.CI),LOe=(t,e,r=t)=>n=>{let i=""+n,o=i.indexOf(e,t.length);return~o?t+UOe(i,e,r,o)+e:t+i+e},UOe=(t,e,r,n)=>{let i="",o=0;do i+=t.substring(o,n)+r,o=n+e.length,n=t.indexOf(e,o);while(~n);return i+t.substring(o)},fW=(t=_Oe)=>{let e=t?LOe:()=>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")}};gP.exports=fW();gP.exports.createColors=fW});function OOe({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 bW(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(GOe,"")}function SW(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function DE(t,e={}){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,...e},t=bW(t),t.length===0))return 0;t=t.replace(jOe()," ");let r=e.ambiguousIsNarrow?1:2,n=0;for(let i of t){let o=i.codePointAt(0);if(!(o<=31||o>=127&&o<=159||o>=768&&o<=879))switch(KOe.eastAsianWidth(i)){case"F":case"W":n+=2;break;case"A":n+=r;break;default:n+=1}}return n}function qOe(){let t=new Map;for(let[e,r]of Object.entries(An)){for(let[n,i]of Object.entries(r))An[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=An[n],t.set(i[0],i[1]);Object.defineProperty(An,e,{value:r,enumerable:!1})}return Object.defineProperty(An,"codes",{value:t,enumerable:!1}),An.color.close="\x1B[39m",An.bgColor.close="\x1B[49m",An.color.ansi=mW(),An.color.ansi256=hW(),An.color.ansi16m=CW(),An.bgColor.ansi=mW(pP),An.bgColor.ansi256=hW(pP),An.bgColor.ansi16m=CW(pP),Object.defineProperties(An,{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(o=>o+o).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>An.rgbToAnsi256(...An.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 o=Math.max(r,n,i)*2;if(o===0)return 30;let s=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return o===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>An.ansi256ToAnsi(An.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>An.ansi256ToAnsi(An.hexToAnsi256(e)),enumerable:!1}}),An}function BW(t,e,r){return String(t).normalize().replace(/\r\n/g,`
4
4
  `).split(`
@@ -100,9 +100,9 @@ ${i.stack}`:"unknown"}}}}}var lHe,gHe,CHe,N1,ZX=k(()=>{m();wn();ma();lHe=10,gHe=
100
100
  `);let{connect:c,buffered:u}=await A;if(e.emit("proxyConnect",c),this.emit("proxyConnect",c,e),c.statusCode===200){if(e.once("socket",DKe),r.secureEndpoint){xB("Upgrading socket connection to TLS");let p=r.servername||r.host;return UL.connect({...Ote(r,"host","path","port"),socket:i,servername:Vu.isIP(p)?void 0:p})}return i}i.destroy();let l=new Vu.Socket({writable:!1});return l.readable=!0,e.once("socket",p=>{xB("Replaying proxy buffer for failed request"),p.push(u),p.push(null)}),l}};FB.protocols=["http","https"]});function vKe(t){return new Hte.Readable({read(){this.push(t),this.push(null)}})}function iS(t){let e;try{e=new URL(t.url)}catch{return Tn(()=>{console.warn("[@sentry/node]: Invalid dsn or tunnel option, will not send any events. The tunnel option must be a full URL when used.")}),Gm(t,()=>Promise.resolve({}))}let r=e.protocol==="https:",n=xKe(e,t.proxy||(r?process.env.https_proxy:void 0)||process.env.http_proxy),i=r?bKe:wKe,o=t.keepAlive===void 0?!1:t.keepAlive,s=n?new FB(n):new i.Agent({keepAlive:o,maxSockets:30,timeout:2e3}),a=FKe(t,t.httpModule??i,s);return Gm(t,a)}function xKe(t,e){let{no_proxy:r}=process.env;if(!r?.split(",").some(i=>t.host.endsWith(i)||t.hostname.endsWith(i)))return e}function FKe(t,e,r){let{hostname:n,pathname:i,port:o,protocol:s,search:a}=new URL(t.url);return function(c){return new Promise((u,l)=>{rd(()=>{let p=vKe(c.body),g={...t.headers};c.body.length>SKe&&(g["content-encoding"]="gzip",p=p.pipe((0,Kte.createGzip)()));let d=n.startsWith("["),f=e.request({method:"POST",agent:r,headers:g,hostname:d?n.slice(1,-1):n,path:`${i}${a}`,port:o,protocol:s,ca:t.caCerts},h=>{h.on("data",()=>{}),h.on("end",()=>{}),h.setEncoding("utf8");let C=h.headers["retry-after"]??null,I=h.headers["x-sentry-rate-limits"]??null;u({statusCode:h.statusCode,headers:{"retry-after":C,"x-sentry-rate-limits":Array.isArray(I)?I[0]||null:I}})});f.on("error",l),p.pipe(f)})})}}var wKe,bKe,Hte,Kte,SKe,OL=k(()=>{m();wKe=z(require("node:http"),1),bKe=z(require("node:https"),1),Hte=require("node:stream"),Kte=require("node:zlib");Yt();Gte();SKe=1024*32});function Jte(t){if(t===!1)return!1;if(typeof t=="string")return t;let e=lg(process.env.SENTRY_SPOTLIGHT,{strict:!0}),r=e===null&&process.env.SENTRY_SPOTLIGHT?process.env.SENTRY_SPOTLIGHT:void 0;return t===!0?r??!0:e??r}var jte=k(()=>{m();Yt()});function oS(){let t=new Yte.AsyncLocalStorage;function e(){let a=t.getStore();return a||{scope:FE(),isolationScope:RE()}}function r(a){let A=e().scope.clone(),c=e().isolationScope;return t.run({scope:A,isolationScope:c},()=>a(A))}function n(a,A){let c=e().isolationScope.clone();return t.run({scope:a,isolationScope:c},()=>A(a))}function i(a){let A=e().scope.clone(),c=e().isolationScope.clone();return t.run({scope:A,isolationScope:c},()=>a(c))}function o(a,A){let c=e().scope.clone();return t.run({scope:c,isolationScope:a},()=>A(a))}function s(a){return r(A=>(A.setSDKProcessingMetadata({[Dc]:!0}),a()))}YP({suppressTracing:s,withScope:r,withSetScope:n,withIsolationScope:i,withSetIsolationScope:o,getCurrentScope:()=>e().scope,getIsolationScope:()=>e().isolationScope})}var Yte,GL=k(()=>{m();Yte=require("node:async_hooks");Yt()});function $te(t,e,r){if(!r.breadcrumbs||dt().getScopeData().sdkProcessingMetadata[Dc])return;let{ignoreOutgoingRequests:n}=r;if(n){let i=vA(t);if(n(i,QB(t)))return}DB(t,e)}var sS,aS,RKe,kKe,TKe,th,HL=k(()=>{m();sS=require("node:diagnostics_channel");Yt();aS=require("node:events");Zm();RKe="Http",kKe=Da.major===22&&Da.minor>=12||Da.major===23&&Da.minor>=2||Da.major>=24,TKe=((t={})=>{let e={...t,sessions:!1,maxRequestBodySize:t.maxRequestBodySize??"medium",ignoreRequestBody:t.ignoreRequestBody,breadcrumbs:t.breadcrumbs??!0,tracePropagation:t.tracePropagation??!0,ignoreOutgoingRequests:t.ignoreOutgoingRequests,spans:!1,errorMonitor:aS.errorMonitor};return{name:RKe,setupOnce(){let{[Vm]:r}=pL(e),{ignoreOutgoingRequests:n}=e,{[qm]:i}=lL({breadcrumbs:e.breadcrumbs,propagateTrace:e.tracePropagation,ignoreOutgoingRequests:n?(o,s)=>n(o,QB(s)):void 0,spans:!1,errorMonitor:aS.errorMonitor});(0,sS.subscribe)(Vm,r),(0,sS.subscribe)(qm,i),e.breadcrumbs&&!kKe&&(0,sS.subscribe)("http.client.request.start",o=>{let{request:s}=o;s.on(aS.errorMonitor,()=>$te(s,void 0,e)),s.prependListener("response",a=>{s.listenerCount("response")<=1&&a.resume(),$te(s,a,e)})})}}});th=TKe});function qte(t,e){let r=cS(t.origin,t.path),{tracePropagationTargets:n,propagateTraceparent:i}=_e()?.getOptions()||{},o=uB(r,n,e)?SA({propagateTraceparent:i}):void 0;if(!o)return;let{"sentry-trace":s,baggage:a,traceparent:A}=o,c=Array.isArray(t.headers)?MKe(t.headers):PKe(t.headers);if(JL(c,KL),JL(c,AS),i&&JL(c,NKe),!(jL(c,KL)!==-1)){s&&c.push(KL,s),A&&jL(c,"traceparent")===-1&&c.push("traceparent",A);let l=jL(c,AS);if(a&&l===-1)c.push(AS,a);else if(a){let p=c[l+1],g=bm(p,a);g&&(c[l+1]=g)}}Array.isArray(t.headers)?t.headers.splice(0,t.headers.length,...c):t.headers=_Ke(c)}function MKe(t){let e=[];for(let r=0;r<t.length;r++){let n=t[r];r%2===0?e.push(typeof n=="string"?n:String(n)):e.push(Array.isArray(n)?n.join(", "):n??"")}return e}function PKe(t){let e=t.split(`\r
101
101
  `),r=[];for(let n of e)try{let i=n.indexOf(":");if(i===-1)continue;let o=n.slice(0,i).trim(),s=n.slice(i+1).trim();o&&r.push(o,s)}catch{X.warn(`Failed to convert string request header to array header: ${n}`)}return r}function _Ke(t){let e=[];for(let r=0;r<t.length;r+=2){let n=t[r],i=t[r+1];!n||i==null||e.push(`${n}: ${i}`)}return e.length?e.join(`\r
102
102
  `).concat(`\r
103
- `):""}function JL(t,e){let r=-1;for(let n=0;n<t.length;n+=2){if(t[n]!==e)continue;if(r===-1){r=n;continue}let i=t[r+1];if(e===AS&&i){let o=bm(t[n+1],i);o&&(t[r+1]=o)}t.splice(n,2),n-=2}}function jL(t,e){return t.findIndex((r,n)=>n%2===0&&r===e)}function Vte(t,e){let r=LKe(t),n=e.statusCode,i=hB(n);Ko({category:"http",data:{status_code:n,...r},type:"http",level:i},{event:"response",request:t,response:e})}function LKe(t){try{let e=cS(t.origin,t.path),r=id(e),n={url:od(r),"http.method":t.method||"GET"};return r.search&&(n["http.query"]=r.search),r.hash&&(n["http.fragment"]=r.hash),n}catch{return{}}}function cS(t,e="/"){try{return new URL(e,t).toString()}catch{let r=`${t}`;return r.endsWith("/")&&e.startsWith("/")?`${r}${e.slice(1)}`:!r.endsWith("/")&&!e.startsWith("/")?`${r}/${e}`:`${r}${e}`}}var KL,AS,NKe,Wte=k(()=>{m();Yt();KL="sentry-trace",AS="baggage",NKe="traceparent"});function GKe(t,e,r,n){let i=KKe(t,e);n.set(t,i),!i&&e.tracePropagation&&qte(t,r)}function HKe(t,e,r,n){!r.breadcrumbs||n.get(t)||Vte(t,e)}function KKe(t,e){if(dt().getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__)return!0;let{ignoreOutgoingRequests:r}=e;if(!r)return!1;let n=cS(t.origin,t.path);return r(n)}var YL,UKe,OKe,rh,$L=k(()=>{m();YL=require("node:diagnostics_channel");Yt();Wte();UKe="NodeFetch",OKe=((t={})=>{let e={breadcrumbs:t.breadcrumbs??!0,tracePropagation:t.tracePropagation??!0,ignoreOutgoingRequests:t.ignoreOutgoingRequests},r=new ya(100),n=new WeakMap;return{name:UKe,setupOnce(){let i=(s=>{GKe(s.request,e,r,n)}),o=(s=>{let a=s;HKe(a.request,a.response,e,n)});(0,YL.subscribe)("undici:request:create",i),(0,YL.subscribe)("undici:request:headers",o)}}}),rh=OKe});function qL(){return[Km(),gB(),pB(),dB(),zb(),Wb(),th(),rh(),$b(),qb(),Gb(),jb(),Ob(),Lb(),kte(),Yb()]}function uS(t={}){return Xte(t,qL)}function zte(t={}){return Xte(t,()=>[])}function Xte(t={},e){let r=JKe(t,e);r.debug===!0&&(yi?X.enable():Tn(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),oS(),dt().update(r.initialScope),r.spotlight&&!r.integrations.some(({name:o})=>o===RL)&&r.integrations.push(Vb({sidecarUrl:typeof r.spotlight=="string"?r.spotlight:void 0})),cB(r,"node-light",["node-core"]);let i=new zm(r);return dt().setClient(i),i.init(),X.log(`SDK initialized from ${qu()?"CommonJS":"ESM"} (light mode)`),i.startClientReportTracking(),$Ke(),process.env.VERCEL&&process.on("SIGTERM",async()=>{await i.flush(200)}),i}function JKe(t,e){let r=jKe(t.release),n=Jte(t.spotlight),i=YKe(t.tracesSampleRate),o={...t,dsn:t.dsn??process.env.SENTRY_DSN,environment:t.environment??process.env.SENTRY_ENVIRONMENT,sendClientReports:t.sendClientReports??!0,transport:t.transport??iS,stackParser:vP(t.stackParser||tS),release:r,tracesSampleRate:i,spotlight:n,debug:lg(t.debug??process.env.SENTRY_DEBUG)},s=t.integrations,a=t.defaultIntegrations??e(o),A=V_({defaultIntegrations:a,integrations:s});return o.traceLifecycle==="stream"&&!A.some(c=>c.name==="SpanStreaming")&&A.push(mB()),{...o,integrations:A}}function jKe(t){if(t!==void 0)return t;let e=eS();if(e!==void 0)return e}function YKe(t){if(t!==void 0)return t;let e=process.env.SENTRY_TRACES_SAMPLE_RATE;if(!e)return;let r=parseFloat(e);return isFinite(r)?r:void 0}function $Ke(){if(lg(process.env.SENTRY_USE_ENVIRONMENT)!==!1){let t=process.env.SENTRY_TRACE,e=process.env.SENTRY_BAGGAGE,r=UE(t,e);dt().setPropagationContext(r)}}var Zte=k(()=>{m();Yt();pd();mL();CL();EL();wL();SL();xL();FL();Tte();kL();TL();ML();_L();OL();eh();jte();GL();dL();HL();$L()});function Wu(t,...e){let[r,n,i,o]=e;if(Array.isArray(n)){let s={...i};s["sentry.message.template"]=r,n.forEach((A,c)=>{s[`sentry.message.parameter.${c}`]=A});let a=(0,ere.format)(r,...n);wA({level:t,message:a,attributes:s},o?.scope)}else wA({level:t,message:r,attributes:n},i?.scope??o?.scope)}var ere,VL=k(()=>{m();ere=require("node:util");Yt()});var WL={};zl(WL,{debug:()=>VKe,error:()=>XKe,fatal:()=>ZKe,fmt:()=>m1,info:()=>WKe,trace:()=>qKe,warn:()=>zKe});function qKe(...t){Wu("trace",...t)}function VKe(...t){Wu("debug",...t)}function WKe(...t){Wu("info",...t)}function zKe(...t){Wu("warn",...t)}function XKe(...t){Wu("error",...t)}function ZKe(...t){Wu("fatal",...t)}var tre=k(()=>{m();VL();Yt()});function zL(t,e,r){return Number.isFinite(t)?t<lS?(console.warn(`[Sentry] ${e}: collectionIntervalMs (${t}) is below the minimum of ${lS}ms. Using minimum of ${lS}ms.`),lS):t:(console.warn(`[Sentry] ${e}: collectionIntervalMs (${t}) is invalid. Using default of ${r}ms.`),r)}var nh,rre,nre,lS,ire,ore,sre=k(()=>{m();nh=require("perf_hooks");Yt();rre="NodeRuntimeMetrics",nre=3e4,lS=1e3,ire=10;ore=(t={})=>{let e=zL(t.collectionIntervalMs??nre,rre,nre),r={cpuUtilization:!0,memHeapUsed:!0,memHeapTotal:!0,memRss:!0,eventLoopDelayP50:!0,eventLoopDelayP99:!0,eventLoopUtilization:!0,uptime:!0,cpuTime:!1,memExternal:!1,eventLoopDelayMin:!1,eventLoopDelayMax:!1,eventLoopDelayMean:!1,eventLoopDelayP90:!1,...t.collect},n=r.eventLoopDelayP99||r.eventLoopDelayMin||r.eventLoopDelayMax||r.eventLoopDelayMean||r.eventLoopDelayP50||r.eventLoopDelayP90,i=r.cpuUtilization||r.cpuTime,o,s,a,A=0,c,u=ire*1e6,l=h=>Math.max(0,(h-u)/1e9),p={attributes:{"sentry.origin":"auto.node.runtime_metrics"}},g={unit:"byte",attributes:{"sentry.origin":"auto.node.runtime_metrics"}},d={unit:"second",attributes:{"sentry.origin":"auto.node.runtime_metrics"}};function f(){let h=Nn(),C=h-A;if(i&&s!==void 0){let I=process.cpuUsage(s);r.cpuTime&&(Pn.gauge("node.runtime.cpu.user",I.user/1e6,d),Pn.gauge("node.runtime.cpu.system",I.system/1e6,d)),r.cpuUtilization&&C>0&&Pn.gauge("node.runtime.cpu.utilization",(I.user+I.system)/(C*1e3),p),s=process.cpuUsage()}if(r.memRss||r.memHeapUsed||r.memHeapTotal||r.memExternal){let I=process.memoryUsage();r.memRss&&Pn.gauge("node.runtime.mem.rss",I.rss,g),r.memHeapUsed&&Pn.gauge("node.runtime.mem.heap_used",I.heapUsed,g),r.memHeapTotal&&Pn.gauge("node.runtime.mem.heap_total",I.heapTotal,g),r.memExternal&&(Pn.gauge("node.runtime.mem.external",I.external,g),Pn.gauge("node.runtime.mem.array_buffers",I.arrayBuffers,g))}if(n&&c&&(r.eventLoopDelayMin&&Pn.gauge("node.runtime.event_loop.delay.min",l(c.min),d),r.eventLoopDelayMax&&Pn.gauge("node.runtime.event_loop.delay.max",l(c.max),d),r.eventLoopDelayMean&&Pn.gauge("node.runtime.event_loop.delay.mean",l(c.mean),d),r.eventLoopDelayP50&&Pn.gauge("node.runtime.event_loop.delay.p50",l(c.percentile(50)),d),r.eventLoopDelayP90&&Pn.gauge("node.runtime.event_loop.delay.p90",l(c.percentile(90)),d),r.eventLoopDelayP99&&Pn.gauge("node.runtime.event_loop.delay.p99",l(c.percentile(99)),d),c.reset()),r.eventLoopUtilization&&a!==void 0){let I=nh.performance.eventLoopUtilization(),B=nh.performance.eventLoopUtilization(I,a);Pn.gauge("node.runtime.event_loop.utilization",B.utilization,p),a=I}r.uptime&&C>0&&Pn.count("node.runtime.process.uptime",C/1e3,d),A=h}return{name:rre,setup(){if(n){c?.disable();try{c=(0,nh.monitorEventLoopDelay)({resolution:ire}),c.enable()}catch{c=void 0}}i&&(s=process.cpuUsage()),r.eventLoopUtilization&&(a=nh.performance.eventLoopUtilization()),A=Nn(),o&&clearInterval(o),o=bA(setInterval(f,e))}}}});function Are(t,e){class r extends t{constructor(i){super(i),this._levels=new Set(e?.levels??e4e)}log(i,o){try{if(setImmediate(()=>{this.emit("logged",i)}),!n4e(i))return;let s=i[are],{level:a,message:A,timestamp:c,...u}=i;u[are]=void 0,u[t4e]=void 0,u[r4e]=void 0;let l=e?.customLevelMap?.[s],p=i4e[s],g=l??p??"info";this._levels.has(g)?Wu(g,A,{...u,"sentry.origin":"auto.log.winston"}):!l&&!p&&yi&&X.log(`Winston log level ${s} is not captured by Sentry. Please add ${s} to the "customLevelMap" option of the Sentry Winston transport.`)}catch{}o&&o()}}return r}function n4e(t){return typeof t=="object"&&t!=null}var e4e,are,t4e,r4e,i4e,cre=k(()=>{m();Yt();pd();VL();e4e=["trace","debug","info","warn","error","fatal"],are=Symbol.for("level"),t4e=Symbol.for("message"),r4e=Symbol.for("splat");i4e={silly:"trace",debug:"debug",verbose:"debug",http:"debug",info:"info",notice:"info",warn:"warn",warning:"warn",error:"error",emerg:"fatal",alert:"fatal",crit:"fatal"}});function ure(t,e,r){let n=Object.getOwnPropertySymbols(t),i=`Symbol(${e})`;for(let o of n)if(o.toString()===i){let s=t[o];return typeof s=="string"?s:r}return r}function o4e(t){let{level:e,time:r,pid:n,hostname:i,...o}=t;return o}var gre,XL,lre,s4e,pre,dre=k(()=>{m();gre=z(require("node:diagnostics_channel"),1);Yt();XL=Symbol("sentry-track-pino-logger");lre={error:{levels:[],handled:!0},log:{levels:["trace","debug","info","warn","error","fatal"]}};s4e=(t={})=>{let e={autoInstrument:t.autoInstrument!==!1,error:{...lre.error,...t.error},log:{...lre.log,...t.log}};function r(n){let i=n[XL];return i==="track"||i!=="ignore"&&e.autoInstrument}return{name:"Pino",setup:n=>{let i=!!n.getOptions().enableLogs,o=gre.tracingChannel("pino_asJson");function s(a,A,c){if(!r(a))return;let u=o4e(c),[l,p,g]=A,d=a?.levels?.labels?.[g]||"info",f=ure(a,"pino.messageKey","msg"),h=p||u?.[f]||"";if(i&&e.log.levels.includes(d)){let C={...u,"sentry.origin":"auto.log.pino","pino.logger.level":g};wA({level:d,message:h,attributes:C})}if(e.error.levels.includes(d)){let C=ure(a,"pino.errorKey","err"),I={};for(let[E,y]of Object.entries(u))E!==C&&E!==f&&(I[E]=y);h&&(I[f]=h);let B={level:gg(d),contexts:{pino:I}};Gi(E=>{E.addEventProcessor(Q=>(Q.logger="pino",ha(Q,{handled:e.error.handled,type:"auto.log.pino"}),Q));let y=l[C];if(y){Re(y,B);return}Ba(h,B)})}}o.end.subscribe(a=>{let{instance:A,arguments:c,result:u}=a;s(A,c,JSON.parse(u))})}}},pre=Object.assign(s4e,{trackLogger(t){t&&typeof t=="object"&&"levels"in t&&(t[XL]="track")},untrackLogger(t){t&&typeof t=="object"&&"levels"in t&&(t[XL]="ignore")}})});function fre(t,e){t.setAttribute(En,e)}var mre=k(()=>{m();Yt()});var Cre=N((NWt,hre)=>{"use strict";m();var ZL=require("path").sep;hre.exports=function(t){var e=t.split(ZL),r=e.lastIndexOf("node_modules");if(r!==-1&&e[r+1]){for(var n=e[r+1][0]==="@",i=n?e[r+1]+"/"+e[r+2]:e[r+1],o=n?3:2,s="",a=r+o-1,A=0;A<=a;A++)A===a?s+=e[A]:s+=e[A]+ZL;for(var c="",u=e.length-1,l=r+o;l<=u;l++)l===u?c+=e[l]:c+=e[l]+ZL;return{name:i,basedir:s,path:c}}}});var Qre=N(RB=>{m();var Ire=[],eU=new WeakMap,Ere=new WeakMap,Bre=new Map,yre=[],a4e={set(t,e,r){let n=eU.get(t),i=n&&n[e];return typeof i=="function"?i(r):!0},get(t,e){if(e===Symbol.toStringTag)return"Module";let r=Ere.get(t)[e];if(typeof r=="function")return r()},defineProperty(t,e,r){if(!("value"in r))throw new Error("Getters/setters are not supported for exports property descriptors.");let n=eU.get(t),i=n&&n[e];return typeof i=="function"?i(r.value):!0}};function A4e(t,e,r,n,i){Bre.set(t,i),eU.set(e,r),Ere.set(e,n);let o=new Proxy(e,a4e);Ire.forEach(s=>s(t,o,i)),yre.push([t,o,i])}RB.register=A4e;RB.importHooks=Ire;RB.specifiers=Bre;RB.toHook=yre});var vre=N((LWt,oh)=>{m();var Dre=require("path"),c4e=Cre(),{fileURLToPath:u4e}=require("url"),{MessageChannel:l4e}=require("worker_threads"),{isBuiltin:tU}=require("module");tU||(tU=()=>!0);var{importHooks:rU,specifiers:wre,toHook:g4e}=Qre();function p4e(t,e){if(!(process.env.TURBOPACK??process.argv.includes("--turbo")))return!1;let n=t.slice(0,t.lastIndexOf("-"));return e.endsWith(n)}function bre(t){rU.push(t),g4e.forEach(([e,r,n])=>t(e,r,n))}function Sre(t){let e=rU.indexOf(t);e>-1&&rU.splice(e,1)}function ih(t,e,r,n){let i=t(e,r,n);i&&i!==e&&"default"in e&&(e.default=i)}var nU;function d4e(){let{port1:t,port2:e}=new l4e,r=0,n;nU=a=>{r++,t.postMessage(a)},t.on("message",()=>{r--,n&&r<=0&&n()}).unref();function i(){let a=setInterval(()=>{},1e3),A=new Promise(c=>{n=c}).then(()=>{clearInterval(a)});return r===0&&n(),A}let o=e;return{registerOptions:{data:{addHookMessagePort:o,include:[]},transferList:[o]},addHookMessagePort:o,waitForAllMessagesAcknowledged:i}}function kB(t,e,r){if(!(this instanceof kB))return new kB(t,e,r);typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null);let n=e?e.internals===!0:!1;nU&&Array.isArray(t)&&nU(t),this._iitmHook=(i,o,s)=>{let a=i,A=a.startsWith("node:"),c,u;if(A){let l=i.slice(5);tU(l)&&(i=l)}else if(a.startsWith("file://")){let l=Error.stackTraceLimit;Error.stackTraceLimit=0;try{c=u4e(i),i=c}catch{}if(Error.stackTraceLimit=l,c){let p=c4e(c);p&&(i=p.name,u=p.basedir)}}if(t)for(let l of t)if(c&&l===c)ih(r,o,c,void 0);else if(l===i){if(!u)ih(r,o,i,u);else if(u.endsWith(wre.get(a))||p4e(wre.get(a),u))ih(r,o,i,u);else if(n){let p=i+Dre.sep+Dre.relative(u,c);ih(r,o,p,u)}}else l===s&&ih(r,o,s,u);else ih(r,o,i,u)},bre(this._iitmHook)}kB.prototype.unhook=function(){Sre(this._iitmHook)};oh.exports=kB;oh.exports.Hook=kB;oh.exports.addHook=bre;oh.exports.removeHook=Sre;oh.exports.createAddHookMessageChannel=d4e});function Rre(){if(xte()&&!ut._sentryEsmLoaderHookRegistered){ut._sentryEsmLoaderHookRegistered=!0;try{let{addHookMessagePort:t}=(0,xre.createAddHookMessageChannel)();Fre.register("import-in-the-middle/hook.mjs",f4e.url,{data:{addHookMessagePort:t,include:[]},transferList:[t]})}catch(t){X.warn("Failed to register 'import-in-the-middle' hook",t)}}}var xre,Fre,f4e,kre=k(()=>{m();Yt();xre=z(vre(),1),Fre=z(require("module"),1);eh();f4e={}});var Tre,Nre=k(()=>{m();eh();Tre=t=>({package:t,"javascript.is_cjs":qu()})});function dd(t){return m4e.reduce((e,[r,n])=>e.replace(new RegExp(r,"gi"),n),t)}var m4e,gS=k(()=>{m();m4e=[["january","1"],["february","2"],["march","3"],["april","4"],["may","5"],["june","6"],["july","7"],["august","8"],["september","9"],["october","10"],["november","11"],["december","12"],["jan","1"],["feb","2"],["mar","3"],["apr","4"],["may","5"],["jun","6"],["jul","7"],["aug","8"],["sep","9"],["oct","10"],["nov","11"],["dec","12"],["sunday","0"],["monday","1"],["tuesday","2"],["wednesday","3"],["thursday","4"],["friday","5"],["saturday","6"],["sun","0"],["mon","1"],["tue","2"],["wed","3"],["thu","4"],["fri","5"],["sat","6"]]});function Pre(t,e){let r=!1;return new Proxy(t,{construct(n,i){let[o,s,a,A,c,...u]=i;if(typeof o!="string")throw new Error(Mre);if(r)throw new Error(`A job named '${e}' has already been scheduled`);r=!0;let l=dd(o);async function p(g,d){return bc(e,async()=>{try{await s(g,d)}catch(f){throw Re(f,{mechanism:{handled:!1,type:"auto.function.cron.instrumentCron"}}),f}},{schedule:{type:"crontab",value:l},timezone:c||void 0})}return new n(o,p,a,A,c,...u)},get(n,i){return i==="from"?o=>{let{cronTime:s,onTick:a,timeZone:A}=o;if(typeof s!="string")throw new Error(Mre);if(r)throw new Error(`A job named '${e}' has already been scheduled`);r=!0;let c=dd(s);return o.onTick=async(u,l)=>bc(e,async()=>{try{await a(u,l)}catch(p){throw Re(p,{mechanism:{handled:!1,type:"auto.function.cron.instrumentCron"}}),p}},{schedule:{type:"crontab",value:c},timezone:A||void 0}),n.from(o)}:n[i]}})}var Mre,_re=k(()=>{m();Yt();gS();Mre="Automatic instrumentation of CronJob only supports crontab string"});function Lre(t,e={}){return new Proxy(t,{get(r,n){return n==="schedule"&&r.schedule?new Proxy(r.schedule,{apply(i,o,s){let[a,A,c]=s,u=c?.name,l=c?.timezone;if(!u)throw new Error('Missing "name" for scheduled job. A name is required for Sentry check-in monitoring.');let p=async(...g)=>bc(u,async()=>{try{return await A(...g)}catch(d){throw Re(d,{mechanism:{handled:!1,type:"auto.function.node-cron.instrumentNodeCron"}}),d}},{schedule:{type:"crontab",value:dd(a)},timezone:l,...e});return i.apply(o,[a,p,c])}}):r[n]}})}var Ure=k(()=>{m();Yt();gS()});function Ore(t){return new Proxy(t,{get(e,r){return r==="scheduleJob"?new Proxy(e.scheduleJob,{apply(n,i,o){let[s,a,A]=o;if(typeof s!="string"||typeof a!="string"||typeof A!="function")throw new Error("Automatic instrumentation of 'node-schedule' requires the first parameter of 'scheduleJob' to be a job name string and the second parameter to be a crontab string");let c=s,u=a;async function l(){return bc(c,async()=>{await A?.()},{schedule:{type:"crontab",value:dd(u)}})}return n.apply(i,[c,u,l])}}):e[r]}})}var Gre=k(()=>{m();Yt();gS()});var Hre,Kre=k(()=>{m();_re();Ure();Gre();Hre={instrumentCron:Pre,instrumentNodeCron:Lre,instrumentNodeSchedule:Ore}});var _n={};zl(_n,{LightNodeClient:()=>zm,NODE_VERSION:()=>Da,SDK_VERSION:()=>da,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>Ur,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>En,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>qp,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>Sr,Scope:()=>Eo,_INTERNAL_normalizeCollectionInterval:()=>zL,addBreadcrumb:()=>Ko,addEventProcessor:()=>Y_,addIntegration:()=>X_,addOriginToSpan:()=>fre,captureCheckIn:()=>eB,captureConsoleIntegration:()=>w1,captureEvent:()=>__,captureException:()=>Re,captureFeedback:()=>L1,captureMessage:()=>Ba,captureSession:()=>$_,childProcessIntegration:()=>Lb,close:()=>J_,consoleIntegration:()=>Wb,consoleLoggingIntegration:()=>O1,contextLinesIntegration:()=>Gb,continueTrace:()=>zE,createConsolaReporter:()=>H1,createGetModuleFromFilename:()=>Zb,createMissingInstrumentationContext:()=>Tre,createSentryWinstonTransport:()=>Are,createTransport:()=>Gm,cron:()=>Hre,dedupeIntegration:()=>b1,defaultStackParser:()=>tS,endSession:()=>cd,envToBool:()=>lg,eventFiltersIntegration:()=>Km,extraErrorDataIntegration:()=>fB,featureFlagsIntegration:()=>P1,flush:()=>Ad,functionToStringIntegration:()=>gB,getActiveSpan:()=>Gs,getClient:()=>_e,getCurrentScope:()=>dt,getDefaultIntegrations:()=>qL,getGlobalScope:()=>TE,getIsolationScope:()=>rr,getRequestUrl:()=>Mb,getRootSpan:()=>ii,getSentryRelease:()=>eS,getSpanDescendants:()=>$E,getSpanStatusFromHttpCode:()=>Uu,getTraceData:()=>SA,getTraceMetaTags:()=>C1,httpIntegration:()=>th,init:()=>uS,initWithoutDefaultIntegrations:()=>zte,initializeEsmLoader:()=>Rre,instrumentSupabaseClient:()=>Qb,isCjs:()=>qu,isEnabled:()=>rB,isInitialized:()=>j_,lastEventId:()=>K_,linkedErrorsIntegration:()=>pB,localVariablesIntegration:()=>jb,logger:()=>WL,makeNodeTransport:()=>iS,metrics:()=>Pn,modulesIntegration:()=>Yb,nativeNodeFetchIntegration:()=>rh,nodeContextIntegration:()=>Ob,nodeRuntimeMetricsIntegration:()=>ore,onUncaughtExceptionIntegration:()=>$b,onUnhandledRejectionIntegration:()=>qb,parameterize:()=>pb,pinoIntegration:()=>pre,profiler:()=>_1,requestDataIntegration:()=>dB,rewriteFramesIntegration:()=>k1,setAsyncLocalStorageAsyncContextStrategy:()=>oS,setContext:()=>L_,setCurrentClient:()=>p1,setExtra:()=>O_,setExtras:()=>U_,setHttpStatus:()=>Qm,setMeasurement:()=>D_,setTag:()=>H_,setTags:()=>G_,setUser:()=>tB,spanStreamingIntegration:()=>mB,spanToBaggageHeader:()=>f_,spanToJSON:()=>zr,spanToTraceHeader:()=>YE,spotlightIntegration:()=>Vb,startInactiveSpan:()=>td,startNewTrace:()=>Tm,startSession:()=>nB,startSpan:()=>ag,startSpanManual:()=>ed,supabaseIntegration:()=>T1,suppressTracing:()=>rd,systemErrorIntegration:()=>zb,trpcMiddleware:()=>j1,updateSpanName:()=>p_,withActiveSpan:()=>Ea,withIsolationScope:()=>QA,withMonitor:()=>bc,withScope:()=>Gi,withStreamedSpan:()=>m_,wrapMcpServerWithSentry:()=>aL,zodErrorsIntegration:()=>N1});var si=k(()=>{m();dL();Zte();GL();HL();$L();tre();CL();sre();EL();wL();SL();xL();FL();kL();ML();mL();cre();dre();TL();_L();PL();mre();kre();eh();Nre();OL();Kre();Zm();Yt()});var jre,Jre=k(()=>{jre="1.72.3"});var iU,TB,oU=k(()=>{"use strict";m();vt();iU=ke("ConnectionTracker"),TB=class{connections=new Set;maxConnections=1e3;sys;healthCheckInterval=null;HEALTH_CHECK_INTERVAL_MS=3e4;constructor(e){this.sys=e,this.startHealthMonitoring()}addConnection(e,r){if(this.connections.size>=this.maxConnections){let n=`Max connections (${this.maxConnections}) reached, rejecting new connection`;return iU.error(n),this.sys.Sentry?.captureMessage(n,{level:"error",tags:{component:"ConnectionTracker",maxConnections:this.maxConnections.toString(),currentConnections:this.connections.size.toString(),requestUrl:r?.url||"unknown",requestMethod:r?.method||"unknown",userAgent:r?.headers?.["user-agent"]||"unknown",origin:r?.headers?.origin||"unknown",referer:r?.headers?.referer||"unknown"},extra:{connectionLimit:this.maxConnections,activeConnections:this.connections.size,requestHeaders:r?.headers||{},requestUrl:r?.url}}),!1}return this.connections.add(e),iU.info(`Adding connection. Total connections: ${this.connections.size}`),e.on("close",()=>{this.removeConnection(e)}),e.on("error",()=>{this.removeConnection(e)}),!0}removeConnection(e){this.connections.delete(e),iU.info(`Removing connection. Total connections: ${this.connections.size}`)}getConnectionCount(){return this.connections.size}cleanup(){for(let e of this.connections)e.writable&&e.write(`HTTP/1.1 503 Service Unavailable\r
103
+ `):""}function JL(t,e){let r=-1;for(let n=0;n<t.length;n+=2){if(t[n]!==e)continue;if(r===-1){r=n;continue}let i=t[r+1];if(e===AS&&i){let o=bm(t[n+1],i);o&&(t[r+1]=o)}t.splice(n,2),n-=2}}function jL(t,e){return t.findIndex((r,n)=>n%2===0&&r===e)}function Vte(t,e){let r=LKe(t),n=e.statusCode,i=hB(n);Ko({category:"http",data:{status_code:n,...r},type:"http",level:i},{event:"response",request:t,response:e})}function LKe(t){try{let e=cS(t.origin,t.path),r=id(e),n={url:od(r),"http.method":t.method||"GET"};return r.search&&(n["http.query"]=r.search),r.hash&&(n["http.fragment"]=r.hash),n}catch{return{}}}function cS(t,e="/"){try{return new URL(e,t).toString()}catch{let r=`${t}`;return r.endsWith("/")&&e.startsWith("/")?`${r}${e.slice(1)}`:!r.endsWith("/")&&!e.startsWith("/")?`${r}/${e}`:`${r}${e}`}}var KL,AS,NKe,Wte=k(()=>{m();Yt();KL="sentry-trace",AS="baggage",NKe="traceparent"});function GKe(t,e,r,n){let i=KKe(t,e);n.set(t,i),!i&&e.tracePropagation&&qte(t,r)}function HKe(t,e,r,n){!r.breadcrumbs||n.get(t)||Vte(t,e)}function KKe(t,e){if(dt().getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__)return!0;let{ignoreOutgoingRequests:r}=e;if(!r)return!1;let n=cS(t.origin,t.path);return r(n)}var YL,UKe,OKe,rh,$L=k(()=>{m();YL=require("node:diagnostics_channel");Yt();Wte();UKe="NodeFetch",OKe=((t={})=>{let e={breadcrumbs:t.breadcrumbs??!0,tracePropagation:t.tracePropagation??!0,ignoreOutgoingRequests:t.ignoreOutgoingRequests},r=new ya(100),n=new WeakMap;return{name:UKe,setupOnce(){let i=(s=>{GKe(s.request,e,r,n)}),o=(s=>{let a=s;HKe(a.request,a.response,e,n)});(0,YL.subscribe)("undici:request:create",i),(0,YL.subscribe)("undici:request:headers",o)}}}),rh=OKe});function qL(){return[Km(),gB(),pB(),dB(),zb(),Wb(),th(),rh(),$b(),qb(),Gb(),jb(),Ob(),Lb(),kte(),Yb()]}function uS(t={}){return Xte(t,qL)}function zte(t={}){return Xte(t,()=>[])}function Xte(t={},e){let r=JKe(t,e);r.debug===!0&&(yi?X.enable():Tn(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),oS(),dt().update(r.initialScope),r.spotlight&&!r.integrations.some(({name:o})=>o===RL)&&r.integrations.push(Vb({sidecarUrl:typeof r.spotlight=="string"?r.spotlight:void 0})),cB(r,"node-light",["node-core"]);let i=new zm(r);return dt().setClient(i),i.init(),X.log(`SDK initialized from ${qu()?"CommonJS":"ESM"} (light mode)`),i.startClientReportTracking(),$Ke(),process.env.VERCEL&&process.on("SIGTERM",async()=>{await i.flush(200)}),i}function JKe(t,e){let r=jKe(t.release),n=Jte(t.spotlight),i=YKe(t.tracesSampleRate),o={...t,dsn:t.dsn??process.env.SENTRY_DSN,environment:t.environment??process.env.SENTRY_ENVIRONMENT,sendClientReports:t.sendClientReports??!0,transport:t.transport??iS,stackParser:vP(t.stackParser||tS),release:r,tracesSampleRate:i,spotlight:n,debug:lg(t.debug??process.env.SENTRY_DEBUG)},s=t.integrations,a=t.defaultIntegrations??e(o),A=V_({defaultIntegrations:a,integrations:s});return o.traceLifecycle==="stream"&&!A.some(c=>c.name==="SpanStreaming")&&A.push(mB()),{...o,integrations:A}}function jKe(t){if(t!==void 0)return t;let e=eS();if(e!==void 0)return e}function YKe(t){if(t!==void 0)return t;let e=process.env.SENTRY_TRACES_SAMPLE_RATE;if(!e)return;let r=parseFloat(e);return isFinite(r)?r:void 0}function $Ke(){if(lg(process.env.SENTRY_USE_ENVIRONMENT)!==!1){let t=process.env.SENTRY_TRACE,e=process.env.SENTRY_BAGGAGE,r=UE(t,e);dt().setPropagationContext(r)}}var Zte=k(()=>{m();Yt();pd();mL();CL();EL();wL();SL();xL();FL();Tte();kL();TL();ML();_L();OL();eh();jte();GL();dL();HL();$L()});function Wu(t,...e){let[r,n,i,o]=e;if(Array.isArray(n)){let s={...i};s["sentry.message.template"]=r,n.forEach((A,c)=>{s[`sentry.message.parameter.${c}`]=A});let a=(0,ere.format)(r,...n);wA({level:t,message:a,attributes:s},o?.scope)}else wA({level:t,message:r,attributes:n},i?.scope??o?.scope)}var ere,VL=k(()=>{m();ere=require("node:util");Yt()});var WL={};zl(WL,{debug:()=>VKe,error:()=>XKe,fatal:()=>ZKe,fmt:()=>m1,info:()=>WKe,trace:()=>qKe,warn:()=>zKe});function qKe(...t){Wu("trace",...t)}function VKe(...t){Wu("debug",...t)}function WKe(...t){Wu("info",...t)}function zKe(...t){Wu("warn",...t)}function XKe(...t){Wu("error",...t)}function ZKe(...t){Wu("fatal",...t)}var tre=k(()=>{m();VL();Yt()});function zL(t,e,r){return Number.isFinite(t)?t<lS?(console.warn(`[Sentry] ${e}: collectionIntervalMs (${t}) is below the minimum of ${lS}ms. Using minimum of ${lS}ms.`),lS):t:(console.warn(`[Sentry] ${e}: collectionIntervalMs (${t}) is invalid. Using default of ${r}ms.`),r)}var nh,rre,nre,lS,ire,ore,sre=k(()=>{m();nh=require("perf_hooks");Yt();rre="NodeRuntimeMetrics",nre=3e4,lS=1e3,ire=10;ore=(t={})=>{let e=zL(t.collectionIntervalMs??nre,rre,nre),r={cpuUtilization:!0,memHeapUsed:!0,memHeapTotal:!0,memRss:!0,eventLoopDelayP50:!0,eventLoopDelayP99:!0,eventLoopUtilization:!0,uptime:!0,cpuTime:!1,memExternal:!1,eventLoopDelayMin:!1,eventLoopDelayMax:!1,eventLoopDelayMean:!1,eventLoopDelayP90:!1,...t.collect},n=r.eventLoopDelayP99||r.eventLoopDelayMin||r.eventLoopDelayMax||r.eventLoopDelayMean||r.eventLoopDelayP50||r.eventLoopDelayP90,i=r.cpuUtilization||r.cpuTime,o,s,a,A=0,c,u=ire*1e6,l=h=>Math.max(0,(h-u)/1e9),p={attributes:{"sentry.origin":"auto.node.runtime_metrics"}},g={unit:"byte",attributes:{"sentry.origin":"auto.node.runtime_metrics"}},d={unit:"second",attributes:{"sentry.origin":"auto.node.runtime_metrics"}};function f(){let h=Nn(),C=h-A;if(i&&s!==void 0){let I=process.cpuUsage(s);r.cpuTime&&(Pn.gauge("node.runtime.cpu.user",I.user/1e6,d),Pn.gauge("node.runtime.cpu.system",I.system/1e6,d)),r.cpuUtilization&&C>0&&Pn.gauge("node.runtime.cpu.utilization",(I.user+I.system)/(C*1e3),p),s=process.cpuUsage()}if(r.memRss||r.memHeapUsed||r.memHeapTotal||r.memExternal){let I=process.memoryUsage();r.memRss&&Pn.gauge("node.runtime.mem.rss",I.rss,g),r.memHeapUsed&&Pn.gauge("node.runtime.mem.heap_used",I.heapUsed,g),r.memHeapTotal&&Pn.gauge("node.runtime.mem.heap_total",I.heapTotal,g),r.memExternal&&(Pn.gauge("node.runtime.mem.external",I.external,g),Pn.gauge("node.runtime.mem.array_buffers",I.arrayBuffers,g))}if(n&&c&&(r.eventLoopDelayMin&&Pn.gauge("node.runtime.event_loop.delay.min",l(c.min),d),r.eventLoopDelayMax&&Pn.gauge("node.runtime.event_loop.delay.max",l(c.max),d),r.eventLoopDelayMean&&Pn.gauge("node.runtime.event_loop.delay.mean",l(c.mean),d),r.eventLoopDelayP50&&Pn.gauge("node.runtime.event_loop.delay.p50",l(c.percentile(50)),d),r.eventLoopDelayP90&&Pn.gauge("node.runtime.event_loop.delay.p90",l(c.percentile(90)),d),r.eventLoopDelayP99&&Pn.gauge("node.runtime.event_loop.delay.p99",l(c.percentile(99)),d),c.reset()),r.eventLoopUtilization&&a!==void 0){let I=nh.performance.eventLoopUtilization(),B=nh.performance.eventLoopUtilization(I,a);Pn.gauge("node.runtime.event_loop.utilization",B.utilization,p),a=I}r.uptime&&C>0&&Pn.count("node.runtime.process.uptime",C/1e3,d),A=h}return{name:rre,setup(){if(n){c?.disable();try{c=(0,nh.monitorEventLoopDelay)({resolution:ire}),c.enable()}catch{c=void 0}}i&&(s=process.cpuUsage()),r.eventLoopUtilization&&(a=nh.performance.eventLoopUtilization()),A=Nn(),o&&clearInterval(o),o=bA(setInterval(f,e))}}}});function Are(t,e){class r extends t{constructor(i){super(i),this._levels=new Set(e?.levels??e4e)}log(i,o){try{if(setImmediate(()=>{this.emit("logged",i)}),!n4e(i))return;let s=i[are],{level:a,message:A,timestamp:c,...u}=i;u[are]=void 0,u[t4e]=void 0,u[r4e]=void 0;let l=e?.customLevelMap?.[s],p=i4e[s],g=l??p??"info";this._levels.has(g)?Wu(g,A,{...u,"sentry.origin":"auto.log.winston"}):!l&&!p&&yi&&X.log(`Winston log level ${s} is not captured by Sentry. Please add ${s} to the "customLevelMap" option of the Sentry Winston transport.`)}catch{}o&&o()}}return r}function n4e(t){return typeof t=="object"&&t!=null}var e4e,are,t4e,r4e,i4e,cre=k(()=>{m();Yt();pd();VL();e4e=["trace","debug","info","warn","error","fatal"],are=Symbol.for("level"),t4e=Symbol.for("message"),r4e=Symbol.for("splat");i4e={silly:"trace",debug:"debug",verbose:"debug",http:"debug",info:"info",notice:"info",warn:"warn",warning:"warn",error:"error",emerg:"fatal",alert:"fatal",crit:"fatal"}});function ure(t,e,r){let n=Object.getOwnPropertySymbols(t),i=`Symbol(${e})`;for(let o of n)if(o.toString()===i){let s=t[o];return typeof s=="string"?s:r}return r}function o4e(t){let{level:e,time:r,pid:n,hostname:i,...o}=t;return o}var gre,XL,lre,s4e,pre,dre=k(()=>{m();gre=z(require("node:diagnostics_channel"),1);Yt();XL=Symbol("sentry-track-pino-logger");lre={error:{levels:[],handled:!0},log:{levels:["trace","debug","info","warn","error","fatal"]}};s4e=(t={})=>{let e={autoInstrument:t.autoInstrument!==!1,error:{...lre.error,...t.error},log:{...lre.log,...t.log}};function r(n){let i=n[XL];return i==="track"||i!=="ignore"&&e.autoInstrument}return{name:"Pino",setup:n=>{let i=!!n.getOptions().enableLogs,o=gre.tracingChannel("pino_asJson");function s(a,A,c){if(!r(a))return;let u=o4e(c),[l,p,g]=A,d=a?.levels?.labels?.[g]||"info",f=ure(a,"pino.messageKey","msg"),h=p||u?.[f]||"";if(i&&e.log.levels.includes(d)){let C={...u,"sentry.origin":"auto.log.pino","pino.logger.level":g};wA({level:d,message:h,attributes:C})}if(e.error.levels.includes(d)){let C=ure(a,"pino.errorKey","err"),I={};for(let[E,y]of Object.entries(u))E!==C&&E!==f&&(I[E]=y);h&&(I[f]=h);let B={level:gg(d),contexts:{pino:I}};Gi(E=>{E.addEventProcessor(Q=>(Q.logger="pino",ha(Q,{handled:e.error.handled,type:"auto.log.pino"}),Q));let y=l[C];if(y){Re(y,B);return}Ba(h,B)})}}o.end.subscribe(a=>{let{instance:A,arguments:c,result:u}=a;s(A,c,JSON.parse(u))})}}},pre=Object.assign(s4e,{trackLogger(t){t&&typeof t=="object"&&"levels"in t&&(t[XL]="track")},untrackLogger(t){t&&typeof t=="object"&&"levels"in t&&(t[XL]="ignore")}})});function fre(t,e){t.setAttribute(En,e)}var mre=k(()=>{m();Yt()});var Cre=N((NWt,hre)=>{"use strict";m();var ZL=require("path").sep;hre.exports=function(t){var e=t.split(ZL),r=e.lastIndexOf("node_modules");if(r!==-1&&e[r+1]){for(var n=e[r+1][0]==="@",i=n?e[r+1]+"/"+e[r+2]:e[r+1],o=n?3:2,s="",a=r+o-1,A=0;A<=a;A++)A===a?s+=e[A]:s+=e[A]+ZL;for(var c="",u=e.length-1,l=r+o;l<=u;l++)l===u?c+=e[l]:c+=e[l]+ZL;return{name:i,basedir:s,path:c}}}});var Qre=N(RB=>{m();var Ire=[],eU=new WeakMap,Ere=new WeakMap,Bre=new Map,yre=[],a4e={set(t,e,r){let n=eU.get(t),i=n&&n[e];return typeof i=="function"?i(r):!0},get(t,e){if(e===Symbol.toStringTag)return"Module";let r=Ere.get(t)[e];if(typeof r=="function")return r()},defineProperty(t,e,r){if(!("value"in r))throw new Error("Getters/setters are not supported for exports property descriptors.");let n=eU.get(t),i=n&&n[e];return typeof i=="function"?i(r.value):!0}};function A4e(t,e,r,n,i){Bre.set(t,i),eU.set(e,r),Ere.set(e,n);let o=new Proxy(e,a4e);Ire.forEach(s=>s(t,o,i)),yre.push([t,o,i])}RB.register=A4e;RB.importHooks=Ire;RB.specifiers=Bre;RB.toHook=yre});var vre=N((LWt,oh)=>{m();var Dre=require("path"),c4e=Cre(),{fileURLToPath:u4e}=require("url"),{MessageChannel:l4e}=require("worker_threads"),{isBuiltin:tU}=require("module");tU||(tU=()=>!0);var{importHooks:rU,specifiers:wre,toHook:g4e}=Qre();function p4e(t,e){if(!(process.env.TURBOPACK??process.argv.includes("--turbo")))return!1;let n=t.slice(0,t.lastIndexOf("-"));return e.endsWith(n)}function bre(t){rU.push(t),g4e.forEach(([e,r,n])=>t(e,r,n))}function Sre(t){let e=rU.indexOf(t);e>-1&&rU.splice(e,1)}function ih(t,e,r,n){let i=t(e,r,n);i&&i!==e&&"default"in e&&(e.default=i)}var nU;function d4e(){let{port1:t,port2:e}=new l4e,r=0,n;nU=a=>{r++,t.postMessage(a)},t.on("message",()=>{r--,n&&r<=0&&n()}).unref();function i(){let a=setInterval(()=>{},1e3),A=new Promise(c=>{n=c}).then(()=>{clearInterval(a)});return r===0&&n(),A}let o=e;return{registerOptions:{data:{addHookMessagePort:o,include:[]},transferList:[o]},addHookMessagePort:o,waitForAllMessagesAcknowledged:i}}function kB(t,e,r){if(!(this instanceof kB))return new kB(t,e,r);typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null);let n=e?e.internals===!0:!1;nU&&Array.isArray(t)&&nU(t),this._iitmHook=(i,o,s)=>{let a=i,A=a.startsWith("node:"),c,u;if(A){let l=i.slice(5);tU(l)&&(i=l)}else if(a.startsWith("file://")){let l=Error.stackTraceLimit;Error.stackTraceLimit=0;try{c=u4e(i),i=c}catch{}if(Error.stackTraceLimit=l,c){let p=c4e(c);p&&(i=p.name,u=p.basedir)}}if(t)for(let l of t)if(c&&l===c)ih(r,o,c,void 0);else if(l===i){if(!u)ih(r,o,i,u);else if(u.endsWith(wre.get(a))||p4e(wre.get(a),u))ih(r,o,i,u);else if(n){let p=i+Dre.sep+Dre.relative(u,c);ih(r,o,p,u)}}else l===s&&ih(r,o,s,u);else ih(r,o,i,u)},bre(this._iitmHook)}kB.prototype.unhook=function(){Sre(this._iitmHook)};oh.exports=kB;oh.exports.Hook=kB;oh.exports.addHook=bre;oh.exports.removeHook=Sre;oh.exports.createAddHookMessageChannel=d4e});function Rre(){if(xte()&&!ut._sentryEsmLoaderHookRegistered){ut._sentryEsmLoaderHookRegistered=!0;try{let{addHookMessagePort:t}=(0,xre.createAddHookMessageChannel)();Fre.register("import-in-the-middle/hook.mjs",f4e.url,{data:{addHookMessagePort:t,include:[]},transferList:[t]})}catch(t){X.warn("Failed to register 'import-in-the-middle' hook",t)}}}var xre,Fre,f4e,kre=k(()=>{m();Yt();xre=z(vre(),1),Fre=z(require("module"),1);eh();f4e={}});var Tre,Nre=k(()=>{m();eh();Tre=t=>({package:t,"javascript.is_cjs":qu()})});function dd(t){return m4e.reduce((e,[r,n])=>e.replace(new RegExp(r,"gi"),n),t)}var m4e,gS=k(()=>{m();m4e=[["january","1"],["february","2"],["march","3"],["april","4"],["may","5"],["june","6"],["july","7"],["august","8"],["september","9"],["october","10"],["november","11"],["december","12"],["jan","1"],["feb","2"],["mar","3"],["apr","4"],["may","5"],["jun","6"],["jul","7"],["aug","8"],["sep","9"],["oct","10"],["nov","11"],["dec","12"],["sunday","0"],["monday","1"],["tuesday","2"],["wednesday","3"],["thursday","4"],["friday","5"],["saturday","6"],["sun","0"],["mon","1"],["tue","2"],["wed","3"],["thu","4"],["fri","5"],["sat","6"]]});function Pre(t,e){let r=!1;return new Proxy(t,{construct(n,i){let[o,s,a,A,c,...u]=i;if(typeof o!="string")throw new Error(Mre);if(r)throw new Error(`A job named '${e}' has already been scheduled`);r=!0;let l=dd(o);async function p(g,d){return bc(e,async()=>{try{await s(g,d)}catch(f){throw Re(f,{mechanism:{handled:!1,type:"auto.function.cron.instrumentCron"}}),f}},{schedule:{type:"crontab",value:l},timezone:c||void 0})}return new n(o,p,a,A,c,...u)},get(n,i){return i==="from"?o=>{let{cronTime:s,onTick:a,timeZone:A}=o;if(typeof s!="string")throw new Error(Mre);if(r)throw new Error(`A job named '${e}' has already been scheduled`);r=!0;let c=dd(s);return o.onTick=async(u,l)=>bc(e,async()=>{try{await a(u,l)}catch(p){throw Re(p,{mechanism:{handled:!1,type:"auto.function.cron.instrumentCron"}}),p}},{schedule:{type:"crontab",value:c},timezone:A||void 0}),n.from(o)}:n[i]}})}var Mre,_re=k(()=>{m();Yt();gS();Mre="Automatic instrumentation of CronJob only supports crontab string"});function Lre(t,e={}){return new Proxy(t,{get(r,n){return n==="schedule"&&r.schedule?new Proxy(r.schedule,{apply(i,o,s){let[a,A,c]=s,u=c?.name,l=c?.timezone;if(!u)throw new Error('Missing "name" for scheduled job. A name is required for Sentry check-in monitoring.');let p=async(...g)=>bc(u,async()=>{try{return await A(...g)}catch(d){throw Re(d,{mechanism:{handled:!1,type:"auto.function.node-cron.instrumentNodeCron"}}),d}},{schedule:{type:"crontab",value:dd(a)},timezone:l,...e});return i.apply(o,[a,p,c])}}):r[n]}})}var Ure=k(()=>{m();Yt();gS()});function Ore(t){return new Proxy(t,{get(e,r){return r==="scheduleJob"?new Proxy(e.scheduleJob,{apply(n,i,o){let[s,a,A]=o;if(typeof s!="string"||typeof a!="string"||typeof A!="function")throw new Error("Automatic instrumentation of 'node-schedule' requires the first parameter of 'scheduleJob' to be a job name string and the second parameter to be a crontab string");let c=s,u=a;async function l(){return bc(c,async()=>{await A?.()},{schedule:{type:"crontab",value:dd(u)}})}return n.apply(i,[c,u,l])}}):e[r]}})}var Gre=k(()=>{m();Yt();gS()});var Hre,Kre=k(()=>{m();_re();Ure();Gre();Hre={instrumentCron:Pre,instrumentNodeCron:Lre,instrumentNodeSchedule:Ore}});var _n={};zl(_n,{LightNodeClient:()=>zm,NODE_VERSION:()=>Da,SDK_VERSION:()=>da,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>Ur,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>En,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>qp,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>Sr,Scope:()=>Eo,_INTERNAL_normalizeCollectionInterval:()=>zL,addBreadcrumb:()=>Ko,addEventProcessor:()=>Y_,addIntegration:()=>X_,addOriginToSpan:()=>fre,captureCheckIn:()=>eB,captureConsoleIntegration:()=>w1,captureEvent:()=>__,captureException:()=>Re,captureFeedback:()=>L1,captureMessage:()=>Ba,captureSession:()=>$_,childProcessIntegration:()=>Lb,close:()=>J_,consoleIntegration:()=>Wb,consoleLoggingIntegration:()=>O1,contextLinesIntegration:()=>Gb,continueTrace:()=>zE,createConsolaReporter:()=>H1,createGetModuleFromFilename:()=>Zb,createMissingInstrumentationContext:()=>Tre,createSentryWinstonTransport:()=>Are,createTransport:()=>Gm,cron:()=>Hre,dedupeIntegration:()=>b1,defaultStackParser:()=>tS,endSession:()=>cd,envToBool:()=>lg,eventFiltersIntegration:()=>Km,extraErrorDataIntegration:()=>fB,featureFlagsIntegration:()=>P1,flush:()=>Ad,functionToStringIntegration:()=>gB,getActiveSpan:()=>Gs,getClient:()=>_e,getCurrentScope:()=>dt,getDefaultIntegrations:()=>qL,getGlobalScope:()=>TE,getIsolationScope:()=>rr,getRequestUrl:()=>Mb,getRootSpan:()=>ii,getSentryRelease:()=>eS,getSpanDescendants:()=>$E,getSpanStatusFromHttpCode:()=>Uu,getTraceData:()=>SA,getTraceMetaTags:()=>C1,httpIntegration:()=>th,init:()=>uS,initWithoutDefaultIntegrations:()=>zte,initializeEsmLoader:()=>Rre,instrumentSupabaseClient:()=>Qb,isCjs:()=>qu,isEnabled:()=>rB,isInitialized:()=>j_,lastEventId:()=>K_,linkedErrorsIntegration:()=>pB,localVariablesIntegration:()=>jb,logger:()=>WL,makeNodeTransport:()=>iS,metrics:()=>Pn,modulesIntegration:()=>Yb,nativeNodeFetchIntegration:()=>rh,nodeContextIntegration:()=>Ob,nodeRuntimeMetricsIntegration:()=>ore,onUncaughtExceptionIntegration:()=>$b,onUnhandledRejectionIntegration:()=>qb,parameterize:()=>pb,pinoIntegration:()=>pre,profiler:()=>_1,requestDataIntegration:()=>dB,rewriteFramesIntegration:()=>k1,setAsyncLocalStorageAsyncContextStrategy:()=>oS,setContext:()=>L_,setCurrentClient:()=>p1,setExtra:()=>O_,setExtras:()=>U_,setHttpStatus:()=>Qm,setMeasurement:()=>D_,setTag:()=>H_,setTags:()=>G_,setUser:()=>tB,spanStreamingIntegration:()=>mB,spanToBaggageHeader:()=>f_,spanToJSON:()=>zr,spanToTraceHeader:()=>YE,spotlightIntegration:()=>Vb,startInactiveSpan:()=>td,startNewTrace:()=>Tm,startSession:()=>nB,startSpan:()=>ag,startSpanManual:()=>ed,supabaseIntegration:()=>T1,suppressTracing:()=>rd,systemErrorIntegration:()=>zb,trpcMiddleware:()=>j1,updateSpanName:()=>p_,withActiveSpan:()=>Ea,withIsolationScope:()=>QA,withMonitor:()=>bc,withScope:()=>Gi,withStreamedSpan:()=>m_,wrapMcpServerWithSentry:()=>aL,zodErrorsIntegration:()=>N1});var si=k(()=>{m();dL();Zte();GL();HL();$L();tre();CL();sre();EL();wL();SL();xL();FL();kL();ML();mL();cre();dre();TL();_L();PL();mre();kre();eh();Nre();OL();Kre();Zm();Yt()});var jre,Jre=k(()=>{jre="1.72.4"});var iU,TB,oU=k(()=>{"use strict";m();vt();iU=ke("ConnectionTracker"),TB=class{connections=new Set;maxConnections=1e3;sys;healthCheckInterval=null;HEALTH_CHECK_INTERVAL_MS=3e4;constructor(e){this.sys=e,this.startHealthMonitoring()}addConnection(e,r){if(this.connections.size>=this.maxConnections){let n=`Max connections (${this.maxConnections}) reached, rejecting new connection`;return iU.error(n),this.sys.Sentry?.captureMessage(n,{level:"error",tags:{component:"ConnectionTracker",maxConnections:this.maxConnections.toString(),currentConnections:this.connections.size.toString(),requestUrl:r?.url||"unknown",requestMethod:r?.method||"unknown",userAgent:r?.headers?.["user-agent"]||"unknown",origin:r?.headers?.origin||"unknown",referer:r?.headers?.referer||"unknown"},extra:{connectionLimit:this.maxConnections,activeConnections:this.connections.size,requestHeaders:r?.headers||{},requestUrl:r?.url}}),!1}return this.connections.add(e),iU.info(`Adding connection. Total connections: ${this.connections.size}`),e.on("close",()=>{this.removeConnection(e)}),e.on("error",()=>{this.removeConnection(e)}),!0}removeConnection(e){this.connections.delete(e),iU.info(`Removing connection. Total connections: ${this.connections.size}`)}getConnectionCount(){return this.connections.size}cleanup(){for(let e of this.connections)e.writable&&e.write(`HTTP/1.1 503 Service Unavailable\r
104
104
  \r
105
- `),e.destroy();this.connections.clear(),this.stopHealthMonitoring()}startHealthMonitoring(){this.healthCheckInterval||(this.healthCheckInterval=setInterval(()=>{this.performHealthCheck()},this.HEALTH_CHECK_INTERVAL_MS))}stopHealthMonitoring(){this.healthCheckInterval&&(clearInterval(this.healthCheckInterval),this.healthCheckInterval=null)}performHealthCheck(){let e=[];for(let r of this.connections)if(r.destroyed||!r.writable){e.push(r);continue}for(let r of e){this.removeConnection(r);try{r.destroy()}catch{}}}}});function Jo(t){let e=t.join(t.getAppRootDir(),"tsconfig.json");return t.exists(e)}async function As(t,e){async function r(i,o){if(o>10)return;let s=await t.readdir(i);for(let a of s){if(C4e.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,o+1);if(u)return u}}}}let n=await r(t.getAppRootDir(),0);if(!n){let o=`builder-registry.${await Jo(t)?"ts":"js"}`;return t.join(e,o)}return n}async function xA(t,e){let r=t.resolve("/");for(let n=0;n<20;n++){let i=t.join(e,"package.json"),o=await t.readFile(i);if(o)return JSON.parse(o);if(e===r)break;e=t.dirname(e)}return null}async function Yre(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 NB(t,e,r){let n=await t.readdir(e);return n.includes(r)?t.join(e,r):(await Promise.all(n.map(async o=>{if(o.startsWith(".")||o==="node_modules")return;let s=t.join(e,o);if((await t.stat(s)).isDirectory()){let A=await NB(t,s,r);if(A)return A}}))).find(o=>typeof o=="string")}var C4e,Bo=k(()=>{"use strict";m();C4e=["node_modules","dist","build","public"]});var qre=N(($zt,$re)=>{"use strict";m();$re.exports=function(){if(process.env.npm_config_user_agent)return I4e(process.env.npm_config_user_agent)};function I4e(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 wa(t){return t.endsWith(".mapper.tsx")||t.endsWith(".mapper.jsx")||t.endsWith(".mapper.ts")||t.endsWith(".mapper.js")||t.endsWith(".mapper.mjs")}function gr(t,e,r){e=FA(e),r=FA(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=FA(t.normalize(i)),i.startsWith(".")||(i="./"+i),i}function FA(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}function fd(t,e){let r=t.extname(e),n=t.basename(e,r).split(/[\/\\]/),i=n[n.length-1];return Vre(i==="index"?t.basename(t.dirname(e)):i)}function Vre(t){return Yr(t).replace(/ /g,"")}function ba(t,e){let r=t.extname(e),n=FA(t.basename(e,r)).split("/").pop();return Yr(n==="index"?t.basename(t.dirname(e)):n)}function $r(t,e){let r=FA(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 wr(t,e){let r=e,n=[];for(let i=0;i<2;i++){let o=t.basename(r);if(!o||o==="components")break;n.unshift(o),r=t.dirname(r)}return n.join("/")}function Yr(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 cs(t){return t.sort((e,r)=>e.name.toLocaleLowerCase().localeCompare(r.name.toLocaleLowerCase()))}async function Or(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 zre(t){return(await t.hash(t.getAppRootDir())).substring(0,8)}function MB(t){return typeof t=="number"}function sh(t){return typeof t=="boolean"}function jo(t){return typeof t=="string"}function ah(t){return typeof t=="string"?/^[A-Z][A-Za-z0-9]*$/.test(t):!1}function Ks(t){return JSON.parse(JSON.stringify(t))}function pS(t,e,r){for(let n of e)if(t.dirname(r).includes(n))return!0;return!1}function Xre(){try{let t=(0,Wre.default)();if(t?.name)return t.name}catch{}return"npm"}function E4e(){return process.platform.startsWith("win")}function mt(){return process.pkg?"@builder.io/agent":E4e()?'"@builder.io/dev-tools"':"builder.io"}function sU(t){return t.replace(/[^a-zA-Z0-9-_]/g,"_")}var Wre,Gt=k(()=>{"use strict";m();Wre=z(qre(),1)});async function md(t){let e=[],r=await xA(t,t.getRepoRootDir());if(r){let n=await ene(r,t);e.push(...n)}return e}async function ene(t,e){let r=[];if(t&&typeof t=="object"){let n=new Set(Object.keys({...t.dependencies,...t.devDependencies}));for(let i of B4e)if(n.has(i)&&!r.some(o=>o.name===i)){let o={name:i};Zre.has(i)&&(o.version=await Zre.get(i)(e)),r.push(o)}}return r}function aU(t){let e=parseInt(t);return Number.isNaN(e)?void 0:e}var Zre,B4e,hd=k(()=>{"use strict";m();Bo();Gt();Zre=new Map([["next",async t=>{if(!t.spawnSync)return;let e=Xre(),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 o=i[0].split("Next.js v")[1],[s,a,A]=o.split(".");return{major:aU(s),minor:aU(a),patch:aU(A)}}]]),B4e=["@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"]});var y4e,Rt,Ln=k(()=>{"use strict";m();y4e="1.72.3-beta.202607011524.91bf8f9.add-declaredsize-to-uploadtokenpayloadsc",Rt=process.env.OVERRIDE_VERSION??y4e});async function ine(t,e){let r=await(0,Bn.readdir)(t,{withFileTypes:!0}),n=[];for(let i of r){let o=ir.default.join(t,i.name);if(i.isDirectory()){if(!e.has(i.name))try{let s=await ine(o,e);n.push(...s)}catch(s){Re(s,{tags:{errorType:"filesystem_permission",component:"readdirRecursive"},extra:{directory:o,errorCode:s.code}})}}else n.push(o)}return n}async function one(t){let e=new Set,r=ir.default.normalize(ir.default.resolve(process.cwd(),t.cwd)),n=cU(ir.default.normalize(t.cwd))??r,i=_B(ir.default.normalize(t.cwd))??n,o={...ir.default,getCwdDir:()=>r,getRepoRootDir:()=>n,getAppRootDir:()=>i,cwd:()=>process.cwd(),exists:async a=>{try{return await(0,Bn.access)(a),!0}catch{return!1}},magicast:t.magicast,prettier:t.prettier,existsSync:a=>(0,qr.existsSync)(a),readdir:async(a,A)=>{let c=await(0,Bn.readdir)(a);return A?c.map(u=>ir.default.join(a,u)):c},readdirRecursive:async(a,A)=>ine(a,new Set(A)),readdirSync:a=>(0,qr.readdirSync)(a),readFile:async a=>{try{return await(0,Bn.readFile)(a,"utf-8")}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},readFileSync(a){try{return(0,qr.readFileSync)(a,"utf-8")}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},readFileSyncBuffer(a){try{return new Uint8Array((0,qr.readFileSync)(a,{encoding:null}))}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},async readBinaryFile(a){try{let A=await(0,Bn.readFile)(a);return new Uint8Array(A)}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},spawnSync:Cd.spawnSync,stat:async a=>await(0,Bn.stat)(a),statSync:a=>(0,qr.statSync)(a),unlinkSync:a=>{(0,qr.unlinkSync)(a)},unlink:async a=>{await(0,Bn.unlink)(a)},rm:async(a,A)=>{await(0,Bn.rm)(a,{recursive:A?.recursive,force:A?.force})},writeFile:async(a,A)=>{a=ir.default.normalize(a);let c={path:a,basename:ir.default.basename(a),dirname:ir.default.dirname(a),extname:ir.default.extname(a)};await(0,Bn.mkdir)(ir.default.dirname(a),{recursive:!0}),await(0,Bn.writeFile)(a,A);for(let u of e)await u(c)},hash:tne,getDeviceId:()=>tne(`${(0,Ah.hostname)()}:${(0,Ah.homedir)()}`),formatCode:async(a,A)=>{let c=t.prettier;if(!c)return A;let u=null;try{u=await c.resolveConfig(a)}catch{}try{return c.format(A,{...u,filepath:a})}catch{}return A},on:(a,A)=>{a==="change"&&e.add(A)},off:(a,A)=>{a==="change"&&e.delete(A)},debug:PB,launchEditor:async a=>new Promise(A=>{try{let c=a.filePath;typeof a.line=="number"&&(c+=`:${a.line}`,typeof a.column=="number"&&(c+=`:${a.column}`)),(0,nne.default)(c,void 0,(u,l)=>{let p=new Error(`Failed to launch editor for ${l}`);A({success:!1,message:p.message})}),setTimeout(()=>{A({success:!0})},100)}catch{A({success:!1,message:"Failed to launch editor"})}}),platform:()=>({runtime:"node",os:process.platform}),getRepoInfo:async a=>{let A=ir.default.normalize(a??t.cwd);return{hasGit:b4e(A),remoteUrl:D4e(A),defaultBranch:w4e(A),commit:S4e(A),currentBranch:v4e(A)}},getFrameworks:()=>[],ts:t.ts,setPublicKey:t.setPublicKey,Sentry:_n,connectionTracker:null,version:Rt,sdkVersion:null,ignoreMissingConfig:t.ignoreMissingConfig,kind:null};o.connectionTracker=new TB(o);let s=await md(o);return o.getFrameworks=()=>s,o}function sne(){let t=(0,Ah.homedir)();return ir.default.join(t,".builder","config","dev-tools.json")}function Q4e(){let t=(0,Ah.homedir)();return ir.default.join(t,".config","builder","dev-tools.json")}function AU(t,e){return typeof t=="object"&&t!=null&&e in t}async function ch(){let t=sne();try{let r=await(0,Bn.readFile)(t,"utf-8");if(typeof r=="string")return JSON.parse(r)}catch(r){if(r.code!=="ENOENT")return null}let e=Q4e();try{let r=await(0,Bn.readFile)(e,"utf-8");if(typeof r=="string"){let n=JSON.parse(r);try{await dS(n),await(0,Bn.unlink)(e).catch(()=>{})}catch{}return n}}catch(r){if(r.code==="ENOENT")return null}return null}async function dS(t){let e=sne();t=typeof t=="object"&&t!=null?t:{},await(0,Bn.mkdir)(ir.default.dirname(e),{recursive:!0}),await(0,Bn.writeFile)(e,JSON.stringify(t??{},null,2))}function D4e(t){try{return((0,Cd.spawnSync)("git",["config","--get","remote.origin.url"],{cwd:t}).stdout||"").toString().trim()}catch(e){return Re(new Error("Error getting git remote URL:",{cause:e})),""}}function w4e(t){let e="master";try{let r=(0,Cd.spawnSync)("git",["branch","-r"],{cwd:t});return r.stdout&&r.stdout.toString().trim().split(`
105
+ `),e.destroy();this.connections.clear(),this.stopHealthMonitoring()}startHealthMonitoring(){this.healthCheckInterval||(this.healthCheckInterval=setInterval(()=>{this.performHealthCheck()},this.HEALTH_CHECK_INTERVAL_MS))}stopHealthMonitoring(){this.healthCheckInterval&&(clearInterval(this.healthCheckInterval),this.healthCheckInterval=null)}performHealthCheck(){let e=[];for(let r of this.connections)if(r.destroyed||!r.writable){e.push(r);continue}for(let r of e){this.removeConnection(r);try{r.destroy()}catch{}}}}});function Jo(t){let e=t.join(t.getAppRootDir(),"tsconfig.json");return t.exists(e)}async function As(t,e){async function r(i,o){if(o>10)return;let s=await t.readdir(i);for(let a of s){if(C4e.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,o+1);if(u)return u}}}}let n=await r(t.getAppRootDir(),0);if(!n){let o=`builder-registry.${await Jo(t)?"ts":"js"}`;return t.join(e,o)}return n}async function xA(t,e){let r=t.resolve("/");for(let n=0;n<20;n++){let i=t.join(e,"package.json"),o=await t.readFile(i);if(o)return JSON.parse(o);if(e===r)break;e=t.dirname(e)}return null}async function Yre(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 NB(t,e,r){let n=await t.readdir(e);return n.includes(r)?t.join(e,r):(await Promise.all(n.map(async o=>{if(o.startsWith(".")||o==="node_modules")return;let s=t.join(e,o);if((await t.stat(s)).isDirectory()){let A=await NB(t,s,r);if(A)return A}}))).find(o=>typeof o=="string")}var C4e,Bo=k(()=>{"use strict";m();C4e=["node_modules","dist","build","public"]});var qre=N(($zt,$re)=>{"use strict";m();$re.exports=function(){if(process.env.npm_config_user_agent)return I4e(process.env.npm_config_user_agent)};function I4e(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 wa(t){return t.endsWith(".mapper.tsx")||t.endsWith(".mapper.jsx")||t.endsWith(".mapper.ts")||t.endsWith(".mapper.js")||t.endsWith(".mapper.mjs")}function gr(t,e,r){e=FA(e),r=FA(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=FA(t.normalize(i)),i.startsWith(".")||(i="./"+i),i}function FA(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}function fd(t,e){let r=t.extname(e),n=t.basename(e,r).split(/[\/\\]/),i=n[n.length-1];return Vre(i==="index"?t.basename(t.dirname(e)):i)}function Vre(t){return Yr(t).replace(/ /g,"")}function ba(t,e){let r=t.extname(e),n=FA(t.basename(e,r)).split("/").pop();return Yr(n==="index"?t.basename(t.dirname(e)):n)}function $r(t,e){let r=FA(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 wr(t,e){let r=e,n=[];for(let i=0;i<2;i++){let o=t.basename(r);if(!o||o==="components")break;n.unshift(o),r=t.dirname(r)}return n.join("/")}function Yr(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 cs(t){return t.sort((e,r)=>e.name.toLocaleLowerCase().localeCompare(r.name.toLocaleLowerCase()))}async function Or(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 zre(t){return(await t.hash(t.getAppRootDir())).substring(0,8)}function MB(t){return typeof t=="number"}function sh(t){return typeof t=="boolean"}function jo(t){return typeof t=="string"}function ah(t){return typeof t=="string"?/^[A-Z][A-Za-z0-9]*$/.test(t):!1}function Ks(t){return JSON.parse(JSON.stringify(t))}function pS(t,e,r){for(let n of e)if(t.dirname(r).includes(n))return!0;return!1}function Xre(){try{let t=(0,Wre.default)();if(t?.name)return t.name}catch{}return"npm"}function E4e(){return process.platform.startsWith("win")}function mt(){return process.pkg?"@builder.io/agent":E4e()?'"@builder.io/dev-tools"':"builder.io"}function sU(t){return t.replace(/[^a-zA-Z0-9-_]/g,"_")}var Wre,Gt=k(()=>{"use strict";m();Wre=z(qre(),1)});async function md(t){let e=[],r=await xA(t,t.getRepoRootDir());if(r){let n=await ene(r,t);e.push(...n)}return e}async function ene(t,e){let r=[];if(t&&typeof t=="object"){let n=new Set(Object.keys({...t.dependencies,...t.devDependencies}));for(let i of B4e)if(n.has(i)&&!r.some(o=>o.name===i)){let o={name:i};Zre.has(i)&&(o.version=await Zre.get(i)(e)),r.push(o)}}return r}function aU(t){let e=parseInt(t);return Number.isNaN(e)?void 0:e}var Zre,B4e,hd=k(()=>{"use strict";m();Bo();Gt();Zre=new Map([["next",async t=>{if(!t.spawnSync)return;let e=Xre(),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 o=i[0].split("Next.js v")[1],[s,a,A]=o.split(".");return{major:aU(s),minor:aU(a),patch:aU(A)}}]]),B4e=["@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"]});var y4e,Rt,Ln=k(()=>{"use strict";m();y4e="1.72.4",Rt=process.env.OVERRIDE_VERSION??y4e});async function ine(t,e){let r=await(0,Bn.readdir)(t,{withFileTypes:!0}),n=[];for(let i of r){let o=ir.default.join(t,i.name);if(i.isDirectory()){if(!e.has(i.name))try{let s=await ine(o,e);n.push(...s)}catch(s){Re(s,{tags:{errorType:"filesystem_permission",component:"readdirRecursive"},extra:{directory:o,errorCode:s.code}})}}else n.push(o)}return n}async function one(t){let e=new Set,r=ir.default.normalize(ir.default.resolve(process.cwd(),t.cwd)),n=cU(ir.default.normalize(t.cwd))??r,i=_B(ir.default.normalize(t.cwd))??n,o={...ir.default,getCwdDir:()=>r,getRepoRootDir:()=>n,getAppRootDir:()=>i,cwd:()=>process.cwd(),exists:async a=>{try{return await(0,Bn.access)(a),!0}catch{return!1}},magicast:t.magicast,prettier:t.prettier,existsSync:a=>(0,qr.existsSync)(a),readdir:async(a,A)=>{let c=await(0,Bn.readdir)(a);return A?c.map(u=>ir.default.join(a,u)):c},readdirRecursive:async(a,A)=>ine(a,new Set(A)),readdirSync:a=>(0,qr.readdirSync)(a),readFile:async a=>{try{return await(0,Bn.readFile)(a,"utf-8")}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},readFileSync(a){try{return(0,qr.readFileSync)(a,"utf-8")}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},readFileSyncBuffer(a){try{return new Uint8Array((0,qr.readFileSync)(a,{encoding:null}))}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},async readBinaryFile(a){try{let A=await(0,Bn.readFile)(a);return new Uint8Array(A)}catch(A){if(A.code==="ENOENT")return null;throw PB(A,a),A}},spawnSync:Cd.spawnSync,stat:async a=>await(0,Bn.stat)(a),statSync:a=>(0,qr.statSync)(a),unlinkSync:a=>{(0,qr.unlinkSync)(a)},unlink:async a=>{await(0,Bn.unlink)(a)},rm:async(a,A)=>{await(0,Bn.rm)(a,{recursive:A?.recursive,force:A?.force})},writeFile:async(a,A)=>{a=ir.default.normalize(a);let c={path:a,basename:ir.default.basename(a),dirname:ir.default.dirname(a),extname:ir.default.extname(a)};await(0,Bn.mkdir)(ir.default.dirname(a),{recursive:!0}),await(0,Bn.writeFile)(a,A);for(let u of e)await u(c)},hash:tne,getDeviceId:()=>tne(`${(0,Ah.hostname)()}:${(0,Ah.homedir)()}`),formatCode:async(a,A)=>{let c=t.prettier;if(!c)return A;let u=null;try{u=await c.resolveConfig(a)}catch{}try{return c.format(A,{...u,filepath:a})}catch{}return A},on:(a,A)=>{a==="change"&&e.add(A)},off:(a,A)=>{a==="change"&&e.delete(A)},debug:PB,launchEditor:async a=>new Promise(A=>{try{let c=a.filePath;typeof a.line=="number"&&(c+=`:${a.line}`,typeof a.column=="number"&&(c+=`:${a.column}`)),(0,nne.default)(c,void 0,(u,l)=>{let p=new Error(`Failed to launch editor for ${l}`);A({success:!1,message:p.message})}),setTimeout(()=>{A({success:!0})},100)}catch{A({success:!1,message:"Failed to launch editor"})}}),platform:()=>({runtime:"node",os:process.platform}),getRepoInfo:async a=>{let A=ir.default.normalize(a??t.cwd);return{hasGit:b4e(A),remoteUrl:D4e(A),defaultBranch:w4e(A),commit:S4e(A),currentBranch:v4e(A)}},getFrameworks:()=>[],ts:t.ts,setPublicKey:t.setPublicKey,Sentry:_n,connectionTracker:null,version:Rt,sdkVersion:null,ignoreMissingConfig:t.ignoreMissingConfig,kind:null};o.connectionTracker=new TB(o);let s=await md(o);return o.getFrameworks=()=>s,o}function sne(){let t=(0,Ah.homedir)();return ir.default.join(t,".builder","config","dev-tools.json")}function Q4e(){let t=(0,Ah.homedir)();return ir.default.join(t,".config","builder","dev-tools.json")}function AU(t,e){return typeof t=="object"&&t!=null&&e in t}async function ch(){let t=sne();try{let r=await(0,Bn.readFile)(t,"utf-8");if(typeof r=="string")return JSON.parse(r)}catch(r){if(r.code!=="ENOENT")return null}let e=Q4e();try{let r=await(0,Bn.readFile)(e,"utf-8");if(typeof r=="string"){let n=JSON.parse(r);try{await dS(n),await(0,Bn.unlink)(e).catch(()=>{})}catch{}return n}}catch(r){if(r.code==="ENOENT")return null}return null}async function dS(t){let e=sne();t=typeof t=="object"&&t!=null?t:{},await(0,Bn.mkdir)(ir.default.dirname(e),{recursive:!0}),await(0,Bn.writeFile)(e,JSON.stringify(t??{},null,2))}function D4e(t){try{return((0,Cd.spawnSync)("git",["config","--get","remote.origin.url"],{cwd:t}).stdout||"").toString().trim()}catch(e){return Re(new Error("Error getting git remote URL:",{cause:e})),""}}function w4e(t){let e="master";try{let r=(0,Cd.spawnSync)("git",["branch","-r"],{cwd:t});return r.stdout&&r.stdout.toString().trim().split(`
106
106
  `).map(i=>i.trim()).includes("origin/main")?"main":e}catch(r){return Re(new Error("Error getting git default branch name:",{cause:r})),e}}function b4e(t){try{return((0,Cd.spawnSync)("git",["rev-parse","--is-inside-work-tree"],{cwd:t}).stdout||"").toString().trim()==="true"}catch(e){return Re(new Error("Error getting git commit:",{cause:e})),!1}}function S4e(t){try{return((0,Cd.spawnSync)("git",["rev-parse","HEAD"],{cwd:t}).stdout||"").toString().trim()}catch(e){return Re(new Error("Error getting git commit:",{cause:e})),""}}function v4e(t){try{return((0,Cd.spawnSync)("git",["branch","--show-current"],{cwd:t}).stdout||"").toString().trim()}catch(e){return Re(new Error("Error getting current branch name:",{cause:e})),""}}function cU(t){let e=ir.default.resolve("/");for(let r=0;r<20;r++){let n=ir.default.join(t,"package.json");if((0,qr.existsSync)(n))return t;if(t===e)break;t=ir.default.dirname(t)}return null}function _B(t){let e=ir.default.resolve("/");for(let r=0;r<20;r++){if((0,qr.existsSync)(ir.default.join(t,"builder.config.json"))||(0,qr.existsSync)(ir.default.join(t,"fusion.config.json"))||(0,qr.existsSync)(ir.default.join(t,"package.json"))||(0,qr.existsSync)(ir.default.join(t,"remix.config.js"))||(0,qr.existsSync)(ir.default.join(t,"remix.config.mjs"))||(0,qr.existsSync)(ir.default.join(t,"remix.config.ts"))||(0,qr.existsSync)(ir.default.join(t,"vite.config.js"))||(0,qr.existsSync)(ir.default.join(t,"vite.config.ts"))||(0,qr.existsSync)(ir.default.join(t,"vite.config.mjs"))||(0,qr.existsSync)(ir.default.join(t,"next.config.js"))||(0,qr.existsSync)(ir.default.join(t,"next.config.ts"))||(0,qr.existsSync)(ir.default.join(t,"angular.json"))||(0,qr.existsSync)(ir.default.join(t,"project.json"))||(0,qr.existsSync)(ir.default.join(t,"tsconfig.json")))return t;if(t===e)break;t=ir.default.dirname(t)}return null}var Bn,rne,qr,Ah,ir,nne,Cd,PB,tne,LB=k(()=>{"use strict";m();oU();Bn=require("node:fs/promises"),rne=require("node:crypto"),qr=require("node:fs"),Ah=require("node:os"),ir=z(require("node:path"),1),nne=z(require("launch-editor"),1);hd();Cd=require("node:child_process");si();Ln();PB=(...t)=>{if(process.env.DEBUG){let e=new Date,r=`${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}.${String(e.getMilliseconds()).padStart(3,"0")}`;console.debug(r,"[builder-dev-tools]",...t)}},tne=async t=>{let e=(0,rne.createHash)("md5");return e.update(t),e.digest("hex")}});function ane(t,e=0){return(ji[t[e+0]]+ji[t[e+1]]+ji[t[e+2]]+ji[t[e+3]]+"-"+ji[t[e+4]]+ji[t[e+5]]+"-"+ji[t[e+6]]+ji[t[e+7]]+"-"+ji[t[e+8]]+ji[t[e+9]]+"-"+ji[t[e+10]]+ji[t[e+11]]+ji[t[e+12]]+ji[t[e+13]]+ji[t[e+14]]+ji[t[e+15]]).toLowerCase()}var ji,Ane=k(()=>{m();ji=[];for(let t=0;t<256;++t)ji.push((t+256).toString(16).slice(1))});function uU(){return fS>mS.length-16&&(cne.default.randomFillSync(mS),fS=0),mS.slice(fS,fS+=16)}var cne,mS,fS,une=k(()=>{m();cne=z(require("node:crypto")),mS=new Uint8Array(256),fS=mS.length});var lne,lU,gne=k(()=>{m();lne=z(require("node:crypto")),lU={randomUUID:lne.default.randomUUID}});function x4e(t,e,r){if(lU.randomUUID&&!e&&!t)return lU.randomUUID();t=t||{};let n=t.random||(t.rng||uU)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(let i=0;i<16;++i)e[r+i]=n[i];return e}return ane(n)}var gU,pne=k(()=>{m();gne();une();Ane();gU=x4e});var dne=k(()=>{m();pne()});function R4e(t){return hS?`tracert ${t}`:`traceroute ${t}`}function k4e(){return F4e?"sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder":hS?"ipconfig /flushdns":"sudo systemd-resolve --flush-caches"}function T4e(t,e){return hS?`Test-NetConnection -ComputerName ${t} -Port ${e}`:`nc -zv ${t} ${e}`}function N4e(t){return hS?`nslookup ${t}`:`dig ${t}`}function M4e(t,e){return`openssl s_client -connect ${t}:${e} -showcerts`}function pU(t,e,r){let n=t.code,i=`${e}${r?`:${r}`:""}`;if(n==="ECONNREFUSED"){let o=r||443;return new it({type:"connection_refused",cause:t,message:`Connection refused to ${i}. The server may be down or not accepting connections on this port.`,suggestions:["Verify the server is running and accepting connections",`Test if the port is reachable: ${T4e(e,o)}`,"Check if a firewall is blocking the connection","Ensure the correct port number is being used","If using a proxy, verify proxy settings are correct","Try again in a few minutes - the service may be temporarily unavailable"],hostname:e,port:r,errorCode:n})}if(n==="ECONNRESET")return new it({type:"connection_reset",cause:t,message:`Connection to ${i} was reset. The server closed the connection unexpectedly.`,suggestions:["The server may have restarted or timed out - try again","Check if a proxy or firewall is terminating connections","If behind a corporate network, the connection may be blocked","Verify network stability - intermittent connectivity can cause resets","If using keep-alive connections, the server may have closed an idle connection"],hostname:e,port:r,errorCode:n});if(n==="ECONNABORTED")return new it({type:"connection_aborted",cause:t,message:`Connection to ${i} was aborted before completing.`,suggestions:["The request may have been interrupted - try again","Check for network instability or packet loss","If using a proxy, verify the proxy is functioning correctly","The server may have terminated the connection early"],hostname:e,port:r,errorCode:n});if(n==="ETIMEDOUT"||n==="ESOCKETTIMEDOUT"||n==="ERR_SOCKET_CONNECTION_TIMEOUT"||n==="ERR_HTTP_REQUEST_TIMEOUT")return new it({type:"connection_timeout",cause:t,message:`Connection to ${i} timed out. The server did not respond in time.`,suggestions:["Check your internet connection speed and stability","The server may be overloaded - try again in a few minutes","If behind a proxy, ensure the proxy is not causing delays","Corporate firewalls may be slowing or blocking the connection","Try using a different network (e.g., mobile hotspot) to isolate the issue"],hostname:e,port:r,errorCode:n});if(n==="ENOTFOUND"||n==="EAI_AGAIN")return new it({type:"dns_not_found",cause:t,message:`Cannot resolve hostname '${e}'. DNS lookup failed.`,suggestions:["Check your internet connection","Verify the hostname is spelled correctly",`Test DNS resolution: ${N4e(e)}`,"Try using a different DNS server (e.g., 8.8.8.8 or 1.1.1.1)","If on a VPN, try disconnecting and reconnecting",`Flush your DNS cache: ${k4e()}`],hostname:e,errorCode:n});if(n&&P4e.has(n)){let o=r||443;return new it({type:"ssl_self_signed",cause:t,message:`SSL certificate error: The server at ${i} is using a self-signed certificate that is not trusted.`,suggestions:["If on a corporate network, add your company's CA certificate:"," \u2192 npm config set cafile /path/to/company-cert.pem"," \u2192 Or set NODE_EXTRA_CA_CERTS=/path/to/company-cert.pem","For Node.js 22+, use --use-system-ca flag if the CA is installed in your system",`Inspect the certificate: ${M4e(e,o)}`,"Contact your IT department to get the corporate root CA certificate","If this is your server, consider using Let's Encrypt for free valid certificates","\u26A0\uFE0F Temporary workaround (not secure): npm config set strict-ssl false"],hostname:e,port:r,errorCode:n})}if(n&&L4e.has(n))return new it({type:"ssl_certificate_expired",cause:t,message:`SSL certificate error: The certificate for ${i} has expired.`,suggestions:["Contact the server administrator to renew the SSL certificate","Check if your system clock is set correctly - incorrect time can cause certificate errors","If this is your server, renew the certificate immediately","This may indicate a security issue - proceed with caution"],hostname:e,port:r,errorCode:n});if(n&&U4e.has(n))return new it({type:"ssl_certificate_not_yet_valid",cause:t,message:`SSL certificate error: The certificate for ${i} is not yet valid. The certificate's validity period has not started yet.`,suggestions:["Check if your system clock is set correctly - this is the most common cause","Verify your system date and time are accurate","If the clock is correct, wait until the certificate becomes valid","Contact the server administrator - they may have deployed a certificate too early"],hostname:e,port:r,errorCode:n});if(n&&O4e.has(n)){let o=n==="CRL_HAS_EXPIRED",s=n==="CRL_NOT_YET_VALID";return new it({type:"ssl_certificate_invalid",cause:t,message:`SSL error: The Certificate Revocation List (CRL) for ${i} ${o?"has expired":s?"is not yet valid":"has invalid date fields"}. This means the revocation list is stale, not that the certificate itself has expired.`,suggestions:["This is often a server-side configuration issue - the server needs to update its CRL","Check if your system clock is set correctly - incorrect time can cause CRL validation errors","If behind a corporate proxy, the proxy may be caching an outdated CRL","Try again later - the server administrator may need to refresh the CRL","If on a corporate network, contact your IT department","\u26A0\uFE0F Temporary workaround (not secure): npm config set strict-ssl false"],hostname:e,port:r,errorCode:n})}if(n&&_4e.has(n))return new it({type:"ssl_certificate_invalid",cause:t,message:`SSL certificate error: The certificate for ${i} could not be verified. ${Y4e(n)}`,suggestions:["If on a corporate network, add your company's CA certificate:"," \u2192 npm config set cafile /path/to/company-cert.pem"," \u2192 Or set NODE_EXTRA_CA_CERTS=/path/to/company-cert.pem","For Node.js 22+, use --use-system-ca flag if certificates are installed in your system","The server may be missing intermediate certificates in its chain","If behind a corporate proxy, contact IT for the proxy's root CA certificate","Verify you're connecting to the correct server (check for DNS hijacking)","\u26A0\uFE0F Temporary workaround (not secure): npm config set strict-ssl false"],hostname:e,port:r,errorCode:n});if(n&&H4e.has(n))return new it({type:"ssl_handshake_failed",cause:t,message:`SSL/TLS handshake with ${i} failed. Could not establish a secure connection.`,suggestions:["The server may be temporarily unavailable - try again","Check if a proxy or firewall is intercepting HTTPS traffic","Your corporate network may require specific certificates to be installed","The server may require a specific TLS version your client doesn't support","Try connecting from a different network to isolate the issue"],hostname:e,port:r,errorCode:n});if(n&&K4e.has(n)){let o=n==="CRYPT_E_REVOCATION_OFFLINE";return new it({type:"ssl_certificate_invalid",cause:t,message:`Certificate revocation check failed for ${i}. ${o?"The revocation server is offline.":"Unable to verify certificate revocation status."}`,suggestions:["This is often a temporary issue - try again in a few minutes","The certificate revocation server (CRL/OCSP) may be unreachable","If on a corporate network, add your company's CA certificate:"," \u2192 npm config set cafile /path/to/company-cert.pem","Check if a firewall or proxy is blocking access to revocation servers","Contact your IT department for assistance with certificate configuration","\u26A0\uFE0F Temporary workaround (not secure): npm config set strict-ssl false"],hostname:e,port:r,errorCode:n})}return n&&G4e.has(n)?new it({type:"ssl_protocol_error",cause:t,message:`SSL/TLS protocol error connecting to ${i}. ${$4e(n)}`,suggestions:["The server may require a different TLS version (try TLS 1.2 or 1.3)","If behind a proxy, it may not support modern TLS protocols","Corporate firewalls sometimes downgrade TLS - contact your IT department","The server's SSL configuration may be outdated or misconfigured","Try updating Node.js to get the latest TLS support"],hostname:e,port:r,errorCode:n}):n&&J4e.has(n)?new it({type:"proxy_error",cause:t,message:`Proxy error while connecting to ${i}. The proxy server could not establish a tunnel.`,suggestions:["Verify your proxy settings (HTTP_PROXY, HTTPS_PROXY environment variables)","Check if the proxy server is running and accessible","Ensure the proxy allows connections to the target host","Try bypassing the proxy by adding the host to NO_PROXY","Corporate proxies may require authentication - check credentials","The proxy may be blocking this specific destination"],hostname:e,port:r,errorCode:n}):n&&j4e.has(n)?new it({type:"network_unreachable",cause:t,message:`Cannot reach ${i}. ${n==="EHOSTUNREACH"?"The host":"The network"} is unreachable.`,suggestions:["Check your internet connection is active","If on WiFi, try reconnecting to the network","VPN connection may have dropped - reconnect if using VPN","The destination network may be down or unreachable from your location","Check if a firewall is blocking outbound connections",`Diagnose the route: ${R4e(e)}`],hostname:e,port:r,errorCode:n}):n==="EPIPE"?new it({type:"connection_reset",cause:t,message:`Broken pipe to ${i}. The connection was closed while data was being sent.`,suggestions:["The server closed the connection unexpectedly - try again","Check if the request payload is too large","Network instability may have caused the connection to drop","If using keep-alive, the server may have closed an idle connection"],hostname:e,port:r,errorCode:n}):n==="ERR_SOCKET_BAD_PORT"?new it({type:"socket_error",cause:t,message:`Invalid port number for ${e}. Port must be a number between 1 and 65535.`,suggestions:["Check your configuration for the correct port number","Ensure the port is a valid integer (1-65535)","Common ports: HTTP (80), HTTPS (443), custom services typically use 3000-9999","If using environment variables, verify they are set correctly"],hostname:e,port:r,errorCode:n}):n==="ERR_SOCKET_CLOSED"||n==="ERR_SOCKET_CLOSED_BEFORE_CONNECTION"?new it({type:"socket_error",cause:t,message:`Socket closed unexpectedly while connecting to ${i}.`,suggestions:["The connection was closed unexpectedly - try again","Check for network instability","The server may have rejected the connection"],hostname:e,port:r,errorCode:n}):new it({type:"unknown",cause:t,errorCode:n,message:`Network error connecting to ${i}: ${n?`[${n}] `:""}${t.message}`,suggestions:["Check your internet connection","If behind a proxy, verify proxy settings are correct","Try connecting from a different network","Check if a firewall or antivirus is blocking the connection","Try again in a few minutes - the service may be temporarily unavailable"],hostname:e,port:r})}function Y4e(t){return{UNABLE_TO_GET_ISSUER_CERT:"The certificate issuer could not be found.",UNABLE_TO_GET_ISSUER_CERT_LOCALLY:"The certificate issuer is not in the local trusted store.",UNABLE_TO_VERIFY_LEAF_SIGNATURE:"The first certificate in the chain could not be verified.",INVALID_CA:"The CA certificate is invalid.",CERT_SIGNATURE_FAILURE:"The certificate signature is invalid.",CERT_REVOKED:"The certificate has been revoked.",CERT_REJECTED:"The certificate was rejected.",CERT_UNTRUSTED:"The certificate is not trusted.",HOSTNAME_MISMATCH:"The certificate hostname does not match the requested hostname.",ERR_TLS_CERT_ALTNAME_INVALID:"The hostname is not in the certificate's subject alternative names."}[t]||""}function $4e(t){return{ERR_TLS_INVALID_PROTOCOL_VERSION:"The TLS protocol version is not supported.",ERR_TLS_INVALID_PROTOCOL_METHOD:"The TLS protocol method is invalid.",ERR_TLS_PROTOCOL_VERSION_CONFLICT:"There is a conflict between TLS protocol versions.",EPROTO:"A protocol error occurred during the SSL/TLS handshake.",ERR_SSL_WRONG_VERSION_NUMBER:"SSL version number mismatch.",ERR_TLS_DH_PARAM_SIZE:"The Diffie-Hellman parameters are too small (insecure)."}[t]||""}function Sn(t){Y.error("\u{1F534} Network Error Details:"),Y.error(t.message),t.suggestions.length>0&&(Y.info("\u{1F4A1} Troubleshooting suggestions:"),t.suggestions.forEach((e,r)=>{Y.info(` ${r+1}. ${e}`)})),t.hostname&&Y.info(`\u{1F4CD} Target: ${t.hostname}${t.port?`:${t.port}`:""}`),t.statusCode&&Y.info(`\u{1F4CA} HTTP Status: ${t.statusCode}`),t.errorCode&&Y.info(`\u{1F527} Error Code: ${t.errorCode}`),console.log(`
107
107
  `)}var Dt,it,hS,F4e,P4e,_4e,L4e,U4e,O4e,G4e,H4e,K4e,J4e,j4e,yo=k(()=>{"use strict";m();Er();Dt=class extends Error{},it=class extends Dt{constructor({type:e,cause:r,message:n,suggestions:i=[],hostname:o,port:s,statusCode:a,errorCode:A}){super(n,{cause:r}),this.name="NetworkError",this.type=e,this.suggestions=i,this.hostname=o,this.port=s,this.statusCode=a,this.errorCode=A}type;suggestions;hostname;port;statusCode;errorCode},hS=process.platform==="win32",F4e=process.platform==="darwin";P4e=new Set(["DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN"]),_4e=new Set(["UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","INVALID_CA","CERT_SIGNATURE_FAILURE","CERT_REVOKED","CERT_REJECTED","CERT_UNTRUSTED","CERT_CHAIN_TOO_LONG","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","UNABLE_TO_DECRYPT_CERT_SIGNATURE","HOSTNAME_MISMATCH","ERR_TLS_CERT_ALTNAME_INVALID"]),L4e=new Set(["CERT_HAS_EXPIRED","ERROR_IN_CERT_NOT_AFTER_FIELD"]),U4e=new Set(["CERT_NOT_YET_VALID","ERROR_IN_CERT_NOT_BEFORE_FIELD"]),O4e=new Set(["CRL_HAS_EXPIRED","CRL_NOT_YET_VALID","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD"]),G4e=new Set(["ERR_TLS_INVALID_PROTOCOL_VERSION","ERR_TLS_INVALID_PROTOCOL_METHOD","ERR_TLS_PROTOCOL_VERSION_CONFLICT","ERR_TLS_INVALID_STATE","ERR_TLS_INVALID_CONTEXT","ERR_TLS_RENEGOTIATION_DISABLED","ERR_TLS_REQUIRED_SERVER_NAME","ERR_TLS_SESSION_ATTACK","ERR_TLS_SNI_FROM_SERVER","ERR_TLS_DH_PARAM_SIZE","ERR_SSL_WRONG_VERSION_NUMBER","EPROTO"]),H4e=new Set(["ERR_TLS_HANDSHAKE_TIMEOUT","ERR_SSL_HANDSHAKE_FAILURE"]),K4e=new Set(["CRYPT_E_NO_REVOCATION_CHECK","CRYPT_E_REVOCATION_OFFLINE","CRYPT_E_NO_REVOCATION_DLL","CRYPT_E_NOT_IN_REVOCATION_DATABASE","UNABLE_TO_GET_CRL","CRL_SIGNATURE_FAILURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE"]),J4e=new Set(["ERR_PROXY_INVALID_CONFIG","ERR_PROXY_TUNNEL","ERR_TUNNEL_CONNECTION_FAILED"]),j4e=new Set(["ENETUNREACH","EHOSTUNREACH","ENETDOWN","ENONET"])});async function mne(t){let e=process.env.BUILDER_DISABLE_AMPLITUDE==="true",r=process.env.NODE_ENV!=="test",n=r&&!e,i=await Ine(),o=await Cne();if(Rc.init(n?"2532be1b0436a18cb938b21fc7fa9faf":"",{logLevel:Rc.Types.LogLevel.None,flushIntervalMillis:500}),n){let s=new Rc.Identify;await Rc.identify(s,{device_id:i,user_id:o,platform:fU.default.type(),os_name:process.platform,os_version:fU.default.release()}).promise}return uS({dsn:"https://3252dddc08dbb5bf406dc33bf3c13633@o117565.ingest.us.sentry.io/4505630794448896",tracesSampleRate:0,release:jre,environment:process.env.NODE_ENV,enabled:r,registerEsmLoaderHooks:!1,normalizeDepth:5,maxValueLength:1500,integrations:[rh(),th(),fB()],beforeSend:(s,a)=>{let A=a.originalException??a.syntheticException;return!(A instanceof Dt)&&(t||s.level!=="warning")&&q4e.error((0,fne.red)(`ERROR ID: ${s.event_id}`),A),s},tracePropagationTargets:[]}),tB({username:process.env.USER||process.env.USERNAME||"unknown"}),_n}async function $t(t,e){if(process.env.BUILDER_DISABLE_AMPLITUDE==="true")return Promise.resolve();let n={...e,app:"dev-tools-cli",package:"cli"},i=await Cne(),o=await Ine();return await Rc.track(t,n,{user_id:i,device_id:o}).promise}function mU(t,e){$t(t,{...e.spaceId?{spaceId:e.spaceId}:{},agentName:e.agentName,...e.position?{position:e.position}:{},outcome:e.outcome,...e.reason?{reason:e.reason}:{},mode:"cli"})}async function hne(t){CS=t;let e=await ch();await dS({...e,userId:t})}async function Cne(){if(CS)return CS;let t=await ch(),e;return AU(t,"userId")&&(e=t.userId),CS=e,e}async function Ine(){if(dU)return dU;let t=await ch(),e=gU();return AU(t,"deviceId")?e=t.deviceId:await dS({...t,deviceId:e}),dU=e,e}var Rc,fU,fne,q4e,CS,dU,Js=k(()=>{"use strict";m();Rc=z(require("@amplitude/analytics-node"),1);si();Jre();vt();LB();dne();fU=z(require("node:os"),1),fne=z(jr(),1);yo();q4e=ke("Track")});var Bne,Ene=k(()=>{Bne="0.0.0"});function IS(t,e){let r=`<environment_variables>
108
108
  `;if(t.length===0)r+="No environment variables available";else for(let n of t)n.isSecret&&!e?.skipCommandSecurity?r+=`${n.key}= # secret (use "REPLACE_ENV.${n.key}" to reference it)
@@ -4089,7 +4089,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),U=$,j=Z),G===void 0&&(
4089
4089
  `,++r,g===13&&e.charCodeAt(r)===10&&++r,++i,l=n=r):o.unterminated(s,a,A):++r}return{pos:r,str:c,firstInvalidLoc:u,lineStart:n,curLine:i,containsInvalid:!!u}}function eNt(t,e,r,n){return t==="template"?e===96||e===36&&r.charCodeAt(n+1)===123:e===(t==="double"?34:39)}function tNt(t,e,r,n,i,o){let s=!i;e++;let a=c=>({pos:e,ch:c,lineStart:r,curLine:n}),A=t.charCodeAt(e++);switch(A){case 110:return a(`
4090
4090
  `);case 114:return a("\r");case 120:{let c;return{code:c,pos:e}=E5(t,e,r,n,2,!1,s,o),a(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:e}=O_e(t,e,r,n,s,o),a(c===null?null:String.fromCodePoint(c))}case 116:return a(" ");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:t.charCodeAt(e)===10&&++e;case 10:r=e,++n;case 8232:case 8233:return a("");case 56:case 57:if(i)return a(null);o.strictNumericEscape(e-1,r,n);default:if(A>=48&&A<=55){let c=e-1,l=/^[0-7]+/.exec(t.slice(c,e+2))[0],p=parseInt(l,8);p>255&&(l=l.slice(0,-1),p=parseInt(l,8)),e+=l.length-1;let g=t.charCodeAt(e);if(l!=="0"||g===56||g===57){if(i)return a(null);o.strictNumericEscape(c,r,n)}return a(String.fromCharCode(p))}return a(String.fromCharCode(A))}}function E5(t,e,r,n,i,o,s,a){let A=e,c;return{n:c,pos:e}=U_e(t,e,r,n,16,i,o,!1,a,!s),c===null&&(s?a.invalidEscapeSequence(A,r,n):e=A-1),{code:c,pos:e}}function U_e(t,e,r,n,i,o,s,a,A,c){let u=e,l=i===16?Q_e.hex:Q_e.decBinOct,p=i===16?cM.hex:i===10?cM.dec:i===8?cM.oct:cM.bin,g=!1,d=0;for(let f=0,h=o??1/0;f<h;++f){let C=t.charCodeAt(e),I;if(C===95&&a!=="bail"){let B=t.charCodeAt(e-1),E=t.charCodeAt(e+1);if(a){if(Number.isNaN(E)||!p(E)||l.has(B)||l.has(E)){if(c)return{n:null,pos:e};A.unexpectedNumericSeparator(e,r,n)}}else{if(c)return{n:null,pos:e};A.numericSeparatorInEscapeSequence(e,r,n)}++e;continue}if(C>=97?I=C-97+10:C>=65?I=C-65+10:ZTt(C)?I=C-48:I=1/0,I>=i){if(I<=9&&c)return{n:null,pos:e};if(I<=9&&A.invalidDigit(e,r,n,i))I=0;else if(s)I=0,g=!0;else break}++e,d=d*i+I}return e===u||o!=null&&e-u!==o||g?{n:null,pos:e}:{n:d,pos:e}}function O_e(t,e,r,n,i,o){let s=t.charCodeAt(e),a;if(s===123){if(++e,{code:a,pos:e}=E5(t,e,r,n,t.indexOf("}",e)-e,!0,i,o),++e,a!==null&&a>1114111)if(i)o.invalidCodePoint(e,r,n);else return{code:null,pos:e}}else({code:a,pos:e}=E5(t,e,r,n,4,!1,i,o));return{code:a,pos:e}}function Fw(t,e,r){return new xu(r,t-e,t)}var rNt=new Set([103,109,115,105,121,117,100,118]),bu=class{constructor(e){let r=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=r+e.start,this.end=r+e.end,this.loc=new oE(e.startLoc,e.endLoc)}},B5=class extends C5{constructor(e,r){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(n,i,o,s)=>this.optionFlags&2048?(this.raise(W.InvalidDigit,Fw(n,i,o),{radix:s}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(W.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(W.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(W.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(W.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(n,i,o)=>{this.recordStrictModeErrors(W.StrictNumericEscape,Fw(n,i,o))},unterminated:(n,i,o)=>{throw this.raise(W.UnterminatedString,Fw(n-1,i,o))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(W.StrictNumericEscape),unterminated:(n,i,o)=>{throw this.raise(W.UnterminatedTemplate,Fw(n,i,o))}}),this.state=new I5,this.state.init(e),this.input=r,this.length=r.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new bu(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let r=this.state;return this.state=e,r}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return s5.lastIndex=e,s5.test(this.input)?s5.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return a5.lastIndex=e,a5.test(this.input)?a5.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let r=this.input.charCodeAt(e);if((r&64512)===55296&&++e<this.input.length){let n=this.input.charCodeAt(e);(n&64512)===56320&&(r=65536+((r&1023)<<10)+(n&1023))}return r}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([r,n])=>this.raise(r,n)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let r;this.isLookahead||(r=this.state.curPosition());let n=this.state.pos,i=this.input.indexOf(e,n+2);if(i===-1)throw this.raise(W.UnterminatedComment,this.state.curPosition());for(this.state.pos=i+e.length,AM.lastIndex=n+2;AM.test(this.input)&&AM.lastIndex<=i;)++this.state.curLine,this.state.lineStart=AM.lastIndex;if(this.isLookahead)return;let o={type:"CommentBlock",value:this.input.slice(n+2,i),start:this.sourceToOffsetPos(n),end:this.sourceToOffsetPos(i+e.length),loc:new oE(r,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipLineComment(e){let r=this.state.pos,n;this.isLookahead||(n=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!nE(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let o=this.state.pos,a={type:"CommentLine",value:this.input.slice(r+e,o),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(o),loc:new oE(n,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(a),a}skipSpace(){let e=this.state.pos,r=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){let n=this.input.charCodeAt(this.state.pos);switch(n){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let i=this.skipBlockComment("*/");i!==void 0&&(this.addComment(i),r?.push(i));break}case 47:{let i=this.skipLineComment(2);i!==void 0&&(this.addComment(i),r?.push(i));break}default:break e}break;default:if(WTt(n))++this.state.pos;else if(n===45&&!this.inModule&&this.optionFlags&8192){let i=this.state.pos;if(this.input.charCodeAt(i+1)===45&&this.input.charCodeAt(i+2)===62&&(e===0||this.state.lineStart>e)){let o=this.skipLineComment(3);o!==void 0&&(this.addComment(o),r?.push(o))}else break e}else if(n===60&&!this.inModule&&this.optionFlags&8192){let i=this.state.pos;if(this.input.charCodeAt(i+1)===33&&this.input.charCodeAt(i+2)===45&&this.input.charCodeAt(i+3)===45){let o=this.skipLineComment(4);o!==void 0&&(this.addComment(o),r?.push(o))}else break e}else break e}}if(r?.length>0){let n=this.state.pos,i={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(n),comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(i)}}finishToken(e,r){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=e,this.state.value=r,this.isLookahead||this.updateContext(n)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let e=this.state.pos+1,r=this.codePointAtPos(e);if(r>=48&&r<=57)throw this.raise(W.UnexpectedDigitAfterHash,this.state.curPosition());if(r===123||r===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(r===123?W.RecordExpressionHashIncorrectStartSyntaxType:W.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else vu(r)?(++this.state.pos,this.finishToken(139,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;let r=this.state.pos;for(this.state.pos+=1;!nE(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let n=this.input.slice(r+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(e){let r=e===42?55:54,n=1,i=this.input.charCodeAt(this.state.pos+1);e===42&&i===42&&(n++,i=this.input.charCodeAt(this.state.pos+2),r=57),i===61&&!this.state.inType&&(n++,r=e===37?33:30),this.finishOp(r,n)}readToken_pipe_amp(e){let r=this.input.charCodeAt(this.state.pos+1);if(r===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(e===124?41:42,2);return}if(e===124){if(r===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&r===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(W.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&r===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(W.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(r===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);e===61&&!this.state.inType?this.finishOp(32,2):e===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let r=this.input.charCodeAt(this.state.pos+1);if(r===e){this.finishOp(34,2);return}r===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:e}=this.state,r=this.input.charCodeAt(e+1);if(r===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(r===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:e}=this.state,r=this.input.charCodeAt(e+1);if(r===62){let n=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+n)===61){this.finishOp(30,n+1);return}this.finishOp(52,n);return}if(r===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){let r=this.input.charCodeAt(this.state.pos+1);if(r===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&r===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),r=this.input.charCodeAt(this.state.pos+2);e===63?r===61?this.finishOp(30,3):this.finishOp(40,2):e===46&&!(r>=48&&r<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(W.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(W.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let r=this.input.charCodeAt(this.state.pos+1);if(r===120||r===88){this.readRadixNumber(16);return}if(r===111||r===79){this.readRadixNumber(8);return}if(r===98||r===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(vu(e)){this.readWord(e);return}}throw this.raise(W.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,r){let n=this.input.slice(this.state.pos,this.state.pos+r);this.state.pos+=r,this.finishToken(e,n)}readRegexp(){let e=this.state.startLoc,r=this.state.start+1,n,i,{pos:o}=this.state;for(;;++o){if(o>=this.length)throw this.raise(W.UnterminatedRegExp,is(e,1));let c=this.input.charCodeAt(o);if(nE(c))throw this.raise(W.UnterminatedRegExp,is(e,1));if(n)n=!1;else{if(c===91)i=!0;else if(c===93&&i)i=!1;else if(c===47&&!i)break;n=c===92}}let s=this.input.slice(r,o);++o;let a="",A=()=>is(e,o+2-r);for(;o<this.length;){let c=this.codePointAtPos(o),u=String.fromCharCode(c);if(rNt.has(c))c===118?a.includes("u")&&this.raise(W.IncompatibleRegExpUVFlags,A()):c===117&&a.includes("v")&&this.raise(W.IncompatibleRegExpUVFlags,A()),a.includes(u)&&this.raise(W.DuplicateRegExpFlags,A());else if(jf(c)||c===92)this.raise(W.MalformedRegExpFlags,A());else break;++o,a+=u}this.state.pos=o,this.finishToken(138,{pattern:s,flags:a})}readInt(e,r,n=!1,i=!0){let{n:o,pos:s}=U_e(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,r,n,i,this.errorHandlers_readInt,!1);return this.state.pos=s,o}readRadixNumber(e){let r=this.state.pos,n=this.state.curPosition(),i=!1;this.state.pos+=2;let o=this.readInt(e);o==null&&this.raise(W.InvalidDigit,is(n,2),{radix:e});let s=this.input.charCodeAt(this.state.pos);if(s===110)++this.state.pos,i=!0;else if(s===109)throw this.raise(W.InvalidDecimal,n);if(vu(this.codePointAtPos(this.state.pos)))throw this.raise(W.NumberIdentifier,this.state.curPosition());if(i){let a=this.input.slice(r,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,a);return}this.finishToken(135,o)}readNumber(e){let r=this.state.pos,n=this.state.curPosition(),i=!1,o=!1,s=!1,a=!1;!e&&this.readInt(10)===null&&this.raise(W.InvalidNumber,this.state.curPosition());let A=this.state.pos-r>=2&&this.input.charCodeAt(r)===48;if(A){let g=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(W.StrictOctalLiteral,n),!this.state.strict){let d=g.indexOf("_");d>0&&this.raise(W.ZeroDigitNumericSeparator,is(n,d))}a=A&&!/[89]/.test(g)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!a&&(++this.state.pos,this.readInt(10),i=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!a&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(W.InvalidOrMissingExponent,n),i=!0,s=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((i||A)&&this.raise(W.InvalidBigIntLiteral,n),++this.state.pos,o=!0),c===109){this.expectPlugin("decimal",this.state.curPosition()),(s||A)&&this.raise(W.InvalidDecimal,n),++this.state.pos;var u=!0}if(vu(this.codePointAtPos(this.state.pos)))throw this.raise(W.NumberIdentifier,this.state.curPosition());let l=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(o){this.finishToken(136,l);return}if(u){this.finishToken(137,l);return}let p=a?parseInt(l,8):parseFloat(l);this.finishToken(135,p)}readCodePoint(e){let{code:r,pos:n}=O_e(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=n,r}readString(e){let{str:r,pos:n,curLine:i,lineStart:o}=D_e(e===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=o,this.state.curLine=i,this.finishToken(134,r)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:r,firstInvalidLoc:n,pos:i,curLine:o,lineStart:s}=D_e("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=i+1,this.state.lineStart=s,this.state.curLine=o,n&&(this.state.firstInvalidTemplateEscapePos=new xu(n.curLine,n.pos-n.lineStart,this.sourceToOffsetPos(n.pos))),this.input.codePointAt(i)===96?this.finishToken(24,n?null:e+r+"`"):(this.state.pos++,this.finishToken(25,n?null:e+r+"${"))}recordStrictModeErrors(e,r){let n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,r):this.state.strictErrors.set(n,[e,r])}readWord1(e){this.state.containsEsc=!1;let r="",n=this.state.pos,i=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let o=this.codePointAtPos(this.state.pos);if(jf(o))this.state.pos+=o<=65535?1:2;else if(o===92){this.state.containsEsc=!0,r+=this.input.slice(i,this.state.pos);let s=this.state.curPosition(),a=this.state.pos===n?vu:jf;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(W.MissingUnicodeEscape,this.state.curPosition()),i=this.state.pos-1;continue}++this.state.pos;let A=this.readCodePoint(!0);A!==null&&(a(A)||this.raise(W.EscapedCharNotAnIdentifier,s),r+=String.fromCodePoint(A)),i=this.state.pos}else break}return r+this.input.slice(i,this.state.pos)}readWord(e){let r=this.readWord1(e),n=k5.get(r);n!==void 0?this.finishToken(n,Pp(n)):this.finishToken(132,r)}checkKeywordEscapes(){let{type:e}=this.state;L5(e)&&this.state.containsEsc&&this.raise(W.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Pp(e)})}raise(e,r,n={}){let i=r instanceof xu?r:r.loc.start,o=e(i,n);if(!(this.optionFlags&2048))throw o;return this.isLookahead||this.state.errors.push(o),o}raiseOverwrite(e,r,n={}){let i=r instanceof xu?r:r.loc.start,o=i.index,s=this.state.errors;for(let a=s.length-1;a>=0;a--){let A=s[a];if(A.loc.index===o)return s[a]=e(i,n);if(A.loc.index<o)break}return this.raise(e,r,n)}updateContext(e){}unexpected(e,r){throw this.raise(W.UnexpectedToken,e??this.state.startLoc,{expected:r?Pp(r):null})}expectPlugin(e,r){if(this.hasPlugin(e))return!0;throw this.raise(W.MissingPlugin,r??this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(r=>this.hasPlugin(r)))throw this.raise(W.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(r,n,i)=>{this.raise(e,Fw(r,n,i))}}},y5=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Q5=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new y5)}exit(){let e=this.stack.pop(),r=this.current();for(let[n,i]of Array.from(e.undefinedPrivateNames))r?r.undefinedPrivateNames.has(n)||r.undefinedPrivateNames.set(n,i):this.parser.raise(W.InvalidPrivateFieldResolution,i,{identifierName:n})}declarePrivateName(e,r,n){let{privateNames:i,loneAccessors:o,undefinedPrivateNames:s}=this.current(),a=i.has(e);if(r&3){let A=a&&o.get(e);if(A){let c=A&4,u=r&4,l=A&3,p=r&3;a=l===p||c!==u,a||o.delete(e)}else a||o.set(e,r)}a&&this.parser.raise(W.PrivateNameRedeclaration,n,{identifierName:e}),i.add(e),s.delete(e)}usePrivateName(e,r){let n;for(n of this.stack)if(n.privateNames.has(e))return;n?n.undefinedPrivateNames.set(e,r):this.parser.raise(W.InvalidPrivateFieldResolution,r,{identifierName:e})}},sE=class{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},fM=class extends sE{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,r){let n=r.index;this.declarationErrors.set(n,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},D5=class{constructor(e){this.parser=void 0,this.stack=[new sE],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,r){let n=r.loc.start,{stack:i}=this,o=i.length-1,s=i[o];for(;!s.isCertainlyParameterDeclaration();){if(s.canBeArrowParameterDeclaration())s.recordDeclarationError(e,n);else return;s=i[--o]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,r){let{stack:n}=this,i=n[n.length-1],o=r.loc.start;if(i.isCertainlyParameterDeclaration())this.parser.raise(e,o);else if(i.canBeArrowParameterDeclaration())i.recordDeclarationError(e,o);else return}recordAsyncArrowParametersError(e){let{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)i.type===2&&i.recordDeclarationError(W.AwaitBindingIdentifier,e),i=r[--n]}validateAsPattern(){let{stack:e}=this,r=e[e.length-1];r.canBeArrowParameterDeclaration()&&r.iterateErrors(([n,i])=>{this.parser.raise(n,i);let o=e.length-2,s=e[o];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(i.index),s=e[--o]})}};function nNt(){return new sE(3)}function iNt(){return new fM(1)}function oNt(){return new fM(2)}function G_e(){return new sE}var w5=class extends B5{addExtra(e,r,n,i=!0){if(!e)return;let{extra:o}=e;o==null&&(o={},e.extra=o),i?o[r]=n:Object.defineProperty(o,r,{enumerable:i,value:n})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,r){if(this.input.startsWith(r,e)){let n=this.input.charCodeAt(e+r.length);return!(jf(n)||(n&64512)===55296)}return!1}isLookaheadContextual(e){let r=this.nextTokenStart();return this.isUnparsedContextual(r,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,r){if(!this.eatContextual(e)){if(r!=null)throw this.raise(r,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return y_e(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return y_e(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(W.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,r){this.eat(e)||this.unexpected(r,e)}tryParse(e,r=this.state.clone()){let n={node:null};try{let i=e((o=null)=>{throw n.node=o,n});if(this.state.errors.length>r.errors.length){let o=this.state;return this.state=r,this.state.tokensLength=o.tokensLength,{node:i,error:o.errors[r.errors.length],thrown:!1,aborted:!1,failState:o}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){let o=this.state;if(this.state=r,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:o};if(i===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:o};throw i}}checkExpressionErrors(e,r){if(!e)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:i,privateKeyLoc:o,optionalParametersLoc:s,voidPatternLoc:a}=e,A=!!n||!!i||!!s||!!o||!!a;if(!r)return A;n!=null&&this.raise(W.InvalidCoverInitializedName,n),i!=null&&this.raise(W.DuplicateProto,i),o!=null&&this.raise(W.UnexpectedPrivateField,o),s!=null&&this.unexpected(s),a!=null&&this.raise(W.InvalidCoverDiscardElement,a)}isLiteralPropertyName(){return R_e(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){let r=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let i=this.inModule;this.inModule=e;let o=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let a=this.prodParam;this.prodParam=new m5;let A=this.classScope;this.classScope=new Q5(this);let c=this.expressionScope;return this.expressionScope=new D5(this),()=>{this.state.labels=r,this.exportedIdentifiers=n,this.inModule=i,this.scope=o,this.prodParam=a,this.classScope=A,this.expressionScope=c}}enterInitialScopes(){let e=0;(this.inModule||this.optionFlags&1)&&(e|=2),this.optionFlags&32&&(e|=1);let r=!this.inModule&&this.options.sourceType==="commonjs";(r||this.optionFlags&2)&&(e|=4),this.prodParam.enter(e);let n=r?514:1;this.optionFlags&4&&(n|=512),this.scope.enter(n)}checkDestructuringPrivate(e){let{privateKeyLoc:r}=e;r!==null&&this.expectPlugin("destructuringPrivate",r)}},iE=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},aE=class{constructor(e,r,n){this.type="",this.start=r,this.end=0,this.loc=new oE(n),e?.optionFlags&128&&(this.range=[r,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}},b5=aE.prototype;b5.__clone=function(){let t=new aE(void 0,this.start,this.loc.start),e=Object.keys(this);for(let r=0,n=e.length;r<n;r++){let i=e[r];i!=="leadingComments"&&i!=="trailingComments"&&i!=="innerComments"&&(t[i]=this[i])}return t};var S5=class extends w5{startNode(){let e=this.state.startLoc;return new aE(this,e.index,e)}startNodeAt(e){return new aE(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,r){return this.finishNodeAt(e,r,this.state.lastTokEndLoc)}finishNodeAt(e,r,n){return e.type=r,e.end=n.index,e.loc.end=n,this.optionFlags&128&&(e.range[1]=n.index),this.optionFlags&4096&&this.processComment(e),e}resetStartLocation(e,r){e.start=r.index,e.loc.start=r,this.optionFlags&128&&(e.range[0]=r.index)}resetEndLocation(e,r=this.state.lastTokEndLoc){e.end=r.index,e.loc.end=r,this.optionFlags&128&&(e.range[1]=r.index)}resetStartLocationFromNode(e,r){this.resetStartLocation(e,r.loc.start)}castNodeTo(e,r){return e.type=r,e}cloneIdentifier(e){let{type:r,start:n,end:i,loc:o,range:s,name:a}=e,A=Object.create(b5);return A.type=r,A.start=n,A.end=i,A.loc=o,A.range=s,A.name=a,e.extra&&(A.extra=e.extra),A}cloneStringLiteral(e){let{type:r,start:n,end:i,loc:o,range:s,extra:a}=e,A=Object.create(b5);return A.type=r,A.start=n,A.end=i,A.loc=o,A.range=s,A.extra=a,A.value=e.value,A}},v5=t=>t.type==="ParenthesizedExpression"?v5(t.expression):t,x5=class extends S5{toAssignable(e,r=!1){var n,i;let o;switch((e.type==="ParenthesizedExpression"||(n=e.extra)!=null&&n.parenthesized)&&(o=v5(e),r?o.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(W.InvalidParenthesizedAssignment,e):o.type!=="CallExpression"&&o.type!=="MemberExpression"&&!this.isOptionalMemberExpression(o)&&this.raise(W.InvalidParenthesizedAssignment,e):this.raise(W.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(e,"ObjectPattern");for(let a=0,A=e.properties.length,c=A-1;a<A;a++){var s;let u=e.properties[a],l=a===c;this.toAssignableObjectExpressionProp(u,l,r),l&&u.type==="RestElement"&&(s=e.extra)!=null&&s.trailingCommaLoc&&this.raise(W.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:a,value:A}=e;this.isPrivateName(a)&&this.classScope.usePrivateName(this.getPrivateNameSV(a),a.loc.start),this.toAssignable(A,r);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(e,"ArrayPattern"),this.toAssignableList(e.elements,(i=e.extra)==null?void 0:i.trailingCommaLoc,r);break;case"AssignmentExpression":e.operator!=="="&&this.raise(W.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,"AssignmentPattern"),delete e.operator,e.left.type==="VoidPattern"&&this.raise(W.VoidPatternInitializer,e.left),this.toAssignable(e.left,r);break;case"ParenthesizedExpression":this.toAssignable(o,r);break}}toAssignableObjectExpressionProp(e,r,n){if(e.type==="ObjectMethod")this.raise(e.kind==="get"||e.kind==="set"?W.PatternHasAccessor:W.PatternHasMethod,e.key);else if(e.type==="SpreadElement"){this.castNodeTo(e,"RestElement");let i=e.argument;this.checkToRestConversion(i,!1),this.toAssignable(i,n),r||this.raise(W.RestTrailingComma,e)}else this.toAssignable(e,n)}toAssignableList(e,r,n){let i=e.length-1;for(let o=0;o<=i;o++){let s=e[o];s&&(this.toAssignableListItem(e,o,n),s.type==="RestElement"&&(o<i?this.raise(W.RestTrailingComma,s):r&&this.raise(W.RestTrailingComma,r)))}}toAssignableListItem(e,r,n){let i=e[r];if(i.type==="SpreadElement"){this.castNodeTo(i,"RestElement");let o=i.argument;this.checkToRestConversion(o,!0),this.toAssignable(o,n)}else this.toAssignable(i,n)}isAssignable(e,r){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let n=e.properties.length-1;return e.properties.every((i,o)=>i.type!=="ObjectMethod"&&(o===n||i.type!=="SpreadElement")&&this.isAssignable(i))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(n=>n===null||this.isAssignable(n));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!r;default:return!1}}toReferencedList(e,r){return e}toReferencedListDeep(e,r){this.toReferencedList(e,r);for(let n of e)n?.type==="ArrayExpression"&&this.toReferencedListDeep(n.elements)}parseSpread(e){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(r,"SpreadElement")}parseRestBinding(){let e=this.startNode();this.next();let r=this.parseBindingAtom();return r.type==="VoidPattern"&&this.raise(W.UnexpectedVoidPattern,r),e.argument=r,this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,r,n){let i=n&1,o=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),i&&this.match(12))o.push(null);else{if(this.eat(e))break;if(this.match(21)){let a=this.parseRestBinding();if((this.hasPlugin("flow")||n&2)&&(a=this.parseFunctionParamType(a)),o.push(a),!this.checkCommaAfterRest(r)){this.expect(e);break}}else{let a=[];if(n&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(W.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)a.push(this.parseDecorator());o.push(this.parseBindingElement(n,a))}}return o}parseBindingRestProperty(e){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(W.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let{type:e,startLoc:r}=this.state;if(e===21)return this.parseBindingRestProperty(this.startNode());let n=this.startNode();return e===139?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,r,!1,!1,!0,!1)}parseBindingElement(e,r){let n=this.parseMaybeDefault();return(this.hasPlugin("flow")||e&2)&&this.parseFunctionParamType(n),r.length&&(n.decorators=r,this.resetStartLocationFromNode(n,r[0])),this.parseMaybeDefault(n.loc.start,n)}parseFunctionParamType(e){return e}parseMaybeDefault(e,r){if(e??(e=this.state.startLoc),r=r??this.parseBindingAtom(),!this.eat(29))return r;let n=this.startNodeAt(e);return r.type==="VoidPattern"&&this.raise(W.VoidPatternInitializer,r),n.left=r,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(e,r,n,i){switch(e){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0;case"CallExpression":if(!r&&!this.state.strict&&this.optionFlags&8192)return!0}return!1}isOptionalMemberExpression(e){return e.type==="OptionalMemberExpression"}checkLVal(e,r,n=64,i=!1,o=!1,s=!1,a=!1){var A;let c=e.type;if(this.isObjectMethod(e))return;let u=this.isOptionalMemberExpression(e);if(u||c==="MemberExpression"){u&&(this.expectPlugin("optionalChainingAssign",e.loc.start),r.type!=="AssignmentExpression"&&this.raise(W.InvalidLhsOptionalChaining,e,{ancestor:r})),n!==64&&this.raise(W.InvalidPropertyBindingPattern,e);return}if(c==="Identifier"){this.checkIdentifier(e,n,o);let{name:C}=e;i&&(i.has(C)?this.raise(W.ParamDupe,e):i.add(C));return}else c==="VoidPattern"&&r.type==="CatchClause"&&this.raise(W.VoidPatternCatchClauseParam,e);let l=v5(e);a||(a=l.type==="CallExpression"&&(l.callee.type==="Import"||l.callee.type==="Super"));let p=this.isValidLVal(c,a,!(s||(A=e.extra)!=null&&A.parenthesized)&&r.type==="AssignmentExpression",n);if(p===!0)return;if(p===!1){let C=n===64?W.InvalidLhs:W.InvalidLhsBinding;this.raise(C,e,{ancestor:r});return}let g,d;typeof p=="string"?(g=p,d=c==="ParenthesizedExpression"):[g,d]=p;let f=c==="ArrayPattern"||c==="ObjectPattern"?{type:c}:r,h=e[g];if(Array.isArray(h))for(let C of h)C&&this.checkLVal(C,f,n,i,o,d,!0);else h&&this.checkLVal(h,f,n,i,o,d,a)}checkIdentifier(e,r,n=!1){this.state.strict&&(n?__e(e.name,this.inModule):P_e(e.name))&&(r===64?this.raise(W.StrictEvalArguments,e,{referenceName:e.name}):this.raise(W.StrictEvalArgumentsBinding,e,{bindingName:e.name})),r&8192&&e.name==="let"&&this.raise(W.LetInLexicalBinding,e),r&64||this.declareNameFromIdentifier(e,r)}declareNameFromIdentifier(e,r){this.scope.declareName(e.name,r,e.loc.start)}checkToRestConversion(e,r){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,r);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(r)break;default:this.raise(W.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?W.RestTrailingComma:W.ElementAfterRest,this.state.startLoc),!0):!1}},A5=/in(?:stanceof)?|as|satisfies/y;function sNt(t){if(t==null)throw new Error(`Unexpected ${t} value.`);return t}function w_e(t){if(!t)throw new Error("Assert fail")}var Ve=Su`typescript`({AbstractMethodHasImplementation:({methodName:t})=>`Method '${t}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:t})=>`Property '${t}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:t})=>`'declare' is not allowed in ${t}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:t})=>`Accessibility modifier already seen: '${t}'.`,DuplicateModifier:({modifier:t})=>`Duplicate modifier: '${t}'.`,EmptyHeritageClauseType:({token:t})=>`'${t}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:t})=>`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:t})=>`Index signatures cannot have an accessibility modifier ('${t}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:t})=>`'${t}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:t=>`'${t}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:t})=>`'${t}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:t})=>`'${t}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:t})=>`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:t=>`'${t}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:t})=>`'${t[0]}' modifier must precede '${t[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:t})=>`Private elements cannot have an accessibility modifier ('${t}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:t})=>`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:t})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`,UsingDeclarationInAmbientContext:t=>`'${t}' declarations are not allowed in ambient contexts.`});function aNt(t){switch(t){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function b_e(t){return t==="private"||t==="public"||t==="protected"}function ANt(t){return t==="in"||t==="out"}var cNt=t=>class extends t{constructor(...r){super(...r),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ve.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Ve.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ve.InvalidModifierOnTypeParameter})}getScopeHandler(){return f5}tsIsIdentifier(){return br(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(r,n,i){if(!br(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let o=this.state.value;if(r.includes(o)){if(i&&this.match(106)||n&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return o}}tsParseModifiers({allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:i,errorTemplate:o=Ve.InvalidModifierOnTypeMember},s){let a=(c,u,l,p)=>{u===l&&s[p]&&this.raise(Ve.InvalidModifiersOrder,c,{orderedModifiers:[l,p]})},A=(c,u,l,p)=>{(s[l]&&u===p||s[p]&&u===l)&&this.raise(Ve.IncompatibleModifiers,c,{modifiers:[l,p]})};for(;;){let{startLoc:c}=this.state,u=this.tsParseModifier(r.concat(n??[]),i,s.static);if(!u)break;b_e(u)?s.accessibility?this.raise(Ve.DuplicateAccessibilityModifier,c,{modifier:u}):(a(c,u,u,"override"),a(c,u,u,"static"),a(c,u,u,"readonly"),s.accessibility=u):ANt(u)?(s[u]&&this.raise(Ve.DuplicateModifier,c,{modifier:u}),s[u]=!0,a(c,u,"in","out")):(hasOwnProperty.call(s,u)?this.raise(Ve.DuplicateModifier,c,{modifier:u}):(a(c,u,"static","readonly"),a(c,u,"static","override"),a(c,u,"override","readonly"),a(c,u,"abstract","override"),A(c,u,"declare","override"),A(c,u,"static","abstract")),s[u]=!0),n!=null&&n.includes(u)&&this.raise(o,c,{modifier:u})}}tsIsListTerminator(r){switch(r){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(r,n){let i=[];for(;!this.tsIsListTerminator(r);)i.push(n());return i}tsParseDelimitedList(r,n,i){return sNt(this.tsParseDelimitedListWorker(r,n,!0,i))}tsParseDelimitedListWorker(r,n,i,o){let s=[],a=-1;for(;!this.tsIsListTerminator(r);){a=-1;let A=n();if(A==null)return;if(s.push(A),this.eat(12)){a=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(r))break;i&&this.expect(12);return}return o&&(o.value=a),s}tsParseBracketedList(r,n,i,o,s){o||(i?this.expect(0):this.expect(47));let a=this.tsParseDelimitedList(r,n,s);return i?this.expect(3):this.expect(48),a}tsParseImportType(){let r=this.startNode();return this.expect(83),this.expect(10),this.match(134)?r.argument=this.parseStringLiteral(this.state.value):(this.raise(Ve.UnsupportedImportTypeArgument,this.state.startLoc),r.argument=super.parseExprAtom()),this.eat(12)?r.options=this.tsParseImportTypeOptions():r.options=null,this.expect(11),this.eat(16)&&(r.qualifier=this.tsParseEntityName(3)),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSImportType")}tsParseImportTypeOptions(){let r=this.startNode();this.expect(5);let n=this.startNode();return this.isContextual(76)?(n.method=!1,n.key=this.parseIdentifier(!0),n.computed=!1,n.shorthand=!1):this.unexpected(null,76),this.expect(14),n.value=this.tsParseImportTypeWithPropertyValue(),r.properties=[this.finishObjectProperty(n)],this.eat(12),this.expect(8),this.finishNode(r,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let r=this.startNode(),n=[];for(this.expect(5);!this.match(8);){let i=this.state.type;br(i)||i===134?n.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return r.properties=n,this.next(),this.finishNode(r,"ObjectExpression")}tsParseEntityName(r){let n;if(r&1&&this.match(78))if(r&2)n=this.parseIdentifier(!0);else{let i=this.startNode();this.next(),n=this.finishNode(i,"ThisExpression")}else n=this.parseIdentifier(!!(r&1));for(;this.eat(16);){let i=this.startNodeAtNode(n);i.left=n,i.right=this.parseIdentifier(!!(r&1)),n=this.finishNode(i,"TSQualifiedName")}return n}tsParseTypeReference(){let r=this.startNode();return r.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeReference")}tsParseThisTypePredicate(r){this.next();let n=this.startNodeAtNode(r);return n.parameterName=r,n.typeAnnotation=this.tsParseTypeAnnotation(!1),n.asserts=!1,this.finishNode(n,"TSTypePredicate")}tsParseThisTypeNode(){let r=this.startNode();return this.next(),this.finishNode(r,"TSThisType")}tsParseTypeQuery(){let r=this.startNode();return this.expect(87),this.match(83)?r.exprName=this.tsParseImportType():r.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeQuery")}tsParseTypeParameter(r){let n=this.startNode();return r(n),n.name=this.tsParseTypeParameterName(),n.constraint=this.tsEatThenParseType(81),n.default=this.tsEatThenParseType(29),this.finishNode(n,"TSTypeParameter")}tsTryParseTypeParameters(r){if(this.match(47))return this.tsParseTypeParameters(r)}tsParseTypeParameters(r){let n=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let i={value:-1};return n.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,r),!1,!0,i),n.params.length===0&&this.raise(Ve.EmptyTypeParameters,n),i.value!==-1&&this.addExtra(n,"trailingComma",i.value),this.finishNode(n,"TSTypeParameterDeclaration")}tsFillSignature(r,n){let i=r===19,o="parameters",s="typeAnnotation";n.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),n[o]=this.tsParseBindingListForSignature(),i?n[s]=this.tsParseTypeOrTypePredicateAnnotation(r):this.match(r)&&(n[s]=this.tsParseTypeOrTypePredicateAnnotation(r))}tsParseBindingListForSignature(){let r=super.parseBindingList(11,41,2);for(let n of r){let{type:i}=n;(i==="AssignmentPattern"||i==="TSParameterProperty")&&this.raise(Ve.UnsupportedSignatureParameterKind,n,{type:i})}return r}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(r,n){return this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon(),this.finishNode(n,r)}tsIsUnambiguouslyIndexSignature(){return this.next(),br(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(r){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let n=this.parseIdentifier();n.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(n),this.expect(3),r.parameters=[n];let i=this.tsTryParseTypeAnnotation();return i&&(r.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSIndexSignature")}tsParsePropertyOrMethodSignature(r,n){if(this.eat(17)&&(r.optional=!0),this.match(10)||this.match(47)){n&&this.raise(Ve.ReadonlyForMethodSignature,r);let i=r;i.kind&&this.match(47)&&this.raise(Ve.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon();let o="parameters",s="typeAnnotation";if(i.kind==="get")i[o].length>0&&(this.raise(W.BadGetterArity,this.state.curPosition()),this.isThisParam(i[o][0])&&this.raise(Ve.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(i.kind==="set"){if(i[o].length!==1)this.raise(W.BadSetterArity,this.state.curPosition());else{let a=i[o][0];this.isThisParam(a)&&this.raise(Ve.AccessorCannotDeclareThisParameter,this.state.curPosition()),a.type==="Identifier"&&a.optional&&this.raise(Ve.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),a.type==="RestElement"&&this.raise(Ve.SetAccessorCannotHaveRestParameter,this.state.curPosition())}i[s]&&this.raise(Ve.SetAccessorCannotHaveReturnType,i[s])}else i.kind="method";return this.finishNode(i,"TSMethodSignature")}else{let i=r;n&&(i.readonly=!0);let o=this.tsTryParseTypeAnnotation();return o&&(i.typeAnnotation=o),this.tsParseTypeMemberSemicolon(),this.finishNode(i,"TSPropertySignature")}}tsParseTypeMember(){let r=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",r);if(this.match(77)){let i=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",r):(r.key=this.createIdentifier(i,"new"),this.tsParsePropertyOrMethodSignature(r,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},r);let n=this.tsTryParseIndexSignature(r);return n||(super.parsePropertyName(r),!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.tsTokenCanFollowModifier()&&(r.kind=r.key.name,super.parsePropertyName(r),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(r,!!r.readonly))}tsParseTypeLiteral(){let r=this.startNode();return r.members=this.tsParseObjectTypeMembers(),this.finishNode(r,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let r=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),r}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let r=this.startNode();this.expect(5),this.match(53)?(r.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(r.readonly=!0),this.expect(0);let n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsExpectThenParseType(58),r.typeParameter=this.finishNode(n,"TSTypeParameter"),r.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(r.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(r.optional=!0),r.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(r,"TSMappedType")}tsParseTupleType(){let r=this.startNode();r.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let n=!1;return r.elementTypes.forEach(i=>{let{type:o}=i;n&&o!=="TSRestType"&&o!=="TSOptionalType"&&!(o==="TSNamedTupleMember"&&i.optional)&&this.raise(Ve.OptionalTypeBeforeRequired,i),n||(n=o==="TSNamedTupleMember"&&i.optional||o==="TSOptionalType")}),this.finishNode(r,"TSTupleType")}tsParseTupleElementType(){let r=this.state.startLoc,n=this.eat(21),{startLoc:i}=this.state,o,s,a,A,u=cc(this.state.type)?this.lookaheadCharCode():null;if(u===58)o=!0,a=!1,s=this.parseIdentifier(!0),this.expect(14),A=this.tsParseType();else if(u===63){a=!0;let l=this.state.value,p=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(o=!0,s=this.createIdentifier(this.startNodeAt(i),l),this.expect(17),this.expect(14),A=this.tsParseType()):(o=!1,A=p,this.expect(17))}else A=this.tsParseType(),a=this.eat(17),o=this.eat(14);if(o){let l;s?(l=this.startNodeAt(i),l.optional=a,l.label=s,l.elementType=A,this.eat(17)&&(l.optional=!0,this.raise(Ve.TupleOptionalAfterType,this.state.lastTokStartLoc))):(l=this.startNodeAt(i),l.optional=a,this.raise(Ve.InvalidTupleMemberLabel,A),l.label=A,l.elementType=this.tsParseType()),A=this.finishNode(l,"TSNamedTupleMember")}else if(a){let l=this.startNodeAt(i);l.typeAnnotation=A,A=this.finishNode(l,"TSOptionalType")}if(n){let l=this.startNodeAt(r);l.typeAnnotation=A,A=this.finishNode(l,"TSRestType")}return A}tsParseParenthesizedType(){let r=this.startNode();return this.expect(10),r.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(r,"TSParenthesizedType")}tsParseFunctionOrConstructorType(r,n){let i=this.startNode();return r==="TSConstructorType"&&(i.abstract=!!n,n&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,i)),this.finishNode(i,r)}tsParseLiteralTypeNode(){let r=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:r.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(r,"TSLiteralType")}tsParseTemplateLiteralType(){let r=this.startNode();return r.literal=super.parseTemplate(!1),this.finishNode(r,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let r=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(r):r}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let r=this.startNode(),n=this.lookahead();return n.type!==135&&n.type!==136&&this.unexpected(),r.literal=this.parseMaybeUnary(),this.finishNode(r,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:r}=this.state;if(br(r)||r===88||r===84){let n=r===88?"TSVoidKeyword":r===84?"TSNullKeyword":aNt(this.state.value);if(n!==void 0&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,n)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:r}=this.state,n=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let i=this.startNodeAt(r);i.elementType=n,this.expect(3),n=this.finishNode(i,"TSArrayType")}else{let i=this.startNodeAt(r);i.objectType=n,i.indexType=this.tsParseType(),this.expect(3),n=this.finishNode(i,"TSIndexedAccessType")}return n}tsParseTypeOperator(){let r=this.startNode(),n=this.state.value;return this.next(),r.operator=n,r.typeAnnotation=this.tsParseTypeOperatorOrHigher(),n==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(r),this.finishNode(r,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(r){switch(r.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ve.UnexpectedReadonly,r)}}tsParseInferType(){let r=this.startNode();this.expectContextual(115);let n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),r.typeParameter=this.finishNode(n,"TSTypeParameter"),this.finishNode(r,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let r=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return r}}tsParseTypeOperatorOrHigher(){return xTt(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(r,n,i){let o=this.startNode(),s=this.eat(i),a=[];do a.push(n());while(this.eat(i));return a.length===1&&!s?a[0]:(o.types=a,this.finishNode(o,r))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(br(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:r}=this.state,n=r.length;try{return this.parseObjectLike(8,!0),r.length===n}catch{return!1}}if(this.match(0)){this.next();let{errors:r}=this.state,n=r.length;try{return super.parseBindingList(3,93,1),r.length===n}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(r){return this.tsInType(()=>{let n=this.startNode();this.expect(r);let i=this.startNode(),o=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(o&&this.match(78)){let A=this.tsParseThisTypeOrThisTypePredicate();return A.type==="TSThisType"?(i.parameterName=A,i.asserts=!0,i.typeAnnotation=null,A=this.finishNode(i,"TSTypePredicate")):(this.resetStartLocationFromNode(A,i),A.asserts=!0),n.typeAnnotation=A,this.finishNode(n,"TSTypeAnnotation")}let s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s)return o?(i.parameterName=this.parseIdentifier(),i.asserts=o,i.typeAnnotation=null,n.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,n);let a=this.tsParseTypeAnnotation(!1);return i.parameterName=s,i.typeAnnotation=a,i.asserts=o,n.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let r=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),r}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let r=this.state.containsEsc;return this.next(),!br(this.state.type)&&!this.match(78)?!1:(r&&this.raise(W.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(r=!0,n=this.startNode()){return this.tsInType(()=>{r&&this.expect(14),n.typeAnnotation=this.tsParseType()}),this.finishNode(n,"TSTypeAnnotation")}tsParseType(){w_e(this.state.inType);let r=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return r;let n=this.startNodeAtNode(r);return n.checkType=r,n.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),n.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),n.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(n,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ve.ReservedTypeAssertion,this.state.startLoc);let r=this.startNode();return r.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),r.expression=this.parseMaybeUnary(),this.finishNode(r,"TSTypeAssertion")}tsParseHeritageClause(r){let n=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",()=>{let o=this.startNode();return o.expression=this.tsParseEntityName(3),this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSExpressionWithTypeArguments")});return i.length||this.raise(Ve.EmptyHeritageClauseType,n,{token:r}),i}tsParseInterfaceDeclaration(r,n={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),n.declare&&(r.declare=!0),br(this.state.type)?(r.id=this.parseIdentifier(),this.checkIdentifier(r.id,130)):(r.id=null,this.raise(Ve.MissingInterfaceName,this.state.startLoc)),r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(r.extends=this.tsParseHeritageClause("extends"));let i=this.startNode();return i.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),r.body=this.finishNode(i,"TSInterfaceBody"),this.finishNode(r,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(r){return r.id=this.parseIdentifier(),this.checkIdentifier(r.id,2),r.typeAnnotation=this.tsInType(()=>{if(r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let n=this.startNode();return this.next(),this.finishNode(n,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(r,"TSTypeAliasDeclaration")}tsInTopLevelContext(r){if(this.curContext()!==Br.brace){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}else return r()}tsInType(r){let n=this.state.inType;this.state.inType=!0;try{return r()}finally{this.state.inType=n}}tsInDisallowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsInAllowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsEatThenParseType(r){if(this.match(r))return this.tsNextThenParseType()}tsExpectThenParseType(r){return this.tsInType(()=>(this.expect(r),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let r=this.startNode();return r.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(r.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(r,"TSEnumMember")}tsParseEnumDeclaration(r,n={}){return n.const&&(r.const=!0),n.declare&&(r.declare=!0),this.expectContextual(126),r.id=this.parseIdentifier(),this.checkIdentifier(r.id,r.const?8971:8459),this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumDeclaration")}tsParseEnumBody(){let r=this.startNode();return this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumBody")}tsParseModuleBlock(){let r=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(r.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(r,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(r,n=!1){if(r.id=this.parseIdentifier(),n||this.checkIdentifier(r.id,1024),this.eat(16)){let i=this.startNode();this.tsParseModuleOrNamespaceDeclaration(i,!0),r.body=i}else this.scope.enter(1024),this.prodParam.enter(0),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(r,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(r){return this.isContextual(112)?(r.kind="global",r.global=!0,r.id=this.parseIdentifier()):this.match(134)?(r.kind="module",r.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(r,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(r,n,i){r.isExport=i||!1,r.id=n||this.parseIdentifier(),this.checkIdentifier(r.id,4096),this.expect(29);let o=this.tsParseModuleReference();return r.importKind==="type"&&o.type!=="TSExternalModuleReference"&&this.raise(Ve.ImportAliasHasImportType,o),r.moduleReference=o,this.semicolon(),this.finishNode(r,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let r=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),r.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExternalModuleReference")}tsLookAhead(r){let n=this.state.clone(),i=r();return this.state=n,i}tsTryParseAndCatch(r){let n=this.tryParse(i=>r()||i());if(!(n.aborted||!n.node))return n.error&&(this.state=n.failState),n.node}tsTryParse(r){let n=this.state.clone(),i=r();if(i!==void 0&&i!==!1)return i;this.state=n}tsTryParseDeclare(r){if(this.isLineTerminator())return;let n=this.state.type;return this.tsInAmbientContext(()=>{switch(n){case 68:return r.declare=!0,super.parseFunctionStatement(r,!1,!1);case 80:return r.declare=!0,this.parseClass(r,!0,!1);case 126:return this.tsParseEnumDeclaration(r,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(r);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(r.declare=!0,this.parseVarStatement(r,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(r,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(Ve.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),r.declare=!0,this.parseVarStatement(r,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(Ve.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),r.declare=!0,this.next(),this.parseVarStatement(r,"await using",!0);break;case 129:{let i=this.tsParseInterfaceDeclaration(r,{declare:!0});if(i)return i}default:if(br(n))return this.tsParseDeclaration(r,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(r,n,i,o){switch(n){case 124:if(this.tsCheckLineTerminator(i)&&(this.match(80)||br(this.state.type)))return this.tsParseAbstractDeclaration(r,o);break;case 127:if(this.tsCheckLineTerminator(i)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(r);if(br(this.state.type))return r.kind="module",this.tsParseModuleOrNamespaceDeclaration(r)}break;case 128:if(this.tsCheckLineTerminator(i)&&br(this.state.type))return r.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(r);break;case 130:if(this.tsCheckLineTerminator(i)&&br(this.state.type))return this.tsParseTypeAliasDeclaration(r);break}}tsCheckLineTerminator(r){return r?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(r){if(!this.match(47))return;let n=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let i=this.tsTryParseAndCatch(()=>{let o=this.startNodeAt(r);return o.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(o),o.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),o});if(this.state.maybeInArrowParameters=n,!!i)return super.parseArrowExpression(i,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let r=this.startNode();return r.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),r.params.length===0?this.raise(Ve.EmptyTypeArguments,r):!this.state.inType&&this.curContext()===Br.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return FTt(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(r,n){let i=n.length?n[0].loc.start:this.state.startLoc,o={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},o);let s=o.accessibility,a=o.override,A=o.readonly;!(r&4)&&(s||A||a)&&this.raise(Ve.UnexpectedParameterModifier,i);let c=this.parseMaybeDefault();r&2&&this.parseFunctionParamType(c);let u=this.parseMaybeDefault(c.loc.start,c);if(s||A||a){let l=this.startNodeAt(i);return n.length&&(l.decorators=n),s&&(l.accessibility=s),A&&(l.readonly=A),a&&(l.override=a),u.type!=="Identifier"&&u.type!=="AssignmentPattern"&&this.raise(Ve.UnsupportedParameterPropertyKind,l),l.parameter=u,this.finishNode(l,"TSParameterProperty")}return n.length&&(c.decorators=n),u}isSimpleParameter(r){return r.type==="TSParameterProperty"&&super.isSimpleParameter(r.parameter)||super.isSimpleParameter(r)}tsDisallowOptionalPattern(r){for(let n of r.params)n.type!=="Identifier"&&n.optional&&!this.state.isAmbientContext&&this.raise(Ve.PatternIsOptional,n)}setArrowFunctionParameters(r,n,i){super.setArrowFunctionParameters(r,n,i),this.tsDisallowOptionalPattern(r)}parseFunctionBodyAndFinish(r,n,i=!1){this.match(14)&&(r.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let o=n==="FunctionDeclaration"?"TSDeclareFunction":n==="ClassMethod"||n==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return o&&!this.match(5)&&this.isLineTerminator()?this.finishNode(r,o):o==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Ve.DeclareFunctionHasImplementation,r),r.declare)?super.parseFunctionBodyAndFinish(r,o,i):(this.tsDisallowOptionalPattern(r),super.parseFunctionBodyAndFinish(r,n,i))}registerFunctionStatementId(r){!r.body&&r.id?this.checkIdentifier(r.id,1024):super.registerFunctionStatementId(r)}tsCheckForInvalidTypeCasts(r){r.forEach(n=>{n?.type==="TSTypeCastExpression"&&this.raise(Ve.UnexpectedTypeAnnotation,n.typeAnnotation)})}toReferencedList(r,n){return this.tsCheckForInvalidTypeCasts(r),r}parseArrayLike(r,n,i){let o=super.parseArrayLike(r,n,i);return o.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(o.elements),o}parseSubscript(r,n,i,o){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let a=this.startNodeAt(n);return a.expression=r,this.finishNode(a,"TSNonNullExpression")}let s=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(i)return o.stop=!0,r;o.optionalChainMember=s=!0,this.next()}if(this.match(47)||this.match(51)){let a,A=this.tsTryParseAndCatch(()=>{if(!i&&this.atPossibleAsyncArrow(r)){let p=this.tsTryParseGenericAsyncArrowFunction(n);if(p)return o.stop=!0,p}let c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(s&&!this.match(10)){a=this.state.curPosition();return}if(dM(this.state.type)){let p=super.parseTaggedTemplateExpression(r,n,o);return p.typeParameters=c,p}if(!i&&this.eat(10)){let p=this.startNodeAt(n);return p.callee=r,p.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(p.arguments),p.typeParameters=c,o.optionalChainMember&&(p.optional=s),this.finishCallExpression(p,o.optionalChainMember)}let u=this.state.type;if(u===48||u===52||u!==10&&u!==93&&u!==120&&Rw(u)&&!this.hasPrecedingLineBreak())return;let l=this.startNodeAt(n);return l.expression=r,l.typeParameters=c,this.finishNode(l,"TSInstantiationExpression")});if(a&&this.unexpected(a,10),A)return A.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Ve.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(A.expression=super.stopParseSubscript(r,o))),A}return super.parseSubscript(r,n,i,o)}parseNewCallee(r){var n;super.parseNewCallee(r);let{callee:i}=r;i.type==="TSInstantiationExpression"&&!((n=i.extra)!=null&&n.parenthesized)&&(r.typeParameters=i.typeParameters,r.callee=i.expression)}parseExprOp(r,n,i){let o;if(lM(58)>i&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(o=this.isContextual(120)))){let s=this.startNodeAt(n);return s.expression=r,s.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(o&&this.raise(W.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(s,o?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(s,n,i)}return super.parseExprOp(r,n,i)}checkReservedWord(r,n,i,o){this.state.isAmbientContext||super.checkReservedWord(r,n,i,o)}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(Ve.ImportReflectionHasImportType,r.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){let n=this.lookaheadCharCode();return r?n===123||n===42:n!==61}return!r&&this.isContextual(87)}applyImportPhase(r,n,i,o){super.applyImportPhase(r,n,i,o),n?r.exportKind=i==="type"?"type":"value":r.importKind=i==="type"||i==="typeof"?i:"value"}parseImport(r){if(this.match(134))return r.importKind="value",super.parseImport(r);let n;if(br(this.state.type)&&this.lookaheadCharCode()===61)return r.importKind="value",this.tsParseImportEqualsDeclaration(r);if(this.isContextual(130)){let i=this.parseMaybeImportPhase(r,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(r,i);n=super.parseImportSpecifiersAndAfter(r,i)}else n=super.parseImport(r);return n.importKind==="type"&&n.specifiers.length>1&&n.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Ve.TypeImportCannotSpecifyDefaultAndNamed,n),n}parseExport(r,n){if(this.match(83)){let i=r;this.next();let o=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?o=this.parseMaybeImportPhase(i,!1):i.importKind="value",this.tsParseImportEqualsDeclaration(i,o,!0)}else if(this.eat(29)){let i=r;return i.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(i,"TSExportAssignment")}else if(this.eatContextual(93)){let i=r;return this.expectContextual(128),i.id=this.parseIdentifier(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration")}else return super.parseExport(r,n)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let r=this.startNode();return this.next(),r.abstract=!0,this.parseClass(r,!0,!0)}if(this.match(129)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseExportDefaultExpression()}parseVarStatement(r,n,i=!1){let{isAmbientContext:o}=this.state,s=super.parseVarStatement(r,n,i||o);if(!o)return s;if(!r.declare&&(n==="using"||n==="await using"))return this.raiseOverwrite(Ve.UsingDeclarationInAmbientContext,r,n),s;for(let{id:a,init:A}of s.declarations)A&&(n==="var"||n==="let"||a.typeAnnotation?this.raise(Ve.InitializerNotAllowedInAmbientContext,A):lNt(A,this.hasPlugin("estree"))||this.raise(Ve.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,A));return s}parseStatementContent(r,n){if(!this.state.containsEsc)switch(this.state.type){case 75:{if(this.isLookaheadContextual("enum")){let i=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(i,{const:!0})}break}case 124:case 125:{if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){let i=this.state.type,o=this.startNode();this.next();let s=i===125?this.tsTryParseDeclare(o):this.tsParseAbstractDeclaration(o,n);return s?(i===125&&(s.declare=!0),s):(o.expression=this.createIdentifier(this.startNodeAt(o.loc.start),i===125?"declare":"abstract"),this.semicolon(!1),this.finishNode(o,"ExpressionStatement"))}break}case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:{if(this.lookaheadCharCode()===123){let o=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(o)}break}case 129:{let i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i;break}case 127:{if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){let i=this.startNode();return this.next(),this.tsParseDeclaration(i,127,!1,n)}break}case 128:{if(this.nextTokenIsIdentifierOnSameLine()){let i=this.startNode();return this.next(),this.tsParseDeclaration(i,128,!1,n)}break}case 130:{if(this.nextTokenIsIdentifierOnSameLine()){let i=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(i)}break}}return super.parseStatementContent(r,n)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(r,n){return n.some(i=>b_e(i)?r.accessibility===i:!!r[i])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(r,n,i){let o=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:o,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ve.InvalidModifierOnTypeParameterPositions},n);let s=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(n,o)&&this.raise(Ve.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(r,n)):this.parseClassMemberWithIsStatic(r,n,i,!!n.static)};n.declare?this.tsInAmbientContext(s):s()}parseClassMemberWithIsStatic(r,n,i,o){let s=this.tsTryParseIndexSignature(n);if(s){r.body.push(s),n.abstract&&this.raise(Ve.IndexSignatureHasAbstract,n),n.accessibility&&this.raise(Ve.IndexSignatureHasAccessibility,n,{modifier:n.accessibility}),n.declare&&this.raise(Ve.IndexSignatureHasDeclare,n),n.override&&this.raise(Ve.IndexSignatureHasOverride,n);return}!this.state.inAbstractClass&&n.abstract&&this.raise(Ve.NonAbstractClassHasAbstractMethod,n),n.override&&(i.hadSuperClass||this.raise(Ve.OverrideNotInSubClass,n)),super.parseClassMemberWithIsStatic(r,n,i,o)}parsePostMemberNameModifiers(r){this.eat(17)&&(r.optional=!0),r.readonly&&this.match(10)&&this.raise(Ve.ClassMethodHasReadonly,r),r.declare&&this.match(10)&&this.raise(Ve.ClassMethodHasDeclare,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(r,n,i){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let o=this.lookaheadCharCode();if(o===44||o===61||o===58||o===41)return this.setOptionalParametersError(i),r}return super.parseConditional(r,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 o=this.startNodeAt(n);return o.expression=r,o.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(o,"TSTypeCastExpression")}return r}parseExportDeclaration(r){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(r));let n=this.state.startLoc,i=this.eatContextual(125);if(i&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Ve.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let s=br(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(r);return s?((s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||i)&&(r.exportKind="type"),i&&s.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(s,n),s.declare=!0),s):null}parseClassId(r,n,i,o){if((!n||i)&&this.isContextual(113))return;super.parseClassId(r,n,i,r.declare?1024:8331);let s=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);s&&(r.typeParameters=s)}parseClassPropertyAnnotation(r){r.optional||(this.eat(35)?r.definite=!0:this.eat(17)&&(r.optional=!0));let n=this.tsTryParseTypeAnnotation();n&&(r.typeAnnotation=n)}parseClassProperty(r){if(this.parseClassPropertyAnnotation(r),this.state.isAmbientContext&&!(r.readonly&&!r.typeAnnotation)&&this.match(29)&&this.raise(Ve.DeclareClassFieldHasInitializer,this.state.startLoc),r.abstract&&this.match(29)){let{key:n}=r;this.raise(Ve.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:n.type==="Identifier"&&!r.computed?n.name:`[${this.input.slice(this.offsetToSourcePos(n.start),this.offsetToSourcePos(n.end))}]`})}return super.parseClassProperty(r)}parseClassPrivateProperty(r){return r.abstract&&this.raise(Ve.PrivateElementHasAbstract,r),r.accessibility&&this.raise(Ve.PrivateElementHasAccessibility,r,{modifier:r.accessibility}),this.parseClassPropertyAnnotation(r),super.parseClassPrivateProperty(r)}parseClassAccessorProperty(r){return this.parseClassPropertyAnnotation(r),r.optional&&this.raise(Ve.AccessorCannotBeOptional,r),super.parseClassAccessorProperty(r)}pushClassMethod(r,n,i,o,s,a){let A=this.tsTryParseTypeParameters(this.tsParseConstModifier);A&&s&&this.raise(Ve.ConstructorHasTypeParameters,A);let{declare:c=!1,kind:u}=n;c&&(u==="get"||u==="set")&&this.raise(Ve.DeclareAccessor,n,{kind:u}),A&&(n.typeParameters=A),super.pushClassMethod(r,n,i,o,s,a)}pushClassPrivateMethod(r,n,i,o){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(n.typeParameters=s),super.pushClassPrivateMethod(r,n,i,o)}declareClassPrivateMethodInScope(r,n){r.type!=="TSDeclareMethod"&&(r.type==="MethodDefinition"&&r.value.body==null||super.declareClassPrivateMethodInScope(r,n))}parseClassSuper(r){if(super.parseClassSuper(r),r.superClass)if(r.superClass.type==="TSInstantiationExpression"){let n=r.superClass,i=n.expression;this.takeSurroundingComments(i,i.start,i.end);let o=n.typeParameters;this.takeSurroundingComments(o,o.start,o.end),r.superClass=i,r.superTypeParameters=o}else(this.match(47)||this.match(51))&&(r.superTypeParameters=this.tsParseTypeArgumentsInExpression());this.eatContextual(113)&&(r.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(r,n,i,o,s,a,A){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(r.typeParameters=c),super.parseObjPropValue(r,n,i,o,s,a,A)}parseFunctionParams(r,n){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(r.typeParameters=i),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),r.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(r.definite=!0);let i=this.tsTryParseTypeAnnotation();i&&(r.id.typeAnnotation=i,this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){return this.match(14)&&(r.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(r,n)}parseMaybeAssign(r,n){var i,o,s,a,A;let c,u,l;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(c=this.state.clone(),u=this.tryParse(()=>super.parseMaybeAssign(r,n),c),!u.error)return u.node;let{context:d}=this.state,f=d[d.length-1];(f===Br.j_oTag||f===Br.j_expr)&&d.pop()}if(!((i=u)!=null&&i.error)&&!this.match(47))return super.parseMaybeAssign(r,n);(!c||c===this.state)&&(c=this.state.clone());let p,g=this.tryParse(d=>{var f,h;p=this.tsParseTypeParameters(this.tsParseConstModifier);let C=super.parseMaybeAssign(r,n);return(C.type!=="ArrowFunctionExpression"||(f=C.extra)!=null&&f.parenthesized)&&d(),((h=p)==null?void 0:h.params.length)!==0&&this.resetStartLocationFromNode(C,p),C.typeParameters=p,C},c);if(!g.error&&!g.aborted)return p&&this.reportReservedArrowTypeParam(p),g.node;if(!u&&(w_e(!this.hasPlugin("jsx")),l=this.tryParse(()=>super.parseMaybeAssign(r,n),c),!l.error))return l.node;if((o=u)!=null&&o.node)return this.state=u.failState,u.node;if(g.node)return this.state=g.failState,p&&this.reportReservedArrowTypeParam(p),g.node;if((s=l)!=null&&s.node)return this.state=l.failState,l.node;throw((a=u)==null?void 0:a.error)||g.error||((A=l)==null?void 0:A.error)}reportReservedArrowTypeParam(r){var n;r.params.length===1&&!r.params[0].constraint&&!((n=r.extra)!=null&&n.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ve.ReservedArrowTypeParam,r)}parseMaybeUnary(r,n){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(i=>{let o=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&i(),o});if(n.aborted)return;n.thrown||(n.error&&(this.state=n.failState),r.returnType=n.node)}return super.parseArrow(r)}parseFunctionParamType(r){this.eat(17)&&(r.optional=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.resetEndLocation(r),r}isAssignable(r,n){switch(r.type){case"TSTypeCastExpression":return this.isAssignable(r.expression,n);case"TSParameterProperty":return!0;default:return super.isAssignable(r,n)}}toAssignable(r,n=!1){switch(r.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(r,n);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":n?this.expressionScope.recordArrowParameterBindingError(Ve.UnexpectedTypeCastInParameter,r):this.raise(Ve.UnexpectedTypeCastInParameter,r),this.toAssignable(r.expression,n);break;case"AssignmentExpression":!n&&r.left.type==="TSTypeCastExpression"&&(r.left=this.typeCastToParameter(r.left));default:super.toAssignable(r,n)}}toAssignableParenthesizedExpression(r,n){switch(r.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(r.expression,n);break;default:super.toAssignable(r,n)}}checkToRestConversion(r,n){switch(r.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(r.expression,!1);break;default:super.checkToRestConversion(r,n)}}isValidLVal(r,n,i,o){switch(r){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(o!==64||!i)&&["expression",!0];default:return super.isValidLVal(r,n,i,o)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(r,n){if(this.match(47)||this.match(51)){let i=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let o=super.parseMaybeDecoratorArguments(r,n);return o.typeParameters=i,o}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(r,n)}checkCommaAfterRest(r){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===r?(this.next(),!1):super.checkCommaAfterRest(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(r,n){let i=super.parseMaybeDefault(r,n);return i.type==="AssignmentPattern"&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(Ve.TypeAnnotationAfterAssign,i.typeAnnotation),i}getTokenFromCode(r){if(this.state.inType){if(r===62){this.finishOp(48,1);return}if(r===60){this.finishOp(47,1);return}}super.getTokenFromCode(r)}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}toAssignableListItem(r,n,i){let o=r[n];o.type==="TSTypeCastExpression"&&(r[n]=this.typeCastToParameter(o)),super.toAssignableListItem(r,n,i)}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}shouldParseArrow(r){return this.match(14)?r.every(n=>this.isAssignable(n,!0)):super.shouldParseArrow(r)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(r){if(this.match(47)||this.match(51)){let n=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());n&&(r.typeParameters=n)}return super.jsxParseOpeningElementAfterName(r)}getGetterSetterExpectedParamCount(r){let n=super.getGetterSetterExpectedParamCount(r),o=this.getObjectOrClassMethodParams(r)[0];return o&&this.isThisParam(o)?n+1:n}parseCatchClauseParam(){let r=super.parseCatchClauseParam(),n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n,this.resetEndLocation(r)),r}tsInAmbientContext(r){let{isAmbientContext:n,strict:i}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return r()}finally{this.state.isAmbientContext=n,this.state.strict=i}}parseClass(r,n,i){let o=this.state.inAbstractClass;this.state.inAbstractClass=!!r.abstract;try{return super.parseClass(r,n,i)}finally{this.state.inAbstractClass=o}}tsParseAbstractDeclaration(r,n){if(this.match(80))return r.abstract=!0,this.maybeTakeDecorators(n,this.parseClass(r,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(r.abstract=!0,this.raise(Ve.NonClassMethodPropertyHasAbstractModifier,r),this.tsParseInterfaceDeclaration(r));throw this.unexpected(null,80)}parseMethod(r,n,i,o,s,a,A){let c=super.parseMethod(r,n,i,o,s,a,A);if((c.abstract||c.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?c.value:c).body){let{key:p}=c;this.raise(Ve.AbstractMethodHasImplementation,c,{methodName:p.type==="Identifier"&&!c.computed?p.name:`[${this.input.slice(this.offsetToSourcePos(p.start),this.offsetToSourcePos(p.end))}]`})}return c}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(r,n,i,o){return!n&&o?(this.parseTypeOnlyImportExportSpecifier(r,!1,i),this.finishNode(r,"ExportSpecifier")):(r.exportKind="value",super.parseExportSpecifier(r,n,i,o))}parseImportSpecifier(r,n,i,o,s){return!n&&o?(this.parseTypeOnlyImportExportSpecifier(r,!0,i),this.finishNode(r,"ImportSpecifier")):(r.importKind="value",super.parseImportSpecifier(r,n,i,o,i?4098:4096))}parseTypeOnlyImportExportSpecifier(r,n,i){let o=n?"imported":"local",s=n?"local":"exported",a=r[o],A,c=!1,u=!0,l=a.loc.start;if(this.isContextual(93)){let g=this.parseIdentifier();if(this.isContextual(93)){let d=this.parseIdentifier();cc(this.state.type)?(c=!0,a=g,A=n?this.parseIdentifier():this.parseModuleExportName(),u=!1):(A=d,u=!1)}else cc(this.state.type)?(u=!1,A=n?this.parseIdentifier():this.parseModuleExportName()):(c=!0,a=g)}else cc(this.state.type)&&(c=!0,n?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());c&&i&&this.raise(n?Ve.TypeModifierIsUsedInTypeImports:Ve.TypeModifierIsUsedInTypeExports,l),r[o]=a,r[s]=A;let p=n?"importKind":"exportKind";r[p]=c?"type":"value",u&&this.eatContextual(93)&&(r[s]=n?this.parseIdentifier():this.parseModuleExportName()),r[s]||(r[s]=this.cloneIdentifier(r[o])),n&&this.checkIdentifier(r[s],c?4098:4096)}fillOptionalPropertiesForTSESLint(r){var n,i,o,s,a,A,c,u,l,p,g,d,f,h,C,I,B,E,y,Q,S,D,b,F,v,R,O,K,M,H,$,Z,G,j,U,re,oe,le,pe,ee,Ue,He,me,Me,he,Ge,be,Je;switch(r.type){case"ExpressionStatement":(n=r.directive)!=null||(r.directive=void 0);return;case"RestElement":r.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(i=r.decorators)!=null||(r.decorators=[]),(o=r.optional)!=null||(r.optional=!1),(s=r.typeAnnotation)!=null||(r.typeAnnotation=void 0);return;case"TSParameterProperty":(a=r.accessibility)!=null||(r.accessibility=void 0),(A=r.decorators)!=null||(r.decorators=[]),(c=r.override)!=null||(r.override=!1),(u=r.readonly)!=null||(r.readonly=!1),(l=r.static)!=null||(r.static=!1);return;case"TSEmptyBodyFunctionExpression":r.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(p=r.declare)!=null||(r.declare=!1),(g=r.returnType)!=null||(r.returnType=void 0),(d=r.typeParameters)!=null||(r.typeParameters=void 0);return;case"Property":(f=r.optional)!=null||(r.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(h=r.optional)!=null||(r.optional=!1);case"TSIndexSignature":(C=r.accessibility)!=null||(r.accessibility=void 0),(I=r.readonly)!=null||(r.readonly=!1),(B=r.static)!=null||(r.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(E=r.declare)!=null||(r.declare=!1),(y=r.definite)!=null||(r.definite=!1),(Q=r.readonly)!=null||(r.readonly=!1),(S=r.typeAnnotation)!=null||(r.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":(D=r.accessibility)!=null||(r.accessibility=void 0),(b=r.decorators)!=null||(r.decorators=[]),(F=r.override)!=null||(r.override=!1),(v=r.optional)!=null||(r.optional=!1);return;case"ClassExpression":(R=r.id)!=null||(r.id=null);case"ClassDeclaration":(O=r.abstract)!=null||(r.abstract=!1),(K=r.declare)!=null||(r.declare=!1),(M=r.decorators)!=null||(r.decorators=[]),(H=r.implements)!=null||(r.implements=[]),($=r.superTypeArguments)!=null||(r.superTypeArguments=void 0),(Z=r.typeParameters)!=null||(r.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(G=r.declare)!=null||(r.declare=!1);return;case"VariableDeclarator":(j=r.definite)!=null||(r.definite=!1);return;case"TSEnumDeclaration":(U=r.const)!=null||(r.const=!1),(re=r.declare)!=null||(r.declare=!1);return;case"TSEnumMember":(oe=r.computed)!=null||(r.computed=!1);return;case"TSImportType":(le=r.qualifier)!=null||(r.qualifier=null),(pe=r.options)!=null||(r.options=null);return;case"TSInterfaceDeclaration":(ee=r.declare)!=null||(r.declare=!1),(Ue=r.extends)!=null||(r.extends=[]);return;case"TSMappedType":(He=r.optional)!=null||(r.optional=!1),(me=r.readonly)!=null||(r.readonly=void 0);return;case"TSModuleDeclaration":(Me=r.declare)!=null||(r.declare=!1),(he=r.global)!=null||(r.global=r.kind==="global");return;case"TSTypeParameter":(Ge=r.const)!=null||(r.const=!1),(be=r.in)!=null||(r.in=!1),(Je=r.out)!=null||(r.out=!1);return}}chStartsBindingIdentifierAndNotRelationalOperator(r,n){if(vu(r)){if(A5.lastIndex=n,A5.test(this.input)){let i=this.codePointAtPos(A5.lastIndex);if(!jf(i)&&i!==92)return!1}return!0}else return r===92}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){let r=this.nextTokenInLineStart(),n=this.codePointAtPos(r);return this.chStartsBindingIdentifierAndNotRelationalOperator(n,r)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){let r=this.nextTokenInLineStart(),n=this.codePointAtPos(r);return this.chStartsBindingIdentifier(n,r)||n===34||n===39}};function uNt(t){if(t.type!=="MemberExpression")return!1;let{computed:e,property:r}=t;return e&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:K_e(t.object)}function lNt(t,e){var r;let{type:n}=t;if((r=t.extra)!=null&&r.parenthesized)return!1;if(e){if(n==="Literal"){let{value:i}=t;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(n==="StringLiteral"||n==="BooleanLiteral")return!0;return!!(H_e(t,e)||gNt(t,e)||n==="TemplateLiteral"&&t.expressions.length===0||uNt(t))}function H_e(t,e){return e?t.type==="Literal"&&(typeof t.value=="number"||"bigint"in t):t.type==="NumericLiteral"||t.type==="BigIntLiteral"}function gNt(t,e){if(t.type==="UnaryExpression"){let{operator:r,argument:n}=t;if(r==="-"&&H_e(n,e))return!0}return!1}function K_e(t){return t.type==="Identifier"?!0:t.type!=="MemberExpression"||t.computed?!1:K_e(t.object)}var S_e=Su`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),pNt=t=>class extends t{parsePlaceholder(r){if(this.match(133)){let n=this.startNode();return this.next(),this.assertNoSpace(),n.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(n,r)}}finishPlaceholder(r,n){let i=r;return(!i.expectedNode||!i.type)&&(i=this.finishNode(i,"Placeholder")),i.expectedNode=n,i}getTokenFromCode(r){r===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(r)}parseExprAtom(r){return this.parsePlaceholder("Expression")||super.parseExprAtom(r)}parseIdentifier(r){return this.parsePlaceholder("Identifier")||super.parseIdentifier(r)}checkReservedWord(r,n,i,o){r!==void 0&&super.checkReservedWord(r,n,i,o)}cloneIdentifier(r){let n=super.cloneIdentifier(r);return n.type==="Placeholder"&&(n.expectedNode=r.expectedNode),n}cloneStringLiteral(r){return r.type==="Placeholder"?this.cloneIdentifier(r):super.cloneStringLiteral(r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(r,n,i,o){return r==="Placeholder"||super.isValidLVal(r,n,i,o)}toAssignable(r,n){r&&r.type==="Placeholder"&&r.expectedNode==="Expression"?r.expectedNode="Pattern":super.toAssignable(r,n)}chStartsBindingIdentifier(r,n){if(super.chStartsBindingIdentifier(r,n))return!0;let i=this.nextTokenStart();return this.input.charCodeAt(i)===37&&this.input.charCodeAt(i+1)===37}verifyBreakContinue(r,n){var i;((i=r.label)==null?void 0:i.type)!=="Placeholder"&&super.verifyBreakContinue(r,n)}parseExpressionStatement(r,n){var i;if(n.type!=="Placeholder"||(i=n.extra)!=null&&i.parenthesized)return super.parseExpressionStatement(r,n);if(this.match(14)){let s=r;return s.label=this.finishPlaceholder(n,"Identifier"),this.next(),s.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(s,"LabeledStatement")}this.semicolon();let o=r;return o.name=n.name,this.finishPlaceholder(o,"Statement")}parseBlock(r,n,i){return this.parsePlaceholder("BlockStatement")||super.parseBlock(r,n,i)}parseFunctionId(r){return this.parsePlaceholder("Identifier")||super.parseFunctionId(r)}parseClass(r,n,i){let o=n?"ClassDeclaration":"ClassExpression";this.next();let s=this.state.strict,a=this.parsePlaceholder("Identifier");if(a)if(this.match(81)||this.match(133)||this.match(5))r.id=a;else{if(i||!n)return r.id=null,r.body=this.finishPlaceholder(a,"ClassBody"),this.finishNode(r,o);throw this.raise(S_e.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(r,n,i);return super.parseClassSuper(r),r.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!r.superClass,s),this.finishNode(r,o)}parseExport(r,n){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseExport(r,n);let o=r;if(!this.isContextual(98)&&!this.match(12))return o.specifiers=[],o.source=null,o.declaration=this.finishPlaceholder(i,"Declaration"),this.finishNode(o,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let s=this.startNode();return s.exported=i,o.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(o,n)}isExportDefaultSpecifier(){if(this.match(65)){let r=this.nextTokenStart();if(this.isUnparsedContextual(r,"from")&&this.input.startsWith(Pp(133),this.nextTokenStartSince(r+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(r,n){var i;return(i=r.specifiers)!=null&&i.length?!0:super.maybeParseExportDefaultSpecifier(r,n)}checkExport(r){let{specifiers:n}=r;n!=null&&n.length&&(r.specifiers=n.filter(i=>i.exported.type==="Placeholder")),super.checkExport(r),r.specifiers=n}parseImport(r){let n=this.parsePlaceholder("Identifier");if(!n)return super.parseImport(r);if(r.specifiers=[],!this.isContextual(98)&&!this.match(12))return r.source=this.finishPlaceholder(n,"StringLiteral"),this.semicolon(),this.finishNode(r,"ImportDeclaration");let i=this.startNodeAtNode(n);return i.local=n,r.specifiers.push(this.finishNode(i,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(r)||this.parseNamedImportSpecifiers(r)),this.expectContextual(98),r.source=this.parseImportSource(),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(S_e.UnexpectedSpace,this.state.lastTokEndLoc)}},dNt=t=>class extends t{parseV8Intrinsic(){if(this.match(54)){let r=this.state.startLoc,n=this.startNode();if(this.next(),br(this.state.type)){let i=this.parseIdentifierName(),o=this.createIdentifier(n,i);if(this.castNodeTo(o,"V8IntrinsicIdentifier"),this.match(10))return o}this.unexpected(r)}}parseExprAtom(r){return this.parseV8Intrinsic()||super.parseExprAtom(r)}},v_e=["minimal","fsharp","hack","smart"],x_e=["^^","@@","^","%","#"];function fNt(t){if(t.has("decorators")){if(t.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let n=t.get("decorators").decoratorsBeforeExport;if(n!=null&&typeof n!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let i=t.get("decorators").allowCallParenthesized;if(i!=null&&typeof i!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(t.has("flow")&&t.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(t.has("placeholders")&&t.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(t.has("pipelineOperator")){var e;let n=t.get("pipelineOperator").proposal;if(!v_e.includes(n)){let i=v_e.map(o=>`"${o}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${i}.`)}if(n==="hack"){var r;if(t.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(t.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let i=t.get("pipelineOperator").topicToken;if(!x_e.includes(i)){let o=x_e.map(s=>`"${s}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${o}.`)}if(i==="#"&&((r=t.get("recordAndTuple"))==null?void 0:r.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",t.get("recordAndTuple")])}\`.`)}else if(n==="smart"&&((e=t.get("recordAndTuple"))==null?void 0:e.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",t.get("recordAndTuple")])}\`.`)}if(t.has("moduleAttributes")){if(t.has("deprecatedImportAssert")||t.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(t.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(t.has("importAssertions")&&t.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(t.has("deprecatedImportAssert")||t.has("importAttributes")&&t.get("importAttributes").deprecatedAssertSyntax&&t.set("deprecatedImportAssert",{}),t.has("recordAndTuple")){let n=t.get("recordAndTuple").syntaxType;if(n!=null){let i=["hash","bar"];if(!i.includes(n))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+i.map(o=>`'${o}'`).join(", "))}}if(t.has("asyncDoExpressions")&&!t.has("doExpressions")){let n=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw n.missingPlugins="doExpressions",n}if(t.has("optionalChainingAssign")&&t.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(t.has("discardBinding")&&t.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}var J_e={estree:ITt,jsx:zTt,flow:$Tt,typescript:cNt,v8intrinsic:dNt,placeholders:pNt},mNt=Object.keys(J_e),F5=class extends x5{checkProto(e,r,n,i){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand)return n;let o=e.key;return(o.type==="Identifier"?o.name:o.value)==="__proto__"?r?(this.raise(W.RecordNoProto,o),!0):(n&&(i?i.doubleProtoLoc===null&&(i.doubleProtoLoc=o.loc.start):this.raise(W.DuplicateProto,o)),!0):n}shouldExitDescending(e,r){return e.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(e.start)===r}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(W.ParseExpressionEmptyInput,this.state.startLoc);let e=this.parseExpression();if(!this.match(140))throw this.raise(W.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.optionFlags&256&&(e.tokens=this.tokens),e}parseExpression(e,r){return e?this.disallowInAnd(()=>this.parseExpressionBase(r)):this.allowInAnd(()=>this.parseExpressionBase(r))}parseExpressionBase(e){let r=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let i=this.startNodeAt(r);for(i.expressions=[n];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,r))}parseMaybeAssignAllowIn(e,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,r))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,r){let n=this.state.startLoc,i=this.isContextual(108);if(i&&this.prodParam.hasYield){this.next();let A=this.parseYield(n);return r&&(A=r.call(this,A,n)),A}let o;e?o=!1:(e=new iE,o=!0);let{type:s}=this.state;(s===10||br(s))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(r&&(a=r.call(this,a,n)),DTt(this.state.type)){let A=this.startNodeAt(n),c=this.state.value;if(A.operator=c,this.match(29)){this.toAssignable(a,!0),A.left=a;let u=n.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=u&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=u&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),e.voidPatternLoc!=null&&e.voidPatternLoc.index>=u&&(e.voidPatternLoc=null)}else A.left=a;return this.next(),A.right=this.parseMaybeAssign(),this.checkLVal(a,this.finishNode(A,"AssignmentExpression"),void 0,void 0,void 0,void 0,c==="||="||c==="&&="||c==="??="),A}else o&&this.checkExpressionErrors(e,!0);if(i){let{type:A}=this.state;if((this.hasPlugin("v8intrinsic")?Rw(A):Rw(A)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(W.YieldNotInGeneratorFunction,n),this.parseYield(n)}return a}parseMaybeConditional(e){let r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,n)?i:this.parseConditional(i,r,e)}parseConditional(e,r,n){if(this.eat(17)){let i=this.startNodeAt(r);return i.test=e,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,r,-1)}parseExprOp(e,r,n){if(this.isPrivateName(e)){let o=this.getPrivateNameSV(e);(n>=lM(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(W.PrivateInExpectedIn,e,{identifierName:o}),this.classScope.usePrivateName(o,e.loc.start)}let i=this.state.type;if(bTt(i)&&(this.prodParam.hasIn||!this.match(58))){let o=lM(i);if(o>n){if(i===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,r)}let s=this.startNodeAt(r);s.left=e,s.operator=this.state.value;let a=i===41||i===42,A=i===40;if(A&&(o=lM(42)),this.next(),i===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(W.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);s.right=this.parseExprOpRightExpr(i,o);let c=this.finishNode(s,a||A?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(A&&(u===41||u===42)||a&&u===40)throw this.raise(W.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,r,n)}}return e}parseExprOpRightExpr(e,r){let n=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(r))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(W.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,r),n)});default:return this.parseExprOpBaseRightExpr(e,r)}}parseExprOpBaseRightExpr(e,r){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,RTt(e)?r-1:r)}parseHackPipeBody(){var e;let{startLoc:r}=this.state,n=this.parseMaybeAssign();return gTt.has(n.type)&&!((e=n.extra)!=null&&e.parenthesized)&&this.raise(W.PipeUnparenthesizedBody,r,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(W.PipeTopicUnused,r),n}checkExponentialAfterUnary(e){this.match(57)&&this.raise(W.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,r){let n=this.state.startLoc,i=this.isContextual(96);if(i&&this.recordAwaitIfAllowed()){this.next();let A=this.parseAwait(n);return r||this.checkExponentialAfterUnary(A),A}let o=this.match(34),s=this.startNode();if(vTt(this.state.type)){s.operator=this.state.value,s.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let A=this.match(89);if(this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&A){let c=s.argument;c.type==="Identifier"?this.raise(W.StrictDelete,s):this.hasPropertyAsPrivateName(c)&&this.raise(W.DeletePrivateField,s)}if(!o)return r||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}let a=this.parseUpdate(s,o,e);if(i){let{type:A}=this.state;if((this.hasPlugin("v8intrinsic")?Rw(A):Rw(A)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(W.AwaitNotInAsyncContext,n),this.parseAwait(n)}return a}parseUpdate(e,r,n){if(r){let s=e;return this.checkLVal(s.argument,this.finishNode(s,"UpdateExpression")),e}let i=this.state.startLoc,o=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return o;for(;STt(this.state.type)&&!this.canInsertSemicolon();){let s=this.startNodeAt(i);s.operator=this.state.value,s.prefix=!1,s.argument=o,this.next(),this.checkLVal(o,o=this.finishNode(s,"UpdateExpression"))}return o}parseExprSubscripts(e){let r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,r)}parseSubscripts(e,r,n){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,r,n,i),i.maybeAsyncArrow=!1;while(!i.stop);return e}parseSubscript(e,r,n,i){let{type:o}=this.state;if(!n&&o===15)return this.parseBind(e,r,n,i);if(dM(o))return this.parseTaggedTemplateExpression(e,r,i);let s=!1;if(o===18){if(n&&(this.raise(W.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(e,i);i.optionalChainMember=s=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,r,i,s);{let a=this.eat(0);return a||s||this.eat(16)?this.parseMember(e,r,i,a,s):this.stopParseSubscript(e,i)}}stopParseSubscript(e,r){return r.stop=!0,e}parseMember(e,r,n,i,o){let s=this.startNodeAt(r);return s.object=e,s.computed=i,i?(s.property=this.parseExpression(),this.expect(3)):this.match(139)?(e.type==="Super"&&this.raise(W.SuperPrivateField,r),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),n.optionalChainMember?(s.optional=o,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")}parseBind(e,r,n,i){let o=this.startNodeAt(r);return o.object=e,this.next(),o.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(o,"BindExpression"),r,n)}parseCoverCallAndAsyncArrowHead(e,r,n,i){let o=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();let a=this.startNodeAt(r);a.callee=e;let{maybeAsyncArrow:A,optionalChainMember:c}=n;A&&(this.expressionScope.enter(oNt()),s=new iE),c&&(a.optional=i),i?a.arguments=this.parseCallExpressionArguments():a.arguments=this.parseCallExpressionArguments(e.type!=="Super",a,s);let u=this.finishCallExpression(a,c);return A&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(r),u)):(A&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=o,u}toReferencedArguments(e,r){this.toReferencedListDeep(e.arguments,r)}parseTaggedTemplateExpression(e,r,n){let i=this.startNodeAt(r);return i.tag=e,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(W.OptionalChainingNoTemplate,r),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}finishCallExpression(e,r){if(e.callee.type==="Import")if(e.arguments.length===0||e.arguments.length>2)this.raise(W.ImportCallArity,e);else for(let n of e.arguments)n.type==="SpreadElement"&&this.raise(W.ImportCallSpreadArgument,n);return this.finishNode(e,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,r,n){let i=[],o=!0,s=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(o)o=!1;else if(this.expect(12),this.match(11)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(11,!1,n,e))}return this.state.inFSharpPipelineDirectBody=s,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,r){var n;return this.resetPreviousNodeTrailingComments(r),this.expect(19),this.parseArrowExpression(e,r.arguments,!0,(n=r.extra)==null?void 0:n.trailingCommaLoc),r.innerComments&&Pw(e,r.innerComments),r.callee.trailingComments&&Pw(e,r.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let r,n=null,{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(r):this.match(10)?this.optionFlags&512?this.parseImportCall(r):this.finishNode(r,"Import"):(this.raise(W.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(r,"Import"));case 78:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let o=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(o)}case 0:return this.parseArrayLike(3,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{r=this.startNode(),this.next(),r.object=null;let o=r.callee=this.parseNoCallExpr();if(o.type==="MemberExpression")return this.finishNode(r,"BindExpression");throw this.raise(W.UnsupportedBind,o)}case 139:return this.raise(W.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let o=this.getPluginOption("pipelineOperator","proposal");if(o)return this.parseTopicReference(o);throw this.unexpected()}case 47:{let o=this.input.codePointAt(this.nextTokenStart());throw vu(o)||o===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected()}default:if(i===137)return this.parseDecimalLiteral(this.state.value);if(i===2||i===1)return this.parseArrayLike(this.state.type===2?4:3,!0);if(i===6||i===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(br(i)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let o=this.state.potentialArrowAt===this.state.start,s=this.state.containsEsc,a=this.parseIdentifier();if(!s&&a.name==="async"&&!this.canInsertSemicolon()){let{type:A}=this.state;if(A===68)return this.resetPreviousNodeTrailingComments(a),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(a));if(br(A))return o&&this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(a)):a;if(A===90)return this.resetPreviousNodeTrailingComments(a),this.parseDo(this.startNodeAtNode(a),!0)}return o&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(a),[a],!1)):a}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,r){let n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.state.type=e,this.state.value=r,this.state.pos--,this.state.end--,this.state.endLoc=is(this.state.endLoc,-1),this.parseTopicReference(n);throw this.unexpected()}parseTopicReference(e){let r=this.startNode(),n=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(r,n,e,i)}finishTopicReference(e,r,n,i){if(this.testTopicReferenceConfiguration(n,r,i))return n==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(W.PipeTopicUnbound,r),this.registerTopicReference(),this.finishNode(e,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(W.PrimaryTopicNotAllowed,r),this.registerTopicReference(),this.finishNode(e,"PipelinePrimaryTopicReference"));throw this.raise(W.PipeTopicUnconfiguredToken,r,{token:Pp(i)})}testTopicReferenceConfiguration(e,r,n){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Pp(n)}]);case"smart":return n===27;default:throw this.raise(W.PipeTopicRequiresHackPipes,r)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(gM(!0,this.prodParam.hasYield));let r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(W.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,r,!0)}parseDo(e,r){this.expectPlugin("doExpressions"),r&&this.expectPlugin("asyncDoExpressions"),e.async=r,this.next();let n=this.state.labels;return this.state.labels=[],r?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=n,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?this.optionFlags&16||this.raise(W.SuperNotAllowed,e):this.scope.allowSuper||this.optionFlags&16||this.raise(W.UnexpectedSuper,e),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(W.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),r=this.startNodeAt(is(this.state.startLoc,1)),n=this.state.value;return this.next(),e.id=this.createIdentifier(r,n),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,r,"sent")}return this.parseFunction(e)}parseMetaProperty(e,r,n){e.meta=r;let i=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==n||i)&&this.raise(W.UnsupportedMetaProperty,e.property,{target:r.name,onlyValidPropertyName:n}),this.finishNode(e,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){let r=this.isContextual(105);return this.expectPlugin(r?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),e.phase=r?"source":"defer",this.parseImportCall(e)}else{let r=this.createIdentifierAt(this.startNodeAtNode(e),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(W.ImportMetaOutsideModule,r),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,r,"meta")}}parseLiteralAtNode(e,r,n){return this.addExtra(n,"rawValue",e),this.addExtra(n,"raw",this.input.slice(this.offsetToSourcePos(n.start),this.state.end)),n.value=e,this.next(),this.finishNode(n,r)}parseLiteral(e,r){let n=this.startNode();return this.parseLiteralAtNode(e,r,n)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let r=this.startNode();return this.addExtra(r,"raw",this.input.slice(this.offsetToSourcePos(r.start),this.state.end)),r.pattern=e.pattern,r.flags=e.flags,this.next(),this.finishNode(r,"RegExpLiteral")}parseBooleanLiteral(e){let r=this.startNode();return r.value=e,this.next(),this.finishNode(r,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let r=this.state.startLoc,n;this.next(),this.expressionScope.enter(iNt());let i=this.state.maybeInArrowParameters,o=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let s=this.state.startLoc,a=[],A=new iE,c=!0,u,l;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,A.optionalParametersLoc===null?null:A.optionalParametersLoc),this.match(11)){l=this.state.startLoc;break}if(this.match(21)){let d=this.state.startLoc;if(u=this.state.startLoc,a.push(this.parseParenItem(this.parseRestBinding(),d)),!this.checkCommaAfterRest(41))break}else a.push(this.parseMaybeAssignAllowInOrVoidPattern(11,A,this.parseParenItem))}let p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=o;let g=this.startNodeAt(r);return e&&this.shouldParseArrow(a)&&(g=this.parseArrow(g))?(this.checkDestructuringPrivate(A),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(g,a,!1),g):(this.expressionScope.exit(),a.length||this.unexpected(this.state.lastTokStartLoc),l&&this.unexpected(l),u&&this.unexpected(u),this.checkExpressionErrors(A,!0),this.toReferencedListDeep(a,!0),a.length>1?(n=this.startNodeAt(s),n.expressions=a,this.finishNode(n,"SequenceExpression"),this.resetEndLocation(n,p)):n=a[0],this.wrapParenthesis(r,n))}wrapParenthesis(e,r){if(!(this.optionFlags&1024))return this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",e.index),this.takeSurroundingComments(r,e.index,this.state.lastTokEndLoc.index),r;let n=this.startNodeAt(e);return n.expression=r,this.finishNode(n,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,r){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let n=this.parseMetaProperty(e,r,"target");return this.scope.allowNewTarget||this.raise(W.UnexpectedNewTarget,n),n}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let r=this.parseExprList(11);this.toReferencedList(r),e.arguments=r}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){let r=this.match(83),n=this.parseNoCallExpr();e.callee=n,r&&(n.type==="Import"||n.type==="ImportExpression")&&this.raise(W.ImportCallNotNewExpression,n)}parseTemplateElement(e){let{start:r,startLoc:n,end:i,value:o}=this.state,s=r+1,a=this.startNodeAt(is(n,1));o===null&&(e||this.raise(W.InvalidEscapeSequenceTemplate,is(this.state.firstInvalidTemplateEscapePos,1)));let A=this.match(24),c=A?-1:-2,u=i+c;a.value={raw:this.input.slice(s,u).replace(/\r\n?/g,`
4091
4091
  `),cooked:o===null?null:o.slice(1,c)},a.tail=A,this.next();let l=this.finishNode(a,"TemplateElement");return this.resetEndLocation(l,is(this.state.lastTokEndLoc,c)),l}parseTemplate(e){let r=this.startNode(),n=this.parseTemplateElement(e),i=[n],o=[];for(;!n.tail;)o.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),i.push(n=this.parseTemplateElement(e));return r.expressions=o,r.quasis=i,this.finishNode(r,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,r,n,i){n&&this.expectPlugin("recordAndTuple");let o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=!1,a=!0,A=this.startNode();for(A.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(A);break}let u;r?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(i),s=this.checkProto(u,n,s,i)),n&&!this.isObjectProperty(u)&&u.type!=="SpreadElement"&&this.raise(W.InvalidRecordProperty,u),u.shorthand&&this.addExtra(u,"shorthand",!0),A.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=o;let c="ObjectExpression";return r?c="ObjectPattern":n&&(c="RecordExpression"),this.finishNode(A,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let r=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(W.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)r.push(this.parseDecorator());let n=this.startNode(),i=!1,o=!1,s;if(this.match(21))return r.length&&this.unexpected(),this.parseSpread();r.length&&(n.decorators=r,r=[]),n.method=!1,e&&(s=this.state.startLoc);let a=this.eat(55);this.parsePropertyNamePrefixOperator(n);let A=this.state.containsEsc;if(this.parsePropertyName(n,e),!a&&!A&&this.maybeAsyncOrAccessorProp(n)){let{key:c}=n,u=c.name;u==="async"&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(c),a=this.eat(55),this.parsePropertyName(n)),(u==="get"||u==="set")&&(o=!0,this.resetPreviousNodeTrailingComments(c),n.kind=u,this.match(55)&&(a=!0,this.raise(W.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,s,a,i,!1,o,e)}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var r;let n=this.getGetterSetterExpectedParamCount(e),i=this.getObjectOrClassMethodParams(e);i.length!==n&&this.raise(e.kind==="get"?W.BadGetterArity:W.BadSetterArity,e),e.kind==="set"&&((r=i[i.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(W.BadSetterRestParameter,e)}parseObjectMethod(e,r,n,i,o){if(o){let s=this.parseMethod(e,r,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(n||r||this.match(10))return i&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,r,n,!1,!1,"ObjectMethod")}parseObjectProperty(e,r,n,i){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,i),this.finishObjectProperty(e);if(!e.computed&&e.key.type==="Identifier"){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(r,this.cloneIdentifier(e.key));else if(this.match(29)){let o=this.state.startLoc;i!=null?i.shorthandAssignLoc===null&&(i.shorthandAssignLoc=o):this.raise(W.InvalidCoverInitializedName,o),e.value=this.parseMaybeDefault(r,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,"ObjectProperty")}parseObjPropValue(e,r,n,i,o,s,a){let A=this.parseObjectMethod(e,n,i,o,s)||this.parseObjectProperty(e,r,o,a);return A||this.unexpected(),A}parsePropertyName(e,r){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:n,value:i}=this.state,o;if(cc(n))o=this.parseIdentifier(!0);else switch(n){case 135:o=this.parseNumericLiteral(i);break;case 134:o=this.parseStringLiteral(i);break;case 136:o=this.parseBigIntLiteral(i);break;case 139:{let s=this.state.startLoc;r!=null?r.privateKeyLoc===null&&(r.privateKeyLoc=s):this.raise(W.UnexpectedPrivateField,s),o=this.parsePrivateName();break}default:if(n===137){o=this.parseDecimalLiteral(i);break}this.unexpected()}e.key=o,n!==139&&(e.computed=!1)}}initFunction(e,r){e.id=null,e.generator=!1,e.async=r}parseMethod(e,r,n,i,o,s,a=!1){this.initFunction(e,n),e.generator=r,this.scope.enter(530|(a?576:0)|(o?32:0)),this.prodParam.enter(gM(n,e.generator)),this.parseFunctionParams(e,i);let A=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),A}parseArrayLike(e,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let o=this.startNode();return this.next(),o.elements=this.parseExprList(e,!r,n,o),this.state.inFSharpPipelineDirectBody=i,this.finishNode(o,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,r,n,i){this.scope.enter(518);let o=gM(n,!1);!this.match(5)&&this.prodParam.hasIn&&(o|=8),this.prodParam.enter(o),this.initFunction(e,n);let s=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,r,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,r,n){this.toAssignableList(r,n,!1),e.params=r}parseFunctionBodyAndFinish(e,r,n=!1){return this.parseFunctionBody(e,!1,n),this.finishNode(e,r)}parseFunctionBody(e,r,n=!1){let i=r&&!this.match(5);if(this.expressionScope.enter(G_e()),i)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,r,!1);else{let o=this.state.strict,s=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),e.body=this.parseBlock(!0,!1,a=>{let A=!this.isSimpleParamList(e.params);a&&A&&this.raise(W.IllegalLanguageModeDirective,(e.kind==="method"||e.kind==="constructor")&&e.key?e.key.loc.end:e);let c=!o&&this.state.strict;this.checkParams(e,!this.state.strict&&!r&&!n&&!A,r,c),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,c)}),this.prodParam.exit(),this.state.labels=s}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let r=0,n=e.length;r<n;r++)if(!this.isSimpleParameter(e[r]))return!1;return!0}checkParams(e,r,n,i=!0){let o=!r&&new Set,s={type:"FormalParameters"};for(let a of e.params)this.checkLVal(a,s,5,o,i)}parseExprList(e,r,n,i){let o=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}o.push(this.parseExprListItem(e,r,n))}return o}parseExprListItem(e,r,n,i){let o;if(this.match(12))r||this.raise(W.UnexpectedToken,this.state.curPosition(),{unexpected:","}),o=null;else if(this.match(21)){let s=this.state.startLoc;o=this.parseParenItem(this.parseSpread(n),s)}else if(this.match(17)){this.expectPlugin("partialApplication"),i||this.raise(W.UnexpectedArgumentPlaceholder,this.state.startLoc);let s=this.startNode();this.next(),o=this.finishNode(s,"ArgumentPlaceholder")}else o=this.parseMaybeAssignAllowInOrVoidPattern(e,n,this.parseParenItem);return o}parseIdentifier(e){let r=this.startNode(),n=this.parseIdentifierName(e);return this.createIdentifier(r,n)}createIdentifier(e,r){return e.name=r,e.loc.identifierName=r,this.finishNode(e,"Identifier")}createIdentifierAt(e,r,n){return e.name=r,e.loc.identifierName=r,this.finishNodeAt(e,"Identifier",n)}parseIdentifierName(e){let r,{startLoc:n,type:i}=this.state;cc(i)?r=this.state.value:this.unexpected();let o=yTt(i);return e?o&&this.replaceToken(132):this.checkReservedWord(r,n,o,!1),this.next(),r}checkReservedWord(e,r,n,i){if(e.length>10||!GTt(e))return;if(n&&LTt(e)){this.raise(W.UnexpectedKeyword,r,{keyword:e});return}if((this.state.strict?i?__e:M_e:N_e)(e,this.inModule)){this.raise(W.UnexpectedReservedWord,r,{reservedWord:e});return}else if(e==="yield"){if(this.prodParam.hasYield){this.raise(W.YieldBindingIdentifier,r);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(W.AwaitBindingIdentifier,r);return}if(this.scope.inStaticBlock){this.raise(W.AwaitBindingIdentifierInStaticBlock,r);return}this.expressionScope.recordAsyncArrowParametersError(r)}else if(e==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(W.ArgumentsInClass,r);return}}recordAwaitIfAllowed(){let e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e){let r=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(W.AwaitExpressionFormalParameter,r),this.eat(55)&&this.raise(W.ObsoleteAwaitStar,r),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===53||e===10||e===0||dM(e)||e===102&&!this.state.containsEsc||e===138||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(e){let r=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(W.YieldInParameter,r);let n=!1,i=null;if(!this.hasPrecedingLineBreak())switch(n=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!n)break;default:i=this.parseMaybeAssign()}return r.delegate=n,r.argument=i,this.finishNode(r,"YieldExpression")}parseImportCall(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(W.ImportCallArity,e)}}return this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&e.type==="SequenceExpression"&&this.raise(W.PipelineHeadSequenceExpression,r)}parseSmartPipelineBodyInStyle(e,r){if(this.isSimpleReference(e)){let n=this.startNodeAt(r);return n.callee=e,this.finishNode(n,"PipelineBareFunction")}else{let n=this.startNodeAt(r);return this.checkSmartPipeTopicBodyEarlyErrors(r),n.expression=e,this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(W.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(W.PipelineTopicUnused,e)}withTopicBindingContext(e){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=r}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=r}}else return e()}withSoloAwaitPermittingContext(e){let r=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=r}}allowInAnd(e){let r=this.prodParam.currentFlags();if(8&~r){this.prodParam.enter(r|8);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let r=this.prodParam.currentFlags();if(8&r){this.prodParam.enter(r&-9);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,e);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let r=this.startNodeAt(this.state.endLoc);this.next();let n=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(r,8,"module")}finally{n()}return this.finishNode(e,"ModuleExpression")}parseVoidPattern(e){this.expectPlugin("discardBinding");let r=this.startNode();return e!=null&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(r,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(e,r,n){if(r!=null&&this.match(88)){let i=this.lookaheadCharCode();if(i===44||i===(e===3?93:e===8?125:41)||i===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(r))}return this.parseMaybeAssignAllowIn(r,n)}parsePropertyNamePrefixOperator(e){}},c5={kind:1},hNt={kind:2},CNt=/[\uD800-\uDFFF]/u,u5=/in(?:stanceof)?/y;function INt(t,e,r){for(let n=0;n<t.length;n++){let i=t[n],{type:o}=i;if(typeof o=="number"){if(o===139){let{loc:s,start:a,value:A,end:c}=i,u=a+1,l=is(s.start,1);t.splice(n,1,new bu({type:Yl(27),value:"#",start:a,end:u,startLoc:s.start,endLoc:l}),new bu({type:Yl(132),value:A,start:u,end:c,startLoc:l,endLoc:s.end})),n++;continue}if(dM(o)){let{loc:s,start:a,value:A,end:c}=i,u=a+1,l=is(s.start,1),p;e.charCodeAt(a-r)===96?p=new bu({type:Yl(22),value:"`",start:a,end:u,startLoc:s.start,endLoc:l}):p=new bu({type:Yl(8),value:"}",start:a,end:u,startLoc:s.start,endLoc:l});let g,d,f,h;o===24?(d=c-1,f=is(s.end,-1),g=A===null?null:A.slice(1,-1),h=new bu({type:Yl(22),value:"`",start:d,end:c,startLoc:f,endLoc:s.end})):(d=c-2,f=is(s.end,-2),g=A===null?null:A.slice(1,-2),h=new bu({type:Yl(23),value:"${",start:d,end:c,startLoc:f,endLoc:s.end})),t.splice(n,1,p,new bu({type:Yl(20),value:g,start:u,end:d,startLoc:l,endLoc:f}),h),n+=2;continue}i.type=Yl(o)}}return t}var R5=class extends F5{parseTopLevel(e,r){return e.program=this.parseProgram(r,140,this.options.sourceType==="module"?"module":"script"),e.comments=this.comments,this.optionFlags&256&&(e.tokens=INt(this.tokens,this.input,this.startIndex)),this.finishNode(e,"File")}parseProgram(e,r,n){if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[o,s]of Array.from(this.scope.undefinedExports))this.raise(W.ModuleExportUndefined,s,{localName:o});this.addExtra(e,"topLevelAwait",this.state.hasTopLevelAwait)}let i;return r===140?i=this.finishNode(e,"Program"):i=this.finishNodeAt(e,"Program",is(this.state.startLoc,-1)),i}stmtToDirective(e){let r=this.castNodeTo(e,"Directive"),n=this.castNodeTo(e.expression,"DirectiveLiteral"),i=n.value,o=this.input.slice(this.offsetToSourcePos(n.start),this.offsetToSourcePos(n.end)),s=n.value=o.slice(1,-1);return this.addExtra(n,"raw",o),this.addExtra(n,"rawValue",s),this.addExtra(n,"expressionValue",i),r.value=n,delete e.expression,r}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){return this.isContextual(107)?this.nextTokenIsIdentifierOnSameLine():!1}isForUsing(){if(!this.isContextual(107))return!1;let e=this.nextTokenInLineStart(),r=this.codePointAtPos(e);if(this.isUnparsedContextual(e,"of")){let n=this.lookaheadCharCodeSince(e+2);if(n!==61&&n!==58&&n!==59)return!1}return!!(this.chStartsBindingIdentifier(r,e)||this.isUnparsedContextual(e,"void"))}nextTokenIsIdentifierOnSameLine(){let e=this.nextTokenInLineStart(),r=this.codePointAtPos(e);return this.chStartsBindingIdentifier(r,e)}isAwaitUsing(){if(!this.isContextual(96))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);let r=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(r,e))return!0}return!1}chStartsBindingIdentifier(e,r){if(vu(e)){if(u5.lastIndex=r,u5.test(this.input)){let n=this.codePointAtPos(u5.lastIndex);if(!jf(n)&&n!==92)return!1}return!0}else return e===92}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),r=this.codePointAtPos(e);return this.chStartsBindingPattern(r)||this.chStartsBindingIdentifier(r,e)}hasInLineFollowingBindingIdentifierOrBrace(){let e=this.nextTokenInLineStart(),r=this.codePointAtPos(e);return r===123||this.chStartsBindingIdentifier(r,e)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let r=0;return this.options.annexB&&!this.state.strict&&(r|=4,e&&(r|=8)),this.parseStatementLike(r)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let r=null;return this.match(26)&&(r=this.parseDecorators(!0)),this.parseStatementContent(e,r)}parseStatementContent(e,r){let n=this.state.type,i=this.startNode(),o=!!(e&2),s=!!(e&4),a=e&1;switch(n){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(this.lookaheadCharCode()===46)break;return s||this.raise(this.state.strict?W.StrictFunction:this.options.annexB?W.SloppyFunctionAnnexB:W.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(i,!1,!o&&s);case 80:return o||this.unexpected(),this.parseClass(this.maybeTakeDecorators(r,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(this.isAwaitUsing())return this.allowsUsing()?o?this.recordAwaitIfAllowed()||this.raise(W.AwaitUsingNotInAsyncContext,i):this.raise(W.UnexpectedLexicalDeclaration,i):this.raise(W.UnexpectedUsingDeclaration,i),this.next(),this.parseVarStatement(i,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?o||this.raise(W.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(W.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(i,"using");case 100:{if(this.state.containsEsc)break;let u=this.nextTokenStart(),l=this.codePointAtPos(u);if(l!==91&&(!o&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(l,u)&&l!==123))break}case 75:o||this.raise(W.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let u=this.state.value;return this.parseVarStatement(i,u)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let u=this.lookaheadCharCode();if(u===40||u===46)break}case 82:{!(this.optionFlags&8)&&!a&&this.raise(W.UnexpectedImportExport,this.state.startLoc),this.next();let u;return n===83?u=this.parseImport(i):u=this.parseExport(i,r),this.assertModuleNodeAllowed(u),u}default:if(this.isAsyncFunction())return o||this.raise(W.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(i,!0,!o&&s)}let A=this.state.value,c=this.parseExpression();return br(n)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(i,A,c,e):this.parseExpressionStatement(i,c,r)}assertModuleNodeAllowed(e){!(this.optionFlags&8)&&!this.inModule&&this.raise(W.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(e,r,n){if(e){var i;(i=r.decorators)!=null&&i.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(W.DecoratorsBeforeAfterExport,r.decorators[0]),r.decorators.unshift(...e)):r.decorators=e,this.resetStartLocationFromNode(r,e[0]),n&&this.resetStartLocationFromNode(n,r)}return r}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let r=[];do r.push(this.parseDecorator());while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(W.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(W.UnexpectedLeadingDecorator,this.state.startLoc);return r}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let r=this.state.startLoc,n;if(this.match(10)){let i=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(i,n);let o=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(n,i),this.getPluginOption("decorators","allowCallParenthesized")===!1&&e.expression!==n&&this.raise(W.DecoratorArgumentsOutsideParentheses,o)}else{for(n=this.parseIdentifier(!1);this.eat(16);){let i=this.startNodeAt(r);i.object=n,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),i.computed=!1,n=this.finishNode(i,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(n,r)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e,r){if(this.eat(10)){let n=this.startNodeAt(r);return n.callee=e,n.arguments=this.parseCallExpressionArguments(),this.toReferencedList(n.arguments),this.finishNode(n,"CallExpression")}return e}parseBreakContinueStatement(e,r){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,r),this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,r){let n;for(n=0;n<this.state.labels.length;++n){let i=this.state.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind===1)||e.label&&r))break}if(n===this.state.labels.length){let i=r?"BreakStatement":"ContinueStatement";this.raise(W.IllegalBreakContinue,e,{type:i})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(c5),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(c5);let r=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(r=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return r!==null&&this.unexpected(r),this.parseFor(e,null);let n=this.isContextual(100);{let A=this.isAwaitUsing(),c=A||this.isForUsing(),u=n&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||u){let l=this.startNode(),p;A?(p="await using",this.recordAwaitIfAllowed()||this.raise(W.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):p=this.state.value,this.next(),this.parseVar(l,!0,p);let g=this.finishNode(l,"VariableDeclaration"),d=this.match(58);return d&&c&&this.raise(W.ForInUsing,g),(d||this.isContextual(102))&&g.declarations.length===1?this.parseForIn(e,g,r):(r!==null&&this.unexpected(r),this.parseFor(e,g))}}let i=this.isContextual(95),o=new iE,s=this.parseExpression(!0,o),a=this.isContextual(102);if(a&&(n&&this.raise(W.ForOfLet,s),r===null&&i&&s.type==="Identifier"&&this.raise(W.ForOfAsync,s)),a||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(s,!0);let A=a?"ForOfStatement":"ForInStatement";return this.checkLVal(s,{type:A}),this.parseForIn(e,s,r)}else this.checkExpressionErrors(o,!0);return r!==null&&this.unexpected(r),this.parseFor(e,s)}parseFunctionStatement(e,r,n){return this.next(),this.parseFunction(e,1|(n?2:0)|(r?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(W.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let r=e.cases=[];this.expect(5),this.state.labels.push(hNt),this.scope.enter(256);let n;for(let i;!this.match(8);)if(this.match(61)||this.match(65)){let o=this.match(61);n&&this.finishNode(n,"SwitchCase"),r.push(n=this.startNode()),n.consequent=[],this.next(),o?n.test=this.parseExpression():(i&&this.raise(W.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),i=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(W.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&e.type==="Identifier"?8:0),this.checkLVal(e,{type:"CatchClause"},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(0)),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(r,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(W.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}parseVarStatement(e,r,n=!1){return this.next(),this.parseVar(e,!1,r,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(c5),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(W.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,r,n,i){for(let s of this.state.labels)s.name===r&&this.raise(W.LabelRedeclaration,n,{labelName:r});let o=wTt(this.state.type)?1:this.match(71)?2:null;for(let s=this.state.labels.length-1;s>=0;s--){let a=this.state.labels[s];if(a.statementStart===e.start)a.statementStart=this.sourceToOffsetPos(this.state.start),a.kind=o;else break}return this.state.labels.push({name:r,kind:o,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=i&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,r,n){return e.expression=r,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,r=!0,n){let i=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(0),this.parseBlockBody(i,e,!1,8,n),r&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,r,n,i,o){let s=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(s,r?a:void 0,n,i,o)}parseBlockOrModuleBlockBody(e,r,n,i,o){let s=this.state.strict,a=!1,A=!1;for(;!this.match(i);){let c=n?this.parseModuleItem():this.parseStatementListItem();if(r&&!A){if(this.isValidDirective(c)){let u=this.stmtToDirective(c);r.push(u),!a&&u.value.value==="use strict"&&(a=!0,this.setStrict(!0));continue}A=!0,this.state.strictErrors.clear()}e.push(c)}o?.call(this,a),s||this.setStrict(!1),this.next()}parseFor(e,r){return e.init=r,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,r,n){let i=this.match(58);return this.next(),i?n!==null&&this.unexpected(n):e.await=n!==null,r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!i||!this.options.annexB||this.state.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier")&&this.raise(W.ForInOfLoopInitializer,r,{type:i?"ForInStatement":"ForOfStatement"}),r.type==="AssignmentPattern"&&this.raise(W.InvalidLhs,r,{ancestor:{type:"ForStatement"}}),e.left=r,e.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")}parseVar(e,r,n,i=!1){let o=e.declarations=[];for(e.kind=n;;){let s=this.startNode();if(this.parseVarId(s,n),s.init=this.eat(29)?r?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,s.init===null&&!i&&(s.id.type!=="Identifier"&&!(r&&(this.match(58)||this.isContextual(102)))?this.raise(W.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(n==="const"||n==="using"||n==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(W.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:n})),o.push(this.finishNode(s,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,r){let n=this.parseBindingAtom();r==="using"||r==="await using"?(n.type==="ArrayPattern"||n.type==="ObjectPattern")&&this.raise(W.UsingDeclarationHasBindingPattern,n.loc.start):n.type==="VoidPattern"&&this.raise(W.UnexpectedVoidPattern,n.loc.start),this.checkLVal(n,{type:"VariableDeclarator"},r==="var"?5:8201),e.id=n}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,r=0){let n=r&2,i=!!(r&1),o=i&&!(r&4),s=!!(r&8);this.initFunction(e,s),this.match(55)&&(n&&this.raise(W.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),i&&(e.id=this.parseFunctionId(o));let a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(gM(s,e.generator)),i||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,i?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),i&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||br(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,r){this.expect(10),this.expressionScope.enter(nNt()),e.params=this.parseBindingList(11,41,2|(r?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,r,n){this.next();let i=this.state.strict;return this.state.strict=!0,this.parseClassId(e,r,n),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,i),this.finishNode(e,r?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return e.type==="Identifier"&&e.name==="constructor"||e.type==="StringLiteral"&&e.value==="constructor"}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,r){this.classScope.enter();let n={hadConstructor:!1,hadSuperClass:e},i=[],o=this.startNode();if(o.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(W.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){i.push(this.parseDecorator());continue}let s=this.startNode();i.length&&(s.decorators=i,this.resetStartLocationFromNode(s,i[0]),i=[]),this.parseClassMember(o,s,n),s.kind==="constructor"&&s.decorators&&s.decorators.length>0&&this.raise(W.DecoratorConstructor,s)}}),this.state.strict=r,this.next(),i.length)throw this.raise(W.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(o,"ClassBody")}parseClassMemberFromModifier(e,r){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let i=r;return i.kind="method",i.computed=!1,i.key=n,i.static=!1,this.pushClassMethod(e,i,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let i=r;return i.computed=!1,i.key=n,i.static=!1,e.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(e,r,n){let i=this.isContextual(106);if(i){if(this.parseClassMemberFromModifier(e,r))return;if(this.eat(5)){this.parseClassStaticBlock(e,r);return}}this.parseClassMemberWithIsStatic(e,r,n,i)}parseClassMemberWithIsStatic(e,r,n,i){let o=r,s=r,a=r,A=r,c=r,u=o,l=o;if(r.static=i,this.parsePropertyNamePrefixOperator(r),this.eat(55)){u.kind="method";let C=this.match(139);if(this.parseClassElementName(u),this.parsePostMemberNameModifiers(u),C){this.pushClassPrivateMethod(e,s,!0,!1);return}this.isNonstaticConstructor(o)&&this.raise(W.ConstructorIsGenerator,o.key),this.pushClassMethod(e,o,!0,!1,!1,!1);return}let p=!this.state.containsEsc&&br(this.state.type),g=this.parseClassElementName(r),d=p?g.name:null,f=this.isPrivateName(g),h=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(u.kind="method",f){this.pushClassPrivateMethod(e,s,!1,!1);return}let C=this.isNonstaticConstructor(o),I=!1;C&&(o.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(W.DuplicateConstructor,g),C&&this.hasPlugin("typescript")&&r.override&&this.raise(W.OverrideOnConstructor,g),n.hadConstructor=!0,I=n.hadSuperClass),this.pushClassMethod(e,o,!1,!1,C,I)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(e,A):this.pushClassProperty(e,a);else if(d==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(g);let C=this.eat(55);l.optional&&this.unexpected(h),u.kind="method";let I=this.match(139);this.parseClassElementName(u),this.parsePostMemberNameModifiers(l),I?this.pushClassPrivateMethod(e,s,C,!0):(this.isNonstaticConstructor(o)&&this.raise(W.ConstructorIsAsync,o.key),this.pushClassMethod(e,o,C,!0,!1,!1))}else if((d==="get"||d==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(g),u.kind=d;let C=this.match(139);this.parseClassElementName(o),C?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(o)&&this.raise(W.ConstructorIsAccessor,o.key),this.pushClassMethod(e,o,!1,!1,!1,!1)),this.checkGetterSetterParams(o)}else if(d==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(g);let C=this.match(139);this.parseClassElementName(a),this.pushClassAccessorProperty(e,c,C)}else this.isLineTerminator()?f?this.pushClassPrivateProperty(e,A):this.pushClassProperty(e,a):this.unexpected()}parseClassElementName(e){let{type:r,value:n}=this.state;if((r===132||r===134)&&e.static&&n==="prototype"&&this.raise(W.StaticPrototype,this.state.startLoc),r===139){n==="constructor"&&this.raise(W.ConstructorClassPrivateField,this.state.startLoc);let i=this.parsePrivateName();return e.key=i,i}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,r){var n;this.scope.enter(720);let i=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let o=r.body=[];this.parseBlockOrModuleBlockBody(o,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,e.body.push(this.finishNode(r,"StaticBlock")),(n=r.decorators)!=null&&n.length&&this.raise(W.DecoratorStaticBlock,r)}pushClassProperty(e,r){!r.computed&&this.nameIsConstructor(r.key)&&this.raise(W.ConstructorClassField,r.key),e.body.push(this.parseClassProperty(r))}pushClassPrivateProperty(e,r){let n=this.parseClassPrivateProperty(r);e.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassAccessorProperty(e,r,n){!n&&!r.computed&&this.nameIsConstructor(r.key)&&this.raise(W.ConstructorClassField,r.key);let i=this.parseClassAccessorProperty(r);e.body.push(i),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassMethod(e,r,n,i,o,s){e.body.push(this.parseMethod(r,n,i,o,s,"ClassMethod",!0))}pushClassPrivateMethod(e,r,n,i){let o=this.parseMethod(r,n,i,!1,!1,"ClassPrivateMethod",!0);e.body.push(o);let s=o.kind==="get"?o.static?6:2:o.kind==="set"?o.static?5:1:0;this.declareClassPrivateMethodInScope(o,s)}declareClassPrivateMethodInScope(e,r){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),r,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(G_e()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,r,n,i=8331){if(br(this.state.type))e.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(e.id,i);else if(n||!r)e.id=null;else throw this.raise(W.MissingClassName,this.state.startLoc)}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,r){let n=this.parseMaybeImportPhase(e,!0),i=this.maybeParseExportDefaultSpecifier(e,n),o=!i||this.eat(12),s=o&&this.eatExportStar(e),a=s&&this.maybeParseExportNamespaceSpecifier(e),A=o&&(!a||this.eat(12)),c=i||s;if(s&&!a){if(i&&this.unexpected(),r)throw this.raise(W.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}let u=this.maybeParseExportNamedSpecifiers(e);i&&o&&!s&&!u&&this.unexpected(null,5),a&&A&&this.unexpected(null,98);let l;if(c||u){if(l=!1,r)throw this.raise(W.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else l=this.maybeParseExportDeclaration(e);if(c||u||l){var p;let g=e;if(this.checkExport(g,!0,!1,!!g.source),((p=g.declaration)==null?void 0:p.type)==="ClassDeclaration")this.maybeTakeDecorators(r,g.declaration,g);else if(r)throw this.raise(W.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(g,"ExportNamedDeclaration")}if(this.eat(65)){let g=e,d=this.parseExportDefaultExpression();if(g.declaration=d,d.type==="ClassDeclaration")this.maybeTakeDecorators(r,d,g);else if(r)throw this.raise(W.UnsupportedDecoratorExport,e);return this.checkExport(g,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(g,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,r){if(r||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",r?.loc.start);let n=r||this.parseIdentifier(!0),i=this.startNodeAtNode(n);return i.exported=n,e.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var r,n;(n=(r=e).specifiers)!=null||(r.specifiers=[]);let i=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),i.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(i,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){let r=e;r.specifiers||(r.specifiers=[]);let n=r.exportKind==="type";return r.specifiers.push(...this.parseExportSpecifiers(n)),r.source=null,this.hasPlugin("importAssertions")?r.assertions=[]:r.attributes=[],r.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(W.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(W.UnsupportedDefaultExport,this.state.startLoc);let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(br(e)){if(e===95&&!this.state.containsEsc||e===100)return!1;if((e===130||e===129)&&!this.state.containsEsc){let i=this.nextTokenStart(),o=this.input.charCodeAt(i);if(o===123||this.chStartsBindingIdentifier(o,i)&&!this.input.startsWith("from",i))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let r=this.nextTokenStart(),n=this.isUnparsedContextual(r,"from");if(this.input.charCodeAt(r)===44||br(this.state.type)&&n)return!0;if(this.match(65)&&n){let i=this.input.charCodeAt(this.nextTokenStartSince(r+4));return i===34||i===39}return!1}parseExportFrom(e,r){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):r&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return e===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(W.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()?(this.raise(W.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(W.UsingDeclarationExport,this.state.startLoc),!0):e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,r,n,i){if(r){var o;if(n){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var s;let a=e.declaration;a.type==="Identifier"&&a.name==="from"&&a.end-a.start===4&&!((s=a.extra)!=null&&s.parenthesized)&&this.raise(W.ExportDefaultFromAsIdentifier,a)}}else if((o=e.specifiers)!=null&&o.length)for(let a of e.specifiers){let{exported:A}=a,c=A.type==="Identifier"?A.name:A.value;if(this.checkDuplicateExports(a,c),!i&&a.local){let{local:u}=a;u.type!=="Identifier"?this.raise(W.ExportBindingIsString,a,{localName:u.value,exportName:c}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(e.declaration){let a=e.declaration;if(a.type==="FunctionDeclaration"||a.type==="ClassDeclaration"){let{id:A}=a;if(!A)throw new Error("Assertion failure");this.checkDuplicateExports(e,A.name)}else if(a.type==="VariableDeclaration")for(let A of a.declarations)this.checkDeclaration(A.id)}}}checkDeclaration(e){if(e.type==="Identifier")this.checkDuplicateExports(e,e.name);else if(e.type==="ObjectPattern")for(let r of e.properties)this.checkDeclaration(r);else if(e.type==="ArrayPattern")for(let r of e.elements)r&&this.checkDeclaration(r);else e.type==="ObjectProperty"?this.checkDeclaration(e.value):e.type==="RestElement"?this.checkDeclaration(e.argument):e.type==="AssignmentPattern"&&this.checkDeclaration(e.left)}checkDuplicateExports(e,r){this.exportedIdentifiers.has(r)&&(r==="default"?this.raise(W.DuplicateDefaultExport,e):this.raise(W.DuplicateExport,e,{exportName:r})),this.exportedIdentifiers.add(r)}parseExportSpecifiers(e){let r=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;let i=this.isContextual(130),o=this.match(134),s=this.startNode();s.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(s,o,e,i))}return r}parseExportSpecifier(e,r,n,i){return this.eatContextual(93)?e.exported=this.parseModuleExportName():r?e.exported=this.cloneStringLiteral(e.local):e.exported||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let e=this.parseStringLiteral(this.state.value),r=CNt.exec(e.value);return r&&this.raise(W.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:r[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return e.assertions!=null?e.assertions.some(({key:r,value:n})=>n.value==="json"&&(r.type==="Identifier"?r.name==="type":r.value==="type")):!1}checkImportReflection(e){let{specifiers:r}=e,n=r.length===1?r[0].type:null;if(e.phase==="source")n!=="ImportDefaultSpecifier"&&this.raise(W.SourcePhaseImportRequiresDefault,r[0].loc.start);else if(e.phase==="defer")n!=="ImportNamespaceSpecifier"&&this.raise(W.DeferImportRequiresNamespace,r[0].loc.start);else if(e.module){var i;n!=="ImportDefaultSpecifier"&&this.raise(W.ImportReflectionNotBinding,r[0].loc.start),((i=e.assertions)==null?void 0:i.length)>0&&this.raise(W.ImportReflectionHasAssertion,r[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!=="ExportAllDeclaration"){let{specifiers:r}=e;if(r!=null){let n=r.find(i=>{let o;if(i.type==="ExportSpecifier"?o=i.local:i.type==="ImportSpecifier"&&(o=i.imported),o!==void 0)return o.type==="Identifier"?o.name!=="default":o.value!=="default"});n!==void 0&&this.raise(W.ImportJSONBindingNotDefault,n.loc.start)}}}isPotentialImportPhase(e){return e?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(e,r,n,i){r||(n==="module"?(this.expectPlugin("importReflection",i),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),n==="source"?(this.expectPlugin("sourcePhaseImports",i),e.phase="source"):n==="defer"?(this.expectPlugin("deferredImportEvaluation",i),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,r){if(!this.isPotentialImportPhase(r))return this.applyImportPhase(e,r,null),null;let n=this.startNode(),i=this.parseIdentifierName(!0),{type:o}=this.state;return(cc(o)?o!==98||this.lookaheadCharCode()===102:o!==12)?(this.applyImportPhase(e,r,i,n.loc.start),null):(this.applyImportPhase(e,r,null),this.createIdentifier(n,i))}isPrecedingIdImportPhase(e){let{type:r}=this.state;return br(r)?r!==98||this.lookaheadCharCode()===102:r!==12}parseImport(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,r){e.specifiers=[];let i=!this.maybeParseDefaultImportSpecifier(e,r)||this.eat(12),o=i&&this.maybeParseStarImportSpecifier(e);return i&&!o&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){var r;return(r=e.specifiers)!=null||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,r,n){r.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(r,n))}finishImportSpecifier(e,r,n=8201){return this.checkLVal(e.local,{type:r},n),this.finishNode(e,r)}parseImportAttributes(){this.expect(5);let e=[],r=new Set;do{if(this.match(8))break;let n=this.startNode(),i=this.state.value;if(r.has(i)&&this.raise(W.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:i}),r.add(i),this.match(134)?n.key=this.parseStringLiteral(i):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(W.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){let e=[],r=new Set;do{let n=this.startNode();if(n.key=this.parseIdentifier(!0),n.key.name!=="type"&&this.raise(W.ModuleAttributeDifferentFromType,n.key),r.has(n.key.name)&&this.raise(W.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),r.add(n.key.name),this.expect(14),!this.match(134))throw this.raise(W.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let r;var n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(r=this.parseModuleAttributes(),this.addExtra(e,"deprecatedWithLegacySyntax",!0)):r=this.parseImportAttributes(),n=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(W.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),r=this.parseImportAttributes()):r=[];!n&&this.hasPlugin("importAssertions")?e.assertions=r:e.attributes=r}maybeParseDefaultImportSpecifier(e,r){if(r){let n=this.startNodeAtNode(r);return n.local=r,e.specifiers.push(this.finishImportSpecifier(n,"ImportDefaultSpecifier")),!0}else if(cc(this.state.type))return this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(e){if(this.match(55)){let r=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,r,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(W.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let n=this.startNode(),i=this.match(134),o=this.isContextual(130);n.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(n,i,e.importKind==="type"||e.importKind==="typeof",o,void 0);e.specifiers.push(s)}}parseImportSpecifier(e,r,n,i,o){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:s}=e;if(r)throw this.raise(W.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=this.cloneIdentifier(s))}return this.finishImportSpecifier(e,"ImportSpecifier",o)}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}},mM=class extends R5{constructor(e,r,n){let i=hTt(e);super(i,r),this.options=i,this.initializeScopes(),this.plugins=n,this.filename=i.sourceFilename,this.startIndex=i.startIndex;let o=0;i.allowAwaitOutsideFunction&&(o|=1),i.allowReturnOutsideFunction&&(o|=2),i.allowImportExportEverywhere&&(o|=8),i.allowSuperOutsideMethod&&(o|=16),i.allowUndeclaredExports&&(o|=64),i.allowNewTargetOutsideFunction&&(o|=4),i.allowYieldOutsideFunction&&(o|=32),i.ranges&&(o|=128),i.tokens&&(o|=256),i.createImportExpressions&&(o|=512),i.createParenthesizedExpressions&&(o|=1024),i.errorRecovery&&(o|=2048),i.attachComment&&(o|=4096),i.annexB&&(o|=8192),this.optionFlags=o}getScopeHandler(){return Mw}parse(){this.enterInitialScopes();let e=this.startNode(),r=this.startNode();this.nextToken(),e.errors=null;let n=this.parseTopLevel(e,r);return n.errors=this.state.errors,n.comments.length=this.state.commentsLen,n}};function ENt(t,e){var r;if(((r=e)==null?void 0:r.sourceType)==="unambiguous"){e=Object.assign({},e);try{e.sourceType="module";let n=kw(e,t),i=n.parse();if(n.sawUnambiguousESM)return i;if(n.ambiguousScriptDifferentAst)try{return e.sourceType="script",kw(e,t).parse()}catch{}else i.program.sourceType="script";return i}catch(n){try{return e.sourceType="script",kw(e,t).parse()}catch{}throw n}}else return kw(e,t).parse()}function BNt(t,e){let r=kw(e,t);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function yNt(t){let e={};for(let r of Object.keys(t))e[r]=Yl(t[r]);return e}var QNt=yNt(BTt);function kw(t,e){let r=mM,n=new Map;if(t!=null&&t.plugins){for(let i of t.plugins){let o,s;typeof i=="string"?o=i:[o,s]=i,n.has(o)||n.set(o,s||{})}fNt(n),r=DNt(n)}return new r(t,e,n)}var F_e=new Map;function DNt(t){let e=[];for(let i of mNt)t.has(i)&&e.push(i);let r=e.join("|"),n=F_e.get(r);if(!n){n=mM;for(let i of e)n=J_e[i](n);F_e.set(r,n)}return n}_w.parse=ENt;_w.parseExpression=BNt;_w.tokTypes=QNt});var z1e=N((w4r,W1e)=>{m();var uV=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],o=this.timeBuffer[r-1]-this.timeBuffer[r-n],s=i/o;this.valueBuffer=this.valueBuffer.slice(-this.etaBufferLength),this.timeBuffer=this.timeBuffer.slice(-this.etaBufferLength);let a=Math.ceil(e/s/1e3);isNaN(a)?this.eta="NULL":isFinite(a)?a>1e7?this.eta="INF":a<0?this.eta=0:this.eta=a:this.eta="INF"}};W1e.exports=uV});var gV=N((S4r,X1e)=>{m();var Xf=require("readline"),lV=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&&Xf.cursorTo(this.stream,e,r)}cursorRelative(e=null,r=null){this.stream.isTTY&&(this.dy=this.dy+r,Xf.moveCursor(this.stream,e,r))}cursorRelativeReset(){this.stream.isTTY&&(Xf.moveCursor(this.stream,0,-this.dy),Xf.cursorTo(this.stream,0,null),this.dy=0)}clearRight(){this.stream.isTTY&&Xf.clearLine(this.stream,1)}clearLine(){this.stream.isTTY&&Xf.clearLine(this.stream,0)}clearBottom(){this.stream.isTTY&&Xf.clearScreenDown(this.stream)}newline(){this.stream.write(`
4092
- `),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)}};X1e.exports=lV});var eLe=N((x4r,pV)=>{"use strict";m();var Z1e=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);pV.exports=Z1e;pV.exports.default=Z1e});var rLe=N((R4r,tLe)=>{"use strict";m();tLe.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 iLe=N((T4r,dV)=>{"use strict";m();var cPt=D8(),uPt=eLe(),lPt=rLe(),nLe=t=>{if(typeof t!="string"||t.length===0||(t=cPt(t),t.length===0))return 0;t=t.replace(lPt()," ");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+=uPt(n)?2:1)}return e};dV.exports=nLe;dV.exports.default=nLe});var fV=N((M4r,oLe)=>{m();oLe.exports=function(e,r,n){if(r.autopadding!==!0)return e;function i(o,s){return(r.autopaddingChar+o).slice(-s)}return n==="percentage"?i(e,3):e}});var mV=N((_4r,sLe)=>{m();sLe.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 hV=N((U4r,aLe)=>{m();aLe.exports=function(e,r,n){function i(s){return n?n*Math.round(s/n):s}function o(s){return(r.autopaddingChar+s).slice(-2)}return e>3600?o(Math.floor(e/3600))+"h"+o(i(e%3600/60))+"m":e>60?o(Math.floor(e/60))+"m"+o(i(e%60))+"s":e>10?o(i(e))+"s":o(e)+"s"}});var CV=N((G4r,ALe)=>{m();var gPt=iLe(),pPt=fV(),dPt=mV(),fPt=hV();ALe.exports=function(e,r,n){let i=e.format,o=e.formatTime||fPt,s=e.formatValue||pPt,a=e.formatBar||dPt,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:s(A,e,"percentage"),total:s(r.total,e,"total"),value:s(r.value,e,"value"),eta:s(r.eta,e,"eta"),eta_formatted:o(r.eta,e,5),duration:s(u,e,"duration"),duration_formatted:o(u,e,1)});i=i.replace(/\{(\w+)\}/g,function(d,f){return typeof l[f]<"u"?l[f]:d});let p=Math.max(0,r.maxWidth-gPt(i)-2),g=Math.floor(p/2);switch(e.align){case"right":i=p>0?" ".repeat(p)+i:i;break;case"center":i=g>0?" ".repeat(g)+i:i;break;default:break}return i}});var NM=N((K4r,cLe)=>{m();function Jr(t,e){return typeof t>"u"||t===null?e:t}cLe.exports={parse:function(e,r){let n={},i=Object.assign({},r,e);return n.throttleTime=1e3/Jr(i.fps,10),n.stream=Jr(i.stream,process.stderr),n.terminal=Jr(i.terminal,null),n.clearOnComplete=Jr(i.clearOnComplete,!1),n.stopOnComplete=Jr(i.stopOnComplete,!1),n.barsize=Jr(i.barsize,40),n.align=Jr(i.align,"left"),n.hideCursor=Jr(i.hideCursor,!1),n.linewrap=Jr(i.linewrap,!1),n.barGlue=Jr(i.barGlue,""),n.barCompleteChar=Jr(i.barCompleteChar,"="),n.barIncompleteChar=Jr(i.barIncompleteChar,"-"),n.format=Jr(i.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=Jr(i.formatTime,null),n.formatValue=Jr(i.formatValue,null),n.formatBar=Jr(i.formatBar,null),n.etaBufferLength=Jr(i.etaBuffer,10),n.etaAsynchronousUpdate=Jr(i.etaAsynchronousUpdate,!1),n.progressCalculationRelative=Jr(i.progressCalculationRelative,!1),n.synchronousUpdate=Jr(i.synchronousUpdate,!0),n.noTTYOutput=Jr(i.noTTYOutput,!1),n.notTTYSchedule=Jr(i.notTTYSchedule,2e3),n.emptyOnZero=Jr(i.emptyOnZero,!1),n.forceRedraw=Jr(i.forceRedraw,!1),n.autopadding=Jr(i.autopadding,!1),n.gracefulExit=Jr(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?Jr(e.autopaddingChar," "):"",e}}});var IV=N((Y4r,lLe)=>{m();var uLe=z1e(),mPt=gV(),hPt=CV(),CPt=NM(),IPt=require("events");lLe.exports=class extends IPt{constructor(e){super(),this.options=CPt.assignDerivedOptions(e),this.terminal=this.options.terminal?this.options.terminal:new mPt(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 uLe(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:hPt}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 uLe(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 pLe=N((V4r,gLe)=>{m();var EPt=IV(),BPt=NM();gLe.exports=class extends EPt{constructor(e,r){super(BPt.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 fLe=N((X4r,dLe)=>{m();var yPt=gV(),QPt=IV(),DPt=NM(),wPt=require("events");dLe.exports=class extends wPt{constructor(e,r){super(),this.bars=[],this.options=DPt.parse(e,r),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new yPt(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 o=new QPt(Object.assign({},this.options,{terminal:this.terminal},i));return this.bars.push(o),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,o.start(e,r,n),this.emit("start")),o}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 hLe=N((eJr,mLe)=>{m();mLe.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var ILe=N((rJr,CLe)=>{m();CLe.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var BLe=N((iJr,ELe)=>{m();ELe.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var QLe=N((sJr,yLe)=>{m();yLe.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var wLe=N((AJr,DLe)=>{m();var bPt=hLe(),SPt=ILe(),vPt=BLe(),xPt=QLe();DLe.exports={legacy:bPt,shades_classic:SPt,shades_grey:vPt,rect:xPt}});var vLe=N((uJr,SLe)=>{m();var bLe=pLe(),FPt=fLe(),RPt=wLe(),kPt=CV(),TPt=fV(),NPt=mV(),MPt=hV();SLe.exports={Bar:bLe,SingleBar:bLe,MultiBar:FPt,Presets:RPt,Format:{Formatter:kPt,BarFormat:NPt,ValueFormat:TPt,TimeFormat:MPt}}});var MLe=N((TJr,NLe)=>{m();NLe.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 o1t={};zl(o1t,{default:()=>i1t});module.exports=Dn(o1t);m();m();(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]="571f74c2-4b50-4bcd-816f-c1f268370925",t._sentryDebugIdIdentifier="sentry-dbid-571f74c2-4b50-4bcd-816f-c1f268370925")}catch{}})();m();vt();var mOe=require("../core/index.cjs"),hOe=require("../node/index.cjs"),COe=require("../server/index.cjs"),IOe=z(cW(),1);m();m();var iM=require("fs/promises");m();var uW=require("node:module"),Gp=z(require("node:path"),1),sP=z(require("node:fs"),1),sm;function kOe(){try{return!!process.pkg}catch{return!1}}function TOe(){if(sm!==void 0)return sm;if(kOe())return sm=null,null;try{return sm=require("prettier"),sm}catch{return sm=null,null}}function NOe(t){let e=[],r=Gp.default.dirname(t);for(;r!==Gp.default.dirname(r);){let n=Gp.default.join(r,".prettierignore");sP.default.existsSync(n)&&e.push(n);let i=Gp.default.join(r,".git");if(sP.default.existsSync(i))break;r=Gp.default.dirname(r)}return e}function aP(t){if(t)try{let r=(0,uW.createRequire)(t)("prettier");if(r)return r}catch{}return TOe()}async function Tu(t,e,r,n){try{let i=Gp.default.resolve(t,n??"file.tsx"),o=aP(i);if(!o)return e;if(n){let A=NOe(i);if((await o.getFileInfo(i,{ignorePath:A.length>0?A:void 0})).ignored)return e}let s=await o.resolveConfig(i);return await o.format(e,{...s,filepath:n,parser:r})}catch{return e}}rn();m();var kt=z(require("typescript"),1);rn();Er();var St=z(jr(),1);m();m();function mr(t,e=""){return t.ts.createSourceFile("module.tsx",typeof e=="string"?e:"",t.ts.ScriptTarget.Latest,void 0)}function BN(t,e=""){let r=mr(t,e?.trim());if(r.statements.length===0)throw new Error(`No statements found in code: ${e}`);return r.statements[0]}function Pi(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()+`
4092
+ `),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)}};X1e.exports=lV});var eLe=N((x4r,pV)=>{"use strict";m();var Z1e=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);pV.exports=Z1e;pV.exports.default=Z1e});var rLe=N((R4r,tLe)=>{"use strict";m();tLe.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 iLe=N((T4r,dV)=>{"use strict";m();var cPt=D8(),uPt=eLe(),lPt=rLe(),nLe=t=>{if(typeof t!="string"||t.length===0||(t=cPt(t),t.length===0))return 0;t=t.replace(lPt()," ");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+=uPt(n)?2:1)}return e};dV.exports=nLe;dV.exports.default=nLe});var fV=N((M4r,oLe)=>{m();oLe.exports=function(e,r,n){if(r.autopadding!==!0)return e;function i(o,s){return(r.autopaddingChar+o).slice(-s)}return n==="percentage"?i(e,3):e}});var mV=N((_4r,sLe)=>{m();sLe.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 hV=N((U4r,aLe)=>{m();aLe.exports=function(e,r,n){function i(s){return n?n*Math.round(s/n):s}function o(s){return(r.autopaddingChar+s).slice(-2)}return e>3600?o(Math.floor(e/3600))+"h"+o(i(e%3600/60))+"m":e>60?o(Math.floor(e/60))+"m"+o(i(e%60))+"s":e>10?o(i(e))+"s":o(e)+"s"}});var CV=N((G4r,ALe)=>{m();var gPt=iLe(),pPt=fV(),dPt=mV(),fPt=hV();ALe.exports=function(e,r,n){let i=e.format,o=e.formatTime||fPt,s=e.formatValue||pPt,a=e.formatBar||dPt,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:s(A,e,"percentage"),total:s(r.total,e,"total"),value:s(r.value,e,"value"),eta:s(r.eta,e,"eta"),eta_formatted:o(r.eta,e,5),duration:s(u,e,"duration"),duration_formatted:o(u,e,1)});i=i.replace(/\{(\w+)\}/g,function(d,f){return typeof l[f]<"u"?l[f]:d});let p=Math.max(0,r.maxWidth-gPt(i)-2),g=Math.floor(p/2);switch(e.align){case"right":i=p>0?" ".repeat(p)+i:i;break;case"center":i=g>0?" ".repeat(g)+i:i;break;default:break}return i}});var NM=N((K4r,cLe)=>{m();function Jr(t,e){return typeof t>"u"||t===null?e:t}cLe.exports={parse:function(e,r){let n={},i=Object.assign({},r,e);return n.throttleTime=1e3/Jr(i.fps,10),n.stream=Jr(i.stream,process.stderr),n.terminal=Jr(i.terminal,null),n.clearOnComplete=Jr(i.clearOnComplete,!1),n.stopOnComplete=Jr(i.stopOnComplete,!1),n.barsize=Jr(i.barsize,40),n.align=Jr(i.align,"left"),n.hideCursor=Jr(i.hideCursor,!1),n.linewrap=Jr(i.linewrap,!1),n.barGlue=Jr(i.barGlue,""),n.barCompleteChar=Jr(i.barCompleteChar,"="),n.barIncompleteChar=Jr(i.barIncompleteChar,"-"),n.format=Jr(i.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=Jr(i.formatTime,null),n.formatValue=Jr(i.formatValue,null),n.formatBar=Jr(i.formatBar,null),n.etaBufferLength=Jr(i.etaBuffer,10),n.etaAsynchronousUpdate=Jr(i.etaAsynchronousUpdate,!1),n.progressCalculationRelative=Jr(i.progressCalculationRelative,!1),n.synchronousUpdate=Jr(i.synchronousUpdate,!0),n.noTTYOutput=Jr(i.noTTYOutput,!1),n.notTTYSchedule=Jr(i.notTTYSchedule,2e3),n.emptyOnZero=Jr(i.emptyOnZero,!1),n.forceRedraw=Jr(i.forceRedraw,!1),n.autopadding=Jr(i.autopadding,!1),n.gracefulExit=Jr(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?Jr(e.autopaddingChar," "):"",e}}});var IV=N((Y4r,lLe)=>{m();var uLe=z1e(),mPt=gV(),hPt=CV(),CPt=NM(),IPt=require("events");lLe.exports=class extends IPt{constructor(e){super(),this.options=CPt.assignDerivedOptions(e),this.terminal=this.options.terminal?this.options.terminal:new mPt(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 uLe(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:hPt}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 uLe(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 pLe=N((V4r,gLe)=>{m();var EPt=IV(),BPt=NM();gLe.exports=class extends EPt{constructor(e,r){super(BPt.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 fLe=N((X4r,dLe)=>{m();var yPt=gV(),QPt=IV(),DPt=NM(),wPt=require("events");dLe.exports=class extends wPt{constructor(e,r){super(),this.bars=[],this.options=DPt.parse(e,r),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new yPt(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 o=new QPt(Object.assign({},this.options,{terminal:this.terminal},i));return this.bars.push(o),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,o.start(e,r,n),this.emit("start")),o}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 hLe=N((eJr,mLe)=>{m();mLe.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var ILe=N((rJr,CLe)=>{m();CLe.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var BLe=N((iJr,ELe)=>{m();ELe.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var QLe=N((sJr,yLe)=>{m();yLe.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var wLe=N((AJr,DLe)=>{m();var bPt=hLe(),SPt=ILe(),vPt=BLe(),xPt=QLe();DLe.exports={legacy:bPt,shades_classic:SPt,shades_grey:vPt,rect:xPt}});var vLe=N((uJr,SLe)=>{m();var bLe=pLe(),FPt=fLe(),RPt=wLe(),kPt=CV(),TPt=fV(),NPt=mV(),MPt=hV();SLe.exports={Bar:bLe,SingleBar:bLe,MultiBar:FPt,Presets:RPt,Format:{Formatter:kPt,BarFormat:NPt,ValueFormat:TPt,TimeFormat:MPt}}});var MLe=N((TJr,NLe)=>{m();NLe.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 o1t={};zl(o1t,{default:()=>i1t});module.exports=Dn(o1t);m();m();(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]="d755506b-169d-416c-a8d7-fd4deba4bccc",t._sentryDebugIdIdentifier="sentry-dbid-d755506b-169d-416c-a8d7-fd4deba4bccc")}catch{}})();m();vt();var mOe=require("../core/index.cjs"),hOe=require("../node/index.cjs"),COe=require("../server/index.cjs"),IOe=z(cW(),1);m();m();var iM=require("fs/promises");m();var uW=require("node:module"),Gp=z(require("node:path"),1),sP=z(require("node:fs"),1),sm;function kOe(){try{return!!process.pkg}catch{return!1}}function TOe(){if(sm!==void 0)return sm;if(kOe())return sm=null,null;try{return sm=require("prettier"),sm}catch{return sm=null,null}}function NOe(t){let e=[],r=Gp.default.dirname(t);for(;r!==Gp.default.dirname(r);){let n=Gp.default.join(r,".prettierignore");sP.default.existsSync(n)&&e.push(n);let i=Gp.default.join(r,".git");if(sP.default.existsSync(i))break;r=Gp.default.dirname(r)}return e}function aP(t){if(t)try{let r=(0,uW.createRequire)(t)("prettier");if(r)return r}catch{}return TOe()}async function Tu(t,e,r,n){try{let i=Gp.default.resolve(t,n??"file.tsx"),o=aP(i);if(!o)return e;if(n){let A=NOe(i);if((await o.getFileInfo(i,{ignorePath:A.length>0?A:void 0})).ignored)return e}let s=await o.resolveConfig(i);return await o.format(e,{...s,filepath:n,parser:r})}catch{return e}}rn();m();var kt=z(require("typescript"),1);rn();Er();var St=z(jr(),1);m();m();function mr(t,e=""){return t.ts.createSourceFile("module.tsx",typeof e=="string"?e:"",t.ts.ScriptTarget.Latest,void 0)}function BN(t,e=""){let r=mr(t,e?.trim());if(r.statements.length===0)throw new Error(`No statements found in code: ${e}`);return r.statements[0]}function Pi(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()+`
4093
4093
  `:n.printNode(t.ts.EmitHint.Unspecified,e,t.ts.createSourceFile("module.tsx","",t.ts.ScriptTarget.Latest)).trim()+`
4094
4094
  `}return""}Gt();Bo();async function mi(t,e,r){if(!Array.isArray(e)||e.length===0)throw new Error(`createTsProgram() Invalid filePaths: ${e}`);let n=await Yre(t,e[0]),i=t.join(n,"typescript","lib"),o=new Map,s={fileExists:a=>{if(a=t.normalize(a),a.includes("node_modules")){let A=nw.get(a);if(!A){try{t.statSync(a).isFile()?A={exists:!0,content:t.readFileSync(a)}:A={exists:!1}}catch{A={exists:!1}}nw.set(a,A)}return A.exists}if(!o.has(a))if(t.existsSync(a)){let c=t.statSync(a);o.set(a,c.isFile())}else o.set(a,!1);return o.get(a)},getCanonicalFileName:a=>t.normalize(a),getCurrentDirectory:()=>t.cwd(),getDefaultLibFileName:()=>t.join(i,"lib.d.ts"),getDefaultLibLocation:()=>i,getNewLine:()=>`
4095
4095
  `,getSourceFile:a=>{if(a=t.normalize(a),a.includes("node_modules")){let c=nw.get(a);if(c)return mr(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=Uke.get(c),A==null&&typeof self<"u"&&typeof fetch=="function"))throw new QN(c)}return a.includes("node_modules")&&(A?nw.set(a,{exists:!0,content:A}):nw.set(a,{exists:!1})),mr(t,A)},readFile:a=>{let A=t.readFileSync(a);return typeof A=="string"?A:void 0},useCaseSensitiveFileNames:()=>!1,writeFile:()=>{}};for(;;)try{return oSt(t,s,e,r)}catch(a){if(a instanceof QN){await sSt(t,a.libName);continue}throw t.Sentry?.captureException(a),new Error(`createTsProgram() Could not create program for: ${e[0]}`,{cause:a})}}function oSt(t,e,r,n){let i={rootNames:[...r],host:e,options:{}},o=t.ts.findConfigFile(t.dirname(r[0]),s=>t.existsSync(s));if(o){let s=Lke.get(o);if(!s){let a=t.ts.readConfigFile(o,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:o}}):(s=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(o),void 0,o).options,Lke.set(o,s))}s&&(i.options=Ks(s))}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 NI(t,e,r){r||(r=await mi(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}}var QN=class{libName;constructor(e){this.libName=e}};async function sSt(t,e){let r=`https://cdn.jsdelivr.net/npm/typescript@${t.ts.version}/lib/${e}`;yN.has(e)||yN.set(e,fetch(r).then(n=>n.text()).then(n=>{Uke.set(e,n)})),await yN.get(e),yN.delete(e)}var Uke=new Map,yN=new Map,nw=new Map,Lke=new Map;async function Oke(t,e){let r=await t.readFile(e.filePath);return r==null?{diagnostics:[{messageText:`Error reading: ${e.filePath}`}],code:null,output:null}:_6(t,{code:r,filePath:e.filePath,compilerOptions:e.compilerOptions})}function _6(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}m();Ln();m();hd();m();m();async function cA(t){let e=Gke(t),r=await t.readFile(e);return typeof r=="string"?JSON.parse(r):{}}async function uA(t,e){e=typeof e=="object"&&e!=null?e:{};let r=Gke(t);await t.writeFile(r,JSON.stringify(e??{},null,2))}function Gke(t){let e=t.getAppRootDir();return t.join(e,"node_modules",".builder","builder-cache.json")}m();m();async function lu(t,e,r){let n={envKey:r,envValue:null,file:""};for(let i of e){let o=t.join(t.getAppRootDir(),i),s=await aSt(t,o);if(s){let a=s[r];if(typeof a=="string"&&a.length>0&&a!=="YOUR_API_KEY")return n.envValue=a,n.file=o,n}}return n.file=t.join(t.getAppRootDir(),e[e.length-1]),n}async function aSt(t,e){let r=await t.readFile(e);return typeof r=="string"?Hke(r):null}function Hke(t){let e={},r=t.replace(/\r\n?/gm,`
@@ -6858,7 +6858,7 @@ Restarting server after Builder Devtools update...
6858
6858
  <h3>How's Devtools working for you?</h3>
6859
6859
  <p>We'd love your feedback!</p>
6860
6860
  </div>
6861
- \`,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{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.72.3-beta.202607011524.91bf8f9.add-declaredsize-to-uploadtokenpayloadsc"}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)}
6861
+ \`,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{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.72.4"}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)}
6862
6862
  </style>\`,Nt=class extends HTMLElement{connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=lo+\`<main>
6863
6863
  <aside>
6864
6864
  <div class="logo"></div>
@@ -6897,7 +6897,7 @@ Restarting server after Builder Devtools update...
6897
6897
  </nav>
6898
6898
  </section>
6899
6899
  </main>
6900
- \`,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.72.3-beta.202607011524.91bf8f9.add-declaredsize-to-uploadtokenpayloadsc"),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.72.3-beta.202607011524.91bf8f9.add-declaredsize-to-uploadtokenpayloadsc"),mo());})();`)}async function o_e(t){return s_e(t,`<!doctype html>
6900
+ \`,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.72.4"),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.72.4"),mo());})();`)}async function o_e(t){return s_e(t,`<!doctype html>
6901
6901
  <html lang="en" dir="ltr">
6902
6902
  <head>
6903
6903
  <meta charset="utf-8" />